<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello Håkan,<br>
This patch fails testcases on windows: <br>
<pre>=== Ended at 2012-08-27 05:39:08
=== location {wx_basic_SUITE,silent_start}
=== reason = bad argument: foo
in function wx:new/1 (wx.erl, line 114)
in call from wx_basic_SUITE:'-silent_start/1-fun-4-'/0 (wx_basic_SUITE.erl, line 80)
in call from test_server:ts_tc/3 (test_server.erl, line 1874)
in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1404)
in call from test_server:run_test_case_eval/9 (test_server.erl, line 1342)</pre>
Please fix this and mail us back, and we will re-fetch.<br>
<br>
BR Fredrik Gustafsson<br>
Erlang OTP Team<br>
On 08/27/2012 02:16 PM, Henrik Nord wrote:
<blockquote cite="mid:503B6529.2030708@erlang.org" type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<br>
<div class="moz-forward-container"><br>
<br>
-------- Original Message --------
<table class="moz-email-headers-table" cellpadding="0"
cellspacing="0" border="0">
<tbody>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Subject:
</th>
<td>[erlang-patches] Silent start of wx</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">Date:
</th>
<td>Wed, 13 Jun 2012 09:08:14 +0200</td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">From:
</th>
<td>Håkan Mattsson <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:hm@tail-f.com"><hm@tail-f.com></a></td>
</tr>
<tr>
<th align="RIGHT" nowrap="nowrap" valign="BASELINE">To: </th>
<td>Erlang patches <a moz-do-not-send="true"
class="moz-txt-link-rfc2396E"
href="mailto:erlang-patches@erlang.org"><erlang-patches@erlang.org></a></td>
</tr>
</tbody>
</table>
<br>
<br>
I have added a new option to wx:new/1 in order to make it<br>
possible to suppress printouts in case of errors at startup.<br>
With wx:new([{silent_start,true}]) it is possible to silently<br>
test if wx works and otherwise communicate with the user<br>
by other means.<br>
<br>
The new feature can be fetched here<br>
<br>
git fetch git://<a moz-do-not-send="true"
href="http://github.com/hawk/otp.git">github.com/hawk/otp.git</a>
wx_silent_start<br>
<br>
or viewed here<br>
<br>
<a moz-do-not-send="true"
href="https://github.com/hawk/otp/compare/wx_silent_start"
target="_blank">https://github.com/hawk/otp/compare/wx_silent_start</a><br>
<a moz-do-not-send="true"
href="https://github.com/hawk/otp/compare/wx_silent_start.patch"
target="_blank">https://github.com/hawk/otp/compare/wx_silent_start.patch</a><br>
<br clear="all">
/Håkan<br>
<br>
<br>
<br>
</div>
<br>
</blockquote>
<br>
</body>
</html>