Marcel Telka
2022-08-19 e513471bc9886d1defa6114db281072c2de5247b
makemaker.mk: do not add test_harness when there is no test output file

1 files modified
3 ■■■■ changed files
make-rules/makemaker.mk 3 ●●●● patch | view | raw | blame | history
make-rules/makemaker.mk
@@ -118,7 +118,8 @@
COMPONENT_TEST_TRANSFORMS += '-e "/^make\[/d"'            # delete make logs
# Add the expected 'test_harness' line if it is missing in the test results.
COMPONENT_POST_TEST_ACTION += $(GNU_GREP) -q test_harness $(COMPONENT_TEST_OUTPUT) \
$(BUILD_DIR)/%/.tested-and-compared:    COMPONENT_POST_TEST_ACTION += \
    $(GNU_GREP) -q test_harness $(COMPONENT_TEST_OUTPUT) \
    || $(GSED) -i -e '1i\test_harness' $(COMPONENT_TEST_OUTPUT) ;
COMPONENT_TEST_TARGETS =    test