summaryrefslogtreecommitdiff
path: root/source4/script/tests
diff options
context:
space:
mode:
Diffstat (limited to 'source4/script/tests')
-rwxr-xr-xsource4/script/tests/test_pidl.sh14
-rw-r--r--source4/script/tests/tests_all.sh1
2 files changed, 8 insertions, 7 deletions
diff --git a/source4/script/tests/test_pidl.sh b/source4/script/tests/test_pidl.sh
index 9b47317463..6ef2b0ab91 100755
--- a/source4/script/tests/test_pidl.sh
+++ b/source4/script/tests/test_pidl.sh
@@ -1,8 +1,8 @@
#!/bin/sh
-PERL=perl
-$PERL -Ibuild/pidl ./build/pidl/tests/ndr_simple.pl
-$PERL -Ibuild/pidl ./build/pidl/tests/ndr_align.pl
-$PERL -Ibuild/pidl ./build/pidl/tests/ndr_alloc.pl
-$PERL -Ibuild/pidl ./build/pidl/tests/ndr_refptr.pl
-$PERL -Ibuild/pidl ./build/pidl/tests/ndr_string.pl
-$PERL -Ibuild/pidl ./build/pidl/tests/ndr_array.pl
+if [ ! -n "$PERL" ]
+then
+ PERL=perl
+fi
+#$PERL -MExtUtils::Command::MM -e "test_harness()" pidl/tests/*.pl
+$PERL -MExtUtils::Command::MM -e "test_harness()" pidl/tests/parse_idl.pl
+
diff --git a/source4/script/tests/tests_all.sh b/source4/script/tests/tests_all.sh
index 5c480e9995..8abebf0dce 100644
--- a/source4/script/tests/tests_all.sh
+++ b/source4/script/tests/tests_all.sh
@@ -8,3 +8,4 @@
$SRCDIR/script/tests/test_echo.sh $SERVER $USERNAME $PASSWORD $DOMAIN || failed=`expr $failed + $?`
$SRCDIR/script/tests/test_posix.sh //$SERVER/tmp $USERNAME $PASSWORD "" || failed=`expr $failed + $?`
$SRCDIR/script/tests/test_local.sh || failed=`expr $failed + $?`
+ $SRCDIR/script/tests/test_pidl.sh || failed=`expr $failed + $?`