Merge lp:~chris.gagnon/phablet-tools/run-test-without-autopilot into lp:phablet-tools
Proposed by
Chris Gagnon
Status: | Merged |
---|---|
Approved by: | Sergio Schvezov |
Approved revision: | 230 |
Merged at revision: | 225 |
Proposed branch: | lp:~chris.gagnon/phablet-tools/run-test-without-autopilot |
Merge into: | lp:phablet-tools |
Diff against target: |
152 lines (+53/-19) 1 file modified
phablet-test-run (+53/-19) |
To merge this branch: | bzr merge lp:~chris.gagnon/phablet-tools/run-test-without-autopilot |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sergio Schvezov | Approve | ||
PS Jenkins bot | continuous-integration | Approve | |
Francis Ginther | Approve | ||
Chris Gagnon (community) | Needs Resubmitting | ||
Review via email: mp+194920@code.launchpad.net |
Commit message
run non-autopilot tests with phablet-test-run using -x flag
Description of the change
use the -x flag to run tests that are not autopilot tests
example:
phablet-test-run -x -o . mir-integration
phablet-test-run -x -o . run-mir-demo --mir-demo mir_demo_
phablet-test-run -x -o . ls -la
To post a comment you must log in.
Found some issues with my test case:
"./phablet-test-run -x 'ls > /tmp/ls.log' -o outdir -a /tmp/ls.log"
1) sh style conditional test:
./phablet-test-run: 202: ./phablet-test-run: [[: not found
2) The script still tries to collect the autopilot result file, when '-x' is specified this should be skipped: results. xml' does not exist
remote object '/tmp/test_
3) The usage line (line 30) does not include '-x'.
When 1 is fixed, the test runs as expected and the artifact is copied.