tests: cosmetic changes in t/extra-sources.sh
[platform/upstream/automake.git] / t / distcheck-configure-flags-am.sh
index b1fd49b..0d9a8d5 100644 (file)
@@ -59,8 +59,7 @@ END
 $AUTOMAKE Makefile
 ./config.status Makefile
 
-$MAKE distcheck >output 2>&1 && { cat output; exit 1; }
-cat output
+run_make -e FAIL -M distcheck
 grep "^configure:.* success='no', sentence='it works :-)'" output
 
 $MAKE distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-success=yes"