]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #12099 : alexcrichton/rust/rpath-tests, r=thestinger
authorbors <bors@rust-lang.org>
Sat, 8 Feb 2014 06:01:30 +0000 (22:01 -0800)
committerbors <bors@rust-lang.org>
Sat, 8 Feb 2014 06:01:30 +0000 (22:01 -0800)
This way when you disable rpaths you can still run `make check`

1  2 
mk/tests.mk

diff --combined mk/tests.mk
index c86676d65126d3e737244474a6a3b4fbd5eded3b,25c68d589bdb05ad0dee03651e9e4c9e5397e694..d2fccbd47cf8bfd36dd22fe9b66876ea6562dddb
@@@ -116,9 -116,11 +116,11 @@@ endi
  
  # Run the compiletest runner itself under valgrind
  ifdef CTEST_VALGRIND
- CFG_RUN_CTEST_$(1)=$$(call CFG_RUN_TEST_$$(CFG_BUILD),$$(2),$$(3))
+ CFG_RUN_CTEST_$(1)=$$(RPATH_VAR$$(1)_T_$$(3)_H_$$(3)) \
+       $$(call CFG_RUN_TEST_$$(CFG_BUILD),$$(2),$$(3))
  else
- CFG_RUN_CTEST_$(1)=$$(call CFG_RUN_$$(CFG_BUILD),$$(TLIB$$(1)_T_$$(3)_H_$$(3)),$$(2))
+ CFG_RUN_CTEST_$(1)=$$(RPATH_VAR$$(1)_T_$$(3)_H_$$(3)) \
+       $$(call CFG_RUN_$$(CFG_BUILD),$$(TLIB$$(1)_T_$$(3)_H_$$(3)),$$(2))
  endif
  
  endef
@@@ -242,6 -244,7 +244,6 @@@ ALL_HS := $(filter-out $(S)src/rt/vg/va
  tidy:
                @$(call E, check: formatting)
                $(Q)find $(S)src -name '*.r[sc]' \
 -              | grep '^$(S)src/test' -v \
                | grep '^$(S)src/libuv' -v \
                | grep '^$(S)src/llvm' -v \
                | grep '^$(S)src/gyp' -v \