Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 2d9446b

Browse files
authored
Merge pull request #174 from mythi/ci
Combined PR
2 parents 9b31868 + 213f654 commit 2d9446b

58 files changed

Lines changed: 139 additions & 1227 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

bitbake

Submodule bitbake updated from c46f183 to 8d0a76f
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Tests for gateway profile
22
oeqa.runtime.programming.nodejs.apprt_nodejs
3-
oeqa.runtime.core.iotivity.iotivity
3+
oeqa.runtime.core.iotivity.client
44
oeqa.runtime.multimedia.audio.pulseaudio

meta-iotqa/lib/oeqa/runtime/bsp/bsp.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
from oeqa.oetest import oeRuntimeTest
2-
from oeqa.utils.decorators import tag
32

4-
@tag(TestType="FVT")
53

64
class BspTest(oeRuntimeTest):
75
""" BSP testing
86
@class BsPTest
97
"""
108

11-
@tag(FeatureID="IOTOS-638")
129
def test_bsp_version(self):
1310
""" check the image bsp version
1411
@fn test_bsp_version

meta-iotqa/lib/oeqa/runtime/conformance/partitioning/scm.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
from oeqa.oetest import oeRuntimeTest
2-
from oeqa.utils.decorators import tag
32

4-
@tag(TestType="FVT", FeatureID="IOTOS-722")
53

64
class ScmTest(oeRuntimeTest):
75
""" Misc/scm testing

meta-iotqa/lib/oeqa/runtime/connectivity/bluetooth/bt_6lowpan.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
from oeqa.runtime.bluetooth import bluetooth
44
from oeqa.oetest import oeRuntimeTest
55
from oeqa.utils.helper import shell_cmd_timeout
6-
from oeqa.utils.decorators import tag
76

8-
@tag(TestType="FVT")
97
class CommBT6LowPAN(oeRuntimeTest):
108
"""
119
@class CommBT6LowPAN
@@ -19,7 +17,6 @@ def setUp(self):
1917
self.bt = bluetooth.BTFunction(self.target)
2018
self.bt.target_hciconfig_init()
2119

22-
@tag(FeatureID="IOTOS-762")
2320
def test_bt_insert_6lowpan_module(self):
2421
'''Insert 6lowpan module
2522
@fn test_bt_insert_6lowpan_module
@@ -28,7 +25,6 @@ def test_bt_insert_6lowpan_module(self):
2825
'''
2926
self.bt.insert_6lowpan_module()
3027

31-
@tag(FeatureID="IOTOS-762")
3228
def test_bt_enable_6lowpan_ble(self):
3329
'''Enable 6lowpan over BLE
3430
@fn test_bt_enable_6lowpan_ble

meta-iotqa/lib/oeqa/runtime/connectivity/bluetooth/bt_6lowpan_mnode.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
from oeqa.runtime.bluetooth import bluetooth
44
from oeqa.oetest import oeRuntimeTest
55
from oeqa.utils.helper import shell_cmd_timeout
6-
from oeqa.utils.decorators import tag
76

8-
@tag(TestType="EFT")
97
class CommBT6LowPanMNode(oeRuntimeTest):
108
"""
119
@class CommBT6LowPanMNode
@@ -31,7 +29,6 @@ def tearDown(self):
3129
self.bt1.disable_6lowpan_ble()
3230
self.bt2.disable_6lowpan_ble()
3331

34-
@tag(FeatureID="IOTOS-762")
3532
def test_bt_connect_6lowpan(self):
3633
'''Setup two devices with BLE
3734
@fn test_bt_connect_6lowpan
@@ -40,7 +37,6 @@ def test_bt_connect_6lowpan(self):
4037
'''
4138
self.bt1.connect_6lowpan_ble(self.bt2)
4239

43-
@tag(FeatureID="IOTOS-762")
4440
def test_bt_6lowpan_ping6_out(self):
4541
'''Setup two devices with BLE, and ping each other
4642
@fn test_bt_6lowpan_ping6_out
@@ -51,7 +47,6 @@ def test_bt_6lowpan_ping6_out(self):
5147
# first device to ping second device
5248
self.bt1.bt0_ping6_check(self.bt2.get_bt0_ip())
5349

54-
@tag(FeatureID="IOTOS-762")
5550
def test_bt_6lowpan_be_pinged(self):
5651
'''Setup two devices with BLE, and ping each other
5752
@fn test_bt_6lowpan_be_pinged
@@ -62,7 +57,6 @@ def test_bt_6lowpan_be_pinged(self):
6257
# first device to ping second device
6358
self.bt2.bt0_ping6_check(self.bt1.get_bt0_ip())
6459

65-
@tag(FeatureID="IOTOS-762")
6660
def test_bt_6lowpan_ssh_to(self):
6761
'''Setup two devices with BLE, and ssh to remote
6862
@fn test_bt_6lowpan_ssh_to
@@ -73,7 +67,6 @@ def test_bt_6lowpan_ssh_to(self):
7367
# first device to ping second device
7468
self.bt1.bt0_ssh_check(self.bt2.get_bt0_ip())
7569

76-
@tag(FeatureID="IOTOS-762")
7770
def test_bt_6lowpan_be_ssh(self):
7871
'''Setup two devices with BLE, and remote ssh to self
7972
@fn test_bt_6lowpan_be_ssh

meta-iotqa/lib/oeqa/runtime/connectivity/bluetooth/bt_command.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
from oeqa.oetest import oeRuntimeTest
66
from oeqa.utils.helper import shell_cmd_timeout
77
from oeqa.utils.helper import get_files_dir
8-
from oeqa.utils.decorators import tag
98

10-
@tag(TestType="FVT")
119
class CommBTTest(oeRuntimeTest):
1210
"""
1311
@class CommBTTest
@@ -21,7 +19,6 @@ def setUp(self):
2119
self.bt = bluetooth.BTFunction(self.target)
2220
self.bt.target_hciconfig_init()
2321

24-
@tag(FeatureID="IOTOS-453")
2522
def test_bt_power_on(self):
2623
'''enable bluetooth device
2724
@fn test_bt_power_on
@@ -31,7 +28,6 @@ def test_bt_power_on(self):
3128
self.target.run('hciconfig hci0 down')
3229
self.bt.ctl_power_on()
3330

34-
@tag(FeatureID="IOTOS-453")
3531
def test_bt_power_off(self):
3632
'''disable bluetooth device
3733
@fn test_bt_power_off
@@ -41,7 +37,6 @@ def test_bt_power_off(self):
4137
self.target.run('hciconfig hci0 up')
4238
self.bt.ctl_power_off()
4339

44-
@tag(FeatureID="IOTOS-453")
4540
def test_bt_visable_on(self):
4641
'''enable visibility
4742
@fn test_bt_visable_on
@@ -51,7 +46,6 @@ def test_bt_visable_on(self):
5146
self.target.run('hciconfig hci0 noscan')
5247
self.bt.ctl_visable_on()
5348

54-
@tag(FeatureID="IOTOS-453")
5549
def test_bt_visable_off(self):
5650
'''disable visibility
5751
@fn test_bt_visable_off
@@ -61,7 +55,6 @@ def test_bt_visable_off(self):
6155
self.target.run('hciconfig hci0 piscan')
6256
self.bt.ctl_visable_off()
6357

64-
@tag(TestType="EFT", FeatureID="IOTOS-453")
6558
def test_bt_change_name(self):
6659
'''change BT device name
6760
@fn test_bt_change_name

meta-iotqa/lib/oeqa/runtime/connectivity/bluetooth/bt_command_mnode.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
from oeqa.oetest import oeRuntimeTest
66
from oeqa.utils.helper import shell_cmd_timeout
77
from oeqa.utils.helper import get_files_dir
8-
from oeqa.utils.decorators import tag
98

10-
@tag(TestType="FVT")
119
class CommBTTestMNode(oeRuntimeTest):
1210
"""
1311
@class CommBTTestMNode
@@ -37,7 +35,6 @@ def setUp(self):
3735
self.bt1.target_hciconfig_init()
3836
self.bt2.target_hciconfig_init()
3937

40-
@tag(FeatureID="IOTOS-456")
4138
def test_bt_gatt_read_primary(self):
4239
'''Use gatttool to show remote primary attr handles
4340
@fn test_bt_gatt_read_primary
@@ -53,7 +50,6 @@ def test_bt_gatt_read_primary(self):
5350

5451
self.assertEqual(status, 0, msg="gatttool Primary is wrong: %s" % output)
5552

56-
@tag(FeatureID="IOTOS-456")
5753
def test_bt_gatt_read_characteristics(self):
5854
'''Use gatttool to show target characteristics handles
5955
@fn test_bt_gatt_read_characteristics
@@ -69,7 +65,6 @@ def test_bt_gatt_read_characteristics(self):
6965

7066
self.assertEqual(status, 0, msg="gatttool characteristics fails: %s" % output)
7167

72-
@tag(FeatureID="IOTOS-456")
7368
def test_bt_gatt_read_handle(self):
7469
'''Use gatttool to read target handle value
7570
@fn test_bt_gatt_read_handle
@@ -85,7 +80,6 @@ def test_bt_gatt_read_handle(self):
8580

8681
self.assertEqual(status, 0, msg="gatttool read handle fails: %s" % output)
8782

88-
@tag(FeatureID="IOTOS-456")
8983
def test_bt_gatt_connect(self):
9084
'''Use gatttool interactive mode to do connect
9185
@fn test_bt_gatt_connect
@@ -101,7 +95,6 @@ def test_bt_gatt_connect(self):
10195

10296
self.assertEqual(status, 2, msg="gatttool connect fails: %s" % output)
10397

104-
@tag(FeatureID="IOTOS-456")
10598
def test_bt_remote_gatt_read_primary(self):
10699
'''Use gatttool to show host primary attr handles
107100
@fn test_bt_remote_gatt_read_primary
@@ -117,7 +110,6 @@ def test_bt_remote_gatt_read_primary(self):
117110

118111
self.assertEqual(status, 0, msg="gatttool be read primary fails: %s" % output)
119112

120-
@tag(FeatureID="IOTOS-456")
121113
def test_bt_remote_gatt_read_characteristics(self):
122114
'''Use gatttool to show host characteristics handles
123115
@fn test_bt_remote_gatt_read_characteristics
@@ -133,7 +125,6 @@ def test_bt_remote_gatt_read_characteristics(self):
133125

134126
self.assertEqual(status, 0, msg="gatttool be read characteristics fails: %s" % output)
135127

136-
@tag(FeatureID="IOTOS-456")
137128
def test_bt_remote_gatt_read_handle(self):
138129
'''Use gatttool to read host handle value
139130
@fn test_bt_remote_gatt_read_handle
@@ -149,7 +140,6 @@ def test_bt_remote_gatt_read_handle(self):
149140

150141
self.assertEqual(status, 0, msg="gatttool be read handle fails: %s" % output)
151142

152-
@tag(FeatureID="IOTOS-456")
153143
def test_bt_remote_gatt_connect(self):
154144
'''Use gatttool interactive mode to do connect to host
155145
@fn test_bt_remote_gatt_connect
@@ -165,7 +155,6 @@ def test_bt_remote_gatt_connect(self):
165155

166156
self.assertEqual(status, 2, msg="gatttool be connected fails: %s" % output)
167157

168-
@tag(FeatureID="IOTOS-456")
169158
def test_bt_visible(self):
170159
'''Do traditional visible and be scanned by other (not ble scan)
171160
@fn test_bt_visible
@@ -184,7 +173,6 @@ def test_bt_visible(self):
184173
output = output.decode("ascii")
185174
self.assertEqual(status, 2, msg="Scan remote device fails: %s" % output)
186175

187-
@tag(FeatureID="IOTOS-456")
188176
def test_bt_scan(self):
189177
'''Scan nearby bluetooth devices (not ble scan)
190178
@fn test_bt_scan
@@ -203,7 +191,6 @@ def test_bt_scan(self):
203191
output = output.decode("ascii")
204192
self.assertEqual(status, 2, msg="Scan remote device fails: %s" % output)
205193

206-
@tag(FeatureID="IOTOS-759")
207194
def test_bt_le_advertising(self):
208195
'''Target does LE advertising, another device scans it
209196
@fn test_bt_le_advertising
@@ -229,7 +216,6 @@ def test_bt_le_advertising(self):
229216
output = output.decode("ascii")
230217
self.assertEqual(status, 2, msg="Be LE-scanned fails: %s" % output)
231218

232-
@tag(FeatureID="IOTOS-770")
233219
def test_bt_le_scan(self):
234220
'''Another device (host) does LE advertising, target scans it
235221
@fn test_bt_le_scan
@@ -255,7 +241,6 @@ def test_bt_le_scan(self):
255241
output = output.decode("utf-8")
256242
self.assertEqual(status, 2, msg="LE Scan other fails: %s" % output)
257243

258-
@tag(FeatureID="IOTOS-453")
259244
def test_bt_pairing(self):
260245
'''Use bluetoothctl to pair IoT device with host
261246
@fn test_bt_pairing

meta-iotqa/lib/oeqa/runtime/connectivity/bluetooth/bt_stability.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
from oeqa.oetest import oeRuntimeTest
66
from oeqa.utils.helper import shell_cmd_timeout
77
from oeqa.utils.helper import get_files_dir
8-
from oeqa.utils.decorators import tag
98

10-
@tag(TestType="EFT")
119
class BTStabilityTest(oeRuntimeTest):
1210
"""
1311
@class BTStabilityTest
@@ -20,7 +18,6 @@ def setUp(self):
2018
'''
2119
self.bt = bluetooth.BTFunction(self.target)
2220

23-
@tag(FeatureID="IOTOS-453")
2421
def test_bt_onoff_multiple_time(self):
2522
'''bluetoothctl to power on/off for multiple times
2623
@fn test_bt_onoff_multiple_time
@@ -34,7 +31,6 @@ def test_bt_onoff_multiple_time(self):
3431
if i % 20 == 0:
3532
print ("Finish %d times, successful." % i)
3633

37-
@tag(FeatureID="IOTOS-453")
3834
def test_bt_visable_onoff_multiple_time(self):
3935
'''bluetoothctl to turn discoverable on/off for multiple times
4036
@fn test_bt_visable_onoff_multiple_time

meta-iotqa/lib/oeqa/runtime/connectivity/bluetooth/btcheck.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import time
22
from oeqa.oetest import oeRuntimeTest
3-
from oeqa.utils.decorators import tag
43

5-
@tag(TestType="FVT", FeatureID="IOTOS-453")
64
class CommBluetoothTest(oeRuntimeTest):
75
"""
86
@class CommBluetoothTest

0 commit comments

Comments
 (0)