summaryrefslogtreecommitdiff
path: root/src/tools/spectest-interp.cc
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-11-19 11:56:26 -0800
committerGitHub <noreply@github.com>2019-11-19 11:56:26 -0800
commitb51f2cd46959467c8e3bb567799f400dbf8070e7 (patch)
treecd3aa813029f56b60ccd39ecc2efa489c86e8768 /src/tools/spectest-interp.cc
parentcdd59d17d89a4fa7f2bb663de78fb38317e26409 (diff)
downloadwabt-b51f2cd46959467c8e3bb567799f400dbf8070e7.tar.gz
wabt-b51f2cd46959467c8e3bb567799f400dbf8070e7.tar.bz2
wabt-b51f2cd46959467c8e3bb567799f400dbf8070e7.zip
spectest-interp: Report when assert_trap passes and include error string. NFC (#1235)
Diffstat (limited to 'src/tools/spectest-interp.cc')
-rw-r--r--src/tools/spectest-interp.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/spectest-interp.cc b/src/tools/spectest-interp.cc
index d5b11b76..028434fd 100644
--- a/src/tools/spectest-interp.cc
+++ b/src/tools/spectest-interp.cc
@@ -1404,6 +1404,8 @@ wabt::Result CommandRunner::OnAssertTrapCommand(
return wabt::Result::Error;
}
+ PrintError(command->line, "assert_trap passed: %s",
+ ResultToString(exec_result.result));
return wabt::Result::Ok;
}