<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=text/html;charset=gb2312 http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16466"></HEAD>
<BODY style="PADDING-LEFT: 10px; PADDING-RIGHT: 10px; PADDING-TOP: 15px" 
id=MailContainerBody leftMargin=0 topMargin=0 CanvasTabStop="true" 
name="Compose message area">
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>according to <A 
href="http://web.archiveorange.com/archive/v/cZ0K2Jye2cyGARzh9OlA">http://web.archiveorange.com/archive/v/cZ0K2Jye2cyGARzh9OlA</A><BR>after 
patch pypy/conftest.py, pytest.py now support --cc option:<BR>&nbsp;pytest.py 
--cc=mingw32-gcc pypy/translator/test/test_exceptiontransform.py<BR>but we still 
can not use --cc option on specify function:<BR>&nbsp;pytest.py --cc=mingw32-gcc 
pypy/translator/test/test_exceptiontransform.py::TestOOType::()::test_simple</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Calibri>this is how to add this support:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Calibri>*** pypy-pypy-4a38b43757e3\_pytest\config.py&nbsp;Sat 
May 26 09:16:32 2012<BR>--- 
pypy-pypy-4a38b43757e3.bookaa\_pytest\config.py&nbsp;Sat May 26 09:26:36 
2012<BR>***************<BR>*** 157,162 ****<BR>--- 157,164 
----<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; for arg in args + 
[current]:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if hasattr(arg, 'startswith') and 
arg.startswith("--"):<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
continue<BR>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if arg.find('::') != 
-1:<BR>+&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
arg = 
arg[:arg.find('::')]<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
anchor = current.join(arg, 
abs=1)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
if anchor.check(): # we found some file 
object<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
self._path2confmods[None] = self.getconftestmodules(anchor)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Calibri>now we can do 
this:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pytest.py --cc=mingw32-gcc 
pypy/translator/test/test_exceptiontransform.py::TestOOType::()::test_simple<BR>and 
this<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pypy&gt;test_all.py --cc=mingw32-gcc 
translator/test/test_exceptiontransform.py::TestOOType::()::test_simple</FONT></DIV>
<DIV><FONT face=Calibri><BR>but, I can not pass the test, with or withou --cc 
option. Error message:</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>E&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AssertionError: 
ilasm failed to assemble (ilasm):<BR>E<BR>E&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Microsoft (R) .NET Framework IL Assembler.&nbsp; Version 
2.0.50727.4927<BR>E&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Copyright (c) Microsoft 
Corporation.&nbsp; All rights reserved.<BR>E&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Assembling 'e:\tem\usession-default-137\main.il'&nbsp; to EXE --&gt; 
'e:\tem\usession-default-137\main.exe'<BR>E&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Source file is ANSI<BR>E<BR>E&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ***** FAILURE 
*****<BR>E<BR>E&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
e:\tem\usession-default-137\main.il(161) : error : syntax error at token '[' 
in:&nbsp;&nbsp;&nbsp;&nbsp; call [mscorlib]System.Object 
rpyexc_fetch_value()</FONT></DIV>
<DIV><FONT face=Calibri></FONT>&nbsp;</DIV>
<DIV><FONT face=Calibri>any advice 
?<BR>thanks,<BR>Bookaa</FONT></DIV></BODY></HTML>