X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/9ba3a010bca395410803067324c1924cabf956b4..7647d46:/t/test.sh diff --git a/t/test.sh b/t/test.sh index 761f9021f..1a49d6fc5 100755 --- a/t/test.sh +++ b/t/test.sh @@ -1 +1,9 @@ -find t | grep "\.t$" | grep -v '^t/old' | HARNESS_OPTIONS=j:c xargs perl -Imodules/override -MTest::Harness -e 'BEGIN { push @INC, "modules/fallback" } runtests(@ARGV)' +#!/bin/bash + +{ + if [[ -z $1 ]]; then + find t -type f -name '*.t' + else + echo -- "$@" + fi +} | HARNESS_OPTIONS=j:c xargs perl -X -Imodules/override -MTest::Harness -e 'BEGIN { push @INC, "modules/fallback" } runtests(@ARGV)'