Stephen Lau wrote:
> Hi Forrest,
>       digging up a really old thread here. :) Did you ever integrate this 
> into the onnv-scm tree?
>   
No. I haven't put it back.  Don't know if you accept my solution on this.
> cheers,
> steve
>
> Forrest Wu wrote:
>   
>> I attach the webrev. Please get it for review. Sorry for inconvenient.
>>
>> Richard Lowe wrote:
>>     
>>> Forrest Wu wrote:
>>>
>>>       
>>>> Hi Rich and Stephen,
>>>>         
>>> Steve, can you take this?
>>>
>>>       
>>>> I got a webrev of mofication of HdrChk.py in Check module and the 
>>>> relevant test cases to support both Teamware and Mercurial.
>>>> What I did:
>>>> 1> Modify interface of function hdrchk to support both Teamware and 
>>>> Mercurial.
>>>> 2> Update Checks/HdrChk.py.
>>>> 3> Currently, there is a bug in hdrchk.py. 'hdrchk -a' doesn't work 
>>>> as we expected. Fixed it.
>>>> 4> Add a set of header check test examples, m-hdrchk,  for mercurial.
>>>> 5> Rename hdrchk to t-hdrchk to keep the test examples for teamware.
>>>> 6> Modify test_hdrchk.py to support both Teamware and Mercurial.
>>>>         
>>> Does this work with wx, nightly, 'make check' etc?
>>>
>>>       
>>>> More detail, please see the webrev.
>>>> http://tas.eng/export/pub/Forrest/zfs/scm/scm_stool_1/webrev/
>>>>
>>>> Test results:
>>>> $ python tooltest.py -v HdrChk
>>>> hdrchk with malformed __cplusplus guards ... ok
>>>> hdrchk with missing copyright ... ok
>>>> hdrchk with invalid ending header guard ... ok
>>>> hdrchk with missing header guards ... ok
>>>> hdrchk with relative #include ... ok
>>>> hdrchk with invalid #pragma ident ... ok
>>>> hdrchk leniency with missing __cplusplus guards ... ok
>>>> hdrchk leniency with bad header guard names ... ok
>>>> hdrchk leniency with ident before header guard when lenient or not 
>>>> ... ok
>>>> hdrchk leniency with relative #include ... ok
>>>> hdrchk with missing __cplusplus end guard ... ok
>>>> hdrchk of file not needing __cplusplus guards ... ok
>>>> hdrchk with missing __cplusplus guards ... ok
>>>> hdrchk of valid header ... ok
>>>>
>>>> ----------------------------------------------------------------------
>>>> Ran 14 tests in 0.846s
>>>>
>>>> OK
>>>>
>>>> One issue I run across is I can't put the webrev to cr.grommit.com, 
>>>> although I have created a codereview account in it. Any idea?
>>>>
>>>> $ scp -r ./webrev forrest at cr.grommit.com:webrev-HdrChk
>>>> ssh: cr.grommit.com: node name or service name not known
>>>> lost connection
>>>>
>>>>         
>>> I have no SWAN experience, but I vaguely recall people having proxy 
>>> issues that looked like this.
>>>
>>> -- Rich
>>>
>>> _______________________________________________
>>> scm-migration-dev mailing list
>>> scm-migration-dev at opensolaris.org
>>> http://opensolaris.org/mailman/listinfo/scm-migration-dev
>>>       
>>     
>
>
>   


-- 
Thanks,

Forrest Wu, Sun China Engineering & Research
+86 10 62673294 http://blogs.sun.com/forrest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://mail.opensolaris.org/pipermail/scm-migration-dev/attachments/20070807/f7965999/attachment.html>

Reply via email to