diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-10-19 02:58:19 -0400 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2012-10-19 02:58:19 -0400 |
commit | 6d830d55ccae53dca6f0338dfee1274312c93161 (patch) | |
tree | 9bef529065ed8f0c5446606279e8d6928bcbdf9d /experiment/experiment.py | |
parent | d66aa52d719cf7edad8cac20b711e4c16d2899de (diff) |
Better error handling.
Diffstat (limited to 'experiment/experiment.py')
-rw-r--r-- | experiment/experiment.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/experiment/experiment.py b/experiment/experiment.py index f0c201d..8c88799 100644 --- a/experiment/experiment.py +++ b/experiment/experiment.py | |||
@@ -136,7 +136,9 @@ class Experiment(object): | |||
136 | ret = False | 136 | ret = False |
137 | 137 | ||
138 | self.log("Waiting for program to finish...") | 138 | self.log("Waiting for program to finish...") |
139 | map(methodcaller('wait'), self.executables) | 139 | for e in self.executables: |
140 | if not e.wait(): | ||
141 | ret = False | ||
140 | 142 | ||
141 | # And it must be stopped here for the same reason | 143 | # And it must be stopped here for the same reason |
142 | if self.overhead_trace: | 144 | if self.overhead_trace: |