aboutsummaryrefslogtreecommitdiffstats
path: root/testsuite/sanity/000hello
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-08-19 05:05:31 +0200
committerTristan Gingold <tgingold@free.fr>2017-08-19 05:05:31 +0200
commit0d72d5def31ba701bfce8750820bcd9bb9f4ad5c (patch)
treefdfe313b17f7110e987198beba3df25add3c0ced /testsuite/sanity/000hello
parente879d9691ac85c5334b2bf27e5fb35c755e2b879 (diff)
downloadghdl-0d72d5def31ba701bfce8750820bcd9bb9f4ad5c.tar.gz
ghdl-0d72d5def31ba701bfce8750820bcd9bb9f4ad5c.tar.bz2
ghdl-0d72d5def31ba701bfce8750820bcd9bb9f4ad5c.zip
Add sanity/ testsuite.
Diffstat (limited to 'testsuite/sanity/000hello')
-rw-r--r--testsuite/sanity/000hello/hello.vhdl7
-rwxr-xr-xtestsuite/sanity/000hello/testsuite.sh10
2 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/sanity/000hello/hello.vhdl b/testsuite/sanity/000hello/hello.vhdl
new file mode 100644
index 000000000..792aae2bd
--- /dev/null
+++ b/testsuite/sanity/000hello/hello.vhdl
@@ -0,0 +1,7 @@
+entity hello is
+end hello;
+
+architecture behav of hello is
+begin
+ assert false report "Hello VHDL world" severity note;
+end behav;
diff --git a/testsuite/sanity/000hello/testsuite.sh b/testsuite/sanity/000hello/testsuite.sh
new file mode 100755
index 000000000..09af7b899
--- /dev/null
+++ b/testsuite/sanity/000hello/testsuite.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+. ../../testenv.sh
+
+analyze hello.vhdl
+elab_simulate hello
+
+clean
+
+echo "test successful"