Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add all directories and files for ctest
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 16 Dec 2009 14:28:56 +0000 (14:28 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 16 Dec 2009 14:28:56 +0000 (14:28 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6903 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/ctest/Cmake.tar.gz [new file with mode: 0644]
buildtools/ctest/simgrid-3.3.4-svn.tar.gz [new file with mode: 0644]
buildtools/ctest/verif.sh [new file with mode: 0755]

diff --git a/buildtools/ctest/Cmake.tar.gz b/buildtools/ctest/Cmake.tar.gz
new file mode 100644 (file)
index 0000000..7029cc2
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 (file)
index 0000000..33cb6b5
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 (executable)
index 0000000..d2cfb6a
--- /dev/null
@@ -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!"