Skip to content

Commit

Permalink
Properly set ld_library_path in cilk-plus tests
Browse files Browse the repository at this point in the history
	* gcc.dg/cilk-plus/cilk-plus.exp: Append to ld_library_path.
	Call set_ld_library_path_env_vars.
	* g++.dg/cilk-plus/cilk-plus.exp: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205441 138bc75d-0d04-0410-961f-82ee72b054a4
  • Loading branch information
ro committed Nov 27, 2013
1 parent 73fd9cb commit 6ff51c3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions gcc/testsuite/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
2013-11-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>

* gcc.dg/cilk-plus/cilk-plus.exp: Append to ld_library_path.
Call set_ld_library_path_env_vars.
* g++.dg/cilk-plus/cilk-plus.exp: Likewise.

2013-11-27 Tom de Vries <tom@codesourcery.com>
Marc Glisse <marc.glisse@inria.fr>

Expand Down
3 changes: 2 additions & 1 deletion gcc/testsuite/g++.dg/cilk-plus/cilk-plus.exp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ dg-finish

set library_var [get_multilibs]
# Pointing the ld_library_path to the Cilk Runtime library binaries.
set ld_library_path "${library_var}/libcilkrts/.libs"
append ld_library_path ":${library_var}/libcilkrts/.libs"
set_ld_library_path_env_vars

global TEST_EXTRA_LIBS
set TEST_EXTRA_LIBS "-L${library_var}/libcilkrts/.libs"
Expand Down
3 changes: 2 additions & 1 deletion gcc/testsuite/gcc.dg/cilk-plus/cilk-plus.exp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ if { ![check_effective_target_cilkplus] } {

set library_var [get_multilibs]
# Pointing the ld_library_path to the Cilk Runtime library binaries.
set ld_library_path "${library_var}/libcilkrts/.libs"
append ld_library_path ":${library_var}/libcilkrts/.libs"
set_ld_library_path_env_vars

global TEST_EXTRA_LIBS
set TEST_EXTRA_LIBS "-L${library_var}/libcilkrts/.libs"
Expand Down

0 comments on commit 6ff51c3

Please sign in to comment.