aboutsummaryrefslogtreecommitdiff
path: root/binutils/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-04-09 17:15:00 +0000
committerNick Clifton <nickc@redhat.com>2002-04-09 17:15:00 +0000
commit420380ba3ec986199ec3af195850d75129c4f229 (patch)
tree6968c5aa66c933b280ae2cd23b05b5225804efb2 /binutils/testsuite
parentb24eb5ac22f573f4f45547872cdadcf7f7c9d682 (diff)
downloadgdb-420380ba3ec986199ec3af195850d75129c4f229.zip
gdb-420380ba3ec986199ec3af195850d75129c4f229.tar.gz
gdb-420380ba3ec986199ec3af195850d75129c4f229.tar.bz2
Don't print empty dialog caption.
Add testcase.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/ChangeLog4
-rw-r--r--binutils/testsuite/binutils-all/windres/nocaption.rc4
-rw-r--r--binutils/testsuite/binutils-all/windres/nocaption.rsd8
3 files changed, 16 insertions, 0 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 63b1a5c..d4eae76 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -16,6 +16,10 @@
in strings.
* binutils-all/windres/escapex.rsd: Expected output
+ * binutils-all/windres/nocaption.rc: New test case dialogs without
+ captions.
+ * binutils-all/windres/nocaption.rsd: Expected output
+
* binutils-all/windres/quoteclass.rc: New test case for quoted
CLASS definitions in DIALOG resources.
diff --git a/binutils/testsuite/binutils-all/windres/nocaption.rc b/binutils/testsuite/binutils-all/windres/nocaption.rc
new file mode 100644
index 0000000..1f3c20f
--- /dev/null
+++ b/binutils/testsuite/binutils-all/windres/nocaption.rc
@@ -0,0 +1,4 @@
+101 DIALOG DISCARDABLE 0, 0, 186, 95
+BEGIN
+ DEFPUSHBUTTON "OK",1,129,7,50,14
+END
diff --git a/binutils/testsuite/binutils-all/windres/nocaption.rsd b/binutils/testsuite/binutils-all/windres/nocaption.rsd
new file mode 100644
index 0000000..36b68c2
--- /dev/null
+++ b/binutils/testsuite/binutils-all/windres/nocaption.rsd
@@ -0,0 +1,8 @@
+ 0000 00000000 20000000 ffff0000 ffff0000 .... ...........
+ 0010 00000000 00000000 00000000 00000000 ................
+ 0020 36000000 20000000 ffff0500 ffff6500 6... .........e.
+ 0030 00000000 10100904 00000000 00000000 ................
+ 0040 00008880 00000000 01000000 0000ba00 ................
+ 0050 5f000000 00000000 01000150 00000000 _..........P....
+ 0060 81000700 32000e00 0100ffff 80004f00 ....2.........O.
+ 0070 4b000000 00000000 K.......