svn commit: trunk/uClibc/test
sjhill at uclibc.org
sjhill at uclibc.org
Sat Nov 18 15:04:55 UTC 2006
Author: sjhill
Date: 2006-11-18 07:04:54 -0800 (Sat, 18 Nov 2006)
New Revision: 16576
Log:
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.
Modified:
trunk/uClibc/test/README
trunk/uClibc/test/Test.mak
Changeset:
Modified: trunk/uClibc/test/README
===================================================================
--- trunk/uClibc/test/README 2006-11-18 02:17:37 UTC (rev 16575)
+++ trunk/uClibc/test/README 2006-11-18 15:04:54 UTC (rev 16576)
@@ -6,6 +6,7 @@
- UCLIBC_ONLY - only run tests against uClibc
- GLIBC_ONLY - only run tests against glibc
- COMPILE_ONLY - just build the tests, don't run them
+ - CHECK_ONLY - only run the tests, don't compile or link them
- V / VERBOSE - run tests with a lot of output
So, to just run the uClibc tests, try this:
Modified: trunk/uClibc/test/Test.mak
===================================================================
--- trunk/uClibc/test/Test.mak 2006-11-18 02:17:37 UTC (rev 16575)
+++ trunk/uClibc/test/Test.mak 2006-11-18 15:04:54 UTC (rev 16576)
@@ -72,9 +72,11 @@
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)
More information about the uClibc-cvs
mailing list