ade-commands automated
critical
- Image Types:
- basesdk-amd64 / sdk-amd64
- Image Deployment:
- APT
- Type:
- functional
Description
Test ade command and sub-command with default and custom options and arguments.
Pre Conditions
- Clone the tests repository from another computer (Note that the branch being tested may change depending on the release, please make sure to clone the correct branch for the release in question):
- Copy the test directory apertis-tests to the target device:
- Log into the target device:
- Network connectivity on the DUT as these tests fetch sysroot images over the network.
$ git clone --branch apertis/v2019dev0 https://git.apertis.org/git/apertis-tests.git
$ DUT_IP=<device-ip>
$ scp -r apertis-tests user@$DUT_IP:
$ ssh user@$DUT_IP
Execution Steps
- Enter test directory:
- Run the ade-tests-custom.sh and ade-tests-defaults.sh script from the ade/ directory
$ cd apertis-tests
$ common/run-test-in-systemd --timeout=30min --name=run-test ade/ade-tests-custom.sh
$ common/run-test-in-systemd --timeout=30min --name=run-test ade/ade-tests-defaults.sh
Expected
The automated test should succeed:
>>> Test setup successfully!
>>> ==== Testing ade usage with custom parameters
>>> "TEST_RESULT:pass:ade-tests-custom:"
Notes
- Lots of ade messages will be logged on the standard output. Upon test fail, the script will abort with:
TEST_RESULT:fail:ade-tests-custom: