Skip to content

Commit 3563465

Browse files
committed
[ASAN] disable unit tests TestValgrind and TestFWCoreServicesDriver
1 parent 9a478ec commit 3563465

File tree

2 files changed

+13
-9
lines changed

2 files changed

+13
-9
lines changed

FWCore/Services/test/BuildFile.xml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@
99
<use name="FWCore/Framework"/>
1010
</library>
1111

12-
<bin file="TestFWCoreServicesDriver.cpp">
13-
<flags TEST_RUNNER_ARGS=" /bin/bash FWCore/Services/test test_mallocopts.sh test_sitelocalconfig.sh test_resource.sh test_zombiekiller.sh"/>
14-
<use name="FWCore/Utilities"/>
15-
</bin>
12+
<ifrelease name="!_ASAN_">
13+
<bin file="TestFWCoreServicesDriver.cpp">
14+
<flags TEST_RUNNER_ARGS=" /bin/bash FWCore/Services/test test_mallocopts.sh test_sitelocalconfig.sh test_resource.sh test_zombiekiller.sh"/>
15+
<use name="FWCore/Utilities"/>
16+
</bin>
17+
</ifrelease>
1618

1719
<bin file="test_catch2_*.cc" name="testFWCoreServicesCatch2">
1820
<use name="catch2"/>

Utilities/ReleaseScripts/test/BuildFile.xml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
<test name="test-clang-tidy" command="test-clang-tidy.sh">
33
<use name="llvm"/>
44
</test>
5-
<test name="TestValgrind" command="test-valgrind.sh">
6-
<flags PRE_TEST="test-valgrind-memleak"/>
7-
<use name="valgrind"/>
8-
</test>
9-
<bin name="test-valgrind-memleak" file="test-valgrind-memleak.cpp"/>
5+
<ifrelease name="!_ASAN_">
6+
<test name="TestValgrind" command="test-valgrind.sh">
7+
<flags PRE_TEST="test-valgrind-memleak"/>
8+
<use name="valgrind"/>
9+
</test>
10+
<bin name="test-valgrind-memleak" file="test-valgrind-memleak.cpp"/>
11+
</ifrelease>

0 commit comments

Comments
 (0)