[PATCH 3 of 3] run-tests: redefine --with-hg so it takes the 'hg' script to run

Greg Ward greg-hg at gerg.ca
Fri May 29 07:40:28 CDT 2009


On Sun, May 24, 2009 at 3:59 AM, Matt Mackall <mpm at selenic.com> wrote:
> On Sun, 2009-05-24 at 02:42 -0500, Matt Mackall wrote:
>> On Wed, 2009-05-20 at 13:20 +0000, Greg Ward wrote:
>> > # HG changeset patch
>> > # User Greg Ward <greg-hg at gerg.ca>
>> > # Date 1242825523 14400
>> > # Node ID 607155d95883b8824055a986bbce4d3523f4917c
>> > # Parent  7d5183b38aa1a33c4b5c50b91f3d39eece481b9b
>> > run-tests: redefine --with-hg so it takes the 'hg' script to run.
>>
>> Queued, thanks.
>
> Died horribly here with:
>
> ./run-tests.py -j 5 <some long list of tests>

Arghh.  Confirmed.  Assuming that your "died horribly" is the same as
what I'm seeing, namely:

"""
running clean
'build/lib.linux-i686-2.6' does not exist -- can't clean it
'build/bdist.linux-i686' does not exist -- can't clean it
'build/scripts-2.6' does not exist -- can't clean it
running install
running build
running build_py
[...distutils output...]
error: could not create 'build/lib.linux-i686-2.6/mercurial/hgweb': File exists
Traceback (most recent call last):
  File "./run-tests.py", line 746, in <module>
    main()
  File "./run-tests.py", line 740, in main
    runchildren(options, tests)
  File "./run-tests.py", line 565, in runchildren
    test, skip, fail = map(int, l[:3])
ValueError: need more than 0 values to unpack
"""

Sorry to waste your time with a bad patch.  Same bug in the v4 that I
sent yesterday, so please everyone ignore that.  Will fix and
resend...

Greg



More information about the Mercurial-devel mailing list