Skip to content
Snippets Groups Projects
Commit 129397c3 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'test.CoolConvUtilities-20190205' into 'master'

CoolConvUtilities: Migrate ATN test to ctest.

See merge request atlas/athena!20884
parents 08f82282 ffaf10d6
No related branches found
No related tags found
No related merge requests found
...@@ -23,9 +23,12 @@ atlas_add_executable( AtlCoolCopy ...@@ -23,9 +23,12 @@ atlas_add_executable( AtlCoolCopy
src/CoolTagInfo.cxx src/CoolTagInfo.cxx
INCLUDE_DIRS ${COOL_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS} INCLUDE_DIRS ${COOL_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS}
LINK_LIBRARIES ${COOL_LIBRARIES} ${ROOT_LIBRARIES} ${CORAL_LIBRARIES} FileCatalog PersistencySvc CoraCool ) LINK_LIBRARIES ${COOL_LIBRARIES} ${ROOT_LIBRARIES} ${CORAL_LIBRARIES} FileCatalog PersistencySvc CoraCool )
set_target_properties( AtlCoolCopy PROPERTIES ENABLE_EXPORTS True )
# Install files from the package: # Install files from the package:
atlas_install_python_modules( python/*.py ) atlas_install_python_modules( python/*.py )
atlas_install_joboptions( share/coolDumpFolderTags.py ) atlas_install_joboptions( share/coolDumpFolderTags.py )
atlas_install_scripts( share/AtlCoolConsole.py share/coolIOVToTimeStamp.py share/coolTimeStampLocalToIOV.py share/coolTimeStampUTCToIOV.py share/RunList.py share/AtlCoolCheckFiles.py share/AtlCoolTopTag.py share/AtlCoolMakeReplica.py share/coolMagneticField.py share/AtlCoolCopy_test.sh ) atlas_install_scripts( share/AtlCoolConsole.py share/coolIOVToTimeStamp.py share/coolTimeStampLocalToIOV.py share/coolTimeStampUTCToIOV.py share/RunList.py share/AtlCoolCheckFiles.py share/AtlCoolTopTag.py share/AtlCoolMakeReplica.py share/coolMagneticField.py share/AtlCoolCopy_test.sh )
atlas_add_test( AtlCoolCopy_test
SCRIPT share/AtlCoolCopy_test.sh )
This diff is collapsed.
...@@ -3,10 +3,6 @@ ...@@ -3,10 +3,6 @@
# rely on authentication file for authorisation # rely on authentication file for authorisation
export DBORACLE="oracle://INTR;schema=ATLAS_COOL_GLOBAL;dbname=REFC2001" export DBORACLE="oracle://INTR;schema=ATLAS_COOL_GLOBAL;dbname=REFC2001"
echo Start date is `date`
AtlCoolCopy COOLOFL_INDET/OFLP200 "sqlite://X;schema=test0.db;dbname=OFLP200" -create -folder /Indet/Align AtlCoolCopy COOLOFL_INDET/OFLP200 "sqlite://X;schema=test0.db;dbname=OFLP200" -create -folder /Indet/Align
ls -l rm -f test0.db
rm test0.db
echo End date is `date`
exit exit
<?xml version="1.0"?>
<atn>
<TEST name="CoolConvUtilities" type="script" suite="Examples">
<options_atn>AtlCoolCopy_test.sh</options_atn>
<timelimit>4</timelimit>
<author>Richard Hawkings</author>
<mailto>richard.hawkings@cern.ch</mailto>
<expectations>
<errorMessage>AtlCoolCopy.exe fails</errorMessage>
<successMessage>Folder copied with</successMessage>
<returnValue>0</returnValue>
</expectations>
</TEST>
</atn>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment