"check" target should work for objdir and non-objdir builds.

b=348140, r=davel


git-svn-id: svn://10.0.0.236/trunk@207078 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rhelmer%mozilla.com 2006-08-10 19:31:13 +00:00
parent 40926db14c
commit dd91d4d5f8

View File

@ -43,6 +43,7 @@ include $(DEPTH)/config/autoconf.mk
DIRS = public src
include $(topsrcdir)/config/rules.mk
ABS_SRCDIR := $(shell cd $(srcdir) && pwd)
ifeq ($(OS_ARCH),WINNT)
ABS_DEPTH := $(shell cd $(DEPTH) && pwd)
@ -53,6 +54,6 @@ check::
else
check::
$(CYGWIN_WRAPPER) $(RUN_TEST_PROGRAM) $(DIST)/bin/xpcshell$(BIN_SUFFIX) $(srcdir)/test/shell.js $(srcdir)/test
$(RUN_TEST_PROGRAM) $(DIST)/bin/xpcshell$(BIN_SUFFIX) $(srcdir)/test/shell.js $(ABS_SRCDIR)/test
endif # WINNT
endif # WINNT