From: navarrop Date: Wed, 16 Dec 2009 14:28:56 +0000 (+0000) Subject: add all directories and files for ctest X-Git-Tag: SVN~823 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/573efb2d65f9658ddd3568f49541a52d93ee085c?ds=inline add all directories and files for ctest git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6903 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/buildtools/ctest/Cmake.tar.gz b/buildtools/ctest/Cmake.tar.gz new file mode 100644 index 0000000000..7029cc255d Binary files /dev/null and b/buildtools/ctest/Cmake.tar.gz differ diff --git a/buildtools/ctest/simgrid-3.3.4-svn.tar.gz b/buildtools/ctest/simgrid-3.3.4-svn.tar.gz new file mode 100644 index 0000000000..33cb6b5da9 Binary files /dev/null and b/buildtools/ctest/simgrid-3.3.4-svn.tar.gz differ diff --git a/buildtools/ctest/verif.sh b/buildtools/ctest/verif.sh new file mode 100755 index 0000000000..d2cfb6a8f6 --- /dev/null +++ b/buildtools/ctest/verif.sh @@ -0,0 +1,43 @@ +#!/bin/bash + +#GET the OS name +OS=`uname` +node=`uname -n` + +# OS specific working directory +BASEDIR=/pipol +DIR=$BASEDIR/$OS/$node + +# Clean any leftover from previous install +echo "remove old directory $BASEDIR/$OS/$node" +rm -rf $BASEDIR/$OS/$node + +# create a new directory +echo "create new directory $BASEDIR/$OS/$node" +mkdir $BASEDIR/$OS +mkdir $BASEDIR/$OS/$node +cd $BASEDIR/$OS/$node + +# load the simgrid directory +echo "untar simgrid-3.3.4-svn.tar.gz" +cp /home/mescal/navarro/simgrid-3.3.4-svn.tar.gz $BASEDIR/$OS/$node/simgrid-3.3.4-svn.tar.gz +tar -xzf ./simgrid-3.3.4-svn.tar.gz +cp /home/mescal/navarro/Cmake.tar.gz $BASEDIR/$OS/$node/simgrid-3.3.4-svn/Cmake.tar.gz +cd $BASEDIR/$OS/$node/simgrid-3.3.4-svn +tar -xzf $BASEDIR/$OS/$node/simgrid-3.3.4-svn/Cmake.tar.gz + +# 1er test +echo "./configure" +./configure +echo "make" +make +echo "./checkall" +./checkall + +# 2eme test ctest +sudo aptitude install -y cmake +cd $BASEDIR/$OS/$node/simgrid-3.3.4-svn/Cmake +cmake ./ +ctest -D Experimental + +echo "Done!"