Add missing executable option to DummyCommand.

This commit is contained in:
Martin v. Löwis 2004-08-26 05:44:02 +00:00
parent 66cb018c96
commit 4085f030bd
1 changed files with 3 additions and 1 deletions

View File

@ -39,11 +39,13 @@ class BuildScriptsTestCase(support.TempdirManager,
self.assert_(name in built) self.assert_(name in built)
def get_build_scripts_cmd(self, target, scripts): def get_build_scripts_cmd(self, target, scripts):
import sys
dist = Distribution() dist = Distribution()
dist.scripts = scripts dist.scripts = scripts
dist.command_obj["build"] = support.DummyCommand( dist.command_obj["build"] = support.DummyCommand(
build_scripts=target, build_scripts=target,
force=1 force=1,
executable=sys.executable
) )
return build_scripts(dist) return build_scripts(dist)