introducing valgrind

This commit is contained in:
Ulrich Mohr 2021-10-27 21:32:40 +02:00
parent c6bbc19b85
commit a53992fdc9
2 changed files with 14 additions and 1 deletions

View File

@ -5,4 +5,4 @@ RUN apt-get --yes upgrade
#tzdata is a dependency, won't install otherwise
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get --yes install gcc g++ cmake lcov git nano
RUN apt-get --yes install gcc g++ cmake make lcov git valgrind nano

View File

@ -55,5 +55,18 @@ pipeline {
}
}
}
stage('Valgrind') {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
steps {
dir(BUILDDIR) {
sh 'valgrind --leak-check=full --error-exitcode=1 ./fsfw-tests'
}
}
}
}
}