diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/README | 1 | ||||
-rw-r--r-- | test/Test.mak | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/test/README b/test/README index 18d34e88a..4704b57c5 100644 --- a/test/README +++ b/test/README @@ -6,6 +6,7 @@ The following make variables may help you in testing: - 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: 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) |