diff options
Diffstat (limited to 'core/test/Makefile.check')
-rw-r--r-- | core/test/Makefile.check | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/core/test/Makefile.check b/core/test/Makefile.check index 37dac46..d576fc1 100644 --- a/core/test/Makefile.check +++ b/core/test/Makefile.check @@ -1,11 +1,16 @@ # -*-Makefile-*- CORE_TEST := core/test/run-device core/test/run-mem_region core/test/run-malloc core/test/run-malloc-speed core/test/run-mem_region_init core/test/run-mem_region_release_unused core/test/run-mem_region_release_unused_noalloc core/test/run-trace core/test/run-msg -check: $(CORE_TEST:%=%-check) +CORE_TEST_NOSTUB := core/test/run-console-log-buf-overrun + +check: $(CORE_TEST:%=%-check) $(CORE_TEST_NOSTUB:%=%-check) $(CORE_TEST:%=%-check) : %-check: % $(VALGRIND) $< +$(CORE_TEST_NOSTUB:%=%-check) : %-check: % + $(VALGRIND) $< + core/test/stubs.o: core/test/stubs.c $(HOSTCC) $(HOSTCFLAGS) -g -c -o $@ $< @@ -14,7 +19,12 @@ $(CORE_TEST) : core/test/stubs.o $(CORE_TEST) : % : %.c $(HOSTCC) $(HOSTCFLAGS) -O0 -g -I include -I . -I libfdt -o $@ $< core/test/stubs.o -$(CORE_TEST): % : %.d +$(CORE_TEST_NOSTUB): % : %.d + +$(CORE_TEST_NOSTUB) : % : %.c + $(HOSTCC) $(HOSTCFLAGS) -O0 -g -I include -I . -I libfdt -o $@ $< + +$(CORE_TEST_NOSTUB): % : %.d core/test/stubs.o: core/test/stubs.d |