Skip to content
Snippets Groups Projects
Commit 5c5040bd authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

auto-update JenkinsConfiguration working copy in home directory, so valgrind...

auto-update JenkinsConfiguration working copy in home directory, so valgrind suppressions are always up-to-date
parent cf63162f
No related branches found
No related tags found
No related merge requests found
...@@ -229,10 +229,13 @@ def doValgrind(String label, String buildType) { ...@@ -229,10 +229,13 @@ def doValgrind(String label, String buildType) {
// We execute the tests in the directory where CTestTestfile.cmake is which lists them. // We execute the tests in the directory where CTestTestfile.cmake is which lists them.
sh """ sh """
chown msk_jenkins -R /scratch chown msk_jenkins -R /scratch
cd /home/msk_jenkins/JenkinsConfiguration
git pull || true
cat valgrind.suppressions/common.supp valgrind.suppressions/${label}.supp > /scratch/valgrind.supp
cd /scratch/build-${parentJob} cd /scratch/build-${parentJob}
cat /home/msk_jenkins/JenkinsConfiguration/valgrind.suppressions/common.supp /home/msk_jenkins/JenkinsConfiguration/valgrind.suppressions/${label}.supp > /scratch/valgrind.supp
EXECLIST="" EXECLIST=""
for testlist in `find -name CTestTestfile.cmake` ; do for testlist in `find -name CTestTestfile.cmake` ; do
dir=`dirname "\${testlist}"` dir=`dirname "\${testlist}"`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment