X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=t%2Ftest.sh;h=1a49d6fc583288c41bf6637d5d09ea009c7a1dc6;hb=4252995520f5020735ca33d3fbbe63d9f6d4ef0b;hp=761f9021f76b868b0861f398ece37c7ddb8c8765;hpb=11b9540068f2b2c92d8a74542c73ba338b523431;p=kivitendo-erp.git 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)'