binutils-gdb/binutils/testsuite/binutils-all/windres/README
DJ Delorie 64e0872741 * config/default.exp (WINDRES): Add.
* binutils-all/windres/windres.exp: New.
* binutils-all/windres/README: New.
* binutils-all/windres/bmp1.bmp: New.
* binutils-all/windres/bmpalign.rc: New.
* binutils-all/windres/bmpalign.rsd: New.
* binutils-all/windres/lang.rc: New.
* binutils-all/windres/lang.rsd: New.
* binutils-all/windres/msupdate: New.
* binutils-all/windres/strtab1.rc: New.
* binutils-all/windres/strtab1.rsd: New.
2001-07-18 23:56:41 +00:00

27 lines
997 B
Plaintext

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.