Manual merge of runtest fixes in donut and new account test def add in master.
commit 8a101cb057c1d1d5397b988b6a3f4c3add879008
Author: Brett Chabot <brettchabot@google.com>
Date: Tue May 5 12:56:39 2009 -0700
runtest.py bug fixes.
Improved error handling, and added support for "size" and "package" arguments.
Removed deprecated runtest shell script.
diff --git a/testrunner/errors.py b/testrunner/errors.py
index 6d606ec..e240899 100755
--- a/testrunner/errors.py
+++ b/testrunner/errors.py
@@ -34,6 +34,9 @@
"""Generic exception that indicates a fatal error has occurred and program
execution should be aborted."""
+ def __init__(self, msg="AbortError"):
+ self.msg = msg
+
class ParseError(Exception):
"""Raised when xml data to parse has unrecognized format."""