summaryrefslogtreecommitdiff
path: root/ext/testlib/result.py
diff options
context:
space:
mode:
authorJason Lowe-Power <jason@lowepower.com>2019-03-14 10:05:46 -0700
committerJason Lowe-Power <jason@lowepower.com>2019-03-21 15:57:10 +0000
commitfced86b061b9419b9e44cd79a5af428a453779f3 (patch)
treecd35fd1d19c3ca7ec8406c11d111107c77121a4e /ext/testlib/result.py
parentf871fd33e11f9c989a865db20d2e478b0b4418b5 (diff)
downloadgem5-fced86b061b9419b9e44cd79a5af428a453779f3.tar.xz
ext,tests: Make return code based on test results
This patch also fixes a spelling mistake. Change-Id: I8635216e512c10913a9cda54541d7e31e0d22a40 Signed-off-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/17450 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'ext/testlib/result.py')
-rw-r--r--ext/testlib/result.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/testlib/result.py b/ext/testlib/result.py
index 8e3f38d25..22c0248ca 100644
--- a/ext/testlib/result.py
+++ b/ext/testlib/result.py
@@ -58,7 +58,7 @@ class _CommonMetadataMixin:
self._metadata.result = result
@property
- def unsucessful(self):
+ def unsuccessful(self):
return self._metadata.result.value != state.Result.Passed