From fb04e7c1a2fdcfc6cc7f7d2986b630cc424b081b Mon Sep 17 00:00:00 2001 From: Tristan Gingold <tgingold@free.fr> Date: Wed, 4 Mar 2020 18:37:00 +0100 Subject: Add testcase for #1066 --- testsuite/gna/issue1066/hello.vhdl | 3 +++ testsuite/gna/issue1066/testsuite.sh | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 testsuite/gna/issue1066/hello.vhdl create mode 100755 testsuite/gna/issue1066/testsuite.sh (limited to 'testsuite/gna/issue1066') diff --git a/testsuite/gna/issue1066/hello.vhdl b/testsuite/gna/issue1066/hello.vhdl new file mode 100644 index 000000000..d5d75840f --- /dev/null +++ b/testsuite/gna/issue1066/hello.vhdl @@ -0,0 +1,3 @@ +entity hello is + error; +end hello; diff --git a/testsuite/gna/issue1066/testsuite.sh b/testsuite/gna/issue1066/testsuite.sh new file mode 100755 index 000000000..56e1683ad --- /dev/null +++ b/testsuite/gna/issue1066/testsuite.sh @@ -0,0 +1,9 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze_failure hello.vhdl -fno-color-diagnostics 2>&1 | grep "no option expected" + +clean + +echo "Test successful" -- cgit v1.2.3