diff --git a/InnerDetector/InDetValidation/InDetPhysValMonitoring/CMakeLists.txt b/InnerDetector/InDetValidation/InDetPhysValMonitoring/CMakeLists.txt index aa5be16e52a586e39a7c14ccc85762c864510ec9..e652710c1b21dd1f1ec0abc6e0c54678a8c6494b 100644 --- a/InnerDetector/InDetValidation/InDetPhysValMonitoring/CMakeLists.txt +++ b/InnerDetector/InDetValidation/InDetPhysValMonitoring/CMakeLists.txt @@ -63,3 +63,10 @@ atlas_add_test( InDetPlotBase_test POST_EXEC_SCRIPT "nopost.sh" ) + +atlas_add_test( StandaloneRun_test + SCRIPT test/IDPVM_standalone_test.sh + POST_EXEC_SCRIPT "nopost.sh" +) + + diff --git a/InnerDetector/InDetValidation/InDetPhysValMonitoring/test/IDPVM_standalone_test.sh b/InnerDetector/InDetValidation/InDetPhysValMonitoring/test/IDPVM_standalone_test.sh new file mode 100755 index 0000000000000000000000000000000000000000..f573a329a1346e0a2d7a9d3387aad056fa063fb0 --- /dev/null +++ b/InnerDetector/InDetValidation/InDetPhysValMonitoring/test/IDPVM_standalone_test.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +################################################## +# This is a simple test for running the +# standalone job options of the InDetPhysValMonitoring +# package. Will not attempt to compare the outputs, +# but only test for a successful run of athena. +################################################### + +# Use a random AOD on CVMFS as input - we do not really care about the results, +# the intention of the test is to ensure that the athena configuration +# for our setup is not broken +TestFile="/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/Tier0ChainTests/q221/22.0/v1/myAOD.pool.root" + +# Run the standalone valdiation options, with additional plots enabled to ensure we also test the command line arg mechanism +athena --filesInput ${TestFile} InDetPhysValMonitoring/InDetPhysValMonitoring_topOptions.py - --doExpertPlots + +exit $? \ No newline at end of file