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
Tesh files for 32 bits arch.
[simgrid.git]
/
buildtools
/
scripts
/
test_dist_with_cmake.sh
diff --git
a/buildtools/scripts/test_dist_with_cmake.sh
b/buildtools/scripts/test_dist_with_cmake.sh
index
4c41d76
..
124dc19
100755
(executable)
--- a/
buildtools/scripts/test_dist_with_cmake.sh
+++ b/
buildtools/scripts/test_dist_with_cmake.sh
@@
-9,18
+9,26
@@
else
fi
set -e
fi
set -e
+get_version
open_archive
# Make sure we have cmake installed
open_archive
# Make sure we have cmake installed
-which_cmake=`which cmake
`
+which_cmake=`which cmake
2>/dev/null`
if [ x$which_cmake = x ] ; then
echo "Try to install cmake"
if [ x$which_cmake = x ] ; then
echo "Try to install cmake"
- sudo apt-get install cmake
+ if [ -e /usr/bin/apt-get ] ; then # debian based
+ sudo apt-get install cmake
+ fi
+ if [ -e /usr/bin/yum ] ; then # fedora based
+ sudo yum update
+ sudo yum -y install cmake
+ fi
fi
# Launch CMake
cd buildtools/Cmake
fi
# Launch CMake
cd buildtools/Cmake
+echo $version > version
cmake ./
# Run CTest, and push the results
cmake ./
# Run CTest, and push the results
-ctest -D Experimental
CTEST_FULL_OUTPUT
+ctest -D Experimental