aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue1051/testsuite.sh
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2020-01-02 18:22:19 +0100
committerTristan Gingold <tgingold@free.fr>2020-01-02 18:22:19 +0100
commitdf5e32320e8284763705f0046b91d09caf1164fd (patch)
tree83e695da29fa7ab08e20e18b1ad883f6d6fc82cb /testsuite/gna/issue1051/testsuite.sh
parent91faff646998925a81d57f8d5a6e1c5fcf1f7ce8 (diff)
downloadghdl-df5e32320e8284763705f0046b91d09caf1164fd.tar.gz
ghdl-df5e32320e8284763705f0046b91d09caf1164fd.tar.bz2
ghdl-df5e32320e8284763705f0046b91d09caf1164fd.zip
testsuite: add cases for #1051
Diffstat (limited to 'testsuite/gna/issue1051/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue1051/testsuite.sh32
1 files changed, 32 insertions, 0 deletions
diff --git a/testsuite/gna/issue1051/testsuite.sh b/testsuite/gna/issue1051/testsuite.sh
new file mode 100755
index 000000000..ad45ae63a
--- /dev/null
+++ b/testsuite/gna/issue1051/testsuite.sh
@@ -0,0 +1,32 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+FILES="
+psi_common_array_pkg.vhd
+psi_common_math_pkg.vhd
+psi_common_logic_pkg.vhd
+
+psi_tb_txt_util.vhd
+psi_tb_compare_pkg.vhd
+psi_tb_activity_pkg.vhd
+psi_tb_i2c_pkg.vhd
+
+psi_common_bit_cc.vhd
+psi_common_i2c_master.vhd
+psi_common_i2c_master_tb.vhd
+"
+
+export GHDL_STD_FLAGS="--std=08 -frelaxed"
+analyze repro.vhdl
+elab_simulate repro
+
+analyze repro2.vhdl
+elab_simulate repro2
+
+analyze $FILES
+elab_simulate psi_common_i2c_master_tb
+
+clean
+
+echo "Test successful"