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
POTTIER Francois
menhir
Commits
8de56171
Commit
8de56171
authored
Oct 26, 2015
by
POTTIER Francois
Browse files
Support %.flags also when timing --list-errors.
parent
f1cc2005
Changes
1
Hide whitespace changes
Inline
Side-by-side
bench/good/Makefile
View file @
8de56171
...
...
@@ -122,7 +122,10 @@ SINGLE = $(shell ls *.mly | egrep -v '.*-([1-9]).mly')
%.log
:
%.mly
@
echo
"Now dealing with:
$<
"
|
tee
-a
$@
@
if
(
timeout
$(TIMEOUT)
$(MENHIR)
--list-errors
-la
2
--lalr
$<
)
>>
$@
2>&1
;
then
\
@
if
[
-f
$*
.flags
]
;
then
\
FLAGS
=
`
cat
$*
.flags
`
;
\
fi
;
\
if
(
timeout
$(TIMEOUT)
$(MENHIR)
$$
FLAGS
--list-errors
-la
2
--lalr
$<
)
>>
$@
2>&1
;
then
\
echo
"
$<
: success."
|
tee
-a
$@
;
\
else
\
echo
"
$<
: TIMEOUT (or failure)."
|
tee
-a
$@
;
\
...
...
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