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
Test -eq is for numerical values.
[simgrid.git]
/
teshsuite
/
smpi
/
mpich-test
/
coll
/
runtests
diff --git
a/teshsuite/smpi/mpich-test/coll/runtests
b/teshsuite/smpi/mpich-test/coll/runtests
index
9026867
..
168ade1
100755
(executable)
--- a/
teshsuite/smpi/mpich-test/coll/runtests
+++ b/
teshsuite/smpi/mpich-test/coll/runtests
@@
-77,11
+77,7
@@
if [ ! -x coll1 -a $makeeach = 0 -a $runtests = 1 ] ; then
$MAKE
fi
$MAKE
fi
-if [ $have_selector -eq "" ] ; then
-selector=""
-else
-selector="--cfg=smpi/coll_selector:$have_selector"
-fi
+selector=${have_selector:+--cfg=smpi/coll_selector:$have_selector}
mpirun=" ${basedir}/bin/smpirun -platform ${srcdir}/../../../../examples/msg/small_platform_with_routers.xml -hostfile ${srcdir}/../../hostfile --log=root.thres:critical $selector "
testfiles=""
mpirun=" ${basedir}/bin/smpirun -platform ${srcdir}/../../../../examples/msg/small_platform_with_routers.xml -hostfile ${srcdir}/../../hostfile --log=root.thres:critical $selector "
testfiles=""