From e764c83d859fbc7affb47e96add4fe658f96e212 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 30 Jul 2020 19:18:32 +0200 Subject: testsuite/gna: add a test for #1403 --- testsuite/gna/issue1403/ent.vhdl | 6 ++++++ testsuite/gna/issue1403/testsuite.sh | 13 +++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 testsuite/gna/issue1403/ent.vhdl create mode 100755 testsuite/gna/issue1403/testsuite.sh diff --git a/testsuite/gna/issue1403/ent.vhdl b/testsuite/gna/issue1403/ent.vhdl new file mode 100644 index 000000000..1b14165e4 --- /dev/null +++ b/testsuite/gna/issue1403/ent.vhdl @@ -0,0 +1,6 @@ +entity ent is +end; + +architecture arch of ent is +begin +end; diff --git a/testsuite/gna/issue1403/testsuite.sh b/testsuite/gna/issue1403/testsuite.sh new file mode 100755 index 000000000..ed90bf517 --- /dev/null +++ b/testsuite/gna/issue1403/testsuite.sh @@ -0,0 +1,13 @@ +#! /bin/sh + +. ../../testenv.sh + + +analyze ent.vhdl +$GHDL --gen-makefile -frelaxed ent > Makefile +grep -q relaxed Makefile + +rm -f Makefile +clean + +echo "Test successful" -- cgit v1.2.3