summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/libssh2/files/run-ptest
diff options
context:
space:
mode:
authorSakib Sajal <sakib.sajal@windriver.com>2020-09-22 12:07:51 -0400
committerKhem Raj <raj.khem@gmail.com>2020-09-22 10:19:13 -0700
commitf5df715e2c8717fcc6c83c7da3e2a0b7334c3a3c (patch)
tree4c91f928c6841e19dc253d7b02b1838fd9620e44 /meta-oe/recipes-support/libssh2/files/run-ptest
parentd7c8d85f959a693690bbf4d99102e8a68e78df13 (diff)
downloadmeta-openembedded-f5df715e2c8717fcc6c83c7da3e2a0b7334c3a3c.tar.gz
libssh2: enable ptest
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/libssh2/files/run-ptest')
-rw-r--r--meta-oe/recipes-support/libssh2/files/run-ptest7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/libssh2/files/run-ptest b/meta-oe/recipes-support/libssh2/files/run-ptest
new file mode 100644
index 0000000000..2a7922f1aa
--- /dev/null
+++ b/meta-oe/recipes-support/libssh2/files/run-ptest
@@ -0,0 +1,7 @@
1#!/bin/sh
2
3ptestdir=$(dirname "$(readlink -f "$0")")
4for test in $(ls $ptestdir/tests)
5do
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
7done