summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2017-05-03 15:06:29 +0800
committerLv Zheng <lv.zheng@intel.com>2017-05-03 15:06:29 +0800
commit49f041a2f182439dcda40d08241986d1339abcc2 (patch)
tree0d1ca494b1edd1f043d259bccae756ab44a6974c /tests
parent2f79a524333a30f028dfe7e7fad2ab255cb88da5 (diff)
downloadacpica-49f041a2f182439dcda40d08241986d1339abcc2.tar.gz
ASLTS: exc_result2: Fix old m689 breakage (exceptional)
When tests are meant to return exceptions, proceeding causes unexpected number of exceptions left. This patch fixes such issues by interrupting the tests when exception is expected. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/aslts/src/runtime/collections/complex/result/common/rcommon.asl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/aslts/src/runtime/collections/complex/result/common/rcommon.asl b/tests/aslts/src/runtime/collections/complex/result/common/rcommon.asl
index d522db915..ef8d2cdf1 100644
--- a/tests/aslts/src/runtime/collections/complex/result/common/rcommon.asl
+++ b/tests/aslts/src/runtime/collections/complex/result/common/rcommon.asl
@@ -1938,6 +1938,8 @@ if (y361) {
if (STCS) {m000(2, 0x100, arg2, arg3)}
}
}
+ // No further test if exception is expected
+ Return (0)
} elseif (CH03(arg0, z122, 58, arg3, arg2)) {
// Storing caused unexpected exception
if (STCS) {m000(2, 0x100, arg2, arg3)}
@@ -2327,6 +2329,8 @@ if (y361) {
if (STCS) {m000(2, 0x100, arg2, arg3)}
}
}
+ // No further test if exception is expected
+ Return (0)
} elseif (CH03(arg0, z122, 71, arg3, arg2)) {
// Storing caused unexpected exception
if (STCS) {m000(2, 0x100, arg2, arg3)}