[pytango] 234/483: Continuous Integration for PyTango Test Suite at ESRF (first approach)
Sandor Bodo-Merle
sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:45 UTC 2017
This is an automated email from the git hooks/post-receive script.
sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.
commit 70b51c93fc9ebe204fab7e5625cde55a6a9c9753
Author: cmft <cmft at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date: Fri Feb 8 16:49:41 2013 +0000
Continuous Integration for PyTango Test Suite at ESRF (first approach)
git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@22091 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
ci/ESRF/build.sh | 117 ++++++++++++++++++++++++++++++++++++++++++++++++++++
ci/ESRF/ct64debian6 | 5 +++
2 files changed, 122 insertions(+)
diff --git a/ci/ESRF/build.sh b/ci/ESRF/build.sh
new file mode 100755
index 0000000..3863fbb
--- /dev/null
+++ b/ci/ESRF/build.sh
@@ -0,0 +1,117 @@
+#!/bin/bash
+
+if [ ! -z "$NODE_NAME" -a -f "$NODE_NAME" ]
+then
+ source "$NODE_NAME"
+else
+ echo "The settings file for the node $NODE_NAME does not exist!"
+ echo "Create ci/$INSTITUTE/$NODE_NAME file."
+ exit 1
+fi
+
+#export TANGO_ROOT=/tmp/jenkins/jobs/TangoLib
+
+cd ../..
+
+python setup.py build
+
+if [ $? != 0 ]
+then
+ exit $?
+fi
+
+
+case "${realos}" in
+ "debian6_64")
+ python setup.py install --prefix=/tmp/jenkins/jobs/PyTango
+ ;;
+ "redhate_4_32")
+ echo "TODO"
+ ;;
+ "redhate_5_64")
+ echo "TODO"
+ ;;
+ *)
+ echo "Not supporting operating system: " ${OSTYPE}
+ ;;
+esac
+
+exit $?
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+echo LOG4TANGO_ROOT
+echo $LOG4TANGO_ROOT
+echo OMNI_ROOT
+echo $OMNI_ROOT
+echo BOOST_ROOT
+echo $BOOST_ROOT
+echo ZMQ_ROOT
+echo $ZMQ_ROOT
+
+echo C_INCLUDE_PATH
+echo $C_INCLUDE_PATH
+
+echo CPLUS_INCLUDE_PATH
+echo $CPLUS_INCLUDE_PATH
+
+echo CPATH
+echo $CPATH
+
+export CPATH=/tmp/jenkins/jobs/TangoLib/include
+export C_INCLUDE_PATH=/tmp/jenkins/jobs/TangoLib/include:$C_INCLUDE_PATH
+export CPLUS_INCLUDE_PATH=/tmp/jenkins/jobs/TangoLib/include:$CPLUS_INCLUDE_PATH
+
+export TANGO_ROOT=/tmp/jenkins/jobs/TangoLib
+
+
+export LD_LIBRARY_PATH=/tmp/jenkins/jobs/TangoLib/lib:$LD_LIBRARY_PATH
+
+
+echo $LD_LIBRARY_PATH
+echo $CPLUS_INCLUDE_PATH
+
+
+cd ../..
+
+pwd
+
+make user=1 prefix=/tmp/jenkins/jobs install
+
+make user=1 prefix=/tmp/jenkins/jobs install
+
+export PYTHONPATH=/tmp/jenkins/jobs/PyTango:$PYTHONPATH
+
+echo $PYTHONPATH
+
+python tests/DevTest.py pytomasz &
+
+python tests/TestSuite.py
+
+ps -ef | awk '/DevTest.py/ {print$2}' | xargs kill -9
diff --git a/ci/ESRF/ct64debian6 b/ci/ESRF/ct64debian6
new file mode 100644
index 0000000..3fea7f4
--- /dev/null
+++ b/ci/ESRF/ct64debian6
@@ -0,0 +1,5 @@
+export BOOST_ROOT=/usr/lib
+export OMNI_ROOT=/segfs/tango/release/${realos}
+export TANGO_ROOT=/segfs/tango/release/${realos}
+export NUMPY_ROOT=/usr/lib/pymodules/python2.6/numpy/core
+export LD_LIBRARY_PATH=/segfs/tango/release/${realos}/lib:${LD_LIBRARY_PATH}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git
More information about the debian-science-commits
mailing list