00001 /* 00002 * This file is part of testrunner-lite 00003 * 00004 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 00005 * 00006 * Contact: Sampo Saaristo <ext-sampo.2.saaristo@nokia.com> 00007 * 00008 * This program is free software; you can redistribute it and/or 00009 * modify it under the terms of the GNU Lesser General Public License 00010 * version 2.1 as published by the Free Software Foundation. 00011 * 00012 * This program is distributed in the hope that it will be useful, but 00013 * WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with this program; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 00020 * 02110-1301 USA 00021 * 00022 */ 00023 00024 /* ------------------------------------------------------------------------- */ 00025 /* INCLUDE FILES */ 00026 #include <time.h> 00027 #include <stdio.h> 00028 #include <errno.h> 00029 #include <string.h> 00030 #include <libxml/xmlwriter.h> 00031 #include "testrunnerlite.h" 00032 #include "executor.h" 00033 #include "hwinfo.h" 00034 #include "log.h" 00035 00036 /* ------------------------------------------------------------------------- */ 00037 /* EXTERNAL DATA STRUCTURES */ 00038 /* None */ 00039 00040 /* ------------------------------------------------------------------------- */ 00041 /* EXTERNAL GLOBAL VARIABLES */ 00042 /* None */ 00043 00044 /* ------------------------------------------------------------------------- */ 00045 /* EXTERNAL FUNCTION PROTOTYPES */ 00046 /* None */ 00047 00048 /* ------------------------------------------------------------------------- */ 00049 /* GLOBAL VARIABLES */ 00050 /* None */ 00051 00052 /* ------------------------------------------------------------------------- */ 00053 /* CONSTANTS */ 00054 /* None */ 00055 00056 /* ------------------------------------------------------------------------- */ 00057 /* MACROS */ 00058 /* None */ 00059 00060 /* ------------------------------------------------------------------------- */ 00061 /* LOCAL GLOBAL VARIABLES */ 00062 /* None */ 00063 /* ------------------------------------------------------------------------- */ 00064 /* LOCAL CONSTANTS AND MACROS */ 00065 /* None */ 00066 00067 /* ------------------------------------------------------------------------- */ 00068 /* MODULE DATA STRUCTURES */ 00069 /* None */ 00070 /* ------------------------------------------------------------------------- */ 00071 /* LOCAL FUNCTION PROTOTYPES */ 00072 /* ------------------------------------------------------------------------- */ 00073 /* None */ 00074 /* FORWARD DECLARATIONS */ 00075 /* None */ 00076 00077 /* ------------------------------------------------------------------------- */ 00078 /* ==================== LOCAL FUNCTIONS ==================================== */ 00079 /* ------------------------------------------------------------------------- */ 00080 /* None */ 00081 00082 /* ------------------------------------------------------------------------- */ 00083 /* ======================== FUNCTIONS ====================================== */ 00084 /* ------------------------------------------------------------------------- */ 00085 /* FIXME: return unknown for know untill we know how to extract 00086 * the info in meego environment 00087 */ 00090 const char *hwinfo_product() 00091 { 00092 return "echo unknown"; 00093 } 00094 /* ------------------------------------------------------------------------- */ 00097 const char *hwinfo_hw_build() 00098 { 00099 return "echo unknown"; 00100 } 00101 /* ------------------------------------------------------------------------- */ 00104 const char *hwinfo_extra() 00105 { 00106 return NULL; 00107 } 00108 /* ================= OTHER EXPORTED FUNCTIONS ============================== */ 00109 /* None */ 00110 00111 /* ------------------------------------------------------------------------- */ 00112 /* End of file */