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