From: Nicolas Zingilé Date: Wed, 18 Jun 2014 16:31:44 +0000 (+0200) Subject: corrected packaging X-Git-Tag: accepted/tizen/3.0/common/20161114.112332^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_3.0_ivi;p=test%2Fcommon%2Fcommon-connectivity-suite.git corrected packaging Change-Id: I7d129c14b9fdab3501d9ffdf52b58e68d626e2c0 Signed-off-by: Nicolas Zingilé --- diff --git a/LICENSE b/LICENSE old mode 100755 new mode 100644 diff --git a/common/TODO b/common/TODO new file mode 100644 index 0000000..f37ce24 --- /dev/null +++ b/common/TODO @@ -0,0 +1 @@ +Empty for the moment. diff --git a/ivi/tts-bluez-tests/README b/ivi/tts-bluez-tests/README old mode 100755 new mode 100644 index e001d07..8f87d67 --- a/ivi/tts-bluez-tests/README +++ b/ivi/tts-bluez-tests/README @@ -30,8 +30,8 @@ Build case: 1. rpm -ivh tts-bluez-tests-0.1.0-1.i386.rpm --- install RPM to your testing machine To run cases, you can either do step.2 or step.3 -2. cd /usr/share/tests/common-connectivity-suite/tts-bluez-tests and run any sh file by root account. -3. testkit-lite -f /usr/share/tests/common-connectivity-suite/tts-bluez-tests/tests.xml --comm localhost -o ./results.xml +2. cd /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests and run any sh file by root account. +3. testkit-lite -f /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/tests.xml --comm localhost -o ./results.xml diff --git a/ivi/tts-bluez-tests/data/client/README b/ivi/tts-bluez-tests/data/client/README old mode 100755 new mode 100644 diff --git a/ivi/tts-bluez-tests/data/server/.README.swp b/ivi/tts-bluez-tests/data/server/.README.swp deleted file mode 100755 index 7337cf0..0000000 Binary files a/ivi/tts-bluez-tests/data/server/.README.swp and /dev/null differ diff --git a/ivi/tts-bluez-tests/data/server/README b/ivi/tts-bluez-tests/data/server/README old mode 100755 new mode 100644 diff --git a/ivi/tts-bluez-tests/data/server/gather_info.sh b/ivi/tts-bluez-tests/data/server/gather_info.sh index 84783b6..d6a0d90 100755 --- a/ivi/tts-bluez-tests/data/server/gather_info.sh +++ b/ivi/tts-bluez-tests/data/server/gather_info.sh @@ -1 +1,3 @@ +#!/bin/bash + find . | xargs file | grep -v directory | awk '{print $1}' | sed 's/://g' | xargs md5sum | awk '{print $2" , "$1}' diff --git a/ivi/tts-bluez-tests/data/server/server/root_file_1.bmp b/ivi/tts-bluez-tests/data/server/server/root_file_1.bmp old mode 100755 new mode 100644 diff --git a/ivi/tts-bluez-tests/data/server/server/root_file_2.bmp b/ivi/tts-bluez-tests/data/server/server/root_file_2.bmp old mode 100755 new mode 100644 diff --git a/ivi/tts-bluez-tests/data/server/server/root_file_3.txt b/ivi/tts-bluez-tests/data/server/server/root_file_3.txt old mode 100755 new mode 100644 diff --git a/ivi/tts-bluez-tests/data/server/server/server_info b/ivi/tts-bluez-tests/data/server/server/server_info old mode 100755 new mode 100644 diff --git a/ivi/tts-bluez-tests/data/server/server/subdir1/subdir1_test_file1.txt b/ivi/tts-bluez-tests/data/server/server/subdir1/subdir1_test_file1.txt old mode 100755 new mode 100644 diff --git a/ivi/tts-bluez-tests/data/server/server/subdir1/subdir1_test_file2.txt b/ivi/tts-bluez-tests/data/server/server/subdir1/subdir1_test_file2.txt old mode 100755 new mode 100644 diff --git a/ivi/tts-bluez-tests/data/server/server/subdir2/subdir2_test_file1.txt b/ivi/tts-bluez-tests/data/server/server/subdir2/subdir2_test_file1.txt old mode 100755 new mode 100644 diff --git a/ivi/tts-bluez-tests/data/server/server/subdir2/subdir2_test_file2.txt b/ivi/tts-bluez-tests/data/server/server/subdir2/subdir2_test_file2.txt old mode 100755 new mode 100644 diff --git a/ivi/tts-bluez-tests/data/server/server/subdir3/subdir3_test_file1.txt b/ivi/tts-bluez-tests/data/server/server/subdir3/subdir3_test_file1.txt old mode 100755 new mode 100644 index e69de29..7878858 --- a/ivi/tts-bluez-tests/data/server/server/subdir3/subdir3_test_file1.txt +++ b/ivi/tts-bluez-tests/data/server/server/subdir3/subdir3_test_file1.txt @@ -0,0 +1,27 @@ +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 +subdir3_test_file1 diff --git a/ivi/tts-bluez-tests/data/server/server/subdir3/subdir3_test_file2.txt b/ivi/tts-bluez-tests/data/server/server/subdir3/subdir3_test_file2.txt old mode 100755 new mode 100644 diff --git a/ivi/tts-bluez-tests/src/README b/ivi/tts-bluez-tests/src/README old mode 100755 new mode 100644 diff --git a/ivi/tts-bluez-tests/tests.xml b/ivi/tts-bluez-tests/tests.xml old mode 100755 new mode 100644 index 1072899..56e61dd --- a/ivi/tts-bluez-tests/tests.xml +++ b/ivi/tts-bluez-tests/tests.xml @@ -12,7 +12,7 @@ check if system runs bluetoothd daemon in beginning of booting up. when system boots up, it should run bluetoothd daemon. - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_system_daemon_bluetoothd.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_system_daemon_bluetoothd.sh IVI @@ -28,7 +28,7 @@ check if system runs bluetoothd daemon in beginning of booting up. it should get BT device name - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_adapter_get_name.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_adapter_get_name.sh IVI @@ -45,7 +45,7 @@ Check if obexd rpm package is installed system should install obexd package - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_system_package_obexd.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_system_package_obexd.sh IVI @@ -62,7 +62,7 @@ Check if obexd rpm package is installed 1. Bluetooth MAC address should be output in pattern, for example, 00:22:69:FB:AA:8A - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_adapter_get_address.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_adapter_get_address.sh IVI @@ -79,7 +79,7 @@ Check if obexd rpm package is installed 1. The property value got from DBus call should be same with the value we set. - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_adapter_set_power.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_adapter_set_power.sh IVI @@ -96,7 +96,7 @@ Check if the bluez rpm package is installed System should install bluez package. - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_system_package_bluez.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_system_package_bluez.sh IVI @@ -114,7 +114,7 @@ Check if the bluez rpm package is installed 1. For each execution during the 50 times, adapter power should be correctly On and Off. - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_adapter_set_stress_power_50times.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_adapter_set_stress_power_50times.sh IVI @@ -130,7 +130,7 @@ Check if the bluez rpm package is installed the hci0 discoverabletimeout could be set to 1 - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_adapter_set_discoverabletimeout.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_adapter_set_discoverabletimeout.sh IVI @@ -146,7 +146,7 @@ Check if the bluez rpm package is installed hci0 pairable could be set to 0 - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_adapter_set_pairable_off.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_adapter_set_pairable_off.sh IVI @@ -162,7 +162,7 @@ Check if the bluez rpm package is installed hci0 pairable should be set to 0 - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_adapter_set_pairable_on.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_adapter_set_pairable_on.sh IVI @@ -178,7 +178,7 @@ Check if the bluez rpm package is installed it should present discoverabletimeout info. - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_adapter_get_discoverabletimeout.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_adapter_get_discoverabletimeout.sh IVI @@ -194,7 +194,7 @@ Check if the bluez rpm package is installed it should get hci0 power status - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_adapter_get_power.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_adapter_get_power.sh IVI @@ -209,11 +209,11 @@ Check if the bluez rpm package is installed - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/hci_set_iscan.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/hci_set_iscan.sh 0 - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/hci_set_iscan.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/hci_set_iscan.sh IVI @@ -226,11 +226,11 @@ Check if the bluez rpm package is installed - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/hci_set_name.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/hci_set_name.sh 0 - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/hci_set_name.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/hci_set_name.sh IVI @@ -243,11 +243,11 @@ Check if the bluez rpm package is installed - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_hci_name.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_hci_name.sh 0 - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_hci_name.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_hci_name.sh IVI @@ -260,11 +260,11 @@ Check if the bluez rpm package is installed - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/hci_set_piscan.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/hci_set_piscan.sh 0 - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/hci_set_piscan.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/hci_set_piscan.sh IVI @@ -277,11 +277,11 @@ Check if the bluez rpm package is installed - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_hci_dev.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_hci_dev.sh 0 - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_hci_dev.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_hci_dev.sh IVI @@ -294,11 +294,11 @@ Check if the bluez rpm package is installed - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/hci_get_name.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/hci_get_name.sh 0 - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/hci_get_name.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/hci_get_name.sh IVI @@ -311,11 +311,11 @@ Check if the bluez rpm package is installed - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/hci_tool_scan.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/hci_tool_scan.sh 0 - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/hci_tool_scan.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/hci_tool_scan.sh IVI @@ -328,11 +328,11 @@ Check if the bluez rpm package is installed - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_gap_pairing_computer.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_gap_pairing_computer.sh 0 - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_gap_pairing_computer.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_gap_pairing_computer.sh IVI @@ -345,11 +345,11 @@ Check if the bluez rpm package is installed - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_l2cap_ping_check.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_l2cap_ping_check.sh 0 - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_l2cap_ping_check.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_l2cap_ping_check.sh IVI @@ -362,11 +362,11 @@ Check if the bluez rpm package is installed - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_gap_remove_pairing_computer.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_gap_remove_pairing_computer.sh 0 - /usr/share/tests/common-connectivity-suite/tts-bluez-tests/bt_gap_remove_pairing_computer.sh + /usr/share/tests/ivi-connectivity-tests/tts-bluez-tests/bt_gap_remove_pairing_computer.sh IVI diff --git a/ivi/tts-connman-tests/ChangeLog b/ivi/tts-connman-tests/ChangeLog old mode 100755 new mode 100644 diff --git a/ivi/tts-connman-tests/README b/ivi/tts-connman-tests/README old mode 100755 new mode 100644 index 97f1810..56ef16a --- a/ivi/tts-connman-tests/README +++ b/ivi/tts-connman-tests/README @@ -28,7 +28,7 @@ tts-connman-tests Flight: Test ConnMan in flight on/off mode. Property: Test property value in API Following are structure after installation: -/usr/share/tests/common-connectivity-suite/tts-connman-tests/ +/usr/share/tests/ivi-connectivity-tests/tts-connman-tests/ CM_*.py: All automatic test cases common: Common functions that used in test cases README: This file @@ -64,10 +64,10 @@ Refer the section Test environment setup + Run Setup a open hidden WiFi AP with essid that you Connect to a ethernet network so that "ping -b" local network has response -cd /usr/share/tests/common-connectivity-suite/tts-connman-tests/ +cd /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/ su - -export PYTHONPATH=$PYTHONPATH:/usr/share/tests/common-connectivity-suite/tts-connman-tests/common -testkit-lite -f /usr/share/tests/common-connectivity-suite/tts-connman-tests/tests.xml --comm localhost -o ./results.xml +export PYTHONPATH=$PYTHONPATH:/usr/share/tests/ivi-connectivity-tests/tts-connman-tests/common +testkit-lite -f /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/tests.xml --comm localhost -o ./results.xml Please refer to the section Test Envrionment setup for what to test --------------------- diff --git a/ivi/tts-connman-tests/coverage.ods b/ivi/tts-connman-tests/coverage.ods old mode 100755 new mode 100644 diff --git a/ivi/tts-connman-tests/data/apset.tgz b/ivi/tts-connman-tests/data/apset.tgz old mode 100755 new mode 100644 diff --git a/ivi/tts-connman-tests/network.jpg b/ivi/tts-connman-tests/network.jpg old mode 100755 new mode 100644 diff --git a/ivi/tts-connman-tests/src/Bearer/Bearer/bearer.cpp b/ivi/tts-connman-tests/src/Bearer/Bearer/bearer.cpp old mode 100755 new mode 100644 diff --git a/ivi/tts-connman-tests/src/MBT/fmbt-20m.conf b/ivi/tts-connman-tests/src/MBT/fmbt-20m.conf old mode 100755 new mode 100644 diff --git a/ivi/tts-connman-tests/src/MBT/fmbt-basic.aal b/ivi/tts-connman-tests/src/MBT/fmbt-basic.aal old mode 100755 new mode 100644 diff --git a/ivi/tts-connman-tests/src/MBT/fmbt-basic.conf b/ivi/tts-connman-tests/src/MBT/fmbt-basic.conf old mode 100755 new mode 100644 diff --git a/ivi/tts-connman-tests/src/MBT/teststeps.py b/ivi/tts-connman-tests/src/MBT/teststeps.py old mode 100755 new mode 100644 diff --git a/ivi/tts-connman-tests/src/common/bearer.sh b/ivi/tts-connman-tests/src/common/bearer.sh index 05fe279..34088be 100755 --- a/ivi/tts-connman-tests/src/common/bearer.sh +++ b/ivi/tts-connman-tests/src/common/bearer.sh @@ -1,3 +1,4 @@ +#!/bin/sh # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. @@ -10,7 +11,6 @@ # Wang, Jing J # Changlog: # -#!/bin/sh if [ -z "$1" ]; then echo "Warning: Please specify execution command" diff --git a/ivi/tts-connman-tests/tests.xml b/ivi/tts-connman-tests/tests.xml old mode 100755 new mode 100644 index 88ba23c..8923355 --- a/ivi/tts-connman-tests/tests.xml +++ b/ivi/tts-connman-tests/tests.xml @@ -13,7 +13,7 @@ There should be one thread named connmand in background - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_Launch_Boot.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_Launch_Boot.py Netbook @@ -40,7 +40,7 @@ TV enabled handset offline - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_Launch_State_Ethernet.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_Launch_State_Ethernet.py Netbook IVI @@ -60,7 +60,7 @@ reboot OfflineMode is 'false' - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_Launch_State_Offlinemode.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_Launch_State_Offlinemode.py Netbook IVI @@ -83,7 +83,7 @@ reboot Step 7 shows there is only one connmand running. - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_Launch_OneConnmand.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_Launch_OneConnmand.py Netbook @@ -103,7 +103,7 @@ reboot There should be one thread named bluetoothd in background - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_Launch_BT.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_Launch_BT.py Netbook @@ -129,7 +129,7 @@ TV offline handset offline - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_Launch_State_Bluetooth.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_Launch_State_Bluetooth.py Netbook IVI @@ -155,7 +155,7 @@ TV enabled handset offline - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_Launch_State_WiFi.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_Launch_State_WiFi.py Netbook IVI @@ -174,7 +174,7 @@ handset offline There should be one thread named wpa_supplicant in background - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_Launch_WpaSupplicant.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_Launch_WpaSupplicant.py Netbook @@ -201,7 +201,7 @@ handset offline Can ping PANU server - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_BT_IsReEnableWorks.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_BT_IsReEnableWorks.py Netbook @@ -219,7 +219,7 @@ handset offline The powered 'State' of bluetooth is 'true' - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_BT_IsPoweredOn.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_BT_IsPoweredOn.py Netbook @@ -238,7 +238,7 @@ handset offline The value is 'true' - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_BT_PoweredOn.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_BT_PoweredOn.py Netbook @@ -257,7 +257,7 @@ handset offline The value is 'false' - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_BT_PoweredOff.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_BT_PoweredOff.py Netbook @@ -275,7 +275,7 @@ handset offline There is bluetooth technology - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_BT_DeviceIsExist.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_BT_DeviceIsExist.py Netbook @@ -295,7 +295,7 @@ handset offline Can get IP and ping the AP - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_WS_Open.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_WS_Open.py Netbook @@ -314,7 +314,7 @@ handset offline Can get IP and ping the AP - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_WS_WPA.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_WS_WPA.py Netbook @@ -335,7 +335,7 @@ handset offline ConnMan should remember the password and can connect to the AP - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_WA_RememberPasswd.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_WA_RememberPasswd.py Netbook @@ -355,7 +355,7 @@ handset offline Error property is set. - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_WA_ForgotPassword.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_WA_ForgotPassword.py Netbook @@ -376,7 +376,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PS_Nameservers.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PS_Nameservers.py Mobile @@ -396,7 +396,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PT_Type.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PT_Type.py Mobile @@ -416,7 +416,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PT_Powered.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PT_Powered.py Mobile @@ -436,7 +436,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PS_Strength.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PS_Strength.py Mobile @@ -456,7 +456,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PM_SessionMode.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PM_SessionMode.py Mobile @@ -476,7 +476,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PS_Security.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PS_Security.py Mobile @@ -496,7 +496,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PM_OfflineMode.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PM_OfflineMode.py Mobile @@ -516,7 +516,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PM_State.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PM_State.py Mobile @@ -536,7 +536,7 @@ handset offline As expected - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PT_Connected.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PT_Connected.py Mobile @@ -556,7 +556,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PS_AutoConnect.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PS_AutoConnect.py Mobile @@ -575,7 +575,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PT_Name.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PT_Name.py Mobile @@ -594,7 +594,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PS_State.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PS_State.py Mobile @@ -614,7 +614,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PT_Tethering.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PT_Tethering.py Mobile @@ -634,7 +634,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PS_Type.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PS_Type.py Mobile @@ -654,7 +654,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PS_Domains.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PS_Domains.py Mobile @@ -674,7 +674,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PS_Error.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PS_Error.py Mobile @@ -694,7 +694,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PS_Name.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PS_Name.py Mobile @@ -714,7 +714,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PS_Favorite.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PS_Favorite.py Mobile @@ -734,7 +734,7 @@ handset offline : - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_PS_Immutable.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_PS_Immutable.py Mobile @@ -758,7 +758,7 @@ handset offline There is ethernet device - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_Eth_DeviceIsExist.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_Eth_DeviceIsExist.py Netbook @@ -780,7 +780,7 @@ handset offline Ping cannot receive any response. - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_WG_Disconnect.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_WG_Disconnect.py Mobile @@ -801,7 +801,7 @@ handset offline Receives ping response. - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_WG_SmallBroadcastPing.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_WG_SmallBroadcastPing.py Mobile @@ -824,7 +824,7 @@ Pass/Fail Criteria: The value is 'false' The value is 'false' - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_WG_PoweredOff.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_WG_PoweredOff.py Mobile @@ -850,7 +850,7 @@ Pass/Fail Criteria: The value is 'false' ping response - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_WG_IsReEnableWorks.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_WG_IsReEnableWorks.py Mobile @@ -870,7 +870,7 @@ Pass/Fail Criteria: The value is 'false' The Powered status is on - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_WG_IsPoweredOn.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_WG_IsPoweredOn.py Mobile @@ -891,7 +891,7 @@ Pass/Fail Criteria: The value is 'false' The value is 'true' - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_WG_PoweredOn.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_WG_PoweredOn.py Mobile @@ -912,7 +912,7 @@ Pass/Fail Criteria: The value is 'false' Ping will receive response. - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_WG_BigBroadcastPing.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_WG_BigBroadcastPing.py Mobile @@ -934,7 +934,7 @@ Pass/Fail Criteria: The value is 'false' There is WiFi device - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_WG_DeviceIsExist.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_WG_DeviceIsExist.py Mobile @@ -957,7 +957,7 @@ Pass/Fail Criteria: The value is 'false' The state should be 'online' for this connected WIFI AP. - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_State_WIFI_AvialableAP.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_State_WIFI_AvialableAP.py Netbook @@ -981,7 +981,7 @@ Pass/Fail Criteria: The value is 'false' The callback function is called. - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_SS_IPv4.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_SS_IPv4.py Mobile @@ -1004,7 +1004,7 @@ Pass/Fail Criteria: The value is 'false' The callback function is called. - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_SS_Favorite.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_SS_Favorite.py Mobile @@ -1027,7 +1027,7 @@ Pass/Fail Criteria: The value is 'false' The callback function is called. - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_SC_IPv4.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_SC_IPv4.py Mobile @@ -1050,7 +1050,7 @@ Pass/Fail Criteria: The value is 'false' The callback function is called. - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_SC_Favorite.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_SC_Favorite.py Mobile @@ -1073,7 +1073,7 @@ Pass/Fail Criteria: The value is 'false' The callback function is called. - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_SS_AutoConnect.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_SS_AutoConnect.py Mobile @@ -1096,7 +1096,7 @@ Pass/Fail Criteria: The value is 'false' The callback function is called. - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_SC_State.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_SC_State.py Mobile @@ -1119,7 +1119,7 @@ Pass/Fail Criteria: The value is 'false' The callback function is called. - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_SC_Connected.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_SC_Connected.py Mobile @@ -1142,7 +1142,7 @@ Pass/Fail Criteria: The value is 'false' The callback function is called. - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_SC_OfflineMode.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_SC_OfflineMode.py Mobile @@ -1165,7 +1165,7 @@ Pass/Fail Criteria: The value is 'false' The callback function is called. - /usr/share/tests/common-connectivity-suite/tts-connman-tests/CM_SM_State.py + /usr/share/tests/ivi-connectivity-tests/tts-connman-tests/CM_SM_State.py Mobile diff --git a/packaging/common-connectivity-suite.manifest b/packaging/common-connectivity-suite.manifest new file mode 100644 index 0000000..0bd71d8 --- /dev/null +++ b/packaging/common-connectivity-suite.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/common-connectivity-suite.spec b/packaging/common-connectivity-suite.spec old mode 100755 new mode 100644 index fc6246a..7d7576d --- a/packaging/common-connectivity-suite.spec +++ b/packaging/common-connectivity-suite.spec @@ -1,95 +1,86 @@ -%define _unpackaged_files_terminate_build 0 - -Name: common-connectivity-suite -Summary: common-connectivity-suite -Version: 0.1.0 -Release: 1 -License: GPLv2 -Group: Development/Testing -Source0: %{name}-%{version}.tar.gz - +Name: common-connectivity-suite +Summary: Connectivity suite for Tizen Common +Version: 1.0.0 +Release: 1 +License: GPL-2.0 +Group: Development/Testing +Source0: %{name}-%{version}.tar.gz +Source1001: %{name}.manifest +BuildRequires: fdupes +Requires: bluez +Requires: bluez-test +Requires: common-suite-launcher +Requires: connman +Requires: connman-test +Requires: testkit-lite +BuildArch: noarch %description -This package is IVI common connectivity test suite - -%package -n tts-bluez-tests -Summary: Bluez test suit -Group: Development/Testing +The common-connectivity-suite validates the connectivity features of the Tizen Common image : core connman, wifi, bluetooth -%description -n tts-bluez-tests -%{summary}. +%package -n ivi-connectivity-tests +Summary: Bluez test suite +Group: Development/Testing +Requires: bluez +Requires: connman +Requires: connman-test +Requires: testkit-lite -%package -n tts-connman-tests -Summary: Connman test suit -Group: Development/Testing +%description -n ivi-connectivity-tests +IVI multimedia test suite. Validates connectivity features -%description -n tts-connman-tests -%{summary}. %prep %setup -q +cp %{SOURCE1001} . %build -%install - -install -d %{buildroot}/%{_datadir}/tests/%{name}/tts-bluez-tests -install -d %{buildroot}/%{_datadir}/tests/%{name}/tts-bluez-tests/data -install -d %{buildroot}/%{_datadir}/tests/%{name}/tts-bluez-tests/data/server - -install -m 0755 ivi/tts-bluez-tests/src/* %{buildroot}/%{_datadir}/tests/%{name}/tts-bluez-tests -install -m 0755 ivi/tts-bluez-tests/tests.xml %{buildroot}/%{_datadir}/tests/%{name}/tts-bluez-tests -install -m 0755 ivi/tts-bluez-tests/README %{buildroot}/%{_datadir}/tests/%{name}/tts-bluez-tests -install -m 0755 ivi/tts-bluez-tests/data/client/* %{buildroot}/%{_datadir}/tests/%{name}/tts-bluez-tests/data -cp -fr ivi/tts-bluez-tests/data/server/* %{buildroot}/%{_datadir}/tests/%{name}/tts-bluez-tests/data/server -install LICENSE %{buildroot}/%{_datadir}/tests/%{name}/tts-bluez-tests - - -install -d %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests - -install -m 0755 ivi/tts-connman-tests/src/3G/* %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests/ -install -m 0755 ivi/tts-connman-tests/src/BM/* %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests/ -install -m 0755 ivi/tts-connman-tests/src/BT/* %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests/ -install -m 0755 ivi/tts-connman-tests/src/common/* %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests/ -install -m 0755 ivi/tts-connman-tests/src/Ethernet/* %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests/ -install -m 0755 ivi/tts-connman-tests/src/Flight/* %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests/ -install -m 0755 ivi/tts-connman-tests/src/Launch/* %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests/ -install -m 0755 ivi/tts-connman-tests/src/MBT/* %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests/ -install -m 0755 ivi/tts-connman-tests/src/Profile/* %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests/ -install -m 0755 ivi/tts-connman-tests/src/Property/* %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests/ -install -m 0755 ivi/tts-connman-tests/src/Signal/* %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests/ -install -m 0755 ivi/tts-connman-tests/src/State/* %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests/ -install -m 0755 ivi/tts-connman-tests/src/Stress/* %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests/ -install -m 0755 ivi/tts-connman-tests/src/WiFi/* %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests/ - -install -d %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests/data -install -m 0755 ivi/tts-connman-tests/data/apset.tgz %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests/data -install -m 0755 ivi/tts-connman-tests/network.jpg %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests - -install -m 0755 ivi/tts-connman-tests/bisect.sh %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests -install -m 0755 ivi/tts-connman-tests/tests.xml %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests -install -m 0755 ivi/tts-connman-tests/README %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests -install LICENSE %{buildroot}/%{_datadir}/tests/%{name}/tts-connman-tests - - - -%clean -rm -rf $RPM_BUILD_ROOT - - -%files -n tts-bluez-tests -%defattr(-,root,root) -%{_datadir}/tests/%{name}/tts-bluez-tests -%license LICENSE - -%files -n tts-connman-tests +%install +# common-connectivity-suite package +install -d %{buildroot}/%{_datadir}/tests/%{name} +install -m 0644 common/TODO %{buildroot}/%{_datadir}/tests/%{name} + +# ivi-connectivity-tests package +install -d %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-bluez-tests +install -d %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0644 LICENSE %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests + +install -m 0644 ivi/tts-bluez-tests/tests.xml %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-bluez-tests +install -m 0755 ivi/tts-bluez-tests/src/* %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-bluez-tests +cp -r ivi/tts-bluez-tests/data %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-bluez-tests + +install -m 0755 ivi/tts-connman-tests/bisect.sh %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0644 ivi/tts-connman-tests/network.jpg %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0644 ivi/tts-connman-tests/tests.xml %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0644 ivi/tts-connman-tests/README %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0755 ivi/tts-connman-tests/src/3G/* %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0755 ivi/tts-connman-tests/src/BM/* %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0755 ivi/tts-connman-tests/src/BT/* %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0755 ivi/tts-connman-tests/src/common/* %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0755 ivi/tts-connman-tests/src/Ethernet/* %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0755 ivi/tts-connman-tests/src/Flight/* %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0755 ivi/tts-connman-tests/src/Launch/* %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0755 ivi/tts-connman-tests/src/MBT/* %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0755 ivi/tts-connman-tests/src/Profile/* %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0755 ivi/tts-connman-tests/src/Property/* %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0755 ivi/tts-connman-tests/src/Signal/* %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0755 ivi/tts-connman-tests/src/State/* %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0755 ivi/tts-connman-tests/src/Stress/* %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +install -m 0755 ivi/tts-connman-tests/src/WiFi/* %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests +cp -r ivi/tts-connman-tests/data %{buildroot}/%{_datadir}/tests/ivi-connectivity-tests/tts-connman-tests + +%fdupes %{buildroot} + + +%files +%manifest %{name}.manifest %defattr(-,root,root) -%{_datadir}/tests/%{name}/tts-connman-tests -%license LICENSE +%{_datadir}/tests/%{name} -%changelog -* Fri May 23 2014 Wu dawei 0.1.0-1 - - Initial common connectivity suite test +%files -n ivi-connectivity-tests +%defattr(-,root,root) +%{_datadir}/tests/ivi-connectivity-tests