#1580 closed defect (fixed)
A few tests fail on a fresh git working copy
Reported by: | francois | Owned by: | warner |
---|---|---|---|
Priority: | normal | Milestone: | 1.9.2 |
Component: | packaging | Version: | 1.9.0b1 |
Keywords: | test git versioning | Cc: | |
Launchpad Bug: |
Description
The version number is currently generated by build scripts based on darcs meta-informations (thanks to modules darcsver and setuptools_darcs). There's probably a way to have the same feature in a git working copy.
$ git clone git://github.com/warner/tahoe-lafs.git [...] $ cd tahe-lafs && make test [..] [FAIL] Traceback (most recent call last): File "/home/francois/WORK/dev/tahoe-lafs/src/allmydata/test/test_client.py", line 163, in test_versions self.failIfEqual(str(allmydata.__version__), "unknown") twisted.trial.unittest.FailTest: 'unknown' == 'unknown' allmydata.test.test_client.Basic.test_versions =============================================================================== [FAIL] Traceback (most recent call last): File "/home/francois/WORK/dev/tahoe-lafs/src/allmydata/test/test_runner.py", line 149, in _cb "We don't know our version, because this distribution didn't come " twisted.trial.unittest.FailTest: We don't know our version, because this distribution didn't come with a _version.py and 'setup.py darcsver' hasn't been run. allmydata.test.test_runner.BinTahoe.test_path
Change History (5)
comment:1 Changed at 2012-03-12T19:28:42Z by davidsarah
- Keywords test git versioning added
comment:2 Changed at 2012-04-01T04:30:40Z by davidsarah
- Owner changed from francois to warner
- Priority changed from minor to normal
comment:3 Changed at 2012-04-01T15:04:39Z by francois
- Resolution set to fixed
- Status changed from new to closed
Yes, tested with latest trunk and no more test failures. Great!
comment:4 Changed at 2012-04-01T20:44:15Z by zooko
- Milestone changed from undecided to 1.10.0
comment:5 Changed at 2012-05-14T04:57:47Z by davidsarah
- Milestone changed from 1.10.0 to 1.9.2
Note: See
TracTickets for help on using
tickets.
I think this may already be fixed.