Bug 474191 - mochitest-browser-chrome target does unnecessary "correction" of test-paths; r=sdwilsh
authorGavin Sharp <gavin.sharp@gmail.com>
Thu, 22 Jan 2009 19:05:38 +0100
changeset 24069 a8079cef66ef4343fa949f13d2767462b92aaed8
parent 24068 7bf88c6f9fffcbcc4c8db8e296ecee8e63395c50
child 24070 42c8844fe563e8318ecc24acb6e6b7b696901c3d
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssdwilsh
bugs474191
milestone1.9.2a1pre
Bug 474191 - mochitest-browser-chrome target does unnecessary "correction" of test-paths; r=sdwilsh
browser/build.mk
--- a/browser/build.mk
+++ b/browser/build.mk
@@ -70,19 +70,18 @@ source-package::
 	@$(MAKE) -C browser/installer source-package
 
 upload::
 	@$(MAKE) -C browser/installer upload
 
 ifdef ENABLE_TESTS
 # Implemented in testing/testsuite-targets.mk
 
-# Browser tests live in a slightly different location, so we correct the path
 ifdef TEST_PATH
-BROWSER_TEST_PATH = --test-path=../browser/$(TEST_PATH)
+BROWSER_TEST_PATH = --test-path=$(TEST_PATH)
 else
 BROWSER_TEST_PATH =
 endif
 
 mochitest-browser-chrome:
 	$(RUN_MOCHITEST) --browser-chrome $(BROWSER_TEST_PATH)
 	$(CHECK_TEST_ERROR)