From: Vitaly Chikunov Date: Mon, 11 Nov 2019 00:28:36 +0000 (+0300) Subject: tcl_tests: Allow running tests separately X-Git-Tag: v3.0.0~252 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=10576d5b3387fdb1f014e60a9c2bda97dbe6a593;p=openssl-gost%2Fengine.git tcl_tests: Allow running tests separately For debug purposes. Example: sh ./runtest.sh dgst pkcs8 --- 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