Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
i7
peregrine
Commits
1920c90c
Commit
1920c90c
authored
Dec 19, 2016
by
Philipp J. Meyer
Browse files
Updated benchmark script for lola
parent
29918a87
Changes
1
Hide whitespace changes
Inline
Side-by-side
benchmarks/run-benchmarks-lola.sh
View file @
1920c90c
#!/bin/bash
#benchmarks=( 'service-tech/ibm-soundness' 'service-tech/sap-reference' )
#benchmarks=( 'cav-benchmarks/mist' 'cav-benchmarks/wahl-kroening' 'cav-benchmarks/soter' 'cav-benchmarks/medical' 'cav-benchmarks/bug_tracking' )
benchmarks
=(
'service-tech/ibm-soundness'
)
#benchmarks=( 'service-tech/sap-reference' )
extensions
=(
'pnet'
'tpn'
'lola'
'spec'
)
extensions
=(
'lola'
)
properties
=(
'safe'
'fin'
)
tool
=
'lola'
executable
=
'/home/philipp/local/lola-2.0/src/lola'
executable
=
'lola'
options
=
''
#1 hour
time_soft
=
$(
expr
1
\*
3600
)
time_hard
=
$(
expr
$time_soft
+ 60
)
#
2
gigabyte
mem_soft
=
$(
expr
2
\*
1024
\*
1024
)
#
8
gigabyte
mem_soft
=
$(
expr
8
\*
1024
\*
1024
)
mem_hard
=
$(
expr
$mem_soft
+ 1024
)
properties
=(
'safe'
)
for
benchmark
in
${
benchmarks
[@]
}
;
do
benchmark_dir
=
"
$benchmark
"
for
prop
in
${
properties
[@]
}
;
do
...
...
@@ -34,8 +32,8 @@ for benchmark in ${benchmarks[@]}; do
ulimit
-S
-v
$mem_soft
ulimit
-H
-v
$mem_hard
set
-o
pipefail
;
echo
$executable
-f
$file
.
$prop
.task
1
$file
.
$prop
$executable
-f
$file
.
$prop
.task
1
$file
.
$prop
2>&1 |
tee
$file
.out
echo
$executable
$options
-f
$file
.
$prop
.task
$file
$executable
$options
-f
$file
.
$prop
.task
$file
2>&1 |
tee
$file
.out
)
result
=
$?
ryes
=
$(
grep
"result: yes"
$file
.out
)
...
...
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