Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pftruth-standalone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Alessandro Brusamolino
pftruth-standalone
Commits
a10264af
Commit
a10264af
authored
2 months ago
by
Alessandro Brusamolino
Browse files
Options
Downloads
Plain Diff
[load-from-root] Re-work unit testing
Re-work unit testing See merge request abrusamo/pftruth-standalone!9
parents
1ebc9c22
91022309
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
run-workflow.sh
+49
-52
49 additions, 52 deletions
run-workflow.sh
with
49 additions
and
52 deletions
run-workflow.sh
+
49
−
52
View file @
a10264af
...
...
@@ -39,51 +39,56 @@ parse_yml() {
cat
<<
EOF
==========================================================================
░░░░ ░
░▒░ ░
░░░ ░ ░ ░░ ░
░░ ░░ ░░▒░░ ░ ░ ░░
░░ ░░ ░░░ ░░ ░ ░ ░░░
░░ ░ ░ ░░░░▒ ░ ▒ ▓░░
░░ ░░ ░░ ░░░░▓▒▒ ░ ▒░▓▓▓
░ ░░ ░▒▒░░░ ▓▓▓░░▓▓▓▓░
░ ░░ ░▒░░▒░▓░ ░ ▒▓▓▓▓▒░
░░ ░ ░░░░▓░▓░░▒░▒░ ▒ ▓▓▓▓▓
░ ░ ░░░▒░░ ▓░░▓▒ ░▓░░▓░░░▓░░
░░ ░ ░░░▓ ░ ░░ ▓▒▒░▒▒▒▓▓░ ▓░░
░ ░ ░░▒ ░ ░░ ░░░░░ ▓░▓▒ ▒ ░▒░░
░ ░░ ░░░░░ ░░ ▒▓░░░░▒▒░▓ ░ ▒ ░▒░░
░░ ░ ░ ▒░▒░ ░░ ▒▓░▓░▒░░░░▓ ░▒ ░░░ ▒░░
░░ ▒░ ░ ▒▒▒ ░░ ░▓░▒▒░░ ▒▓░░▓ ▒░ ░░░ ▓░░ ░ ░░
░░ ▒░░ ░░▒░▒▒░░░▒▓░▒░░░░░░▒▒▒▓ ▒ ░▒ ▓░ ░ ░ ░▓░░ ░
░░ ░▒ ░▒░▒░░▓░▓ ░▒░░░ ░▓▓▒ ░ ░ ░░ ▓ ░▒▒░▒░░ ░░░ ░
░░░ ░░░▒░ ░░░ ░▒ ▒░ ░░ ▓▒▓▓░ ░▒▒░▓▒░▒▓░░▓░░░ ░░░░░░ ░░
░░░░░░░░░░░▒ ░░░ ▒░ ▓░ ▓▓▒░░ ░░░░░░▓░░ ░░ ░░░ ░ ░░░ ░
░░░ ░ ▒ ▓░ ▓▓▒░░░░▒░░▒▓░ ░░ ▒░░ ░░ ░ ░░
░░▒░ ░ ░ ░▓▓▓░ ░░░░░▒░ ░░ ░░░░░ ░░░░ ░
░░▒░ ░░▒░▓▓▓ ▒▓░▒▓░ ░░ ░ ░░░░ ░
░░▒ ░░▒▓▓ ▒▒ ▓░░ ░ ░ ░░░░ ░ ░░
░▓▒ ░ ▒▒▒░░ ▓▒░▓░ ░░░░ ░ ░
░░░▓▒▓▓░ ░ ▒▒░▓░░▒▒░░░ ░ ░░
░ ▒▓▓▓▓▒ ░░░▒▒░░░░░ ░ ░
░ ░░▓▓▓▓▓ ░░░░░░ ░ ░
░ ░░░▒▓▓▓ ░░░░░ ░░░░ ░ ░░
░ ░ ░▒▓▓░ ░░░░ ░ ░ ░
░ ░░▒▒▒ ░░ ░░░ ░ ░░ ░░
░░▒░▒ ░░ ░░░░░░ ░░
░░░░ ░░ ░░ ░░
░░ ░░░
░ ░ ░
=================================================================================
:::::
::::::: :::..
::*#:: ::: %
::: : :=-. :: #
.::. : ::::#=* ::. -* % *
::: ::: #:- -#. - # % *#
::. :: * .:*:+:@ --- @ @+**
::. :. .= - .:#### -* @ @@@
::. : :=: -: @##@ *@@@@@
.:: : -+#.#:=- @:@#@@@@@+
:: : =:=@@%@@-#= - -@@@@@@---
:: :: #-#:@::@#=@@:#% @ @@@@#@-
:: : .==-#-: -@-=@@.==@#-%%@--###:
:: .: +=.% :. ::*@@@%-@@@@@@ :#**
:: :. +--@ :: :: -+@@- @@-@@@#: =##+
:: : --=+::: :: #@#*##@-@@@#.=:# ##*:
::#:: = *..#:: :: @%#*=:#: @@@%@ -=:+ ##*:
#*: : + *-.* :: *##*##:#.-:@@@= %* + *: :#+=
::::#: :: +:+# .=: :=@#:##::::- @@#::@= @= =.*: -#+: .:::::::.:
:- #-# ::#=.#:+::%@@*#=:*:::=@@*@* :# @ .@. .=:# ##:- : :
: ::#: -=:#:@@@@@ @###: :#@@#:.+ : =@ *% --*%==::+ :::. ::
..: =:# *--:-+#.= =@ -# : =::@@@%: :###%= @@@@@+#:*+ .-:- :::
::: ::###: :=:= %= %= #: @@*:= .#:::::+@++ :::+=.#: +:: ::
:::::::: :*## =:-. :@: @+#@@ - :=::+#:#%= :: #+:= : ::::::
=##= .# = -@ @@@ :=:-:##:@#= :: :%-:= .: : #:
*##: :* = @@@@# =*:::-** .:: ::@=.= :::= ::
:###: =+@@=@@+ %@#-#@+ :: ::==== .: ::
:*## %-@@@@ :@:-@@=- :: : +=-- :: ::
=##-% #**@#:= -@@+@:% ::.@:-= : ::
.@*#@:%%@::+:= #@@:-% :=+=-= : ::
% :@#@@@@ :++@=:@#+@-=-= : ::
.+ -@.@@@@@+ -==*=-*=-=. :: ::
% -%-@@@@@@= :#.=:%=. :: ::
-# -%:@@@@@ #*#::: :*:: :. ::
+ -*= @@-@@ :+##- : .: : ::
-% %%%@# ::::+.. :: :: .::
% %%%%# :: +:= :: :::
%%%%-. .: ::::. :. :::
% % .* ::. :::::::::
: : ::::
::::::::::
____ ______ ______ ____ __ __ ______ __ __
/ __
\
/ ____//_ __// __
\
/ / / //_ __// / / /
/ /_/ // /_ / / / /_/ // / / / / / / /_/ /
/ ____// __/ / / / _, _// /_/ / / / / __ /
/_/ /_/ /_/ /_/ |_|
\_
___/ /_/ /_/ /_/
=========================================================================
=========================================================================
========
EOF
...
...
@@ -113,25 +118,17 @@ if $recompile ; then
rm
-rf
build
print_step
"Generating build files"
mkdir
-p
build
&&
cd
build
if
$run_tests
;
then
print_step
"Running the tests"
cmake
-DBUILD_TESTING
=
ON ..
else
cmake ..
fi
print_step
"Running the tests"
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_500.root 0.85 0.4
./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"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment