]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - tcl_tests/runtest.sh
tcl_tests: Allow running tests separately
[openssl-gost/engine.git] / tcl_tests / runtest.sh
index c3fc81200c976a6be9f4581e2a00d70ef6c24bdf..0589f78d29818998103602cda96db3c7a69202a0 100644 (file)
@@ -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