-
Notifications
You must be signed in to change notification settings - Fork 3
/
run-test.sh
executable file
·26 lines (22 loc) · 1.6 KB
/
run-test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# set -e
set -x
OWD=`pwd`
source $OWD/geant4/bld/geant4make.sh
# source paths.sh sets these slightly differently
# export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OWD/anaconda/lib/:$OWD/geant4/lib/:$OWD/DAGMC/lib
# export PATH=$OWD/anaconda/bin:$PATH
source $OWD/paths.sh
cd $OWD/DAGMC/tests
./fludag_unit_tests --gtest_filter=`echo ${_NMI_TASKNAME} | sed -e 's/__/\//g' | sed -e 's/FLUDAG.//g'`
./dagsolid_unit_tests --gtest_filter=`echo ${_NMI_TASKNAME} | sed -e 's/__/\//g' | sed -e 's/DAGSOLID.//g'`
./uwuw_unit_tests --gtest_filter=`echo ${_NMI_TASKNAME} | sed -e 's/__/\//g' | sed -e 's/UWUW.//g'`
./test_KDEKernel --gtest_filter=`echo ${_NMI_TASKNAME} | sed -e 's/__/\//g' | sed -e 's/KDEKernel.//g'`
./test_KDENeighborhood --gtest_filter=`echo ${_NMI_TASKNAME} | sed -e 's/__/\//g' | sed -e 's/KDENeighborhood.//g'`
./test_PolynomialKernel --gtest_filter=`echo ${_NMI_TASKNAME} | sed -e 's/__/\//g' | sed -e 's/PolynomialKernel.//g'`
./test_Quadrature --gtest_filter=`echo ${_NMI_TASKNAME} | sed -e 's/__/\//g' | sed -e 's/Quadrature.//g'`
./test_Tally --gtest_filter=`echo ${_NMI_TASKNAME} | sed -e 's/__/\//g' | sed -e 's/Tally.//g'`
./test_CellTally --gtest_filter=`echo ${_NMI_TASKNAME} | sed -e 's/__/\//g' | sed -e 's/CellTally.//g'`
./test_TallyData --gtest_filter=`echo ${_NMI_TASKNAME} | sed -e 's/__/\//g' | sed -e 's/TallyData.//g'`
./test_TallyEvent --gtest_filter=`echo ${_NMI_TASKNAME} | sed -e 's/__/\//g' | sed -e 's/TallyEvent.//g'`
./test_KDEMeshTally --gtest_filter=`echo ${_NMI_TASKNAME} | sed -e 's/__/\//g' | sed -e 's/KDEMeshTally.//g'`
exit $?