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
Messages which the payload datatype descriptor is NULL contain 0 bytes as payload...
[simgrid.git]
/
testsuite
/
run_tests.in
diff --git
a/testsuite/run_tests.in
b/testsuite/run_tests.in
index
bb94ef6
..
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)
@@
-86,6
+91,7
@@
do
# overwrites "valgrind" as a value, but should be exclusive.
exenv=wine
fi
# overwrites "valgrind" as a value, but should be exclusive.
exenv=wine
fi
+ exenvsave=$exenv
if [ "x$test" = "xxbt/dict_crash@EXEEXT@" ] ; then
if echo $exenv | grep valgrind >/dev/null ; then
exenv=
if [ "x$test" = "xxbt/dict_crash@EXEEXT@" ] ; then
if echo $exenv | grep valgrind >/dev/null ; then
exenv=
@@
-93,7
+99,6
@@
do
$exenv ./$test --xbt-log="root.thres=info" 2>&1
retval=$?
else
$exenv ./$test --xbt-log="root.thres=info" 2>&1
retval=$?
else
- exenvsave=$exenv
if [ x@EXEEXT@ != x ] && [ x$exenv = xwine ] ; then
if echo ${test} | grep @EXEEXT@ >/dev/null ; then : ; else
exenv=""
if [ x@EXEEXT@ != x ] && [ x$exenv = xwine ] ; then
if echo ${test} | grep @EXEEXT@ >/dev/null ; then : ; else
exenv=""
@@
-101,8
+106,8
@@
do
fi
$exenv ./$test --xbt-log="root.thres=info" 2>&1
retval=$?
fi
$exenv ./$test --xbt-log="root.thres=info" 2>&1
retval=$?
- exenv=$exenvsave
fi
fi
+ exenv=$exenvsave
if [ $retval != 0 ] ; then if [ $retval != 77 ]; then
echo "## failed" # . Rerun $test with full details."
# if [ "x$test" = "xdict_crash" ] ; then
if [ $retval != 0 ] ; then if [ $retval != 77 ]; then
echo "## failed" # . Rerun $test with full details."
# if [ "x$test" = "xdict_crash" ] ; then