From f5df715e2c8717fcc6c83c7da3e2a0b7334c3a3c Mon Sep 17 00:00:00 2001 From: Sakib Sajal Date: Tue, 22 Sep 2020 12:07:51 -0400 Subject: libssh2: enable ptest Signed-off-by: Sakib Sajal Signed-off-by: Khem Raj --- meta-oe/recipes-support/libssh2/files/run-ptest | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 meta-oe/recipes-support/libssh2/files/run-ptest (limited to 'meta-oe/recipes-support/libssh2/files/run-ptest') 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 @@ +#!/bin/sh + +ptestdir=$(dirname "$(readlink -f "$0")") +for test in $(ls $ptestdir/tests) +do + ./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 +done -- cgit v1.2.3-54-g00ecf