summaryrefslogtreecommitdiffstats
path: root/Makefile.rules
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 /Makefile.rules
parent68b4d66bdad8bc036073d1a4cbc26e94cdaf908a (diff)
downloadtalos-skiboot-2ceb8b8c0ac53a9014e83d12e1c758d5f9e07fe6.tar.gz
talos-skiboot-2ceb8b8c0ac53a9014e83d12e1c758d5f9e07fe6.zip
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 'Makefile.rules')
-rw-r--r--Makefile.rules4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index ea524886..80121c33 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -25,6 +25,10 @@ endef
endif
endif
+define QTEST
+ $(call Q,$1, ./test/run.sh $2, $3)
+endef
+
define cook_aflags
$(filter-out $(AFLAGS_SKIP_$(1)), $(CPPFLAGS) $(AFLAGS)) $(AFLAGS_$(1))
endef
OpenPOWER on IntegriCloud