Bug 446300 - move tools/test-harness/xpcshell-simple to testing/xpcshell; (Bv1-CC) Move the source harness directory; r=bugzilla@standard8.plus.com
authorSerge Gautherie <sgautherie.bz@free.fr>
Thu, 22 Jan 2009 19:42:49 +0100
changeset 1725 f387942413e250f6600979e241f1d0db006b15d6
parent 1724 d0d980345ab754fb7276e8f2c8f7010523be2a51
child 1726 dc3da0605227506c92da816fc11c87a17492d219
push idunknown
push userunknown
push dateunknown
reviewersbugzilla
bugs446300
Bug 446300 - move tools/test-harness/xpcshell-simple to testing/xpcshell; (Bv1-CC) Move the source harness directory; r=bugzilla@standard8.plus.com
config/rules.mk
--- a/config/rules.mk
+++ b/config/rules.mk
@@ -1819,44 +1819,46 @@ else
 FWDSLASH_TOPSRCDIR := $(MOZILLA_SRCDIR)
 ifeq ($(HOST_OS_ARCH),WINNT)
 NATIVE_TOPSRCDIR   := $(subst /,\\,$(WIN_TOP_SRC)/mozilla)
 else 
 NATIVE_TOPSRCDIR   := $(MOZILLA_SRCDIR)
 endif
 endif # CYGWIN_WRAPPER
 
+testxpcdir = $(MOZILLA_SRCDIR)/testing/xpcshell
+
 # Test execution
 check::
 	@$(EXIT_ON_ERROR) \
 	for testdir in $(XPCSHELL_TESTS); do \
 	  $(RUN_TEST_PROGRAM) \
-	    $(MOZILLA_SRCDIR)/tools/test-harness/xpcshell-simple/test_all.sh \
+	    $(testxpcdir)/test_all.sh \
 	      $(DIST)/bin/xpcshell \
 	      $(FWDSLASH_TOPSRCDIR) \
 	      $(NATIVE_TOPSRCDIR) \
 	      $(MOZDEPTH)/_tests/xpcshell-simple/$(MODULE)/$$testdir; \
 	done
 
 # Test execution
 check-interactive::
 	@$(EXIT_ON_ERROR) \
 	$(RUN_TEST_PROGRAM) \
-	  $(MOZILLA_SRCDIR)/tools/test-harness/xpcshell-simple/test_one.sh \
+	  $(testxpcdir)/test_one.sh \
 	    $(DIST)/bin/xpcshell \
 	    $(FWDSLASH_TOPSRCDIR) \
 	    $(NATIVE_TOPSRCDIR) \
 	    $(MOZDEPTH)/_tests/xpcshell-simple/$(MODULE)/$$testdir \
 	    $(SOLO_FILE) 1;
 
 # Test execution
 check-one::
 	@$(EXIT_ON_ERROR) \
 	$(RUN_TEST_PROGRAM) \
-	  $(MOZILLA_SRCDIR)/tools/test-harness/xpcshell-simple/test_one.sh \
+	  $(testxpcdir)/test_one.sh \
 	    $(DIST)/bin/xpcshell \
 	    $(FWDSLASH_TOPSRCDIR) \
 	    $(NATIVE_TOPSRCDIR) \
 	    $(MOZDEPTH)/_tests/xpcshell-simple/$(MODULE)/$$testdir \
 	    $(SOLO_FILE) 0;
 
 endif # XPCSHELL_TESTS