diff options
Diffstat (limited to 'meta-oe/recipes-support/libssh2/files/run-ptest')
| -rw-r--r-- | meta-oe/recipes-support/libssh2/files/run-ptest | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/libssh2/files/run-ptest b/meta-oe/recipes-support/libssh2/files/run-ptest index 2a7922f1aa..c213b32e5f 100644 --- a/meta-oe/recipes-support/libssh2/files/run-ptest +++ b/meta-oe/recipes-support/libssh2/files/run-ptest | |||
| @@ -1,7 +1,8 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | 2 | ||
| 3 | ptestdir=$(dirname "$(readlink -f "$0")") | 3 | ptestdir=$(dirname "$(readlink -f "$0")") |
| 4 | for test in $(ls $ptestdir/tests) | 4 | cd tests |
| 5 | for test in $(ls) | ||
| 5 | do | 6 | do |
| 6 | ./test-driver --test-name $test --log-file $test.log --trs-file $test.trs --color-tests no --enable-hard-errors yes --expect-failure no -- ./tests/$test | 7 | ./../test-driver --test-name $test --log-file ../$test.log --trs-file ../$test.trs --color-tests no --enable-hard-errors yes --expect-failure no -- ./$test |
| 7 | done | 8 | done |
