kein use SL::DB::Object aus SL::DB::Object
[kivitendo-erp.git] / t / test.sh
index f76d601..1a49d6f 100755 (executable)
--- a/t/test.sh
+++ b/t/test.sh
@@ -1 +1,9 @@
-find t | grep "\.t$" | grep -v '^t/old' | xargs perl -MExtUtils::Command::MM -e 'test_harness(0)'
+#!/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)'