"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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user