gdb/testsuite/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 9 Apr 2010 20:50:46 +0000 (20:50 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 9 Apr 2010 20:50:46 +0000 (20:50 +0000)
Fix non-GNU make compatibility.
* Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.

gdb/testsuite/ChangeLog
gdb/testsuite/Makefile.in

index 30c5df177d68ba702469e777b557ac9a1d494b01..0fb887a9f7ff206374dd6bc844233578b3291e6f 100644 (file)
@@ -1,3 +1,8 @@
+2010-04-09  Jan Kratochvil  <jan.kratochvil@redhat.com>
+
+       Fix non-GNU make compatibility.
+       * Makefile.in ($(TEST_TARGETS)): Conditionalize it by @GMAKE_TRUE@.
+
 2010-04-09  Phil Muldoon  <pmuldoon@redhat.com>
 
        * gdb.python/py-breakpoint.exp: New File.
index 5238cf078d36d1fd622dc693cd085c1e4b746d5d..8d8d704949190fe1243e050a450fed7669ae62d9 100644 (file)
@@ -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))