summaryrefslogtreecommitdiff
path: root/compiler/exception_test.cc
diff options
context:
space:
mode:
author Florian Mayer <fmayer@google.com> 2022-10-21 11:10:51 -0700
committer Treehugger Robot <treehugger-gerrit@google.com> 2022-10-25 12:17:37 +0000
commit1944e26af29bf8b633d318acb86bbce477a7f2a7 (patch)
treeecc45fd2397a3d287eb169c5acdc8390393c9fd8 /compiler/exception_test.cc
parentf65c2475652326d89eba7bd8e1999c9bc0374c4f (diff)
Disable ExceptionTest#StackTraceElement on HWASan.
Test: atest art_standalone_compiler_tests on flame_hwasan Bug: 230392320 Change-Id: Iec7b895e942bae8bd6247589e92b10dda0225a70
Diffstat (limited to 'compiler/exception_test.cc')
-rw-r--r--compiler/exception_test.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/exception_test.cc b/compiler/exception_test.cc
index f55ba8e0e5..9a3a2bafc9 100644
--- a/compiler/exception_test.cc
+++ b/compiler/exception_test.cc
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+#include <android-base/test_utils.h>
+
#include <memory>
#include <type_traits>
@@ -168,6 +170,7 @@ TEST_F(ExceptionTest, FindCatchHandler) {
}
TEST_F(ExceptionTest, StackTraceElement) {
+ SKIP_WITH_HWASAN; // TODO(b/230392320): re-enable with HWASan once fixed.
Thread* thread = Thread::Current();
thread->TransitionFromSuspendedToRunnable();
bool started = runtime_->Start();