aboutsummaryrefslogtreecommitdiff
path: root/core/test
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2016-07-12 18:59:27 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-07-12 19:18:28 +1000
commit2ceb8b8c0ac53a9014e83d12e1c758d5f9e07fe6 (patch)
treea279bac9a77c903c7c1cd2bf2abc87d6a2d856c1 /core/test
parent68b4d66bdad8bc036073d1a4cbc26e94cdaf908a (diff)
downloadskiboot-2ceb8b8c0ac53a9014e83d12e1c758d5f9e07fe6.zip
skiboot-2ceb8b8c0ac53a9014e83d12e1c758d5f9e07fe6.tar.gz
skiboot-2ceb8b8c0ac53a9014e83d12e1c758d5f9e07fe6.tar.bz2
make check: make test runs less noisy
Run a small wrapper around some unit tests with the QTEST makefile macro (QTEST=Quiet TEST). Also, wrap boot tests in mambo and qemu to be quiet by default. Both ./test/run.sh and the modified mambo/qemu test runner scripts output full stdout and stderr in the event of error. Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/test')
-rw-r--r--core/test/Makefile.check8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/test/Makefile.check b/core/test/Makefile.check
index 0818092..b24bc21 100644
--- a/core/test/Makefile.check
+++ b/core/test/Makefile.check
@@ -36,16 +36,16 @@ check: core-check
coverage: core-coverage
$(CORE_TEST:%=%-gcov-run) : %-run: %
- $(call Q, TEST-COVERAGE ,$< , $<)
+ $(call QTEST, TEST-COVERAGE ,$< , $<)
$(CORE_TEST_NOSTUB:%=%-gcov-run) : %-run: %
- $(call Q, TEST-COVERAGE ,$< , $<)
+ $(call QTEST, TEST-COVERAGE ,$< , $<)
$(CORE_TEST:%=%-check) : %-check: %
- $(call Q, RUN-TEST ,$(VALGRIND) $<, $<)
+ $(call QTEST, RUN-TEST ,$(VALGRIND) $<, $<)
$(CORE_TEST_NOSTUB:%=%-check) : %-check: %
- $(call Q, RUN-TEST ,$(VALGRIND) $<, $<)
+ $(call QTEST, RUN-TEST ,$(VALGRIND) $<, $<)
core/test/stubs.o: core/test/stubs.c
$(call Q, HOSTCC ,$(HOSTCC) $(HOSTCFLAGS) -g -c -o $@ $<, $<)