aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2011-11-09 16:41:20 +0100
committerBjörn-Egil Dahlberg <[email protected]>2011-11-09 16:41:20 +0100
commit5065129f3c603c580fce2337e4de7668414227d8 (patch)
treee0adb9636f537cde15de4a15c5b60a38e3789bad
parent12a5e61df498ec80383514ca79b795c40522e19a (diff)
downloadotp-5065129f3c603c580fce2337e4de7668414227d8.tar.gz
otp-5065129f3c603c580fce2337e4de7668414227d8.tar.bz2
otp-5065129f3c603c580fce2337e4de7668414227d8.zip
otp: Add paths to erlc for release_tests
erlc wants a path to a current compiler. Add search paths for compiler in src tree and bootstrap compiler.
-rw-r--r--Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in
index 7baf5cc3aa..9ac516ca33 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -854,7 +854,8 @@ tests release_tests: $(TEST_DIRS)
$(TEST_DIRS):
if test -f $@/Makefile; then \
- (cd $@; $(MAKE) TESTROOT=$(TESTSUITE_ROOT) release_tests) || exit $$?; \
+ (cd $@; $(MAKE) TESTROOT=$(TESTSUITE_ROOT) \
+ PATH=$(ERL_TOP)/bin:$(BOOT_PREFIX)$${PATH} release_tests) || exit $$?; \
fi
#