WindowsTestingPlan

Adrian Buehlmann adrian at cadifra.com
Wed Apr 30 10:07:04 CDT 2008


On 30.04.2008 15:11, Paul Moore wrote:
> On 30/04/2008, Adrian Buehlmann <adrian at cadifra.com> wrote:
>> How can I get rid of these yacc output lines?
> 
> You need to run pyshyacc.py in the pysh directory before installing.
> That generates the pyshtables.py file. (I can't get it to work for me
> right now, but I'm pretty sure that's what Patrick told me to do on
> IRC).

Exactly. I did:

> cd
C:\Documents and Settings\adi\My Documents\hg-repos\pysh-official\pysh

> python pyshyacc.py
yacc: Generating LALR parsing table...
yacc: 153 shift/reduce conflicts
yacc: 1 reduce/reduce conflict

This created new files pyshtables.py and parser.out

> cd ..

> python setup.py build
running build
running build_py
copying pysh\pyshtables.py -> build\lib\pysh
running build_scripts

> python setup.py install
running install
running install_lib
copying build\lib\pysh\pyshtables.py -> C:\Python25\Lib\site-packages\pysh
byte-compiling C:\Python25\Lib\site-packages\pysh\pyshtables.py to pyshtables.pyc
running install_scripts
running install_egg_info
Removing C:\Python25\Lib\site-packages\pysh-0.1-py2.5.egg-info
Writing C:\Python25\Lib\site-packages\pysh-0.1-py2.5.egg-info

> pysh

>

(no output!)

Now these yacc test output diff lines are gone when doing "python run-tests.py"
in hg crew repo as well.

Thanks!


More information about the Mercurial-devel mailing list