summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource4/script/tests/test_pidl.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/script/tests/test_pidl.sh b/source4/script/tests/test_pidl.sh
index 06f9617ec9..c48acf98cf 100755
--- a/source4/script/tests/test_pidl.sh
+++ b/source4/script/tests/test_pidl.sh
@@ -7,4 +7,9 @@ fi
incdir=`dirname $0`
. $incdir/test_functions.sh
-$PERL -MExtUtils::Command::MM -e "test_harness()" pidl/tests/*.pl || testok $0 1
+
+for f in pidl/tests/*.pl; do
+ testit "$f" $PERL -MExtUtils::Command::MM -e "test_harness()" $f || failed=`expr $failed + 1`
+done
+
+testok $0 $failed