ec25acb399
(option_values): Add new OPTION_PREPROCESSOR_ARG enumerator. (option long_options): Add preprocessor-arg option. (main): Handle it. * doc/binutils.texi: Add documentation for --preprocessor-arg option. * NEWS: Add line about new --preprocessor-arg option for windres. * binutils-all/windres/windres.exp: Add '// cpparg <option>' command to rc file interpretation to specify addition pre-processor commands as script option. * binutils-all/windres/strtab3.rc: New. * binutils-all/windres/strtab3.rsd: New. * binutils-all/windres/README: Add note about cpparg script option. argument |
||
---|---|---|
.. | ||
bmp1.bmp | ||
bmpalign.rc | ||
bmpalign.rsd | ||
capstyle.rc | ||
capstyle.rsd | ||
checkbox.rc | ||
checkbox.rsd | ||
combobox.rc | ||
combobox.rsd | ||
deflang.rc | ||
deflang.rsd | ||
dialog0.rc | ||
dialog0.rsd | ||
dialog1.rc | ||
dialog1.rsd | ||
dialogid.rc | ||
dialogid.rsd | ||
dialogsignature.rc | ||
dialogsignature.rsd | ||
dlgfont.rc | ||
dlgfont.rsd | ||
edittext.rc | ||
edittext.rsd | ||
escapea.rc | ||
escapea.rsd | ||
escapex-2.rc | ||
escapex-2.rsd | ||
escapex.rc | ||
escapex.rsd | ||
html.rc | ||
html.rsd | ||
html1.hm | ||
html2.hm | ||
lang.rc | ||
lang.rsd | ||
listbox.rc | ||
listbox.rsd | ||
messagetable.rc | ||
messagetable.rsd | ||
MSG00001.bin | ||
msupdate | ||
nocaption.rc | ||
nocaption.rsd | ||
printstyle.rc | ||
printstyle.rsd | ||
quoteclass.rc | ||
README | ||
scrollbar.rc | ||
scrollbar.rsd | ||
strtab1.rc | ||
strtab1.rsd | ||
strtab2.rc | ||
strtab2.rsd | ||
strtab3.rc | ||
strtab3.rsd | ||
sublang.rc | ||
sublang.rsd | ||
version.rc | ||
version.rsd | ||
version_cat.rc | ||
version_cat.rsd | ||
windres.exp |
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 *-*-* // cpparg <preprocessor options passed via --preprocessor-arg> 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.