[Buildbot-commits] buildbot/buildbot/process step.py,1.84,1.85
Brian Warner
warner at users.sourceforge.net
Mon May 22 00:35:29 UTC 2006
Update of /cvsroot/buildbot/buildbot/buildbot/process
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv22712/buildbot/process
Modified Files:
step.py
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-557
Creator: Brian Warner <warner at lothar.com>
fix (and add test for) a serious build-properties bug in ShellCommand
* buildbot/process/step.py (ShellCommand.start): make
testInterpolate pass. I was passing the uninterpolated command to
the RemoteShellCommand constructor
* buildbot/test/test_properties.py (Run.testInterpolate): new test
to actually try to use build properties in a real build. This test
fails.
* buildbot/test/runutils.py (RunMixin.requestBuild): utility methods
to start and evaluate builds
Index: step.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/process/step.py,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -d -r1.84 -r1.85
--- step.py 24 Apr 2006 06:45:36 -0000 1.84
+++ step.py 22 May 2006 00:35:27 -0000 1.85
@@ -995,7 +995,7 @@
command = self._interpolateProperties(self.command)
# create the actual RemoteShellCommand instance now
kwargs = self.remote_kwargs
- kwargs['command'] = self.command
+ kwargs['command'] = command
cmd = RemoteShellCommand(**kwargs)
self.setupEnvironment(cmd)
self.startCommand(cmd)
More information about the Commits
mailing list