aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/sanity
diff options
context:
space:
mode:
author1138-4EB <1138-4EB@users.noreply.github.com>2019-09-01 10:15:34 +0200
committertgingold <tgingold@users.noreply.github.com>2019-09-01 10:15:34 +0200
commitbaeaef814b6d935906d1687c287cc66c74bf0a5c (patch)
tree53828905fd3f2b3d232adc662358500123249417 /testsuite/sanity
parent84899919aee11ebec587d253c5834d7207707067 (diff)
downloadghdl-baeaef814b6d935906d1687c287cc66c74bf0a5c.tar.gz
ghdl-baeaef814b6d935906d1687c287cc66c74bf0a5c.tar.bz2
ghdl-baeaef814b6d935906d1687c287cc66c74bf0a5c.zip
Fix UPF (#905)
* add test for UPF * fix: add UPF when openieee=false too
Diffstat (limited to 'testsuite/sanity')
-rw-r--r--testsuite/sanity/006upf/test.vhdl5
-rwxr-xr-xtestsuite/sanity/006upf/testsuite.sh9
2 files changed, 14 insertions, 0 deletions
diff --git a/testsuite/sanity/006upf/test.vhdl b/testsuite/sanity/006upf/test.vhdl
new file mode 100644
index 000000000..4d287b782
--- /dev/null
+++ b/testsuite/sanity/006upf/test.vhdl
@@ -0,0 +1,5 @@
+library ieee;
+use ieee.UPF.all;
+
+entity test is
+end entity;
diff --git a/testsuite/sanity/006upf/testsuite.sh b/testsuite/sanity/006upf/testsuite.sh
new file mode 100755
index 000000000..f8534f54e
--- /dev/null
+++ b/testsuite/sanity/006upf/testsuite.sh
@@ -0,0 +1,9 @@
+#! /bin/sh
+
+. ../../testenv.sh
+
+analyze test.vhdl
+
+clean
+
+echo "Test successful"