Index: ossp-pkg/xds/regression-tests/.run-tests.in RCS File: /v/ossp/cvs/ossp-pkg/xds/regression-tests/Attic/.run-tests.in,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/xds/regression-tests/Attic/.run-tests.in,v' | diff -u - /dev/null -L'ossp-pkg/xds/regression-tests/.run-tests.in' 2>/dev/null --- ossp-pkg/xds/regression-tests/.run-tests.in +++ /dev/null 2024-05-20 22:15:35.000000000 +0200 @@ -1,40 +0,0 @@ -#! @bash@ - -if [ $# -lt 1 ]; then - echo "Usage: $0 test1.exe [...]" - exit 1; -fi - -RESCOLUMN=30 -numTests=0 -numFails=0 - -echo "Running test suite:" - -for suite in $*; do - tmp=`expr "${suite}" : '\(.*\)\.exe$'` - echo -n "$tmp" - currpos=`expr $RESCOLUMN - ${#tmp}` - while [ $currpos -gt 1 ]; do - echo -n "." - currpos=`expr $currpos - 1` - done - echo -n " " - numTests=`expr $numTests + 1` - eval ./$suite >${tmp}.log 2>&1 - if [ $? -eq 0 ]; then - echo OK - else - numFails=`expr $numFails + 1` - echo FAILED - fi -done - -echo -if [ $numFails -eq 0 ]; then - echo "Summary: All tests succeeded." - exit 0 -else - echo "Summary: $numFails of $numTests tests failed ($(($numFails*100/$numTests))%)." - exit 1 -fi