summaryrefslogtreecommitdiff
path: root/testrunner/errors.py
diff options
context:
space:
mode:
authorBrett Chabot <brettchabot@google.com>2009-06-02 11:46:04 -0700
committerBrett Chabot <brettchabot@google.com>2009-06-02 11:46:46 -0700
commit49b77117feb1d1a0efeae9498cf898a2e1e3ccfd (patch)
treeb0a911432951b5bcb008cb2a030925ffd8478b43 /testrunner/errors.py
parentc825ab1d31af5092a9941e765159237ddd02ed88 (diff)
Initial change to add cts tests to runtest.
Adds cts test definitions to the testrunner/test_defs.xml. Adds support for runtest --cts arg, which will run all cts tests. This temporarily relies on the addition of a 'cts' attribute to the test definition - a new xml format may be defined later that changes how cts tests are identified. This change is based on previous unsubmitted CL https://android-git.corp.google.com/g/Gerrit#change,1702. The only delta wrt to that change is the use of InstrumentationCtsTestRunner. Update: rebased to latest donut.
Diffstat (limited to 'testrunner/errors.py')
-rwxr-xr-xtestrunner/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testrunner/errors.py b/testrunner/errors.py
index e24089918..c04fd012c 100755
--- a/testrunner/errors.py
+++ b/testrunner/errors.py
@@ -34,7 +34,7 @@ class AbortError(Exception):
"""Generic exception that indicates a fatal error has occurred and program
execution should be aborted."""
- def __init__(self, msg="AbortError"):
+ def __init__(self, msg=""):
self.msg = msg