test harness: improve catching of usage errors in script 'test-driver'
[platform/upstream/automake.git] / t / tap-deps.sh
index 8de51d3..a9446bf 100644 (file)
@@ -62,9 +62,7 @@ END
 
 chmod a+x *.test
 
-$MAKE check >stdout || { cat stdout; exit 1; }
-cat stdout
-
+run_make -O check
 count_test_results total=5 pass=5 fail=0 xpass=0 xfail=0 skip=0 error=0
 
 cat > exp << 'END'