Comment 5 for bug 407916

Revision history for this message
Marius Gedminas (mgedmin) wrote :

Solution:

  * zope.testing needs to get a new argument, --subprocess-extra-arg, that would be inserted between sys.argv[0] and the rest of the command line when zope.testing.testrunner wants to execute a subprocess

  * plone.recipe.zope2instance needs to be modified to add ['--subprocess-extra-arg', 'test'] to the arguments passed to zope.testing.testrunner.run()

Does anyone have a better idea?

FWIW I don't have commit access to svn.plone.org.