aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2016-03-01 13:55:42 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2016-03-01 13:55:42 -0800
commit494f3128331adcf601903b00ea62b767d99f84c2 (patch)
tree64c14b191fb4c19a29efe8d8cb4282bd11a5f4fe /tools
parent2edea9ce815bc55a19bac8814f1a296c8173fcf0 (diff)
fix reporting for multiple test runs
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run_tests/jobset.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/run_tests/jobset.py b/tools/run_tests/jobset.py
index adf178bb3c..a3b246dc08 100755
--- a/tools/run_tests/jobset.py
+++ b/tools/run_tests/jobset.py
@@ -384,7 +384,8 @@ class Jobset(object):
self._travis,
self._add_env)
self._running.add(job)
- self.resultset[job.GetSpec().shortname] = []
+ if not self.resultset.has_key(job.GetSpec().shortname):
+ self.resultset[job.GetSpec().shortname] = []
return True
def reap(self):