mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 00:11:44 +00:00
Bug 943728 - Apply forgotten review comment, and small fixup. r=me
This commit is contained in:
parent
74916627b4
commit
0532b0c1e5
@ -77,15 +77,15 @@ RUN_MOCHITEST_ROBOCOP = \
|
|||||||
ifndef NO_FAIL_ON_TEST_ERRORS
|
ifndef NO_FAIL_ON_TEST_ERRORS
|
||||||
define check_test_error_internal
|
define check_test_error_internal
|
||||||
@errors=`grep 'TEST-UNEXPECTED-' $@.log` ;\
|
@errors=`grep 'TEST-UNEXPECTED-' $@.log` ;\
|
||||||
if test '$$errors' ; then \
|
if test "$$errors" ; then \
|
||||||
echo '$@ failed:'; \
|
echo '$@ failed:'; \
|
||||||
echo '$$errors'; \
|
echo "$$errors"; \
|
||||||
$(if $(1),echo $(1)) \
|
$(if $(1),echo $(1)); \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi
|
fi
|
||||||
endef
|
endef
|
||||||
CHECK_TEST_ERROR = $(call check_test_error_internal)
|
CHECK_TEST_ERROR = $(call check_test_error_internal)
|
||||||
CHECK_TEST_ERROR_RERUN = $(call check_test_error_internal,'To rerun your failures please run 'make $@-rerun-failures'')
|
CHECK_TEST_ERROR_RERUN = $(call check_test_error_internal,'To rerun your failures please run "make $@-rerun-failures"')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
mochitest-remote: DM_TRANS?=adb
|
mochitest-remote: DM_TRANS?=adb
|
||||||
|
Loading…
x
Reference in New Issue
Block a user