On 4/19/13, Gary Martin <[email protected]> wrote:
>
[...]
>
> I wonder if it would be wrong to ask for the XmlRpcPlugin maintainers to
> resolve the issue by making sure that any required contrib files are
> available. Another alternative would be to vendor branch the plugin
> specifically to fix that.
JFTR , the situation is not limited to XmlRpcPlugin . Indeed it reuses
the fixture setup for functional tests implemented in core and adds
nothing else. It is not possible to run Trac's functional tests either
{{{
#!sh
$ make functional-test
It looks like you don't have a Makefile.cfg file yet.
You can get started by doing `cp Makefile.cfg.sample Makefile.cfg'
and then adapt it to your environment.
Python version: Python 2.6.5
figleaf:
coverage:
PYTHONPATH=.:
TRAC_TEST_DB_URI=
server-options= -p 8000 -r -e
python setup.py egg_info
running egg_info
writing requirements to Trac.egg-info/requires.txt
writing Trac.egg-info/PKG-INFO
writing top-level names to Trac.egg-info/top_level.txt
writing dependency_links to Trac.egg-info/dependency_links.txt
writing entry points to Trac.egg-info/entry_points.txt
reading manifest file 'Trac.egg-info/SOURCES.txt'
writing manifest file 'Trac.egg-info/SOURCES.txt'
python trac/tests/functional/__init__.py -v
/usr/bin/python: can't open file './contrib/htpasswd.py': [Errno 2] No
such file or directory
Traceback (most recent call last):
File "trac/tests/functional/__init__.py", line 167, in <module>
unittest.main(defaultTest='suite')
File "/usr/lib/python2.6/unittest.py", line 817, in __init__
self.runTests()
File "/usr/lib/python2.6/unittest.py", line 864, in runTests
result = testRunner.run(self.test)
File "/usr/lib/python2.6/unittest.py", line 753, in run
test(result)
File "/usr/lib/python2.6/unittest.py", line 464, in __call__
return self.run(*args, **kwds)
File "/usr/lib/python2.6/unittest.py", line 460, in run
test(result)
File "/usr/lib/python2.6/unittest.py", line 464, in __call__
return self.run(*args, **kwds)
File "/path/to/bloodhound/trac/trac/test.py", line 137, in run
self.setUp()
File "/path/to/bloodhound/trac/trac/tests/functional/__init__.py",
line 120, in setUp
self._testenv = self.env_class(dirname, port, baseurl)
File "/path/to/bloodhound/trac/trac/tests/functional/testenv.py",
line 60, in __init__
self.create()
File "/path/to/bloodhound/trac/trac/tests/functional/testenv.py",
line 129, in create
raise Exception('Unable to setup admin password')
Exception: Unable to setup admin password
make: *** [functional-test] Error 1
}}}
so this is still needed to work towards #387 .
> I am assuming that the XmlRpcPlugin is
> something we will want to include at some point.
>
I'm working towards a solution for this particular purpose since that
will be needed to make forthcoming proposals work .
--
Regards,
Olemis.