Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
82a0fc41
Commit
82a0fc41
authored
Aug 26, 2014
by
Maxime Perrotin
Browse files
Merge pull request #27 from dbrabera/extended_benchmark_summary
Fix bin names in benchmark execution
parents
c444b62b
67446fff
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/regression/benchmark.py
View file @
82a0fc41
...
@@ -34,8 +34,8 @@ def benchmark(testfolder):
...
@@ -34,8 +34,8 @@ def benchmark(testfolder):
result
[
"status"
]
=
"ERROR"
result
[
"status"
]
=
"ERROR"
return
result
return
result
llvm_bin
=
os
.
path
.
join
(
testfolder
,
"test_
ada
"
)
llvm_bin
=
os
.
path
.
join
(
testfolder
,
"test_
llvm
"
)
ada_bin
=
os
.
path
.
join
(
testfolder
,
"test_
llvm
"
)
ada_bin
=
os
.
path
.
join
(
testfolder
,
"test_
ada
"
)
for
bin_name
in
(
llvm_bin
,
ada_bin
):
for
bin_name
in
(
llvm_bin
,
ada_bin
):
if
not
os
.
path
.
isfile
(
bin_name
):
if
not
os
.
path
.
isfile
(
bin_name
):
...
@@ -45,8 +45,8 @@ def benchmark(testfolder):
...
@@ -45,8 +45,8 @@ def benchmark(testfolder):
result
.
update
({
result
.
update
({
"status"
:
"OK"
,
"status"
:
"OK"
,
"size"
:
{
"size"
:
{
"ada"
:
size
(
llvm
_bin
),
"ada"
:
size
(
ada
_bin
),
"llvm"
:
size
(
ada
_bin
),
"llvm"
:
size
(
llvm
_bin
),
},
},
"time"
:
{
"time"
:
{
"ada"
:
time
(
ada_bin
),
"ada"
:
time
(
ada_bin
),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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