http://bugs.winehq.org/show_bug.cgi?id=2845
Summary: wineprefixcreate: Support for WINEDEBUG added Product: Wine Version: 20050310 Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: wine-tools AssignedTo: wine-bugs@winehq.org ReportedBy: wine.dev@web.de
For automatic tests, almost every Script should be aware of WINEDEBUG (parsing stdout)
A modified Version of wineprefixcreate is aware of Class "TRACE, ERR and FIXME" with Channels "all" and "wineprefixcreate", even if mixed example: WINEDEBUG="+all:TRACE-all:TRACE+wineprefixcreate"
Is a Guideline nessesary for a naming to prevent problems, when a script calls another script? Actual I'm testing with the prefix "wp_" (variable) and "WP_" (function). examples: wp_scriptname, wp_do_err, wp_do_trace and wp_do_fixme and replacing "echo" with WP_TRACE, WP_ERR or WP_FIXME
Using the complete Scriptname instead of a Prefix need more typing/filesize but allow different Channels in a script.