Don't run tests when cross-compiling
authorAndreas Schwab <schwab@linux-m68k.org>
Sat, 14 Nov 2009 09:42:02 +0000 (10:42 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Sat, 28 Apr 2012 20:16:37 +0000 (22:16 +0200)
ChangeLog
elf/Makefile
nptl/ChangeLog
nptl/Makefile

index 677bf37363c0103cceba52c0ae4a9ffd8e251f62..931510b3222cfcf1f4f1778cc11ab6ea0d9cb497 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
+       ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
+
 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
 
        * conform/conformtest.pl: Remove duplicate typed-constant
index fd766c58c53eed52e74c2f3a81679997d86edcf8..32d113ea302a1f5ab29aae0af64f5d5e67213df4 100644 (file)
@@ -156,7 +156,9 @@ tests += tst-audit6 tst-audit7
 endif
 endif
 endif
+ifeq ($(cross-compiling),no)
 tests: $(objpfx)tst-leaks1-mem $(objpfx)noload-mem
+endif
 tlsmod17a-suffixes = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
 tlsmod18a-suffixes = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
 tlsmod17a-modules = $(addprefix tst-tlsmod17a, $(tlsmod17a-suffixes))
@@ -1119,7 +1121,9 @@ $(objpfx)tst-relsort1mod2.so: $(libm)
 $(objpfx)tst-relsort1.out: $(objpfx)tst-relsort1mod1.so \
                           $(objpfx)tst-relsort1mod2.so
 
+ifeq ($(cross-compiling),no)
 tests: $(objpfx)tst-unused-dep.out
+endif
 
 $(objpfx)tst-unused-dep.out: $(objpfx)testobj1.so
        LD_TRACE_LOADED_OBJECTS=1 \
index 194dcc39a3e26fe1b64c933c625847d1bb3d03b4..def7f2c3ac37496492771d8071404665353b515c 100644 (file)
@@ -1,3 +1,8 @@
+2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * Makefile ($(objpfx)tst-stack3-mem, $(objpfx)tst-tls6.out): Don't
+       run when cross-compiling.
+
 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
        * sysdeps/pthread/unwind-forcedunwind.c: Include gnu/lib-names.h
index 52277dd843e169fe1e39179a3839f244eee587b8..09acd8a481c59db4eb1a21b6b316871faff95f98 100644 (file)
@@ -438,7 +438,9 @@ LDFLAGS-tst-atfork2 = -rdynamic
 tst-atfork2-ENV = MALLOC_TRACE=$(objpfx)tst-atfork2.mtrace
 $(objpfx)tst-atfork2mod.so: $(shared-thread-library)
 
+ifeq ($(cross-compiling),no)
 tests: $(objpfx)tst-stack3-mem
+endif
 tst-stack3-ENV = MALLOC_TRACE=$(objpfx)tst-stack3.mtrace
 $(objpfx)tst-stack3-mem: $(objpfx)tst-stack3.out
        $(common-objpfx)malloc/mtrace $(objpfx)tst-stack3.mtrace > $@
@@ -459,7 +461,9 @@ $(objpfx)tst-tls5: $(objpfx)tst-tls5mod.so $(shared-thread-library)
 LDFLAGS-tst-tls5mod.so = -Wl,-soname,tst-tls5mod.so
 
 ifeq ($(build-shared),yes)
+ifeq ($(cross-compiling),no)
 tests: $(objpfx)tst-tls6.out
+endif
 $(objpfx)tst-tls6.out: tst-tls6.sh $(objpfx)tst-tls5 \
                       $(objpfx)tst-tls5moda.so $(objpfx)tst-tls5modb.so \
                       $(objpfx)tst-tls5modc.so $(objpfx)tst-tls5modd.so \