[pypy-svn] buildbot commit e16954e1fdd3: fix test_pypylist
Bitbucket
commits-noreply at bitbucket.org
Tue Dec 14 09:24:15 CET 2010
# HG changeset patch -- Bitbucket.org
# Project buildbot
# URL http://bitbucket.org/pypy/buildbot/overview
# User Antonio Cuni <anto.cuni at gmail.com>
# Date 1292315050 -3600
# Node ID e16954e1fdd3a37a263ae583fecac73e7dd8d374
# Parent cb83f6b653e624b671ea80fd59bca231db6e3a64
fix test_pypylist
--- a/bot2/pypybuildbot/test/test_pypylist.py
+++ b/bot2/pypybuildbot/test/test_pypylist.py
@@ -25,6 +25,7 @@ def test_pypytarball_hg():
def test_invalid_filename():
t = PyPyTarball('foo')
+ assert t.vcs == None
assert t.filename == 'foo'
assert t.exe == None
assert t.backend == None
@@ -32,7 +33,7 @@ def test_invalid_filename():
assert t.rev == -1
assert t.platform == None
t2 = PyPyTarball('pypy-c-jit-75654-linux.tar.bz2')
- assert t < t2
+ assert t.key() < t2.key()
def test_sort():
files = map(PyPyTarball, [
@@ -81,7 +82,7 @@ def load_BuildmasterConfig():
def test_builder_names():
BuildmasterConfig = load_BuildmasterConfig()
builders = [b['name'] for b in BuildmasterConfig['builders']]
- known_exceptions = set(['own-win-x86-32'])
+ known_exceptions = set(['pypy-c-jit-macosx-x86-32'])
def check_builder_names(t, expected_own, expected_app):
own, app = t.get_builder_names()
assert own == expected_own
More information about the Pypy-commit
mailing list