diff options
author | Mats Wichmann <mats@linux.com> | 2020-02-24 16:03:13 (GMT) |
---|---|---|
committer | Mats Wichmann <mats@linux.com> | 2020-02-24 16:04:05 (GMT) |
commit | 5c969e525aec3323415626d001c3ab28bd8942e4 (patch) | |
tree | 6a762eb84f33de397c23b96e8f39dcbfd45e6048 | |
parent | b6c8997131e5941aee3f77e8a8e7719e25b96462 (diff) | |
download | SCons-5c969e525aec3323415626d001c3ab28bd8942e4.zip SCons-5c969e525aec3323415626d001c3ab28bd8942e4.tar.gz SCons-5c969e525aec3323415626d001c3ab28bd8942e4.tar.bz2 |
Fix runtest no-exec mode
Failure to default some values in class initializer caused a
downstream problem if running no-exec mode, as one field was
added only if running in execute mode.
Signed-off-by: Mats Wichmann <mats@linux.com>
-rwxr-xr-x | runtest.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -368,14 +368,17 @@ class RuntestBase(object): def __init__(self, path, num, spe=None): self.path = path self.num = num + self.stdout = self.stderr = self.status = None self.abspath = os.path.abspath(path) + self.command_args = [] + self.command_str = "" + self.test_time = self.total_time = 0 if spe: for dir in spe: f = os.path.join(dir, path) if os.path.isfile(f): self.abspath = f break - self.status = None class SystemExecutor(RuntestBase): |