Skip to content

Commit

Permalink
Merge pull request #37924 from smuzaffar/db-cleanup-buildfile
Browse files Browse the repository at this point in the history
[DB][BuildFile] Use ifarch instead of ifarchitecture to match system arch only.
  • Loading branch information
cmsbuild committed May 13, 2022
2 parents 18051fd + c73ad7a commit 6b50484
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions CondCore/CondDB/test/BuildFile.xml
Expand Up @@ -41,10 +41,10 @@
<bin file="testGroupSelection.cpp" name="testGroupSelection">
</bin>

<architecture name="(slc|cc).*_amd64_.*">
<ifarch value="x86_64">
<bin file="testConnectionPool.cpp" name="testConnectionPool">
<use name="CondFormats/RunInfo"/>
</bin>

<test name="condTestRegression" command="condTestRegression.py"/>
</architecture>
</ifarch>
4 changes: 2 additions & 2 deletions CondTools/Ecal/test/BuildFile.xml
@@ -1,5 +1,5 @@
<use name="CondTools/Ecal"/>
<architecture name="(slc|cc).*_amd64_.*">
<ifarch value="x86_64">
<ifcxx11_abi value="1">
<flags SETENV="LD_PRELOAD=$(CMS_ORACLEOCCI_LIB)"/>
</ifcxx11_abi>
Expand All @@ -24,4 +24,4 @@
<test name="EcalTPGTowerStatus_O2O_test" command="EcalTPGTowerStatus_O2O_test.sh"/>
<test name="EcalADCToGeV_update_test" command="EcalADCToGeV_update_test.sh"/>
<test name="EcalIntercalibConstants_O2O_test" command="EcalIntercalibConstants_O2O_test.sh"/>
</architecture>
</ifarch>
4 changes: 2 additions & 2 deletions CondTools/RunInfo/test/BuildFile.xml
@@ -1,6 +1,6 @@
<use name="CondTools/RunInfo"/>
<architecture name="(slc|cc).*_amd64_.*">
<ifarch value="x86_64">
<use name="py3-sqlalchemy"/>
<test name="RunInfoStart_O2O_test" command="RunInfoStart_O2O_test.sh"/>
</architecture>
</ifarch>
<test name="CondToolsRunInfoTest" command="test_runinfo.sh"/>
4 changes: 2 additions & 2 deletions CondTools/SiStrip/test/BuildFile.xml
@@ -1,10 +1,10 @@
<architecture name="(slc|cc).*_amd64_.*">
<ifarch value="x86_64">
<ifcxx11_abi value="1">
<flags SETENV="LD_PRELOAD=$(CMS_ORACLEOCCI_LIB)"/>
</ifcxx11_abi>
<test name="SiStripDCS_O2O_test" command="testSiStripDCSO2O.sh"/>
<test name="SiStripDAQ_O2O_test" command="testSiStripDAQO2O.sh"/>
</architecture>
</ifarch>

<bin file="runTests.cpp" name="testCondToolsSiStripBuildersReaders">
<use name="FWCore/Utilities"/>
Expand Down
5 changes: 2 additions & 3 deletions OnlineDB/Oracle/test/BuildFile.xml
@@ -1,7 +1,6 @@
<architecture name="_amd64_">
<ifarch value="x86_64">
<bin name="test_occi_std_length" file="test.cpp">
<use name="oracleocci"/>
<flags TEST_RUNNER_ARGS="12154"/>
</bin>

</architecture>
</ifarch>

0 comments on commit 6b50484

Please sign in to comment.