Rev 2114: (mbp) Better test progress bar in /home/pqm/archives/thelove/bzr/+trunk/

Canonical.com Patch Queue Manager pqm at pqm.ubuntu.com
Thu Nov 2 08:06:12 GMT 2006


------------------------------------------------------------
revno: 2114
revision-id: pqm at pqm.ubuntu.com-20061102080611-5462d2713bf4bc45
parent: pqm at pqm.ubuntu.com-20061102075126-af381cad72be3c1e
parent: mbp at sourcefrog.net-20061102074725-411568c4cb91edc3
committer: Canonical.com Patch Queue Manager<pqm at pqm.ubuntu.com>
branch nick: +trunk
timestamp: Thu 2006-11-02 08:06:11 +0000
message:
  (mbp) Better test progress bar
modified:
  bzrlib/builtins.py             builtins.py-20050830033751-fc01482b9ca23183
  bzrlib/progress.py             progress.py-20050610070202-df9faaab791964c0
  bzrlib/tests/__init__.py       selftest.py-20050531073622-8d0e3c8845c97a64
  bzrlib/tests/blackbox/test_selftest.py test_selftest.py-20060123024542-01c5f1bbcb596d78
  bzrlib/tests/test_selftest.py  test_selftest.py-20051202044319-c110a115d8c0456a
  bzrlib/ui/__init__.py          ui.py-20050824083933-8cf663c763ba53a9
    ------------------------------------------------------------
    merged: mbp at sourcefrog.net-20061102074725-411568c4cb91edc3
    parent: mbp at sourcefrog.net-20061031013031-da3047f0d9fb1f64
    committer: Martin Pool <mbp at sourcefrog.net>
    branch nick: test-progress
    timestamp: Thu 2006-11-02 18:47:25 +1100
    message:
      Fix abbreviated names for benchmark display
    ------------------------------------------------------------
    merged: mbp at sourcefrog.net-20061031013031-da3047f0d9fb1f64
    parent: mbp at sourcefrog.net-20061031011534-105c53a11815f47b
    committer: mbp at sourcefrog.net
    branch nick: test-progress
    timestamp: Tue 2006-10-31 12:30:31 +1100
    message:
      Use regular progress-bar classes, not a special mechanism
    ------------------------------------------------------------
    merged: mbp at sourcefrog.net-20061031011534-105c53a11815f47b
    parent: mbp at sourcefrog.net-20061029070801-d282fdd88b0d3b93
    committer: mbp at sourcefrog.net
    branch nick: test-progress
    timestamp: Tue 2006-10-31 12:15:34 +1100
    message:
      Truncate progress bar rather than complaining if it's too long
    ------------------------------------------------------------
    merged: mbp at sourcefrog.net-20061029070801-d282fdd88b0d3b93
    parent: mbp at sourcefrog.net-20061029065334-bf40aba20cf20f7a
    committer: Martin Pool <mbp at sourcefrog.net>
    branch nick: test-progress
    timestamp: Sun 2006-10-29 15:08:01 +0800
    message:
      Tweak test display a bit more
    ------------------------------------------------------------
    merged: mbp at sourcefrog.net-20061029065334-bf40aba20cf20f7a
    parent: mbp at sourcefrog.net-20061029065311-c0db791096b06831
    parent: mbp at sourcefrog.net-20061029014854-71098cfee1da5e20
    committer: Martin Pool <mbp at sourcefrog.net>
    branch nick: test-progress
    timestamp: Sun 2006-10-29 14:53:34 +0800
    message:
      [merge] listdir fixes
    ------------------------------------------------------------
    merged: mbp at sourcefrog.net-20061029065311-c0db791096b06831
    parent: pqm at pqm.ubuntu.com-20061024165011-69d7663639e20a97
    committer: Martin Pool <mbp at sourcefrog.net>
    branch nick: test-progress
    timestamp: Sun 2006-10-29 14:53:11 +0800
    message:
      Better progress bars during tests
      
      This now shows by default something like::
      
        [41/3989, 10 skipped in 0s] test_bundle.V08BundleTester.test_binary_bundle
      
      The whole test name is generally visible, as are the number skipped or 
      failed so far; if there are skips, failures or errors they are printed
      out above the progress bar. 
      
      Code for displaying test results in different ways was separated out
      into cleaner subclasses, and the selftest builtin was cleaned up.
      
      This introduces a new and (simpler) setup for progress bars through the UI
      object.  They don't nest, under the assumption that we can really only convey
      one level at a time.



More information about the bazaar-commits mailing list