Source

mana-core-testtools / cmt / requirements

package TestTools
author Paolo Calafiura   <Paolo.Calafiura@cern.ch>
author Sebastien Binet   <binet@cern.ch>

use AtlasPolicy    AtlasPolicy-01-*
use AtlasPython    AtlasPython-00-*        External -no_auto_imports
use GaudiInterface GaudiInterface-01-*     External 

use AthenaCommon   AthenaCommon-*          Control -no_auto_imports

#setup LD_LIBRARY_PATH
use GaudiSvc       v*                            -no_auto_imports

branches python share src TestTools test

library TestTools *.cxx
apply_pattern installed_library

apply_pattern declare_scripts files="runUnitTests.sh post.sh"
apply_pattern declare_python_modules files="*.py"
apply_pattern declare_joboptions files="*.py"

macro whichGroup check
#macro whichGroup "NONE" \
#	debug    "check"

pattern UnitTest_run \
	application <unit_test>_test -group=$(whichGroup) ../test/<unit_test>_test.cxx ; \
	document athenarun_launcher <unit_test>_utest -group=$(whichGroup) \
        athenarun_exe="'../${CMTCONFIG}/<unit_test>_test.exe'" \
        athenarun_pre="'. ../cmt/setup.sh'" \
        athenarun_opt="" \
        athenarun_out="' > <unit_test>_test.log 2>&1'" \
        athenarun_post="'post.sh <unit_test>_test $(q)<extrapatterns>$(q)'"

private
use TestPolicy      TestPolicy-*

macro_append DOXYGEN_INPUT " ../doc" 
macro_append DOXYGEN_INPUT " ../share" 
macro_append DOXYGEN_FILE_PATTERNS    " *.sh"
macro_append DOXYGEN_FILE_PATTERNS    " *.txt"