Skip to content
Snippets Groups Projects
Commit 91022309 authored by brusale's avatar brusale
Browse files

rework testing in build process

parent 677db599
Branches
No related tags found
No related merge requests found
......@@ -122,18 +122,13 @@ if $recompile ; then
cmake -DBUILD_TESTING=ON ..
print_step "Compiling the project"
make -s -j $NWORKERS
cd $CURRENT_DIR
fi
if $run_tests || $recompile ; then
print_step "Running the tests"
cd build && ctest PFTruthTests -j $NWORKERS
cd ${CURRENT_DIR}
fi
if $run_merging ; then
print_step "Running the cluster merging"
./build/COCOATruth /ceph/abrusamolino/PFTruthSamples/COCOA/ttbar_0.root 0.85 0.5
cp /ceph/abrusamolino/PFTruthSamples/COCOA/ttbar_0.root /ceph/abrusamolino/PFTruthSamples/COCOATests/TTbar_Pythia8_0p85_0p5.root
./build/COCOATruth /ceph/abrusamolino/PFTruthSamples/COCOATests/SingleTau_Geant4_FlatEtaPt.root 0.85 0.5
cp /ceph/abrusamolino/PFTruthSamples/COCOATests/SingleTau_Geant4_FlatEtaPt.root /ceph/abrusamolino/PFTruthSamples/COCOATests/SingleTau_Geant4_FlatEtaPt_0p85_0p5.root
fi
print_step "Done"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment