From 10576d5b3387fdb1f014e60a9c2bda97dbe6a593 Mon Sep 17 00:00:00 2001 From: Vitaly Chikunov Date: Mon, 11 Nov 2019 03:28:36 +0300 Subject: [PATCH] tcl_tests: Allow running tests separately For debug purposes. Example: sh ./runtest.sh dgst pkcs8 --- tcl_tests/runtest.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tcl_tests/runtest.sh b/tcl_tests/runtest.sh index c3fc812..0589f78 100644 --- a/tcl_tests/runtest.sh +++ b/tcl_tests/runtest.sh @@ -105,6 +105,12 @@ OPENSSL_DEBUG_MEMORY=on export OPENSSL_DEBUG_MEMORY fail=0 +if [ "$*" ]; then + for t do + $TCLSH $t.try || fail=1 + done + exit $fail +fi for t in $BASE_TESTS; do $TCLSH $t.try || fail=1 done -- 2.39.2