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>
This commit is contained in:
Lv Zheng 2017-05-03 15:06:29 +08:00
parent 2f79a52433
commit 49f041a2f1

View File

@ -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)}