Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
ogs
OpenGeoSys Tools
r2ogs6
Commits
fcd6180a
Commit
fcd6180a
authored
Oct 18, 2022
by
Johannes Boog
Browse files
[ci] compute share of bms passed with r2ogs6
parent
e24af6c8
Pipeline
#12923
passed with stages
in 1433 minutes and 18 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
ci/test_bm_script.R
View file @
fcd6180a
# runs and comparen_passed <- length(r2ogs6_passed[which(r2ogs6_passed == T)]) ogs6 benchmarks run with ogs6 as reference and r2ogs6
# git clone --depth 1 --branch 6.4.1 https://gitlab.opengeosys.org/ogs/ogs
# wget https://ogsstorage.blob.core.windows.net/binaries/ogs6/6.4.1/ogs-6.4.1-serial.sif
...
...
@@ -148,9 +149,13 @@ if (commandArgs(trailingOnly=TRUE)[2] == "test") {
if
(
!
all
(
r2ogs6_passed
))
{
cat
(
paste0
(
test_exit
$
benchmark
[
which
(
test_exit
$
ref
==
0
)][
!
r2ogs6_passed
],
collapse
=
"\n"
))
cat
(
"\n\n"
)
stop
(
"Exit codes for r2ogs6 were nonzero for above benchmarks!"
)
cat
(
"\n\n Exit codes for r2ogs6 were nonzero for above benchmarks!\n"
)
}
}
n_passed
<-
length
(
r2ogs6_passed
[
which
(
r2ogs6_passed
==
T
)])
percent_passed
<-
n_passed
/
length
(
r2ogs6_passed
)
*
100
cat
(
paste
(
"\n\n Share of passed benchmarks: "
,
percent_passed
,
" %."
))
}
print
(
"job done"
)
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment