arguments = options + " " + arguments
kw['arguments'] = arguments
stdout = self.wrap_stdout(read_str = read_str, build_str = s)
- kw['stdout'] = re.escape(stdout)
+ # Append '.*' so that timing output that comes after the
+ # up-to-date output is okay.
+ kw['stdout'] = re.escape(stdout) + '.*'
kw['match'] = self.match_re_dotall
apply(self.run, [], kw)
"""
kw['options'] = kw.get('options', '') + ' --help'
# TODO(1.5)
- #self.run_build(*args, **kw)
- apply(self.run_build, args, kw)
+ #self.run(*args, **kw)
+ apply(self.run, args, kw)
sys.stdout.write(self.stdout())
print "RESULT", self.elapsed_time()
Runs a full build of SCons.
"""
# TODO(1.5)
- #self.run_build(*args, **kw)
- apply(self.run_build, args, kw)
+ #self.run(*args, **kw)
+ apply(self.run, args, kw)
sys.stdout.write(self.stdout())
print "RESULT", self.elapsed_time()
"""
return self.endTime - self.startTime
- def run_build(self, *args, **kw):
+ def run(self, *args, **kw):
"""
Runs a single build command, capturing output in the specified file.