WindowsTestingPlan

Adrian Buehlmann adrian at cadifra.com
Wed Apr 30 12:22:08 UTC 2008


[cc-ing to Mercurial-devel at selenic.com]

I'm trying to get
http://www.selenic.com/mercurial/wiki/index.cgi/WindowsTestingPlan
running on my Windows XP SP2.

I have installed Cygwin per the README of pysh and pysh is installed and
in path.

I cloned the crew repo and applied all of crew-w32.mq

Running the tests from cmd.exe:

> cd
C:\Documents and Settings\adi\My Documents\hg-repos\hg-crew-pysh-testing\tests

> python run-tests.py
WARNING: Did not find prerequisite tool: unzip.exe
WARNING: Did not find prerequisite tool: gunzip.exe
WARNING: cannot run tests with timeouts

ERROR: test-586 output changed
--- Expected output
+++ Test output
@@ -11,3 +11,6 @@
 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
 (branch merge, don't forget to commit)
 C b
+yacc: Generating LALR parsing table...
+yacc: 153 shift/reduce conflicts
+yacc: 1 reduce/reduce conflict
.

and then hangs after

ERROR: test-annotate output changed
--- Expected output
+++ Test output
@@ -1,10 +1,12 @@
 % init
 % commit
 adding a
+adding parser.out
+adding pyshtables.py
 % annotate -c
-8435f90966e4: a
+92553cb6594a: a
 % annotate -cl
-8435f90966e4:1: a
+92553cb6594a:1: a
 % annotate -d
 Thu Jan 01 00:00:01 1970 +0000: a
 % annotate -n
@@ -14,9 +16,9 @@
 % annotate -u
 nobody: a
 % annotate -cdnu
-nobody 0 8435f90966e4 Thu Jan 01 00:00:01 1970 +0000: a
+nobody 0 92553cb6594a Thu Jan 01 00:00:01 1970 +0000: a
 % annotate -cdnul
-nobody 0 8435f90966e4 Thu Jan 01 00:00:01 1970 +0000:1: a
+nobody 0 92553cb6594a Thu Jan 01 00:00:01 1970 +0000:1: a
 % annotate -n b
 2: a
 2: a
@@ -96,3 +98,6 @@
 % generate ABA rename configuration
 % annotate after ABA with follow
 foo: foo
+yacc: Generating LALR parsing table...
+yacc: 153 shift/reduce conflicts
+yacc: 1 reduce/reduce conflict
.
interrupted!


> pysh
yacc: Generating LALR parsing table...
yacc: 153 shift/reduce conflicts
yacc: 1 reduce/reduce conflict
>

How can I get rid of these yacc output lines?

> Python -V
Python 2.5.1

> pskill

PsKill v1.12 - Terminates processes on local or remote systems
..

> ls --version
ls (GNU coreutils) 6.10
Copyright (C) 2008 Free Software Foundation, Inc.
..

> sh --version
GNU bash, version 3.2.33(18)-release (i686-pc-cygwin)
Copyright (C) 2007 Free Software Foundation, Inc.

> yacc
'yacc' is not recognized as an internal or external command,
operable program or batch file.

I have the cygwin tools in C:\cygwin\bin, which is in path.





More information about the Mercurial-devel mailing list