X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fdistcheck-configure-flags-am.sh;h=0d9a8d5e23f3bb5f9afeed8cf5a25cf0c6a73819;hb=6febcd41b3dcf99a89aaf21329c00fdadcd68771;hp=330fde1b470f3dcb2636bd70b27b0c3b71187f88;hpb=10ebd158644c2266607943de90a817e4f23c96bc;p=platform%2Fupstream%2Fautomake.git diff --git a/t/distcheck-configure-flags-am.sh b/t/distcheck-configure-flags-am.sh old mode 100755 new mode 100644 index 330fde1..0d9a8d5 --- a/t/distcheck-configure-flags-am.sh +++ b/t/distcheck-configure-flags-am.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2011-2012 Free Software Foundation, Inc. +# Copyright (C) 2011-2013 Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -27,7 +27,7 @@ AS_IF([test $success = yes && test "$sentence" = 'it works :-)'], AC_OUTPUT END -unset sentence || : +unset sentence cat > Makefile.am << 'END' AM_DISTCHECK_CONFIGURE_FLAGS = $(dc_flags1) $(dc_flags2) @@ -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"