diff --git a/testrunnerrecipe/src/zc/recipe/testrunner.py b/testrunnerrecipe/src/zc/recipe/testrunner.py index 85f10affb09f83a79e9ea198dff2367bf06e1297..9c849611ace1dfa47bd86364f815abb7ef1d4418 100644 --- a/testrunnerrecipe/src/zc/recipe/testrunner.py +++ b/testrunnerrecipe/src/zc/recipe/testrunner.py @@ -19,6 +19,7 @@ $Id$ # XXX need tests import os, sys +import zc.buildout.egglinker class TestRunner: @@ -30,7 +31,8 @@ class TestRunner: def install(self): distributions = self.options['distributions'].split() path = self.buildout.distributions_path(distributions+['zope.testing']) - locations = [self.buildout.distribution_location(distribution) + locations = [zc.buildout.egglinker.location(distribution, + [self.buildout.eggs]) for distribution in distributions] script = self.options.get('script', self.name) script = self.buildout.buildout_path('bin', script)