From 7f6cc60e1763b46301447ab5bc011f91d1643cfc Mon Sep 17 00:00:00 2001 From: Jonathan Cave Date: Fri, 24 Jan 2020 16:26:23 +0000 Subject: i2c: rename test script and use argparse --- units/i2c/jobs.pxu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'units') diff --git a/units/i2c/jobs.pxu b/units/i2c/jobs.pxu index db905095..a9289177 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 -- cgit v1.2.3