]> rtime.felk.cvut.cz Git - omk.git/commitdiff
wvtest: Output "Test function header"
authorMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 25 Feb 2011 07:25:23 +0000 (08:25 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Fri, 25 Feb 2011 07:25:23 +0000 (08:25 +0100)
Previously, when something in the test failed before the test output
its header, it looked like the error occurred in the previous test. Now,
the header is the very first thing generated by make so the user see the
proper name of the failed test.

snippets/wvtest.omk

index 353565a543c0d70d6f610c7842834282a8e1e32d..01ecb764599cbd3df049e8529c6c243a7716154b 100644 (file)
@@ -24,7 +24,7 @@ define wvtest_template
 wvtest-pass-local: wvtest-run-$(1)
 .PHONY: wvtest-run-$(1)
 wvtest-run-$(1):
-       @$(QUIET_CMD_ECHO) "  RUN     $(1:$(MAKERULES_DIR)/%=%)"
+       $(Q)echo "Testing \"Run $(1)\" in Makefile.rules:"
        $(Q)mkdir -p $(1).wvtest
        $(Q)cd $(1).wvtest && \
          PATH=$$(USER_BIN_DIR):$$$$PATH LD_LIBRARY_PATH=$$(USER_LIB_DIR):$$$$LD_LIBRARY_PATH \