Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
go2pins
Commits
d91ef1cf
Commit
d91ef1cf
authored
Dec 09, 2020
by
Etienne Renault
Browse files
benchs: script used to extract behviour from solutions
* benchs/RERS/extract_rers_behaviors.sh: Here.
parent
0353bde0
Changes
1
Hide whitespace changes
Inline
Side-by-side
benchs/RERS/extract_rers_behaviors.sh
0 → 100644
View file @
d91ef1cf
FIRST
=
0
LAST
=
$(
cat
$1
|
grep
error_ |
sed
s/error_//g |
tail
-n
1 |
awk
'{print $1}'
)
for
i
in
$(
seq
$FIRST
$LAST
)
;
do
TMP
=
$(
grep
"error_
$i
"
$1
)
if
[
"
$TMP
"
==
""
]
;
then
echo
EMPTY
'!<> (("main___VERIFIER_error_n == '
$i
'") && "main___VERIFIER_error__callerLabel != 0")'
else
echo
NOTEMPTY
'!<> (("main___VERIFIER_error_n == '
$i
'") && "main___VERIFIER_error__callerLabel != 0")'
fi
done
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