Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ASAN] Fix unit tests for asan IBs #36874

Merged
merged 1 commit into from
Feb 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CommonTools/Utils/test/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
</bin>

<bin name="testExpressionEvaluator" file="testExpressionEvaluator.cc,testRunner.cpp">
<ifrelease name="_ASAN_">
<flags NO_TEST_PREFIX="1"/>
</ifrelease>
<use name="Geometry/CommonDetUnit"/>
<use name="DataFormats/TrackReco"/>
<use name="DataFormats/TrackerRecHit2D"/>
Expand All @@ -29,6 +32,9 @@
</bin>

<bin file="ExpressionEvaluatorUnitTest.cpp">
<ifrelease name="_ASAN_">
<flags NO_TEST_PREFIX="1"/>
</ifrelease>
<flags CXXFLAGS="-fopenmp"/>
<use name="CommonTools/Utils"/>
</bin>
Expand Down
3 changes: 0 additions & 3 deletions CondCore/Utilities/test/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
<ifrelease name="_ASAN_">
<flags NO_TEST_PREFIX="1"/>
</ifrelease>
<use name="CondCore/CondDB"/>
<use name="CondCore/Utilities"/>
<use name="CondFormats/Common"/>
Expand Down
21 changes: 11 additions & 10 deletions HeterogeneousCore/SonicTriton/test/BuildFile.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<environment>
<test name="TestHeterogeneousCoreSonicTritonProducerCPU" command="${LOCALTOP}/src/HeterogeneousCore/SonicTriton/test/unittest.sh ${LOCALTOP} CPU"/>
<test name="TestHeterogeneousCoreSonicTritonProducerGPU" command="${LOCALTOP}/src/HeterogeneousCore/SonicTriton/test/unittest.sh ${LOCALTOP} GPU"/>
<library file="*.cc" name="testHeterogenousCoreSonicTriton">
<flags EDM_PLUGIN="1"/>
<use name="FWCore/ParameterSet"/>
<use name="FWCore/Framework"/>
<use name="HeterogeneousCore/SonicTriton"/>
</library>
</environment>
<ifrelease name="_ASAN_|_UBSAN_">
<flags NO_TEST_PREFIX="1"/>
</ifrelease>
<test name="TestHeterogeneousCoreSonicTritonProducerCPU" command="${LOCALTOP}/src/HeterogeneousCore/SonicTriton/test/unittest.sh ${LOCALTOP} CPU"/>
<test name="TestHeterogeneousCoreSonicTritonProducerGPU" command="${LOCALTOP}/src/HeterogeneousCore/SonicTriton/test/unittest.sh ${LOCALTOP} GPU"/>
<library file="*.cc" name="testHeterogenousCoreSonicTriton">
<flags EDM_PLUGIN="1"/>
<use name="FWCore/ParameterSet"/>
<use name="FWCore/Framework"/>
<use name="HeterogeneousCore/SonicTriton"/>
</library>