From 26e197f641720675267ff868edc3ddfb46c07b91 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Fri, 9 Apr 2010 20:50:46 +0000 Subject: [PATCH] gdb/testsuite/ Fix non-GNU make compatibility. * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/Makefile.in | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 30c5df177d6..0fb887a9f7f 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-04-09 Jan Kratochvil + + Fix non-GNU make compatibility. + * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@. + 2010-04-09 Phil Muldoon * gdb.python/py-breakpoint.exp: New File. diff --git a/gdb/testsuite/Makefile.in b/gdb/testsuite/Makefile.in index 5238cf078d3..8d8d7049491 100644 --- a/gdb/testsuite/Makefile.in +++ b/gdb/testsuite/Makefile.in @@ -174,9 +174,9 @@ check-parallel: $(SHELL) $(srcdir)/dg-extract-results.sh -L \ $(addsuffix /gdb.log,$(TEST_DIRS)) > gdb.log -$(filter-out check-gdb.base%,$(TEST_TARGETS)): check-gdb.%: all $(abs_builddir)/site.exp - @if test ! -d gdb.$*; then mkdir gdb.$*; fi - $(DO_RUNTEST) --directory=gdb.$* --outdir=gdb.$* $(RUNTESTFLAGS) +@GMAKE_TRUE@$(filter-out check-gdb.base%,$(TEST_TARGETS)): check-gdb.%: all $(abs_builddir)/site.exp +@GMAKE_TRUE@ @if test ! -d gdb.$*; then mkdir gdb.$*; fi +@GMAKE_TRUE@ $(DO_RUNTEST) --directory=gdb.$* --outdir=gdb.$* $(RUNTESTFLAGS) # Each half (roughly) of the .exp files from gdb.base. BASE1_FILES = $(patsubst $(srcdir)/%,%,$(wildcard $(srcdir)/gdb.base/[a-m]*.exp)) -- 2.30.2