Bug 399492 Allow Mochitests (runtest.pl) to start/run with apps other than Firefox. r/a=sayrer

This commit is contained in:
bugzilla@standard8.plus.com 2007-10-12 05:25:06 -07:00
Родитель 3c4418c2bd
Коммит 40fc4733b8
1 изменённых файлов: 9 добавлений и 5 удалений

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

@ -66,16 +66,20 @@ _SERV_FILES = runtests.pl \
_DEST_DIR = $(DEPTH)/_tests/$(relativesrcdir)
# XXXsayrer will work on making this work better with other apps
# You can still pass --appname with a path to use something else
ifeq ($(USE_SHORT_LIBNAME), 1)
PROGRAM = $(MOZ_APP_NAME)$(BIN_SUFFIX)
else
PROGRAM = $(MOZ_APP_NAME)-bin$(BIN_SUFFIX)
endif
ifeq ($(OS_ARCH),Darwin)
ifdef MOZ_DEBUG
browser_path = \"../$(DIST)/MinefieldDebug.app/Contents/MacOS/firefox\"
browser_path = \"../$(DIST)/$(MOZ_APP_DISPLAYNAME)Debug.app/Contents/MacOS/$(PROGRAM)\"
else
browser_path = \"../$(DIST)/Minefield.app/Contents/MacOS/firefox\"
browser_path = \"../$(DIST)/$(MOZ_APP_DISPLAYNAME).app/Contents/MacOS/$(PROGRAM)\"
endif
else
browser_path = \"../$(DIST)/bin/firefox\"
browser_path = \"../$(DIST)/bin/$(PROGRAM)\"
endif
# These go in _tests/ so they need to go up an extra path segement