summaryrefslogtreecommitdiffstats
path: root/binutils-2.17/binutils/testsuite/binutils-all/windres
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.17/binutils/testsuite/binutils-all/windres')
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/README26
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/bmp1.bmpbin122 -> 0 bytes
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/bmpalign.rc9
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/bmpalign.rsd38
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/capstyle.rc5
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/capstyle.rsd8
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/checkbox.rc5
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/checkbox.rsd12
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/combobox.rc8
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/combobox.rsd8
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/deflang.rc4
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/deflang.rsd8
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/dialog0.rc4
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/dialog0.rsd8
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/dialog1.rc5
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/dialog1.rsd8
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/dialogid.rc9
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/dialogid.rsd18
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/dialogsignature.rc5
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/dialogsignature.rsd8
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/dlgfont.rc29
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/dlgfont.rsd39
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/edittext.rc4
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/edittext.rsd8
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/escapea.rc7
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/escapea.rsd7
-rwxr-xr-xbinutils-2.17/binutils/testsuite/binutils-all/windres/escapex-2.rc5
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/escapex-2.rsd8
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/escapex.rc4
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/escapex.rsd8
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/lang.rc15
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/lang.rsd10
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/listbox.rc4
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/listbox.rsd8
-rwxr-xr-xbinutils-2.17/binutils/testsuite/binutils-all/windres/msupdate40
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/nocaption.rc4
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/nocaption.rsd8
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/printstyle.rc6
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/printstyle.rsd8
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/quoteclass.rc8
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/scrollbar.rc4
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/scrollbar.rsd8
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/strtab1.rc8
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/strtab1.rsd8
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/sublang.rc5
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/sublang.rsd8
-rw-r--r--binutils-2.17/binutils/testsuite/binutils-all/windres/windres.exp149
47 files changed, 0 insertions, 616 deletions
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/README b/binutils-2.17/binutils/testsuite/binutils-all/windres/README
deleted file mode 100644
index f9903494..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/README
+++ /dev/null
@@ -1,26 +0,0 @@
-Instructions for adding tests:
-
-The files *.rc are hand-edited or copied from elsewhere.
-
-The script msupdate is used to generate the *.rsd files, which are
-dumps of the RES formatted output of MSVC's RC utility.
-
-Within the *.rc file, the first N lines beginning with a special
-comment can control the test. Comments are // /* or # (// is
-recommended, as both rc and windres support those). Each line
-contains one command:
-
- // parse-only
- // xfail *-*-*
-
-parse-only must preceed any xfail commands, and indicates that a
-comparison with the *.rsd file will not happen. xfail indicates when
-a failure is expected. This should only be used for when you are
-adding a new test that is known to fail because of a bug in windres,
-and it should be removed when the bug is fixed.
-
-You can use pfail or cfail instead of xfail to indicate that only the
-parsing or comparing should be xfailed.
-
-The windres tests only run for ix86 targets, because the
-MSVC-generated *.rsd files are generated for that.
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/bmp1.bmp b/binutils-2.17/binutils/testsuite/binutils-all/windres/bmp1.bmp
deleted file mode 100644
index 208a8aa2..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/bmp1.bmp
+++ /dev/null
Binary files differ
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/bmpalign.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/bmpalign.rc
deleted file mode 100644
index 7cb5583d..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/bmpalign.rc
+++ /dev/null
@@ -1,9 +0,0 @@
-LANGUAGE 0, 0
-
-A BITMAP MOVEABLE PURE DISCARDABLE "bmp1.bmp"
-
-AB BITMAP MOVEABLE PURE DISCARDABLE "bmp1.bmp"
-
-ABC BITMAP MOVEABLE PURE DISCARDABLE "bmp1.bmp"
-
-ABCD BITMAP MOVEABLE PURE DISCARDABLE "bmp1.bmp"
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/bmpalign.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/bmpalign.rsd
deleted file mode 100644
index 3ee53965..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/bmpalign.rsd
+++ /dev/null
@@ -1,38 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 6c000000 20000000 ffff0200 41000000 l... .......A...
- 0030 00000000 30100000 00000000 00000000 ....0...........
- 0040 28000000 01000000 01000000 01000400 (...............
- 0050 00000000 04000000 00000000 00000000 ................
- 0060 00000000 00000000 00000000 00008000 ................
- 0070 00800000 00808000 80000000 80008000 ................
- 0080 80800000 c0c0c000 80808000 0000ff00 ................
- 0090 00ff0000 00ffff00 ff000000 ff00ff00 ................
- 00a0 ffff0000 ffffff00 90000000 6c000000 ............l...
- 00b0 24000000 ffff0200 41004200 00000000 $.......A.B.....
- 00c0 00000000 30100000 00000000 00000000 ....0...........
- 00d0 28000000 01000000 01000000 01000400 (...............
- 00e0 00000000 04000000 00000000 00000000 ................
- 00f0 00000000 00000000 00000000 00008000 ................
- 0100 00800000 00808000 80000000 80008000 ................
- 0110 80800000 c0c0c000 80808000 0000ff00 ................
- 0120 00ff0000 00ffff00 ff000000 ff00ff00 ................
- 0130 ffff0000 ffffff00 90000000 6c000000 ............l...
- 0140 24000000 ffff0200 41004200 43000000 $.......A.B.C...
- 0150 00000000 30100000 00000000 00000000 ....0...........
- 0160 28000000 01000000 01000000 01000400 (...............
- 0170 00000000 04000000 00000000 00000000 ................
- 0180 00000000 00000000 00000000 00008000 ................
- 0190 00800000 00808000 80000000 80008000 ................
- 01a0 80800000 c0c0c000 80808000 0000ff00 ................
- 01b0 00ff0000 00ffff00 ff000000 ff00ff00 ................
- 01c0 ffff0000 ffffff00 90000000 6c000000 ............l...
- 01d0 28000000 ffff0200 41004200 43004400 (.......A.B.C.D.
- 01e0 00000000 00000000 30100000 00000000 ........0.......
- 01f0 00000000 28000000 01000000 01000000 ....(...........
- 0200 01000400 00000000 04000000 00000000 ................
- 0210 00000000 00000000 00000000 00000000 ................
- 0220 00008000 00800000 00808000 80000000 ................
- 0230 80008000 80800000 c0c0c000 80808000 ................
- 0240 0000ff00 00ff0000 00ffff00 ff000000 ................
- 0250 ff00ff00 ffff0000 ffffff00 90000000 ................
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/capstyle.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/capstyle.rc
deleted file mode 100644
index 238d21ea..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/capstyle.rc
+++ /dev/null
@@ -1,5 +0,0 @@
-101 DIALOG DISCARDABLE 0, 0, 186, 95
-CAPTION ""
-BEGIN
- DEFPUSHBUTTON "OK",1,129,7,50,14
-END
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/capstyle.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/capstyle.rsd
deleted file mode 100644
index fef81169..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/capstyle.rsd
+++ /dev/null
@@ -1,8 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 36000000 20000000 ffff0500 ffff6500 6... .........e.
- 0030 00000000 30100904 00000000 00000000 ....0...........
- 0040 0000c880 00000000 01000000 0000ba00 ................
- 0050 5f000000 00000000 01000150 00000000 _..........P....
- 0060 81000700 32000e00 0100ffff 80004f00 ....2.........O.
- 0070 4b000000 00000000 K.......
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/checkbox.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/checkbox.rc
deleted file mode 100644
index a941d6a5..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/checkbox.rc
+++ /dev/null
@@ -1,5 +0,0 @@
-501 DIALOGEX DISCARDABLE 0, 0, 168, 137
-BEGIN
- CHECKBOX 108, 1002, 12, 76, 123, 41
- CHECKBOX "tick me", 1001, 12, 15, 123, 41
-END
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/checkbox.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/checkbox.rsd
deleted file mode 100644
index f3ea5a04..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/checkbox.rsd
+++ /dev/null
@@ -1,12 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 72000000 20000000 ffff0500 fffff501 r... ...........
- 0030 00000000 30100904 00000000 00000000 ....0...........
- 0040 0100ffff 00000000 00000000 00008880 ................
- 0050 02000000 0000a800 89000000 00000000 ................
- 0060 00000000 00000000 02000150 0c004c00 ...........P..L.
- 0070 7b002900 ea030000 ffff8000 ffff6c00 {.)...........l.
- 0080 00000000 00000000 00000000 02000150 ...............P
- 0090 0c000f00 7b002900 e9030000 ffff8000 ....{.).........
- 00a0 74006900 63006b00 20006d00 65000000 t.i.c.k. .m.e...
- 00b0 00000000 ....
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/combobox.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/combobox.rc
deleted file mode 100644
index f9f52d18..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/combobox.rc
+++ /dev/null
@@ -1,8 +0,0 @@
-#define CBS_SIMPLE 0x1
-#define WS_TABSTOP 0x10000
-
-501 DIALOG DISCARDABLE 0, 0, 168, 137
-BEGIN
- COMBOBOX 1001,10,10,50,54, CBS_SIMPLE | WS_TABSTOP
-END
-
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/combobox.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/combobox.rsd
deleted file mode 100644
index 509c7382..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/combobox.rsd
+++ /dev/null
@@ -1,8 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 32000000 20000000 ffff0500 fffff501 2... ...........
- 0030 00000000 30100904 00000000 00000000 ....0...........
- 0040 00008880 00000000 01000000 0000a800 ................
- 0050 89000000 00000000 01000150 00000000 ...........P....
- 0060 0a000a00 32003600 e903ffff 85000000 ....2.6.........
- 0070 00000000 ....
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/deflang.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/deflang.rc
deleted file mode 100644
index 1f3c20f5..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/deflang.rc
+++ /dev/null
@@ -1,4 +0,0 @@
-101 DIALOG DISCARDABLE 0, 0, 186, 95
-BEGIN
- DEFPUSHBUTTON "OK",1,129,7,50,14
-END
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/deflang.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/deflang.rsd
deleted file mode 100644
index 270b6223..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/deflang.rsd
+++ /dev/null
@@ -1,8 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 36000000 20000000 ffff0500 ffff6500 6... .........e.
- 0030 00000000 30100904 00000000 00000000 ....0...........
- 0040 00008880 00000000 01000000 0000ba00 ................
- 0050 5f000000 00000000 01000150 00000000 _..........P....
- 0060 81000700 32000e00 0100ffff 80004f00 ....2.........O.
- 0070 4b000000 00000000 K.......
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/dialog0.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/dialog0.rc
deleted file mode 100644
index fba7ed77..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/dialog0.rc
+++ /dev/null
@@ -1,4 +0,0 @@
-101 DIALOG 0, 0, 186, 95
-BEGIN
- DEFPUSHBUTTON "OK", 1, 129, 7, 50, 14
-END
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/dialog0.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/dialog0.rsd
deleted file mode 100644
index 270b6223..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/dialog0.rsd
+++ /dev/null
@@ -1,8 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 36000000 20000000 ffff0500 ffff6500 6... .........e.
- 0030 00000000 30100904 00000000 00000000 ....0...........
- 0040 00008880 00000000 01000000 0000ba00 ................
- 0050 5f000000 00000000 01000150 00000000 _..........P....
- 0060 81000700 32000e00 0100ffff 80004f00 ....2.........O.
- 0070 4b000000 00000000 K.......
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/dialog1.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/dialog1.rc
deleted file mode 100644
index 71deb4a5..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/dialog1.rc
+++ /dev/null
@@ -1,5 +0,0 @@
-101 DIALOG DISCARDABLE 0, 0, 186, 95
-BEGIN
- DEFPUSHBUTTON "OK", 1, 129, 7, 50, 14
-END
-
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/dialog1.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/dialog1.rsd
deleted file mode 100644
index 270b6223..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/dialog1.rsd
+++ /dev/null
@@ -1,8 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 36000000 20000000 ffff0500 ffff6500 6... .........e.
- 0030 00000000 30100904 00000000 00000000 ....0...........
- 0040 00008880 00000000 01000000 0000ba00 ................
- 0050 5f000000 00000000 01000150 00000000 _..........P....
- 0060 81000700 32000e00 0100ffff 80004f00 ....2.........O.
- 0070 4b000000 00000000 K.......
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/dialogid.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/dialogid.rc
deleted file mode 100644
index 43bf1ec8..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/dialogid.rc
+++ /dev/null
@@ -1,9 +0,0 @@
-// Test created based on bug report submitted to binutils mailing list
-// See: http://sources.redhat.com/ml/binutils/2003-03/msg00312.html
-
-101 DIALOGEX 0, 0, 200, 200
-
-BEGIN
-CONTROL 108, -1, "classname", 77, 11, 11, 83, 162
-CONTROL "stringid", 102, "classname", 0x5000120e, 5, 5, 10, 10
-END
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/dialogid.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/dialogid.rsd
deleted file mode 100644
index 1e6bb188..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/dialogid.rsd
+++ /dev/null
@@ -1,18 +0,0 @@
-
-fred.res: file format binary
-
-Contents of section .data:
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 94000000 20000000 ffff0500 ffff6500 .... .........e.
- 0030 00000000 30100904 00000000 00000000 ....0...........
- 0040 0100ffff 00000000 00000000 00008880 ................
- 0050 02000000 0000c800 c8000000 00000000 ................
- 0060 00000000 00000000 4d000050 0b000b00 ........M..P....
- 0070 5300a200 ffff0000 63006c00 61007300 S.......c.l.a.s.
- 0080 73006e00 61006d00 65000000 ffff6c00 s.n.a.m.e.....l.
- 0090 00000000 00000000 00000000 0e120050 ...............P
- 00a0 05000500 0a000a00 66000000 63006c00 ........f...c.l.
- 00b0 61007300 73006e00 61006d00 65000000 a.s.s.n.a.m.e...
- 00c0 73007400 72006900 6e006700 69006400 s.t.r.i.n.g.i.d.
- 00d0 00000000 ....
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/dialogsignature.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/dialogsignature.rc
deleted file mode 100644
index a05ce190..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/dialogsignature.rc
+++ /dev/null
@@ -1,5 +0,0 @@
-101 DIALOG DISCARDABLE 0, 0, 186, 95
-STYLE 1
-BEGIN
- DEFPUSHBUTTON "OK",1,129,7,50,14
-END
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/dialogsignature.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/dialogsignature.rsd
deleted file mode 100644
index a01c14de..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/dialogsignature.rsd
+++ /dev/null
@@ -1,8 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 36000000 20000000 ffff0500 ffff6500 6... .........e.
- 0030 00000000 30100904 00000000 00000000 ....0...........
- 0040 01000000 00000000 01000000 0000ba00 ................
- 0050 5f000000 00000000 01000150 00000000 _..........P....
- 0060 81000700 32000e00 0100ffff 80004f00 ....2.........O.
- 0070 4b000000 00000000 K.......
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/dlgfont.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/dlgfont.rc
deleted file mode 100644
index 9c763e59..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/dlgfont.rc
+++ /dev/null
@@ -1,29 +0,0 @@
-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-2.17/binutils/testsuite/binutils-all/windres/dlgfont.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/dlgfont.rsd
deleted file mode 100644
index 8a25cfa6..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/dlgfont.rsd
+++ /dev/null
@@ -1,39 +0,0 @@
- 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.....
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/edittext.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/edittext.rc
deleted file mode 100644
index 0fd70001..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/edittext.rc
+++ /dev/null
@@ -1,4 +0,0 @@
-501 DIALOG DISCARDABLE 0, 0, 168, 137
-BEGIN
- EDITTEXT 1001, 28, 63, 137, 52
-END
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/edittext.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/edittext.rsd
deleted file mode 100644
index 7132b20f..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/edittext.rsd
+++ /dev/null
@@ -1,8 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 32000000 20000000 ffff0500 fffff501 2... ...........
- 0030 00000000 30100904 00000000 00000000 ....0...........
- 0040 00008880 00000000 01000000 0000a800 ................
- 0050 89000000 00000000 00008150 00000000 ...........P....
- 0060 1c003f00 89003400 e903ffff 81000000 ..?...4.........
- 0070 00000000 ....
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/escapea.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/escapea.rc
deleted file mode 100644
index 0e3e9670..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/escapea.rc
+++ /dev/null
@@ -1,7 +0,0 @@
-20 MENU DISCARDABLE
-BEGIN
- POPUP "&File"
- BEGIN
- MENUITEM "&Open\a^O", 17
- END
-END
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/escapea.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/escapea.rsd
deleted file mode 100644
index c8a7f4eb..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/escapea.rsd
+++ /dev/null
@@ -1,7 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 28000000 20000000 ffff0400 ffff1400 (... ...........
- 0030 00000000 30100904 00000000 00000000 ....0...........
- 0040 00000000 90002600 46006900 6c006500 ......&.F.i.l.e.
- 0050 00008000 11002600 4f007000 65006e00 ......&.O.p.e.n.
- 0060 08005e00 4f000000 ..^.O...
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/escapex-2.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/escapex-2.rc
deleted file mode 100755
index ed35b214..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/escapex-2.rc
+++ /dev/null
@@ -1,5 +0,0 @@
-101 DIALOG DISCARDABLE 0, 0, 186, 95
-BEGIN
- LTEXT "\xB0ABC",-1,23,46,28,8
-END
-
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/escapex-2.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/escapex-2.rsd
deleted file mode 100644
index 774c648c..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/escapex-2.rsd
+++ /dev/null
@@ -1,8 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 3a000000 20000000 ffff0500 ffff6500 :... .........e.
- 0030 00000000 30100904 00000000 00000000 ....0...........
- 0040 00008880 00000000 01000000 0000ba00 ................
- 0050 5f000000 00000000 00000250 00000000 _..........P....
- 0060 17002e00 1c000800 ffffffff 8200b000 ................
- 0070 41004200 43000000 00000000 A.B.C.......
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/escapex.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/escapex.rc
deleted file mode 100644
index 1a025f65..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/escapex.rc
+++ /dev/null
@@ -1,4 +0,0 @@
-101 DIALOG DISCARDABLE 0, 0, 186, 95
-BEGIN
- LTEXT "\xB0",-1,23,46,28,8
-END
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/escapex.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/escapex.rsd
deleted file mode 100644
index 280aead0..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/escapex.rsd
+++ /dev/null
@@ -1,8 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 34000000 20000000 ffff0500 ffff6500 4... .........e.
- 0030 00000000 30100904 00000000 00000000 ....0...........
- 0040 00008880 00000000 01000000 0000ba00 ................
- 0050 5f000000 00000000 00000250 00000000 _..........P....
- 0060 17002e00 1c000800 ffffffff 8200b000 ................
- 0070 00000000 ....
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/lang.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/lang.rc
deleted file mode 100644
index d8943155..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/lang.rc
+++ /dev/null
@@ -1,15 +0,0 @@
-#include "windows.h"
-
-LANGUAGE 0, 0
-
-1 MENU MOVEABLE PURE DISCARDABLE
-LANGUAGE LANG_GERMAN, SUBLANG_GERMAN
-BEGIN
- POPUP "&Datei" { MENUITEM "foo", 1 }
-END
-
-1 MENU MOVEABLE PURE DISCARDABLE
-LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
-BEGIN
- POPUP "&File" { MENUITEM "foo", 1 }
-END
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/lang.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/lang.rsd
deleted file mode 100644
index 9e0045f6..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/lang.rsd
+++ /dev/null
@@ -1,10 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 20000000 20000000 ffff0400 ffff0100 ... ...........
- 0030 00000000 30100704 00000000 00000000 ....0...........
- 0040 00000000 90002600 44006100 74006500 ......&.D.a.t.e.
- 0050 69000000 80000100 66006f00 6f000000 i.......f.o.o...
- 0060 1e000000 20000000 ffff0400 ffff0100 .... ...........
- 0070 00000000 30100904 00000000 00000000 ....0...........
- 0080 00000000 90002600 46006900 6c006500 ......&.F.i.l.e.
- 0090 00008000 01006600 6f006f00 00000000 ......f.o.o.....
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/listbox.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/listbox.rc
deleted file mode 100644
index bb7c121e..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/listbox.rc
+++ /dev/null
@@ -1,4 +0,0 @@
-501 DIALOG DISCARDABLE 0, 0, 168, 137
-BEGIN
- LISTBOX 1001, 28, 63, 137, 52
-END
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/listbox.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/listbox.rsd
deleted file mode 100644
index 4c3eadfc..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/listbox.rsd
+++ /dev/null
@@ -1,8 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 32000000 20000000 ffff0500 fffff501 2... ...........
- 0030 00000000 30100904 00000000 00000000 ....0...........
- 0040 00008880 00000000 01000000 0000a800 ................
- 0050 89000000 00000000 01008050 00000000 ...........P....
- 0060 1c003f00 89003400 e903ffff 83000000 ..?...4.........
- 0070 00000000 ....
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/msupdate b/binutils-2.17/binutils/testsuite/binutils-all/windres/msupdate
deleted file mode 100755
index 31ceb07e..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/msupdate
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/sh
-# Copyright 2001 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-
-# Please email any bugs, comments, and/or additions to this file to:
-# bug-dejagnu@prep.ai.mit.edu
-
-# Written by DJ Delorie <dj@redhat.com>
-
-# Run this on a machine with Cygwin and Microsoft Visual C to create
-# the RES files we match against.
-
-RC="rc"
-if test x"$1" != x""
-then
- RC="$1"
-fi
-
-for i in *.rc
-do
- o=`echo $i | sed s/.rc/.res/`
- d=`echo $i | sed s/.rc/.rsd/`
- echo "$i -> $o -> $d"
- $RC /fo$o $i
- objdump -b binary -s $o | sed -n '/^ [0-9a-f][0-9a-f]* /p' > $d
- rm $o
-done
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/nocaption.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/nocaption.rc
deleted file mode 100644
index 1f3c20f5..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/nocaption.rc
+++ /dev/null
@@ -1,4 +0,0 @@
-101 DIALOG DISCARDABLE 0, 0, 186, 95
-BEGIN
- DEFPUSHBUTTON "OK",1,129,7,50,14
-END
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/nocaption.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/nocaption.rsd
deleted file mode 100644
index 270b6223..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/nocaption.rsd
+++ /dev/null
@@ -1,8 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 36000000 20000000 ffff0500 ffff6500 6... .........e.
- 0030 00000000 30100904 00000000 00000000 ....0...........
- 0040 00008880 00000000 01000000 0000ba00 ................
- 0050 5f000000 00000000 01000150 00000000 _..........P....
- 0060 81000700 32000e00 0100ffff 80004f00 ....2.........O.
- 0070 4b000000 00000000 K.......
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/printstyle.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/printstyle.rc
deleted file mode 100644
index 0066c995..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/printstyle.rc
+++ /dev/null
@@ -1,6 +0,0 @@
-101 DIALOG DISCARDABLE 0, 0, 186, 95
-STYLE 0
-BEGIN
- DEFPUSHBUTTON "OK",1,129,7,50,14
-END
-
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/printstyle.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/printstyle.rsd
deleted file mode 100644
index 6a4a919c..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/printstyle.rsd
+++ /dev/null
@@ -1,8 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 36000000 20000000 ffff0500 ffff6500 6... .........e.
- 0030 00000000 30100904 00000000 00000000 ....0...........
- 0040 00000000 00000000 01000000 0000ba00 ................
- 0050 5f000000 00000000 01000150 00000000 _..........P....
- 0060 81000700 32000e00 0100ffff 80004f00 ....2.........O.
- 0070 4b000000 00000000 K.......
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/quoteclass.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/quoteclass.rc
deleted file mode 100644
index c1f98e19..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/quoteclass.rc
+++ /dev/null
@@ -1,8 +0,0 @@
-// parse-only
-
-101 DIALOG DISCARDABLE 0, 0, 186, 95
-CLASS "myclass"
-BEGIN
- DEFPUSHBUTTON "OK",1,129,7,50,14
-END
-
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/scrollbar.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/scrollbar.rc
deleted file mode 100644
index 9391d1ab..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/scrollbar.rc
+++ /dev/null
@@ -1,4 +0,0 @@
-501 DIALOGEX 0, 0, 168, 137
-BEGIN
- SCROLLBAR 1001,43,68,105,10,0,0,0x81f503e9
-END
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/scrollbar.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/scrollbar.rsd
deleted file mode 100644
index c509c4cd..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/scrollbar.rsd
+++ /dev/null
@@ -1,8 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 40000000 20000000 ffff0500 fffff501 @... ...........
- 0030 00000000 30100904 00000000 00000000 ....0...........
- 0040 0100ffff 00000000 00000000 00008880 ................
- 0050 01000000 0000a800 89000000 00000000 ................
- 0060 e903f581 00000000 00000050 2b004400 ...........P+.D.
- 0070 69000a00 e9030000 ffff8400 00000000 i...............
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/strtab1.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/strtab1.rc
deleted file mode 100644
index a1a246d8..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/strtab1.rc
+++ /dev/null
@@ -1,8 +0,0 @@
-#include "windows.h"
-
-LANGUAGE 0, 0
-
-STRINGTABLE MOVEABLE PURE DISCARDABLE
-BEGIN
- 1 "hello, world"
-END
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/strtab1.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/strtab1.rsd
deleted file mode 100644
index 4d610739..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/strtab1.rsd
+++ /dev/null
@@ -1,8 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 38000000 20000000 ffff0600 ffff0100 8... ...........
- 0030 00000000 30100000 00000000 00000000 ....0...........
- 0040 00000c00 68006500 6c006c00 6f002c00 ....h.e.l.l.o.,.
- 0050 20007700 6f007200 6c006400 00000000 .w.o.r.l.d.....
- 0060 00000000 00000000 00000000 00000000 ................
- 0070 00000000 00000000 ........
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/sublang.rc b/binutils-2.17/binutils/testsuite/binutils-all/windres/sublang.rc
deleted file mode 100644
index a37921b3..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/sublang.rc
+++ /dev/null
@@ -1,5 +0,0 @@
-LANGUAGE 9, 1
-101 DIALOG DISCARDABLE 0, 0, 186, 95
-BEGIN
- DEFPUSHBUTTON "OK",1,129,7,50,14
-END
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/sublang.rsd b/binutils-2.17/binutils/testsuite/binutils-all/windres/sublang.rsd
deleted file mode 100644
index 270b6223..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/sublang.rsd
+++ /dev/null
@@ -1,8 +0,0 @@
- 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
- 0010 00000000 00000000 00000000 00000000 ................
- 0020 36000000 20000000 ffff0500 ffff6500 6... .........e.
- 0030 00000000 30100904 00000000 00000000 ....0...........
- 0040 00008880 00000000 01000000 0000ba00 ................
- 0050 5f000000 00000000 01000150 00000000 _..........P....
- 0060 81000700 32000e00 0100ffff 80004f00 ....2.........O.
- 0070 4b000000 00000000 K.......
diff --git a/binutils-2.17/binutils/testsuite/binutils-all/windres/windres.exp b/binutils-2.17/binutils/testsuite/binutils-all/windres/windres.exp
deleted file mode 100644
index 4189c551..00000000
--- a/binutils-2.17/binutils/testsuite/binutils-all/windres/windres.exp
+++ /dev/null
@@ -1,149 +0,0 @@
-# Copyright 2001, 2003, 2004 Free Software Foundation, Inc.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
-
-# Please email any bugs, comments, and/or additions to this file to:
-# bug-dejagnu@prep.ai.mit.edu
-
-# Written by DJ Delorie <dj@redhat.com>
-
-if {![istarget "i*86-*-*"]} {
- return
-}
-
-if {![istarget "i*86-*-*pe*"] \
- && ![istarget "i*86-*-cygwin*"] \
- && ![istarget "i*86-*-mingw32*"] } {
- set target_xfail "yes"
-} else {
- set target_xfail "no"
-}
-
-if {![info exists WINDRES]} then {
- return
-}
-
-if {[which $WINDRES] == 0} then {
- return
-}
-
-set wr "$WINDRES --include-dir $srcdir/$subdir"
-
-if [file exists "$srcdir/../../winsup/w32api/include"] {
- set wr "$wr --include-dir $srcdir/../../winsup/w32api/include"
- set target_xfail "no"
-} else {
- send_log "\nWarning: Assuming windres can find the win32 headers\n\n"
-}
-
-set res_list [lsort [glob -nocomplain $srcdir/$subdir/*.rc]]
-
-proc oneline { file } {
- while { 1 } {
- if { [gets $file line] == -1 } {
- return ""
- }
- if [regexp "^ \[0-9a-z\]\[0-9a-z\]* " $line] {
- return $line
- }
- }
-}
-
-foreach res $res_list {
- set sroot [file rootname $res]
- set broot [file tail $sroot]
- set done 0
-
- set rc [open $res]
- while { [gets $rc line] != -1 } {
- if ![regexp "^(//|/\*|#)" $line] {
- break
- }
- if [regexp "\[xp\]fail *(\[^ \]*)" $line junk sys] {
- setup_xfail $sys
- continue
- }
- }
-
- if { "$broot" != "bmpalign" && "$target_xfail" == "yes" } {
- setup_xfail *-*
- }
-
- verbose "$wr -J rc -O res $res tmpdir/$broot.res" 1
- catch "exec $wr -J rc -O res $res tmpdir/$broot.res" err
-
- if ![string match "" $err] then {
- send_log "$err\n"
- verbose "$err" 1
- fail "windres/$broot (parse)"
- continue
- }
- pass "windres/$broot (parse)"
-
- set rc [open $res]
- while { [gets $rc line] != -1 } {
- if ![regexp "^(//|/\*|#)" $line] {
- break
- }
- if [regexp "parse-only" $line] {
- file delete "tmpdir/$broot.res"
- set done 1
- break
- }
- if [regexp "\[xc\]fail *(\[^ \]*)" $line junk sys] {
- setup_xfail $sys
- continue
- }
- }
- if { $done != 0 } {
- continue
- }
-
- if { "$broot" != "bmpalign" && "$target_xfail" == "yes" } {
- setup_xfail *-*
- }
-
- verbose "$OBJDUMP -b binary -s tmpdir/$broot.res > tmpdir/$broot.dump" 1
- catch "exec $OBJDUMP -b binary -s tmpdir/$broot.res > tmpdir/$broot.dump" err
-
- if ![string match "" $err] then {
- send_log "$err\n"
- verbose "$err" 1
- fail "windres/$broot (compare)"
- continue
- }
-
- set pat [open "$sroot.rsd"]
- set out [open "tmpdir/$broot.dump"]
- set patline "foo"
-
- while { ![string match $patline ""] } {
- set patline [oneline $pat]
- set outline [oneline $out]
-
- if ![string match $patline $outline] {
- send_log "< $patline\n"
- send_log "> $outline\n"
- fail "windres/$broot (compare)"
- set done 1
- break
- }
- }
- if { $done == 0 } {
- pass "windres/$broot (compare)"
- file delete "tmpdir/$broot.res"
- file delete "tmpdir/$broot.dump"
- }
-}