[tahoe-lafs-trac-stream] [tahoe-lafs] #1992: warn if testing uncommitted code

tahoe-lafs trac at tahoe-lafs.org
Wed May 29 00:12:35 UTC 2013


#1992: warn if testing uncommitted code
------------------------+------------------------------------
     Reporter:  daira   |      Owner:  zooko
         Type:  defect  |     Status:  new
     Priority:  normal  |  Milestone:  undecided
    Component:  code    |    Version:  1.10.0
   Resolution:          |   Keywords:  test git review-needed
Launchpad Bug:          |
------------------------+------------------------------------

Comment (by daira):

 The implementation in the pull request will print this message if the
 current version is "dirty":
 {{{
 WARNING: the source tree has been modified since the last commit.
 (It is usually preferable to commit, then test, then amend the commit(s)
 if the tests fail.)
 }}}

 This is dependent on the version having been updated. It will always work
 as intended if you run tests via one the following commands:
 * {{{python setup.py test}}}
 * {{{python setup.py trial}}}
 * {{{make test}}}
 * {{{make test-coverage}}}
 * {{{make check}}}
 * {{{make quicktest}}}
 * {{{make quicktest-coverage}}}
 * {{{make tmpfstest}}}

 but it won't work as intended if you run {{{bin/tahoe debug trial}}}
 ''without'' having built since the last source change or commit. (Note:
 that's a bad idea anyway and is not supported.)

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1992#comment:1>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list