X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=t%2Ftest.sh;h=1a49d6fc583288c41bf6637d5d09ea009c7a1dc6;hb=0f0f42639c9a9c31a86521a9347f910fe0f0c3e0;hp=761f9021f76b868b0861f398ece37c7ddb8c8765;hpb=e0ad5757c7f9551f808b55c114ff8892f09689f4;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)'