Skip to content

Commit ae1100e

Browse files
authored
Merge pull request cms-sw#43342 from smuzaffar/asan-r630-fix
Fixes needed for UB/ASANXX builds
2 parents 36fc8fa + 7adae35 commit ae1100e

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

CommonTools/Utils/test/BuildFile.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
</bin>
1616

1717
<bin name="testExpressionEvaluator" file="testExpressionEvaluator.cc,testRunner.cpp">
18-
<ifrelease name="_ASAN_">
18+
<ifrelease name="ASAN">
1919
<flags NO_TEST_PREFIX="1"/>
2020
</ifrelease>
2121
<use name="Geometry/CommonDetUnit"/>
@@ -32,7 +32,7 @@
3232
</bin>
3333

3434
<bin file="ExpressionEvaluatorUnitTest.cpp">
35-
<ifrelease name="_ASAN_">
35+
<ifrelease name="ASAN">
3636
<flags NO_TEST_PREFIX="1"/>
3737
</ifrelease>
3838
<flags CXXFLAGS="-fopenmp"/>

CondFormats/HcalObjects/BuildFile.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<ifrelease name="_UBSAN_">
1+
<ifrelease name="UBSAN">
22
<flags REM_CXXFLAGS="-fno-omit-frame-pointer -fsanitize=undefined"/>
33
</ifrelease>
44
<use name="boost_serialization"/>

FWCore/Services/test/BuildFile.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<test name="TestFWCoreServicesDriver_zombiekiller" command="test_zombiekiller.sh"/>
1919
<test name="TestFWCoreServicesDriver_cpu" command="test_cpu.sh"/>
2020

21-
<ifrelease name="!_ASAN_">
21+
<ifrelease name="!ASAN">
2222
<test name="TestFWCoreServicesDriver_resource" command="test_resource.sh"/>
2323
</ifrelease>
2424

FWCore/Services/test/test_resource_succeed_cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import FWCore.ParameterSet.Config as cms
22
import os
33

4-
mem_limit = 1.0 if not '_UBSAN_X' in os.getenv('CMSSW_VERSION', '') else 1.5
4+
mem_limit = 1.0 if not 'UBSAN' in os.getenv('CMSSW_VERSION', '') else 1.5
55

66
process = cms.Process("TEST")
77

PerfTools/AllocMonitor/test/BuildFile.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<use name="catch2"/>
44
</bin>
55

6-
<ifrelease name="!_ASAN_">
6+
<ifrelease name="!ASAN">
77
<bin file="test_proxies.cc" name="testAllocMonitorPreload">
88
<use name="PerfTools/AllocMonitor"/>
99
<use name="PerfTools/AllocMonitorPreload"/>

Utilities/ReleaseScripts/test/BuildFile.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<test name="test-clang-tidy" command="test-clang-tidy.sh">
33
<use name="llvm"/>
44
</test>
5-
<ifrelease name="!_ASAN_">
5+
<ifrelease name="!ASAN">
66
<test name="TestValgrind" command="test-valgrind.sh">
77
<flags PRE_TEST="test-valgrind-memleak"/>
88
<use name="valgrind"/>

0 commit comments

Comments
 (0)