Jenkinsfile: disable memcheck for Release builds
@@ -630,13 +630,18 @@ def generateFullBuildStages() {
// 'RelWithDebInfo' is build in the debian-stable-full build
for(buildType in ['Debug', 'Release']) {
def testName = "debian-stable-multiconf[buildType=${buildType}]"
+ // TODO: add memory tests to release builds when #2320 is fixed
+ def tests = [TEST.ALL]
+ if (buildType == 'Debug') {
+ tests = [TEST.ALL, TEST.MEM]
+ }
tasks << buildAndTest(
testName,
DOCKER_IMAGES.stretch,
CMAKE_FLAGS_BUILD_ALL + [
'CMAKE_BUILD_TYPE': buildType
],
- [TEST.ALL, TEST.MEM]
+ tests
)
}
