Pass OUTPUT_SUMMARY on to the testsuite driver
authorIan Lynagh <igloo@earth.li>
Thu, 30 Sep 2010 22:50:33 +0000 (22:50 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 30 Sep 2010 22:50:33 +0000 (22:50 +0000)
testsuite/mk/test.mk

index 0bb8791..1d89c77 100644 (file)
@@ -132,7 +132,14 @@ RUNTEST_OPTS +=  \
        -e 'config.timeout=int($(TIMEOUT)) or config.timeout' \
        -e 'config.timeout_prog="$(TIMEOUT_PROGRAM)"' \
        -e 'config.exeext="$(exeext)"' \
-       -e 'config.top="$(TOP_ABS)"' \
+       -e 'config.top="$(TOP_ABS)"'
+
+ifneq "$(OUTPUT_SUMMARY)" ""
+RUNTEST_OPTS +=  \
+       --output-summary "$(OUTPUT_SUMMARY)"
+endif
+
+RUNTEST_OPTS +=  \
        $(EXTRA_RUNTEST_OPTS)
 
 ifeq "$(fast)" "YES"