diff options
author | Jonathan Cave <jonathan.cave@canonical.com> | 2020-01-24 16:26:23 +0000 |
---|---|---|
committer | Jonathan Cave <jonathan.cave@canonical.com> | 2020-01-24 16:26:23 +0000 |
commit | e891a8bd24d51f9dc2bae1406c7bb2e601d1b9f3 (patch) | |
tree | 3e6437ba970b26087b70028fddcdb718f722bf00 /units/i2c | |
parent | cdf88690fe4998d3e6e771d609b4d32f73da2667 (diff) |
i2c: rename test script and use argparse
Diffstat (limited to 'units/i2c')
-rw-r--r-- | units/i2c/jobs.pxu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/units/i2c/jobs.pxu b/units/i2c/jobs.pxu index db90509..a928917 100644 --- a/units/i2c/jobs.pxu +++ b/units/i2c/jobs.pxu @@ -16,9 +16,9 @@ _steps: detected there's at least one i2c bus. command: if [ -z ${I2C_BUS_NUMBER+x} ]; then - i2c_driver_test bus + i2c_driver_test.py bus else - i2c_driver_test bus -b $I2C_BUS_NUMBER + i2c_driver_test.py bus -b $I2C_BUS_NUMBER fi user: root plugin: shell @@ -37,7 +37,7 @@ _steps: 1. This task is fully automatic, test will pass if there's at least one i2c device detected on any I2C bus. command: - i2c_driver_test device + i2c_driver_test.py device user: root plugin: shell category_id: i2c |