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 if valgrind is found for enable memcheck.
[simgrid.git]
/
buildtools
/
Cmake
/
test_java.sh
diff --git
a/buildtools/Cmake/test_java.sh
b/buildtools/Cmake/test_java.sh
index
08da59d
..
6f0b255
100755
(executable)
--- a/
buildtools/Cmake/test_java.sh
+++ b/
buildtools/Cmake/test_java.sh
@@
-1,16
+1,10
@@
#! /bin/sh
#! /bin/sh
-echo "\n\n"
-pwd
-export LD_LIBRARY_PATH="`pwd`/src/.libs:$LD_LIBRARY_PATH"
-export CLASSPATH="`pwd`/src/simgrid.jar:$CLASSPATH"
+echo "\n"
+export CLASSPATH=$3:$3/src/simgrid.jar:$CLASSPATH
+export LD_LIBRARY_PATH=$3/src/.libs:$LD_LIBRARY_PATH
cd $1
cd $1
-export CLASSPATH="$CLASSPATH:`pwd`"
+echo "CLASSPATH = $CLASSPATH"
+echo "LD_LIBRARY_PATH = $LD_LIBRARY_PATH"
pwd
pwd
-
-echo "LD_LIBRARY_PATH = $LD_LIBRARY_PATH"
-echo "CLASSPATH = $CLASSPATH"
-
-echo "\n\n"
echo "java $2 *platform.xml *deployment.xml"
echo "java $2 *platform.xml *deployment.xml"
-echo "\n\n"
java $2 *platform.xml *deployment.xml
java $2 *platform.xml *deployment.xml