expected test failures?

Neal Becker ndbecker2 at gmail.com
Fri Nov 20 08:57:27 CST 2009


On Friday 20 November 2009, Mads Kiilerich wrote:
> On 11/20/2009 01:42 PM, Neal Becker wrote:
> > Before pushing 1.4 to fedora updates, I want to verify the test results.
> >
> > There are a bunch of failures, but looking at the diffs, it looks to me
> > that the differences are just line wrapping differences.
> >
> > I'm guessing these are ignorable?  I hope these tests can be fixed.
> >
> > Skipped test-casefolding: missing feature: case insensitive file system
> > Skipped test-convert-baz: missing feature: GNU Arch baz client
> > Skipped test-convert-darcs: missing feature: darcs client
> > Skipped test-convert-mtn: missing feature: monotone client (>  0.31)
> > Skipped test-convert-p4: missing feature: Perforce server and client
> > Skipped test-convert-p4-filetypes: missing feature: Perforce server and
> > client
> > Skipped test-convert-tla: missing feature: GNU Arch tla client
> > Skipped test-no-symlinks: system supports symbolic links
> > Failed test-convert: output changed
> > Failed test-dispatch: output changed
> > Failed test-extdiff: output changed
> > Failed test-help: output changed
> > Failed test-mq: output changed
> > Failed test-notify: output changed
> > Failed test-rebase-parameters: output changed
> > Failed test-record: output changed
> > # Ran 355 tests, 8 skipped, 8 failed.
> 
> I don't see any failures, neither on F11 nor F12 (except
> test-convert-svn-branches which is known).
> 
> Exactly how do you run the tests?

I have the 1.4 rpm installed, but this doesn't include the tests.  So I did 
(in my fedora source directory):

> make prep
Downloading mercurial-1.4.tar.gz...
Copying from ../mercurial-1.4.tar.gz
-rw-rw-r-- 2 nbecker nbecker 1914030 2009-11-16 16:41 mercurial-1.4.tar.gz
rpmbuild --define "_sourcedir /home/nbecker/fedora/mercurial/F-12" --define 
"_specdir /home/nbecker/fedora/mercurial/F-12" --define "_builddir 
/home/nbecker/fedora/mercurial/F-12" --define "_srcrpmdir 
/home/nbecker/fedora/mercurial/F-12" --define "_rpmdir 
/home/nbecker/fedora/mercurial/F-12" --define "dist .fc12" --define "fedora 12" 
--define "fc12 1" --nodeps -bp mercurial.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2NepeG
+ umask 022
+ cd /home/nbecker/fedora/mercurial/F-12
+ LANG=C
+ export LANG
+ unset DISPLAY
+ cd /home/nbecker/fedora/mercurial/F-12
+ rm -rf mercurial-1.4
+ /usr/bin/gzip -dc /home/nbecker/fedora/mercurial/F-12/mercurial-1.4.tar.gz
+ /bin/tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd mercurial-1.4
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0

Now I have the source.
 cd mercurial-1.4
 cd tests
python run-tests.py


These failures all appear to be line wrapping.  Example:

> Can you post (fpaste?) the failures?
> 
> /Mads
> 

Let me see...


More information about the Mercurial-devel mailing list