]> git.draconx.ca Git - dxcommon.git/blobdiff - snippet/test-tap.at
test-tap.at: Use PATH instead of hardcoding "$builddir/t"
[dxcommon.git] / snippet / test-tap.at
index ee4b54138268b1d0b228018c609d2bb2aad79b3b..cf9554fa77546e984445344d4e3a50b6e87adff7 100644 (file)
@@ -17,9 +17,9 @@ m4_defun([_TEST_TAP_PREPARE], [m4_divert_push([PREPARE_TESTS])dnl
 # Run a test program, and, if prove is installed, use it to interpret the
 # TAP-formatted output.
 test_run_tap () {
-  program=$[1]; shift
+  program=$[1]
 
-  "$builddir/t/$program" "$[@]" >"$program.tap"
+  "$[@]" >"$program.tap"
   status=$?
   cat "$program.tap"
   # Older versions of prove do not support the -e option so the