X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=t%2Fexeext4.sh;h=ecc28c9fb32b1bfb457e3181faa7dc511fed4509;hb=a7c00e1935726a32dca6871dd0f1b7eda28d0a5b;hp=298879dee031c263174ecf0498ea81f007c8189c;hpb=119d65e9e06ffc6e8997d3ba386429db6cc2ef27;p=platform%2Fupstream%2Fautomake.git diff --git a/t/exeext4.sh b/t/exeext4.sh old mode 100755 new mode 100644 index 298879d..ecc28c9 --- a/t/exeext4.sh +++ b/t/exeext4.sh @@ -1,5 +1,5 @@ #! /bin/sh -# Copyright (C) 2003-2012 Free Software Foundation, Inc. +# Copyright (C) 2003-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 @@ -17,7 +17,8 @@ # Make sure $(EXEEXT) is appended to programs and to tests that are # programs, but not to @substitutions@. -. ./defs || Exit 1 +# For gen-testsuite-part: ==> try-with-serial-tests <== +. test-init.sh cat >> configure.ac << 'END' AM_CONDITIONAL([COND], [test -n "$cond"]) @@ -63,7 +64,7 @@ $MAKE test-cond # Only two am__EXEEXT_* variables are needed here: one for BAR, and one # BAZ. The latter must use the former. -test 2 = `grep '__EXEEXT_. =' Makefile.in | wc -l` +test 2 -eq $(grep -c '__EXEEXT_. =' Makefile.in) grep 'am__EXEEXT_2 = .*am__EXEEXT_1' Makefile.in :