From: <dg...@su...> - 2009-01-31 23:02:10
|
Author: henrik Date: Sun Feb 1 00:00:34 2009 New Revision: 5250 URL: http://www.opensync.org/changeset/5250 Log: Add test just to log platform info Added: plugins/mozilla-sync/trunk/tests/blackbox_test_platform.sh (contents, props changed) Modified: plugins/mozilla-sync/trunk/tests/CMakeLists.txt Modified: plugins/mozilla-sync/trunk/tests/CMakeLists.txt ============================================================================== --- plugins/mozilla-sync/trunk/tests/CMakeLists.txt Sat Jan 31 23:58:15 2009 (r5249) +++ plugins/mozilla-sync/trunk/tests/CMakeLists.txt Sun Feb 1 00:00:34 2009 (r5250) @@ -28,6 +28,7 @@ ADD_TEST( unit_test_abook "unit_test_abook" ) CONFIGURE_FILE( "blackbox_test_common.shinc.in" "tests/blackbox_test_common.shinc" @ONLY ) +CONFIGURE_FILE( "blackbox_test_platform.sh" "tests/blackbox_test_platform.sh" @ONLY ) CONFIGURE_FILE( "blackbox_test_init_thunderbird.sh" "tests/blackbox_test_init_thunderbird.sh" COPYONLY) CONFIGURE_FILE( "blackbox_test_init_osynctool.sh" "tests/blackbox_test_init_osynctool.sh" COPYONLY) CONFIGURE_FILE( "blackbox_test_abook_vcard_compare.sh" "tests/blackbox_test_abook_vcard_compare.sh" COPYONLY) @@ -57,6 +58,7 @@ CONFIGURE_FILE( "blackbox_test_cal_vcard_base/2" "tests/blackbox_test_cal_vcard_base/2" COPYONLY) CONFIGURE_FILE( "blackbox_test_cal_vevent_additional/add1" "tests/blackbox_test_cal_vevent_additional/add1" COPYONLY) +ADD_TEST( blackbox_test_platform bash "blackbox_test_platform.sh" ) ADD_TEST( blackbox_test_init_thunderbird bash "blackbox_test_init_thunderbird.sh" ) ADD_TEST( blackbox_test_init_osynctool bash "blackbox_test_init_osynctool.sh" ) ADD_TEST( blackbox_test_abook_vcard_compare bash "blackbox_test_abook_vcard_compare.sh" ) Added: plugins/mozilla-sync/trunk/tests/blackbox_test_platform.sh ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ plugins/mozilla-sync/trunk/tests/blackbox_test_platform.sh Sun Feb 1 00:00:34 2009 (r5250) @@ -0,0 +1,31 @@ +#!/bin/bash + +# ====================================================== +# This file is part of the mozilla-sync plugin for OpenSync +# See http://www.KaarPoSoft.dk/bluezync +# $Id$ +# ====================================================== + +# Show info about platform +# This test should not fail, and is just included +# to show info about the platform where the tests are executed + +SCRIPT_NAME=`basename $0`; SCRIPT_NAME=${SCRIPT_NAME%.sh} +SRC_DIR=`(cd \`dirname $0\`; pwd)` +source "${SRC_DIR}/blackbox_test_common.shinc" + +initialize_test "Platform information" + +echo "uname -a" +uname -a + +echo "lsb_release -a" +lsb_release -a || true + +echo "thunderbird --version" +thunderbird --version + +echo "sunbird --version" +sunbird --version + +success_exit |