From 262976db6c8f846125dbaf2dca75eaeb32866b00 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 11 May 2015 21:04:03 +0200 Subject: Test for ticket 47. --- testsuite/gna/ticket47/ent.vhdl | 13 +++++++++++++ testsuite/gna/ticket47/testsuite.sh | 11 +++++++++++ 2 files changed, 24 insertions(+) create mode 100644 testsuite/gna/ticket47/ent.vhdl create mode 100755 testsuite/gna/ticket47/testsuite.sh (limited to 'testsuite') diff --git a/testsuite/gna/ticket47/ent.vhdl b/testsuite/gna/ticket47/ent.vhdl new file mode 100644 index 000000000..9a17e5c8a --- /dev/null +++ b/testsuite/gna/ticket47/ent.vhdl @@ -0,0 +1,13 @@ +entity ent is + generic (str : string); +end entity; + +architecture a of ent is +begin + main : process + begin + report str; + wait; + end process; +end architecture; + diff --git a/testsuite/gna/ticket47/testsuite.sh b/testsuite/gna/ticket47/testsuite.sh new file mode 100755 index 000000000..e41bcb158 --- /dev/null +++ b/testsuite/gna/ticket47/testsuite.sh @@ -0,0 +1,11 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze ent.vhdl +elab_simulate ent -gstr=Hello +elab_simulate_failure ent + +clean + +echo "Test successful" -- cgit v1.2.3