diff --git a/examples/ClientTests/CMakeLists.txt b/examples/ClientTests/CMakeLists.txt index 79c0a5f25a757849dd5613d9cf8c9865cf49a93c..1a7733b4f9dcadc2d0b796ba38e584bc56271ec7 100644 --- a/examples/ClientTests/CMakeLists.txt +++ b/examples/ClientTests/CMakeLists.txt @@ -22,6 +22,7 @@ dd4hep_package (ClientTests MAJOR 0 MINOR 0 PATCH 1 dd4hep_add_plugin( ClientTests SOURCES src/*.cpp OPTIONAL [BOOST SOURCES src_boost/*.cpp] ) +# dd4hep_install_dir( compact scripts DESTINATION ${DD4hep_DIR}/examples/ClientTests ) #-------------------------------------------------------------------------- @@ -32,9 +33,8 @@ dd4hep_configure_scripts( ClientTests DEFAULT_SETUP WITH_TESTS) # Test JSON based detector construction dd4hep_add_test_reg( ClientTests_MiniTel_JSON COMMAND "${CMAKE_INSTALL_PREFIX}/bin/run_test_ClientTests.sh" - EXEC_ARGS geoDisplay - -input file:${CMAKE_CURRENT_SOURCE_DIR}/compact/MiniTel_json.xml - -volmgr -destroy -load_only + EXEC_ARGS geoPluginRun -volmgr -destroy -plugin DD4hepCompactLoader + file:${CMAKE_CURRENT_SOURCE_DIR}/compact/MiniTel_json.xml REGEX_PASS "Successfully processed JSON input" REGEX_FAIL "Exception" REGEX_FAIL "FAILED"