From 416cca22b4ce1c999cd649cc48102ab9367bc99a Mon Sep 17 00:00:00 2001 From: Mike Hommey Date: Mon, 19 Apr 2010 10:28:15 +0200 Subject: [PATCH] Bug 555189 - Cleanup reftest and mochitest logs during 'make clean' [r=benjamin] --HG-- extra : rebase_source : 6800bd4391219a089906714554c720b5093a7ea0 --- testing/testsuite-targets.mk | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/testing/testsuite-targets.mk b/testing/testsuite-targets.mk index d450b23ed8b..c3c4a32577c 100644 --- a/testing/testsuite-targets.mk +++ b/testing/testsuite-targets.mk @@ -48,7 +48,8 @@ endif SYMBOLS_PATH := --symbols-path=$(DIST)/crashreporter-symbols # Usage: |make [TEST_PATH=...] [EXTRA_TEST_ARGS=...] mochitest*|. -mochitest:: mochitest-plain mochitest-chrome mochitest-a11y mochitest-ipcplugins +MOCHITESTS := mochitest-plain mochitest-chrome mochitest-a11y mochitest-ipcplugins +mochitest:: $(MOCHITESTS) RUN_MOCHITEST = \ rm -f ./$@.log && \ @@ -104,6 +105,8 @@ jstestbrowser: $(call RUN_REFTEST,$(topsrcdir)/$(TEST_PATH) --extra-profile-file=$(topsrcdir)/js/src/tests/user.js) $(CHECK_TEST_ERROR) +GARBAGE += $(addsuffix .log,$(MOCHITESTS) reftest crashtest jstestbrowser) + # Execute all xpcshell tests in the directories listed in the manifest. # See also config/rules.mk 'xpcshell-tests' target for local execution. # Usage: |make [TEST_PATH=...] [EXTRA_TEST_ARGS=...] xpcshell-tests|.