Skip to content

Commit

Permalink
Merge branch 'pan/win32_testbuild' into maint
Browse files Browse the repository at this point in the history
* pan/win32_testbuild:
  Set PATH correctly when building tests on win32
  • Loading branch information
Gustav Simonsson committed Feb 24, 2012
2 parents 3398aa5 + 4799b48 commit dbb30eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile.in
Expand Up @@ -220,8 +220,10 @@ BOOTSTRAP_ROOT = $(ERL_TOP)
LOCAL_PATH = $(ERL_TOP)/erts/bin/$(TARGET):$(ERL_TOP)/erts/bin
ifeq ($(TARGET),win32)
BOOT_PREFIX=$(WIN32_WRAPPER_PATH):$(BOOTSTRAP_ROOT)/bootstrap/bin:
TEST_PATH_PREFIX=$(WIN32_WRAPPER_PATH):$(ERL_TOP)/bin:
else
BOOT_PREFIX=$(BOOTSTRAP_ROOT)/bootstrap/bin:
TEST_PATH_PREFIX=$(ERL_TOP)/bin:
endif

# ----------------------------------------------------------------------
Expand Down Expand Up @@ -880,7 +882,7 @@ tests release_tests: $(TEST_DIRS)
$(TEST_DIRS):
if test -f $@/Makefile; then \
(cd $@; $(MAKE) TESTROOT=$(TESTSUITE_ROOT) \
PATH=$(ERL_TOP)/bin:$(BOOT_PREFIX)$${PATH} release_tests) || exit $$?; \
PATH=$(TEST_PATH_PREFIX)$(BOOT_PREFIX)$${PATH} release_tests) || exit $$?; \
fi

#
Expand Down

0 comments on commit dbb30eb

Please sign in to comment.