mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 17:16:12 +00:00
795728d89d
This accomplishes three things: 1) Easier to use CLI when running without the benefit of testing/mochitest/mach_commands.py 2) Guarantees these arguments are mutually exclusive 3) Simplifies a bunch of logic in the test harness The primary motivation for this change is to slightly improve the UX when running mochitest from a taskcluster interactive loaner. However, this is more of a bandaid solution that was easy to implement before the proper fix in bug 1293259 can be landed. MozReview-Commit-ID: IeHBGrJ0Sji --HG-- extra : rebase_source : ba1b7e437881e363fe0051dccd3d732221311c59
32 lines
684 B
Makefile
32 lines
684 B
Makefile
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
include $(topsrcdir)/toolkit/mozapps/installer/package-name.mk
|
|
|
|
installer:
|
|
@$(MAKE) -C b2g/installer installer
|
|
|
|
package:
|
|
@$(MAKE) -C b2g/installer
|
|
|
|
install::
|
|
@echo 'B2G can't be installed directly.'
|
|
@exit 1
|
|
|
|
upload::
|
|
@$(MAKE) -C b2g/installer upload
|
|
|
|
ifdef ENABLE_TESTS
|
|
# Implemented in testing/testsuite-targets.mk
|
|
|
|
mochitest-browser-chrome:
|
|
$(RUN_MOCHITEST) --flavor=browser
|
|
$(CHECK_TEST_ERROR)
|
|
|
|
mochitest:: mochitest-browser-chrome
|
|
|
|
.PHONY: mochitest-browser-chrome
|
|
endif
|
|
|