diff options
author | Tristan Gingold | 2015-01-21 06:00:51 +0100 |
---|---|---|
committer | Tristan Gingold | 2015-01-21 06:00:51 +0100 |
commit | b8043a3082ea11d891024f5527a02592ec9d9457 (patch) | |
tree | ddc24479a3f2572a314f36bf8cb385242ea6996e /testsuite/gna/ticket35 | |
parent | b2882d7837aa57b0af6c7dd57e30e19b07cce900 (diff) | |
download | ghdl-b8043a3082ea11d891024f5527a02592ec9d9457.tar.gz ghdl-b8043a3082ea11d891024f5527a02592ec9d9457.tar.bz2 ghdl-b8043a3082ea11d891024f5527a02592ec9d9457.zip |
Add testcase for ticket35 (UTF encoding).
Diffstat (limited to 'testsuite/gna/ticket35')
-rw-r--r-- | testsuite/gna/ticket35/ascii7.vhdl | 4 | ||||
-rw-r--r-- | testsuite/gna/ticket35/latin1.vhdl | 6 | ||||
-rwxr-xr-x | testsuite/gna/ticket35/testsuite.sh | 14 | ||||
-rw-r--r-- | testsuite/gna/ticket35/utf16be.vhdl | bin | 0 -> 136 bytes | |||
-rw-r--r-- | testsuite/gna/ticket35/utf16le.vhdl | bin | 0 -> 136 bytes | |||
-rw-r--r-- | testsuite/gna/ticket35/utf8.vhdl | 5 |
6 files changed, 29 insertions, 0 deletions
diff --git a/testsuite/gna/ticket35/ascii7.vhdl b/testsuite/gna/ticket35/ascii7.vhdl new file mode 100644 index 0000000..d1944b3 --- /dev/null +++ b/testsuite/gna/ticket35/ascii7.vhdl @@ -0,0 +1,4 @@ +-- This is standard 7bit ascii encoding + +package p1 is +end p1; diff --git a/testsuite/gna/ticket35/latin1.vhdl b/testsuite/gna/ticket35/latin1.vhdl new file mode 100644 index 0000000..b934cbc --- /dev/null +++ b/testsuite/gna/ticket35/latin1.vhdl @@ -0,0 +1,6 @@ +-- This is iso 8859-1 (latin-1) encoding. élève. +-- Last chars of the last line are (hexa): e9 6c e8 76 65 2e + +package p1 is +end p1; + diff --git a/testsuite/gna/ticket35/testsuite.sh b/testsuite/gna/ticket35/testsuite.sh new file mode 100755 index 0000000..dcfb1e4 --- /dev/null +++ b/testsuite/gna/ticket35/testsuite.sh @@ -0,0 +1,14 @@ +#! /bin/sh + +. ../../testenv.sh + +analyze ascii7.vhdl +analyze latin1.vhdl + +analyze_failure utf8.vhdl +analyze_failure utf16be.vhdl +analyze_failure utf16le.vhdl + +clean + +echo "Test successful" diff --git a/testsuite/gna/ticket35/utf16be.vhdl b/testsuite/gna/ticket35/utf16be.vhdl Binary files differnew file mode 100644 index 0000000..404b689 --- /dev/null +++ b/testsuite/gna/ticket35/utf16be.vhdl diff --git a/testsuite/gna/ticket35/utf16le.vhdl b/testsuite/gna/ticket35/utf16le.vhdl Binary files differnew file mode 100644 index 0000000..0543136 --- /dev/null +++ b/testsuite/gna/ticket35/utf16le.vhdl diff --git a/testsuite/gna/ticket35/utf8.vhdl b/testsuite/gna/ticket35/utf8.vhdl new file mode 100644 index 0000000..3566435 --- /dev/null +++ b/testsuite/gna/ticket35/utf8.vhdl @@ -0,0 +1,5 @@ +-- This is utf-8 encoding, with a BOM. + +package p1 is +end p1; + |