aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/ChangeLog6
-rw-r--r--binutils/testsuite/binutils-all/windres/dlgfont.rc29
-rw-r--r--binutils/testsuite/binutils-all/windres/dlgfont.rsd39
3 files changed, 74 insertions, 0 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 8b24f7c..3077224 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2002-04-15 Eric Kohl <ekohl@rz-online.de>
+
+ * binutils-all/windres/dlgfont.rc: New test case: Checks FONT
+ statement in DIALOG and DIALOGEX resources.
+ * binutils-all/windres/dlgfont.rsd: Expected output.
+
2002-04-11 Nick Clifton <nickc@cambridge.redhat.com>
* binutils-all/ar.exp (long_filenames): Use 'file delete' instead
diff --git a/binutils/testsuite/binutils-all/windres/dlgfont.rc b/binutils/testsuite/binutils-all/windres/dlgfont.rc
new file mode 100644
index 0000000..9c763e5
--- /dev/null
+++ b/binutils/testsuite/binutils-all/windres/dlgfont.rc
@@ -0,0 +1,29 @@
+101 DIALOG DISCARDABLE 0, 0, 186, 95
+FONT 8, "Tahoma"
+BEGIN
+ DEFPUSHBUTTON "OK", 1, 129, 7, 50, 14
+END
+
+102 DIALOGEX DISCARDABLE 0, 0, 186, 95
+FONT 8, "Tahoma"
+BEGIN
+ DEFPUSHBUTTON "OK", 1, 129, 7, 50, 14
+END
+
+103 DIALOGEX DISCARDABLE 0, 0, 186, 95
+FONT 8, "Tahoma", 0
+BEGIN
+ DEFPUSHBUTTON "OK", 1, 129, 7, 50, 14
+END
+
+104 DIALOGEX DISCARDABLE 0, 0, 186, 95
+FONT 8, "Tahoma", 0, 0
+BEGIN
+ DEFPUSHBUTTON "OK", 1, 129, 7, 50, 14
+END
+
+105 DIALOGEX DISCARDABLE 0, 0, 186, 95
+FONT 8, "Tahoma", 0, 0, 1
+BEGIN
+ DEFPUSHBUTTON "OK", 1, 129, 7, 50, 14
+END
diff --git a/binutils/testsuite/binutils-all/windres/dlgfont.rsd b/binutils/testsuite/binutils-all/windres/dlgfont.rsd
new file mode 100644
index 0000000..8a25cfa
--- /dev/null
+++ b/binutils/testsuite/binutils-all/windres/dlgfont.rsd
@@ -0,0 +1,39 @@
+ 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
+ 0010 00000000 00000000 00000000 00000000 ................
+ 0020 46000000 20000000 ffff0500 ffff6500 F... .........e.
+ 0030 00000000 30100904 00000000 00000000 ....0...........
+ 0040 40008880 00000000 01000000 0000ba00 @...............
+ 0050 5f000000 00000000 08005400 61006800 _.........T.a.h.
+ 0060 6f006d00 61000000 01000150 00000000 o.m.a......P....
+ 0070 81000700 32000e00 0100ffff 80004f00 ....2.........O.
+ 0080 4b000000 00000000 58000000 20000000 K.......X... ...
+ 0090 ffff0500 ffff6600 00000000 30100904 ......f.....0...
+ 00a0 00000000 00000000 0100ffff 00000000 ................
+ 00b0 00000000 40008880 01000000 0000ba00 ....@...........
+ 00c0 5f000000 00000000 08000000 00015400 _.............T.
+ 00d0 61006800 6f006d00 61000000 00000000 a.h.o.m.a.......
+ 00e0 00000000 01000150 81000700 32000e00 .......P....2...
+ 00f0 01000000 ffff8000 4f004b00 00000000 ........O.K.....
+ 0100 58000000 20000000 ffff0500 ffff6700 X... .........g.
+ 0110 00000000 30100904 00000000 00000000 ....0...........
+ 0120 0100ffff 00000000 00000000 40008880 ............@...
+ 0130 01000000 0000ba00 5f000000 00000000 ........_.......
+ 0140 08000000 00015400 61006800 6f006d00 ......T.a.h.o.m.
+ 0150 61000000 00000000 00000000 01000150 a..............P
+ 0160 81000700 32000e00 01000000 ffff8000 ....2...........
+ 0170 4f004b00 00000000 58000000 20000000 O.K.....X... ...
+ 0180 ffff0500 ffff6800 00000000 30100904 ......h.....0...
+ 0190 00000000 00000000 0100ffff 00000000 ................
+ 01a0 00000000 40008880 01000000 0000ba00 ....@...........
+ 01b0 5f000000 00000000 08000000 00015400 _.............T.
+ 01c0 61006800 6f006d00 61000000 00000000 a.h.o.m.a.......
+ 01d0 00000000 01000150 81000700 32000e00 .......P....2...
+ 01e0 01000000 ffff8000 4f004b00 00000000 ........O.K.....
+ 01f0 58000000 20000000 ffff0500 ffff6900 X... .........i.
+ 0200 00000000 30100904 00000000 00000000 ....0...........
+ 0210 0100ffff 00000000 00000000 40008880 ............@...
+ 0220 01000000 0000ba00 5f000000 00000000 ........_.......
+ 0230 08000000 00015400 61006800 6f006d00 ......T.a.h.o.m.
+ 0240 61000000 00000000 00000000 01000150 a..............P
+ 0250 81000700 32000e00 01000000 ffff8000 ....2...........
+ 0260 4f004b00 00000000 O.K.....