diff options
Diffstat (limited to 'testsuite/sanity/002hello2008/testsuite.sh')
-rwxr-xr-x | testsuite/sanity/002hello2008/testsuite.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testsuite/sanity/002hello2008/testsuite.sh b/testsuite/sanity/002hello2008/testsuite.sh new file mode 100755 index 000000000..c8ce4478f --- /dev/null +++ b/testsuite/sanity/002hello2008/testsuite.sh @@ -0,0 +1,20 @@ +#!/bin/sh + +. ../../testenv.sh + +GHDL_STD_FLAGS=--std=08 +analyze hello.vhdl +elab_simulate hello + +# Check that vhdl-08 is used +analyze err93.vhdl + +clean + +# Check that err93 is not valid in vhdl-93 +GHDL_STD_FLAGS= +analyze_failure err93.vhdl + +clean + +echo "test successful" |