summaryrefslogtreecommitdiffstats
path: root/binutils/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-04-16 08:13:03 +0000
committerNick Clifton <nickc@redhat.com>2002-04-16 08:13:03 +0000
commitea91f8bb52c9214712e01a62e0276700c95ba4df (patch)
treedd4af01991963be5fd9b18ee055374b184525783 /binutils/testsuite
parent091e58c11e06998ccc60faa7165266150a00b436 (diff)
downloadppe42-binutils-ea91f8bb52c9214712e01a62e0276700c95ba4df.tar.gz
ppe42-binutils-ea91f8bb52c9214712e01a62e0276700c95ba4df.zip
Define MEMFLAGS_DISCARDABLE by default for dialogs.
Add a test for this.
Diffstat (limited to 'binutils/testsuite')
-rw-r--r--binutils/testsuite/ChangeLog9
-rw-r--r--binutils/testsuite/binutils-all/windres/dialog0.rc4
-rw-r--r--binutils/testsuite/binutils-all/windres/dialog0.rsd8
-rw-r--r--binutils/testsuite/binutils-all/windres/dialog1.rc5
-rw-r--r--binutils/testsuite/binutils-all/windres/dialog1.rsd8
5 files changed, 34 insertions, 0 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index 30772241e9..74587d08c3 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,12 @@
+2002-04-16 Eric Kohl <ekohl@rz-online.de>
+
+ * binutils-all/windres/dialog0.rc: New test case: Check default
+ attributes for dialogs
+ * binutils-all/windres/dialog0.rsd: New file: Expected output.
+ * binutils-all/windres/dialog1.rc: New test case: Check
+ DISCARDABLE flag is propogated.
+ * binutils-all/windres/dialog1.rsd: New file: Expected output.
+
2002-04-15 Eric Kohl <ekohl@rz-online.de>
* binutils-all/windres/dlgfont.rc: New test case: Checks FONT
diff --git a/binutils/testsuite/binutils-all/windres/dialog0.rc b/binutils/testsuite/binutils-all/windres/dialog0.rc
new file mode 100644
index 0000000000..fba7ed779f
--- /dev/null
+++ b/binutils/testsuite/binutils-all/windres/dialog0.rc
@@ -0,0 +1,4 @@
+101 DIALOG 0, 0, 186, 95
+BEGIN
+ DEFPUSHBUTTON "OK", 1, 129, 7, 50, 14
+END
diff --git a/binutils/testsuite/binutils-all/windres/dialog0.rsd b/binutils/testsuite/binutils-all/windres/dialog0.rsd
new file mode 100644
index 0000000000..270b62234a
--- /dev/null
+++ b/binutils/testsuite/binutils-all/windres/dialog0.rsd
@@ -0,0 +1,8 @@
+ 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/testsuite/binutils-all/windres/dialog1.rc b/binutils/testsuite/binutils-all/windres/dialog1.rc
new file mode 100644
index 0000000000..71deb4a594
--- /dev/null
+++ b/binutils/testsuite/binutils-all/windres/dialog1.rc
@@ -0,0 +1,5 @@
+101 DIALOG DISCARDABLE 0, 0, 186, 95
+BEGIN
+ DEFPUSHBUTTON "OK", 1, 129, 7, 50, 14
+END
+
diff --git a/binutils/testsuite/binutils-all/windres/dialog1.rsd b/binutils/testsuite/binutils-all/windres/dialog1.rsd
new file mode 100644
index 0000000000..270b62234a
--- /dev/null
+++ b/binutils/testsuite/binutils-all/windres/dialog1.rsd
@@ -0,0 +1,8 @@
+ 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.......
OpenPOWER on IntegriCloud