Commit d1e79deb authored by POTTIER Francois's avatar POTTIER Francois

Improved bench/good/Makefile to allow a set of known failures.

parent ff33b05d
......@@ -54,12 +54,17 @@ test: clean $(RESULTS)
if diff $@ $*.expected >& /dev/null; then \
if $(MENHIR) $$CMD >& $*.out; then \
echo "[OK] $$FILES"; \
else ( \
echo "-> [KO] $$FILES:"; \
echo " menhir --only-preprocess succeeded,"; \
echo " but menhir failed."; \
echo " cat $*.out"; \
) | tee -a failures; \
else \
if ! grep $* 00KNOWN_FAILURES >& /dev/null; then ( \
echo "-> [KO] $$FILES:"; \
echo " menhir --only-preprocess succeeded,"; \
echo " but menhir failed."; \
echo " cat $*.out"; \
) | tee -a failures; \
else \
echo "-> [KO] $$FILES:"; \
echo " known failure."; \
fi; \
fi; \
else ( \
echo "-> [KO] $$FILES:"; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment