From cc7b00192b1d005ce6a0a857c3c63d0ed9174734 Mon Sep 17 00:00:00 2001 From: Jenkins Date: Mon, 8 Nov 2021 12:57:51 +0000 Subject: Import plainbox-provider-checkbox_0.60.0~rc1.orig.tar_gz --- units/led/test-plan.pxu | 6 ++++-- units/led/vendor-aaeon.pxu | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 units/led/vendor-aaeon.pxu (limited to 'units/led') diff --git a/units/led/test-plan.pxu b/units/led/test-plan.pxu index fc83aa2..b0d0129 100644 --- a/units/led/test-plan.pxu +++ b/units/led/test-plan.pxu @@ -115,5 +115,7 @@ include: led/bluetooth led/serial led/fn - - + led/sysfs_led_brightness_on_.* + led/sysfs_led_brightness_off_.* +bootstrap_include: + dmi diff --git a/units/led/vendor-aaeon.pxu b/units/led/vendor-aaeon.pxu new file mode 100644 index 0000000..d4ed7cd --- /dev/null +++ b/units/led/vendor-aaeon.pxu @@ -0,0 +1,39 @@ + +unit: template +template-resource: dmi +template-filter: dmi.category == 'SYSTEM' and dmi.vendor == 'AAEON' and dmi.product in ('UPX-TGL01') +template-unit: job +id: led/sysfs_led_brightness_on_{vendor}_{product} +plugin: user-interact-verify +category_id: led +estimated_duration: 30.0 +flags: preserve-locale also-after-suspend +command: + led_sysfs_brightness.py {product} on +_purpose: + Verify that the leds_aaeon driver is working by setting all LEDs to maximum + brightness +_steps: + Press ENTER to start the test while watching external LEDs on the SUT +_verification: + The external LEDs should now be on at maximum brightness + +unit: template +template-resource: dmi +template-filter: dmi.category == 'SYSTEM' and dmi.vendor == 'AAEON' and dmi.product in ('UPX-TGL01') +template-unit: job +id: led/sysfs_led_brightness_off_{vendor}_{product} +plugin: user-interact-verify +category_id: led +estimated_duration: 30.0 +flags: preserve-locale also-after-suspend +depends: led/sysfs_led_brightness_on_{vendor}_{product} +command: + led_sysfs_brightness.py {product} off +_purpose: + Verify that the leds_aaeon driver is working by setting all LEDs to off / + minimum brightness +_steps: + Press ENTER to start the test while watching external LEDs on the SUT +_verification: + The external LEDs should now be off or at minimum brightness -- cgit v1.2.3