summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests: Add a test for dn name matchAmitay Isaacs2019-03-261-0/+24
| | | | | Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> Tested-by: Rashmica Gupta <rashmica.g@gmail.com>
* main: Convert getscom/putscom to use path based targetingAmitay Isaacs2018-11-161-3/+4
| | | | | Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> Reviewed-by: Alistair Popple <alistair@popple.id.au>
* main: Convert getcfam/putcfam to use path based targetingAmitay Isaacs2018-11-161-1/+1
| | | | | Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> Reviewed-by: Alistair Popple <alistair@popple.id.au>
* main: Update probe output to display device namesAmitay Isaacs2018-11-162-702/+727
| | | | | | | | With capability of selecting any target in the device tree, probe output should display all the nodes with their device tree names. Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> Reviewed-by: Alistair Popple <alistair@popple.id.au>
* tests: Add path based selection testsAmitay Isaacs2018-11-161-0/+545
| | | | | Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> Tested-by: Alistair Popple <alistair@popple.id.au>
* main: Fix probe() to print targets correctlyAmitay Isaacs2018-11-161-40/+3
| | | | | Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> Reviewed-by: Alistair Popple <alistair@popple.id.au>
* tests: Log stderr output (if any) on test failureAmitay Isaacs2018-11-151-2/+9
| | | | Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
* tests: Ensure tests can be run from builddirAmitay Isaacs2018-11-151-1/+1
| | | | | Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> Reviewed-by: Alistair Popple <alistair@popple.id.au>
* tests: Exit on first test failureAmitay Isaacs2018-11-151-0/+5
| | | | Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
* tests: Update driver to pass test_wrapper argumentAmitay Isaacs2018-11-153-8/+23
| | | | Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
* tests: Fix the condition to check if bmc is upAmitay Isaacs2018-11-151-1/+3
| | | | | Signed-off-by: Amitay Isaacs <amitay@ozlabs.org> Reviewed-by: Alistair Popple <alistair@popple.id.au>
* tests: Add bmc hw testsAlistair Popple2018-09-071-0/+113
| | | | | | | | | | | | | | | Reworked bmc hw test based on the updates to the test driver. This uses .test.bmc file to set up environment for the tests. Following variables are needed: BMC_HOST BMC_USER BMC_PASS PDBG_ARM_BUILD Signed-off-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
* tests: Update test driver with more featuresAmitay Isaacs2018-09-073-14/+203
| | | | | | | | | | | | | | | test_setup - Register hooks to be called before running tests test_cleanup - Register hooks to be called after running tests test_result - Will only match the output on stdout test_result_stderr - Match the output on stderr Following functions can be overriden. test_wrapper - To run test commands in a special context result_filter - To match varying output (typically using sed) Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
* tests: Add target selection testsAmitay Isaacs2018-08-131-0/+496
| | | | Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
* tests: Add simple shell test driversAmitay Isaacs2018-08-133-0/+376
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
OpenPOWER on IntegriCloud