Fixed problem with recursive make invocations in the test framework

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@32821 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2011-04-09 14:03:30 +00:00
parent 5c1dbeaa7d
commit 30316cb9c6
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2011-04-09 Nicola Pero <nicola.pero@meta-innovation.com>
* TestFramework/gnustep-tests.in: Do not add MAKEFLAGS on a
sub-make command-line. This fixes 'make messages=yes check' on
the top-level of gnustep-base, for example.
2011-04-09 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Use AC_COMPILE_IFELSE instead of AC_TRY_IFELSE

View file

@ -320,7 +320,7 @@ build_and_run ()
BUILD_CMD="$CC -o ./obj/$TESTNAME $TESTFILE $GSTESTFLAGS $GSTESTLIBS"
fi
else
BUILD_CMD="$MAKE_CMD $MAKEFLAGS debug=yes $TESTNAME"
BUILD_CMD="$MAKE_CMD debug=yes $TESTNAME"
fi
# Compile it if necessary.
@ -588,7 +588,7 @@ ${tmp}_OBJC_FILES=$TESTFILE"
# individual test file later.
echo "" >>$GSTESTLOG
echo "Building in $dir" >>$GSTESTLOG
$MAKE_CMD -j 4 $MAKEFLAGS debug=yes >>$GSTESTLOG 2>&1
$MAKE_CMD -j 4 debug=yes >>$GSTESTLOG 2>&1
if test $? = 0
then
NEEDBUILD=no