$ bzr branch lp:duplicity latest_duplicity
Branched 1194 revisions.
$ cd latest_duplicity/
$ testing/run-tests
GLOB sdist-make: /[...]/latest_duplicity/setup.py
Traceback (most recent call last):
File "/usr/local/bin/tox", line 11, in <module>
sys.exit(cmdline())
File "/usr/local/lib/python2.7/dist-packages/tox/session.py", line 39, in main
retcode = Session(config).runcommand()
File "/usr/local/lib/python2.7/dist-packages/tox/session.py", line 375, in runcommand
return self.subcommand_test()
File "/usr/local/lib/python2.7/dist-packages/tox/session.py", line 520, in subcommand_test
path = self.get_installpkg_path()
File "/usr/local/lib/python2.7/dist-packages/tox/session.py", line 496, in get_installpkg_path
path = self._makesdist()
File "/usr/local/lib/python2.7/dist-packages/tox/session.py", line 399, in _makesdist
return self.config.distdir.listdir()[0]
IndexError: list index out of range
Again, patching makedist with my diff above means that running from the repo root with "testing/run-tests" runs the tests as expected.
(Also, if we are changing which directory one needs to execute run-tests from, we need to change README-REPO, as that specifically says one needs to change into the testing directory.)
That didn't work for me:
$ bzr branch lp:duplicity latest_duplicity latest_ duplicity/ setup.py bin/tox" , line 11, in <module> exit(cmdline( )) lib/python2. 7/dist- packages/ tox/session. py", line 39, in main config) .runcommand( ) lib/python2. 7/dist- packages/ tox/session. py", line 375, in runcommand _test() lib/python2. 7/dist- packages/ tox/session. py", line 520, in subcommand_test installpkg_ path() lib/python2. 7/dist- packages/ tox/session. py", line 496, in get_installpkg_path lib/python2. 7/dist- packages/ tox/session. py", line 399, in _makesdist distdir. listdir( )[0]
Branched 1194 revisions.
$ cd latest_duplicity/
$ testing/run-tests
GLOB sdist-make: /[...]/
Traceback (most recent call last):
File "/usr/local/
sys.
File "/usr/local/
retcode = Session(
File "/usr/local/
return self.subcommand
File "/usr/local/
path = self.get_
File "/usr/local/
path = self._makesdist()
File "/usr/local/
return self.config.
IndexError: list index out of range
Again, patching makedist with my diff above means that running from the repo root with "testing/run-tests" runs the tests as expected.
(Also, if we are changing which directory one needs to execute run-tests from, we need to change README-REPO, as that specifically says one needs to change into the testing directory.)