Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Why3
why3
Commits
0153170f
Commit
0153170f
authored
Jan 09, 2017
by
Guillaume Melquiond
Browse files
Skip the C printer when checking drivers.
parent
257d0bb6
Changes
1
Show whitespace changes
Inline
Side-by-side
bench/bench
View file @
0153170f
...
@@ -52,6 +52,7 @@ drivers () {
...
@@ -52,6 +52,7 @@ drivers () {
pgm
=
"bin/why3prove
$suffix
"
pgm
=
"bin/why3prove
$suffix
"
for
f
in
$1
/
*
.drv
;
do
for
f
in
$1
/
*
.drv
;
do
if
[[
$f
==
drivers/ocaml
*
.drv
]]
;
then continue
;
fi
if
[[
$f
==
drivers/ocaml
*
.drv
]]
;
then continue
;
fi
if
[[
$f
==
drivers/c.drv
]]
;
then continue
;
fi
echo
-n
"
$f
... "
echo
-n
"
$f
... "
# running Why
# running Why
if
!
echo
"theory Test goal G : 1=2 end"
|
$pgm
-F
whyml
--driver
$f
-
>
/dev/null
;
then
if
!
echo
"theory Test goal G : 1=2 end"
|
$pgm
-F
whyml
--driver
$f
-
>
/dev/null
;
then
...
...
Write
Preview
Markdown
is supported
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