summaryrefslogtreecommitdiff
path: root/test/Test.mak
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-11-18 15:04:54 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-11-18 15:04:54 +0000
commit4dd72a937aed8056163addafe74fc38fa906db3b (patch)
tree5662f114596de9cc3b2d8ed24e446c38a9efdc0c /test/Test.mak
parent0113e25233e93d2ecae38c6849470b0b0deb2aee (diff)
Add CHECK_ONLY option to allow for running the tests on the target instead of attempting to link or compile them. Perhaps I don't fully understand the test structure, but for TLS and NPTL the tests cannot be compiled on the target without a full source tree.
Diffstat (limited to 'test/Test.mak')
-rw-r--r--test/Test.mak2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/Test.mak b/test/Test.mak
index 687366b7c..6477e26ad 100644
--- a/test/Test.mak
+++ b/test/Test.mak
@@ -72,9 +72,11 @@ define exec_test
endef
$(U_TARGETS):
+ifeq ($(CHECK_ONLY),)
$(showlink)
$(Q)$(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(CFLAGS_$@) -c $@.c -o $@.o
$(Q)$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LDFLAGS) $(LDFLAGS_$@)
+endif
ifeq ($(COMPILE_ONLY),)
$(exec_test)
$(diff_test)