Merge pull request 'introducing valgrind' (#521) from mohr_ci into development

Reviewed-on: fsfw/fsfw#521
This commit is contained in:
Ulrich Mohr 2021-10-27 21:49:57 +02:00
commit fbeb578d1c
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'
}
}
}
}
}