Skip to content

Commit f5936ed

Browse files
authored
Merge pull request #15 from endlessm/T35403-drop-snap
Drop the requires of snap from the test units
2 parents d77a23d + 467d606 commit f5936ed

File tree

25 files changed

+21
-1114
lines changed

25 files changed

+21
-1114
lines changed

providers/base/units/audio/jobs.pxu

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,6 @@ _verification:
787787
Did you hear the recorded sound correctly?
788788
plugin: manual
789789
flags: also-after-suspend
790-
requires: snap.name == 'pulseaudio'
791790
category_id: com.canonical.plainbox::audio
792791
estimated_duration: 1m
793792

@@ -819,7 +818,6 @@ _verification:
819818
Did you hear the recorded sound correctly?
820819
plugin: manual
821820
flags: also-after-suspend
822-
requires: snap.name == 'pulseaudio'
823821
category_id: com.canonical.plainbox::audio
824822
estimated_duration: 1m
825823

@@ -847,7 +845,6 @@ _verification:
847845
Did you hear the sound correctly?
848846
plugin: manual
849847
flags: also-after-suspend
850-
requires: snap.name == 'pulseaudio'
851848
category_id: com.canonical.plainbox::audio
852849
estimated_duration: 1m
853850

@@ -875,7 +872,6 @@ _verification:
875872
Did you hear the sound correctly?
876873
plugin: manual
877874
flags: also-after-suspend
878-
requires: snap.name == 'pulseaudio'
879875
category_id: com.canonical.plainbox::audio
880876
estimated_duration: 1m
881877

@@ -903,6 +899,5 @@ _verification:
903899
Did you hear the sound correctly?
904900
plugin: manual
905901
flags: also-after-suspend
906-
requires: snap.name == 'pulseaudio'
907902
category_id: com.canonical.plainbox::audio
908903
estimated_duration: 1m

providers/base/units/bluetooth/jobs.pxu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ user: root
1818
depends: bluetooth/detect
1919
template-engine: jinja2
2020
requires:
21-
package.name == 'bluez' or snap.name == 'bluez'
21+
package.name == 'bluez'
2222
{%- if __on_ubuntucore__ %}
2323
connections.slot == 'bluez:service' and connections.plug == '{{ __system_env__["SNAP_NAME"] }}:bluez'
2424
{% endif -%}
@@ -33,7 +33,7 @@ id: bluetooth/detect-output
3333
flags: also-after-suspend
3434
estimated_duration: 1.2
3535
requires:
36-
package.name == 'bluez' or snap.name == 'bluez'
36+
package.name == 'bluez'
3737
device.category == 'BLUETOOTH'
3838
command:
3939
if rfkill list bluetooth | grep -q 'Hard blocked: yes'; then

providers/base/units/canary/test-plan.pxu

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ bootstrap_include:
1313
com.canonical.certification::bootloader
1414
com.canonical.certification::cpuinfo
1515
com.canonical.certification::device
16-
com.canonical.certification::interface
1716
com.canonical.certification::net_if_management
18-
com.canonical.certification::model_assertion
1917
com.canonical.certification::dmi_present
2018
com.canonical.certification::dmi
2119
com.canonical.certification::removable_partition

providers/base/units/gpio/jobs.pxu

Lines changed: 0 additions & 42 deletions
This file was deleted.

providers/base/units/gpio/test-plan.pxu

Lines changed: 0 additions & 41 deletions
This file was deleted.

providers/base/units/kernel-snap/category.pxu

Lines changed: 0 additions & 3 deletions
This file was deleted.

providers/base/units/kernel-snap/jobs.pxu

Lines changed: 0 additions & 54 deletions
This file was deleted.

providers/base/units/kernel-snap/test-plan.pxu

Lines changed: 0 additions & 24 deletions
This file was deleted.

providers/base/units/location/jobs.pxu

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@ id: location/status
22
_summary: Queries the status of a service instance
33
command: locationd.status
44
category_id: location
5-
requires: snap.name == 'locationd'
65
estimated_duration: 1
76
flags: simple preserve-cwd also-after-suspend
87

98
id: location/monitor
109
_summary: Connects to a location service instance, monitoring its activity.
1110
command: timeout 15m bash -c 'grep -m 1 Update <( exec locationd.monitor ); kill $! 2> /dev/null'
1211
category_id: location
13-
requires: snap.name == 'locationd'
1412
estimated_duration: 900
1513
flags: simple preserve-cwd also-after-suspend
1614

@@ -25,7 +23,6 @@ _verification:
2523
Did the command succeed?
2624
category_id: location
2725
flags: also-after-suspend
28-
requires: snap.name == 'locationd'
2926
estimated_duration: 1
3027
plugin: manual
3128

@@ -40,7 +37,6 @@ _verification:
4037
Did the command succeed (it can take up to 15m from a cold start)?
4138
category_id: location
4239
flags: also-after-suspend
43-
requires: snap.name == 'locationd'
4440
estimated_duration: 900
4541
plugin: manual
4642

providers/base/units/mediacard/jobs.pxu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ flags: preserve-cwd
148148
command: removable_storage_test.py -s 268400000 --memorycard -l sdio usb scsi && removable_storage_test.py --memorycard sdio usb scsi
149149
imports: from com.canonical.plainbox import manifest
150150
requires:
151-
package.name == 'udisks2' or snap.name == 'udisks2'
151+
package.name == 'udisks2'
152152
manifest.has_card_reader == 'True'
153153
_summary: Automated test of SD Card reading & writing (udisk2)
154154
_description:
@@ -596,4 +596,4 @@ requires:
596596
_summary: Automated test of SD Card reading & writing ({symlink_uuid})
597597
_description:
598598
This is a fully automated version of mediacard/sd-automated and assumes that the
599-
system under test has a memory card device plugged in prior to checkbox execution.
599+
system under test has a memory card device plugged in prior to checkbox execution.

providers/base/units/miscellanea/jobs.pxu

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ depends:
1212
meminfo
1313
module
1414
package
15-
snap
1615
requirements
1716
uname
1817
device
@@ -147,22 +146,6 @@ _description:
147146
Test that the system supports rebooting into the firmware setup utility.
148147
command: boot_mode_test.py reboot_firmware
149148

150-
plugin: shell
151-
category_id: com.canonical.plainbox::miscellanea
152-
estimated_duration: 0.5
153-
unit: template
154-
template-resource: model_assertion
155-
template-unit: job
156-
requires:
157-
executable.name == 'dumpimage' or executable.name == 'mokutil'
158-
id: miscellanea/secure_boot_mode_{gadget}
159-
_summary: Test that {gadget} Ubuntu Core system booted with Secure Boot active
160-
_description:
161-
Test to verify that the system booted with Secure Boot active.
162-
user:root
163-
command:
164-
boot_mode_test_snappy.py {gadget} {kernel}
165-
166149
plugin: shell
167150
category_id: com.canonical.plainbox::miscellanea
168151
estimated_duration: 0.5
@@ -532,4 +515,4 @@ command:
532515
if test -f "$PLAINBOX_SESSION_SHARE/ubuntu_drivers_list_oem_check"; then
533516
cat "$PLAINBOX_SESSION_SHARE/ubuntu_drivers_list_oem_check"
534517
fi
535-
true
518+
true

providers/base/units/miscellanea/snap-auto-connection.pxu

Lines changed: 0 additions & 15 deletions
This file was deleted.

providers/base/units/power-management/jobs.pxu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ user: root
511511
estimated_duration: 15
512512

513513
unit: template
514-
template-resource: model_assertion
514+
template-resource: cpuinfo
515515
template-unit: job
516516
plugin: shell
517517
category_id: com.canonical.plainbox::power-management
@@ -542,4 +542,4 @@ _steps:
542542
5. Wait until the message "Has ambient light sensor" is printed on the screen and wave your hand slowly during testing.
543543
_verification:
544544
Did the Ambient Light Sensor values change when you shaking your hands over the sensor?
545-
Did the Screen backlight also changed?
545+
Did the Screen backlight also changed?

providers/base/units/self/jobs.pxu

Lines changed: 0 additions & 12 deletions
This file was deleted.

providers/base/units/self/test-plan.pxu

Lines changed: 0 additions & 26 deletions
This file was deleted.

providers/base/units/snapd/category.pxu

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)