summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gna/ticket35/ascii7.vhdl4
-rw-r--r--testsuite/gna/ticket35/latin1.vhdl6
-rwxr-xr-xtestsuite/gna/ticket35/testsuite.sh14
-rw-r--r--testsuite/gna/ticket35/utf16be.vhdlbin0 -> 136 bytes
-rw-r--r--testsuite/gna/ticket35/utf16le.vhdlbin0 -> 136 bytes
-rw-r--r--testsuite/gna/ticket35/utf8.vhdl5
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
new file mode 100644
index 0000000..404b689
--- /dev/null
+++ b/testsuite/gna/ticket35/utf16be.vhdl
Binary files differ
diff --git a/testsuite/gna/ticket35/utf16le.vhdl b/testsuite/gna/ticket35/utf16le.vhdl
new file mode 100644
index 0000000..0543136
--- /dev/null
+++ b/testsuite/gna/ticket35/utf16le.vhdl
Binary files differ
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;
+