X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7069f4b050735608f02514cf05bd896c747933a3..540dd8d87513c6c68f2c7d3ddb03b079538eea3b:/buildtools/ctest/verif.sh diff --git a/buildtools/ctest/verif.sh b/buildtools/ctest/verif.sh index eb2eb2588a..41c9d23716 100755 --- a/buildtools/ctest/verif.sh +++ b/buildtools/ctest/verif.sh @@ -22,27 +22,50 @@ cd $BASEDIR/$OS/$node echo "load simgrid-svn" svn checkout svn://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk mv trunk/ simgrid -cp simgrid/buildtools/ctest/Cmake simgrid-svn/Cmake - -# Install dependencies -echo "get dependencies" -sudo aptitude install -y libtool automake1.10 autoconf libgcj10-dev gcc g++ bash flex flexml doxygen bibtex bibtool iconv bibtex2html addr2line valgrind - -# 1er test -cd $BASEDIR/$OS/$node/simgrid -echo "./bootstrap" -./bootstrap -echo "./configure" -./configure --enable-maintainer-mode --disable-compile-optimizations -echo "make" -make -echo "./checkall" -./checkall - -# 2eme test ctest -sudo aptitude install -y cmake -cd $BASEDIR/$OS/$node/simgrid/Cmake -cmake ./ -ctest -D Experimental +cp -r $BASEDIR/$OS/$node/simgrid/buildtools/ctest/Cmake $BASEDIR/$OS/$node/simgrid/Cmake + +if [[ $OS == 'Linux' ]]; then + # Install dependencies Linux + echo "get dependencies Linux" + sudo aptitude install -y libtool automake1.10 autoconf libgcj10-dev gcc g++ bash flex flexml doxygen bibtex bibtool iconv bibtex2html addr2line valgrind + # 1er test + cd $BASEDIR/$OS/$node/simgrid + echo "./bootstrap" + ./bootstrap + echo "./configure" + ./configure --enable-maintainer-mode --disable-compile-optimizations + echo "make" + make + echo "./checkall" + ./checkall + # 2eme test ctest + sudo aptitude install -y cmake + cd $BASEDIR/$OS/$node/simgrid/Cmake + cmake ./ + ctest -D Experimental +fi + +if [[ $OS == 'Darwin' ]]; then + # Install dependencies Mac + echo "get dependencies Mac" + fink --yes install libtool14 + # fink --yes install doxygen + fink --yes install autoconf + # 1er test + cd $BASEDIR/$OS/$node/simgrid + echo "./bootstrap" + ./bootstrap + echo "./configure" + ./configure --enable-maintainer-mode MAKE=gmake --disable-compile-optimizations + echo "make" + make + echo "./checkall" + ./checkall + # 2eme test ctest + fink --yes install cmake + cd $BASEDIR/$OS/$node/simgrid/Cmake + cmake ./ + ctest -D Experimental +fi echo "Done!"