* lib/am/parallel-tests.am: Add $(am__test_results), $(am__test_logs)
and $(TEST_SUITE_LOGS) to the list of files removed by "make mostlyclean"
here ...
* automake.in (handle_tests): ... rather than here.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
file_contents ('parallel-tests', new Automake::Location,
COLOR => !! option 'color-tests',
CHECK_DEPS => "@check");
- $clean_files{'$(am__test_logs)'} = MOSTLY_CLEAN;
- $clean_files{'$(am__test_results)'} = MOSTLY_CLEAN;
- $clean_files{'$(TEST_SUITE_LOG)'} = MOSTLY_CLEAN;
}
}
}
am__test_logs = \
$(call am__memoize,am__test_logs,$(addsuffix .log,$(strip $(am__test_bases))))
+am__mostlyclean_files += $(am__test_results) $(am__test_logs)
+
# $(TEST_LOGS) is a published interface.
TEST_LOGS = $(am__test_logs)
fi; \
$$success || exit 1
+am__mostlyclean_files += $(TEST_SUITE_LOG)
+
## ------------------------------------------ ##
## Running all tests, or rechecking failures. ##
## ------------------------------------------ ##