aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/gna/issue371/testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/gna/issue371/testsuite.sh')
-rwxr-xr-xtestsuite/gna/issue371/testsuite.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/gna/issue371/testsuite.sh b/testsuite/gna/issue371/testsuite.sh
new file mode 100755
index 000000000..147ab74c4
--- /dev/null
+++ b/testsuite/gna/issue371/testsuite.sh
@@ -0,0 +1,18 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze test_string.vhdl
+elab test_string
+
+if ghdl_has_feature test_string ghw; then
+ simulate test_string --wave=sim.ghw --stop-time=20ns
+fi
+
+clean
+if [ $# -eq 0 ]; then
+ rm -f sim.ghw
+fi
+
+
+echo "Test successful"