A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Let the hack to make solaris happy work even when bash is not installed, and when...
[simgrid.git]
/
testsuite
/
run_tests.in
diff --git
a/testsuite/run_tests.in
b/testsuite/run_tests.in
index
313e2a8
..
27fcd51
100755
(executable)
--- a/
testsuite/run_tests.in
+++ b/
testsuite/run_tests.in
@@
-10,8
+10,13
@@
tests_nb=0
rm -f test.failed test.success test.ignored
rm -f test.failed test.success test.ignored
-# Work around a libtool issue on solaris
-export LD_LIBRARY_PATH=@top_srcdir@/src/.libs
+# Work around a libtool issue on solaris, making sure that it works even on sh older than tcsh
+LD_LIBRARY_PATH=@top_srcdir@/src/.libs
+if export LD_LIBRARY_PATH ; then
+ :
+else
+ setenv LD_LIBRARY_PATH @top_srcdir@/src/.libs
+fi
##
## Args parsing (simplistic for now)
##
## Args parsing (simplistic for now)