X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1c103b3a9a96a045a221760af82bc99093b3076c..82053b457be3de2ee5285dc13633222f4d30802c:/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)'