Bug 555189 - Cleanup reftest and mochitest logs during 'make clean' [r=benjamin]

--HG--
extra : rebase_source : 6800bd4391219a089906714554c720b5093a7ea0
This commit is contained in:
Mike Hommey 2010-04-19 10:28:15 +02:00
Родитель eb8506b38a
Коммит 416cca22b4
1 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -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|.