diff --git a/examples/ClientTests/CMakeLists.txt b/examples/ClientTests/CMakeLists.txt index 31e9120dc542d71067c1335827f6672273e0a1fe..925b5065ccf732df4ad07f5d3c4ecc21f1f70c36 100644 --- a/examples/ClientTests/CMakeLists.txt +++ b/examples/ClientTests/CMakeLists.txt @@ -386,6 +386,23 @@ dd4hep_add_test_reg( MiniTel_check_checksum_full REGEX_FAIL "Exception;EXCEPTION;ERROR" ) # +# Test the sequential processing of two xml files +dd4hep_add_test_reg( include_plugins_command_line + COMMAND "${CMAKE_INSTALL_PREFIX}/bin/run_test_ClientTests.sh" + EXEC_ARGS geoPluginRun -input ${ClientTestsEx_INSTALL}/compact/MiniTel.xml + -input ${ClientTestsEx_INSTALL}/compact/ExamplePlugins.xml + REGEX_PASS "Tested 5 numeric constants for expression evaluation" + REGEX_FAIL "Exception;EXCEPTION;ERROR" +) +# +# Test the sequential processing of two xml files +dd4hep_add_test_reg( include_plugins_command_xml + COMMAND "${CMAKE_INSTALL_PREFIX}/bin/run_test_ClientTests.sh" + EXEC_ARGS geoPluginRun -input ${ClientTestsEx_INSTALL}/compact/IncludePlugins.xml + REGEX_PASS "Tested 5 numeric constants for expression evaluation" + REGEX_FAIL "Exception;EXCEPTION;ERROR" +) +# # EXEC_ARGS test_with_root.sh ${script} # if (DD4HEP_USE_GEANT4) diff --git a/examples/ClientTests/compact/IncludePlugins.xml b/examples/ClientTests/compact/IncludePlugins.xml index 408e045883b347ddb23039e632c65f16bf6252af..b527abfb0e7e32fee9e3259c7b49852534cd7ddf 100644 --- a/examples/ClientTests/compact/IncludePlugins.xml +++ b/examples/ClientTests/compact/IncludePlugins.xml @@ -43,4 +43,5 @@ <include ref="${DD4hepExamplesINSTALL}/examples/ClientTests/compact/ExamplePlugins.xml"/> </plugins> + </lccdd>