summaryrefslogtreecommitdiff
path: root/units/miscellanea
diff options
authorSylvain Pineau <sylvain.pineau@canonical.com>2018-02-07 11:47:00 +0100
committerSylvain Pineau <sylvain.pineau@canonical.com>2018-02-07 11:47:00 +0100
commiteedb5c04a5e4441cd79172d3dbf3db51e0108a64 (patch)
tree02ad01bcde163fd9b72fe2bb310bd3bcee0e829f /units/miscellanea
parentb72a61d4cb498e383211d30308fdb816979405de (diff)
Allow jobs requiring fwts to run from a checkbox snap
Diffstat (limited to 'units/miscellanea')
-rw-r--r--units/miscellanea/jobs.pxu12
1 files changed, 4 insertions, 8 deletions
diff --git a/units/miscellanea/jobs.pxu b/units/miscellanea/jobs.pxu
index 10df43dd..2071f06b 100644
--- a/units/miscellanea/jobs.pxu
+++ b/units/miscellanea/jobs.pxu
@@ -67,8 +67,7 @@ plugin: shell
category_id: com.canonical.plainbox::miscellanea
id: miscellanea/fwts_test
estimated_duration: 1.2
-requires:
- package.name == 'fwts'
+requires: executable.name == 'fwts'
user: root
_description:
Run Firmware Test Suite (fwts) automated tests.
@@ -93,8 +92,7 @@ command: fwupdate -s
plugin: attachment
category_id: com.canonical.plainbox::miscellanea
id: miscellanea/fwts_results.log
-requires:
- package.name == 'fwts'
+requires: executable.name == 'fwts'
command:
[[ -e ${PLAINBOX_SESSION_SHARE}/fwts_results.log ]] && xz -c ${PLAINBOX_SESSION_SHARE}/fwts_results.log
_description: Attaches the miscellanes/fwts_test results log to the submission.
@@ -103,8 +101,7 @@ plugin: attachment
category_id: com.canonical.plainbox::miscellanea
estimated_duration: 0.5
id: miscellanea/fwts_results_hwe.log.gz
-requires:
- package.name == 'fwts'
+requires: executable.name == 'fwts'
command:
[ -f $PLAINBOX_SESSION_SHARE/fwts_results_hwe.log ] && gzip -c $PLAINBOX_SESSION_SHARE/fwts_results_hwe.log
_description: Attaches the FWTS results log to the submission (to HWE)
@@ -292,8 +289,7 @@ _description:
plugin:shell
id: miscellanea/oops
estimated_duration: 10.0
-requires:
- package.name == 'fwts'
+requires: executable.name == 'fwts'
user: root
_description:
Run Firmware Test Suite (fwts) oops tests.