2001-07-24 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / binutils / testsuite / binutils-all / windres / README
CommitLineData
64e08727
DD
1Instructions for adding tests:
2
3The files *.rc are hand-edited or copied from elsewhere.
4
5The script msupdate is used to generate the *.rsd files, which are
6dumps of the RES formatted output of MSVC's RC utility.
7
8Within the *.rc file, the first N lines beginning with a special
9comment can control the test. Comments are // /* or # (// is
10recommended, as both rc and windres support those). Each line
11contains one command:
12
13 // parse-only
14 // xfail *-*-*
15
16parse-only must preceed any xfail commands, and indicates that a
17comparison with the *.rsd file will not happen. xfail indicates when
18a failure is expected. This should only be used for when you are
19adding a new test that is known to fail because of a bug in windres,
20and it should be removed when the bug is fixed.
21
22You can use pfail or cfail instead of xfail to indicate that only the
23parsing or comparing should be xfailed.
24
25The windres tests only run for ix86 targets, because the
26MSVC-generated *.rsd files are generated for that.
This page took 0.023889 seconds and 4 git commands to generate.