Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
algpath bench
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Numerical algebraic geometry
algpath bench
Commits
b2240f4c
Commit
b2240f4c
authored
2 weeks ago
by
GUILLEMOT Alexandre
Browse files
Options
Downloads
Patches
Plain Diff
correct run_entries bug with core option
parent
d280ff5c
Branches
master
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_entries.py
+2
-2
2 additions, 2 deletions
run_entries.py
with
2 additions
and
2 deletions
run_entries.py
+
2
−
2
View file @
b2240f4c
...
...
@@ -14,7 +14,7 @@ parser.add_argument("-m", "--mem", nargs="?", const=8,
help
=
"
Maximum amount of memory used for the different tests. Should be written as <number><unit> where <unit> may be nothing, K, M or G, e.g. 100M
"
)
parser
.
add_argument
(
"
-n
"
,
action
=
'
store_true
'
,
help
=
"
To only run benchmarks not previously done
"
)
parser
.
add_argument
(
"
-c
"
,
"
--core
"
,
nargs
=
"
?
"
,
const
=
"
1
"
,
default
=
"
1
"
,
parser
.
add_argument
(
"
-c
"
,
"
--core
"
,
nargs
=
"
?
"
,
const
=
"
1
"
,
help
=
"
Core on which the job should be ran
"
)
args
=
parser
.
parse_args
()
...
...
@@ -46,4 +46,4 @@ for i, pkg_name in enumerate(pkg_list):
assert
not
info
[
"
script error
"
]
except
:
subprocess
.
run
([
"
python3
"
,
"
run_test.py
"
,
str
(
pkg_path
),
str
((
"
data
"
/
Path
(
data_path
)).
with_suffix
(
"
.json
"
))]
+
[
"
--timeout
"
,
str
(
args
.
timeout
)]
*
(
args
.
timeout
!=
None
)
+
[
"
--mem
"
,
str
(
args
.
mem
)]
*
(
args
.
mem
!=
None
)
+
[
"
--perf
"
]
*
args
.
perf
+
[
"
--core
"
,
args
.
core
])
args
.
timeout
!=
None
)
+
[
"
--mem
"
,
str
(
args
.
mem
)]
*
(
args
.
mem
!=
None
)
+
[
"
--perf
"
]
*
args
.
perf
+
[
"
--core
"
,
args
.
core
]
*
(
args
.
core
!=
None
)
)
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