diff --git a/cmake/run_test_package.sh b/cmake/run_test_package.sh index 10b7e06c1fa01170fa6a1b779e379669fa2377e4..e730b666eb0bde7cf855494ccea946562295a8b0 100755 --- a/cmake/run_test_package.sh +++ b/cmake/run_test_package.sh @@ -5,16 +5,10 @@ # calls the command (given as first argument) # with all following arguments # -if [ ! ${DD4hep_DIR} ]; then - export DD4hep_DIR=@DD4hep_DIR@; -fi; -# -source ${DD4hep_DIR}/bin/thisdd4hep.sh; -dd4hep_parse_this ${BASH_ARGV[0]} @PackageName@; -# + #----- initialize environment for this package - including DD4hep -source ${THIS}/bin/this@PackageName@.sh -# +source @CMAKE_INSTALL_PREFIX@/bin/this@PackageName@.sh + #----- parse command line - first argument is the # test to run command=$1