summaryrefslogtreecommitdiff
path: root/chromium/testing/scripts/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/testing/scripts/common.py')
-rw-r--r--chromium/testing/scripts/common.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/testing/scripts/common.py b/chromium/testing/scripts/common.py
index f7b34541899..d092dbe1290 100644
--- a/chromium/testing/scripts/common.py
+++ b/chromium/testing/scripts/common.py
@@ -319,6 +319,9 @@ class BaseIsolatedScriptArgsAdapter(object):
def clean_up_after_test_run(self):
pass
+ def do_post_test_run_tasks(self):
+ pass
+
def run_test(self):
self.parse_args()
cmd = self.generate_isolated_script_cmd()
@@ -339,6 +342,7 @@ class BaseIsolatedScriptArgsAdapter(object):
else:
exit_code = test_env.run_command(cmd, env=env)
print 'Command returned exit code %d' % exit_code
+ self.do_post_test_run_tasks()
return exit_code
except Exception:
traceback.print_exc()