summaryrefslogtreecommitdiff
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
parentf65c2475652326d89eba7bd8e1999c9bc0374c4f (diff)
Disable ExceptionTest#StackTraceElement on HWASan.
Test: atest art_standalone_compiler_tests on flame_hwasan Bug: 230392320 Change-Id: Iec7b895e942bae8bd6247589e92b10dda0225a70
-rw-r--r--TEST_MAPPING3
-rw-r--r--compiler/exception_test.cc3
-rwxr-xr-xtest/utils/regen-test-files1
3 files changed, 6 insertions, 1 deletions
diff --git a/TEST_MAPPING b/TEST_MAPPING
index 06a8b68cd5..5db31cdff4 100644
--- a/TEST_MAPPING
+++ b/TEST_MAPPING
@@ -3915,6 +3915,9 @@
"name": "art_standalone_cmdline_tests"
},
{
+ "name": "art_standalone_compiler_tests"
+ },
+ {
"name": "art_standalone_dexdump_tests"
},
{
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();
diff --git a/test/utils/regen-test-files b/test/utils/regen-test-files
index 82aca3da69..89f1124814 100755
--- a/test/utils/regen-test-files
+++ b/test/utils/regen-test-files
@@ -211,7 +211,6 @@ known_failing_tests = frozenset([
known_failing_on_hwasan_tests = frozenset([
"BootImageProfileTest", # b/232012605
"CtsJdwpTestCases", # times out
- "art_standalone_compiler_tests", # b/230392320
"art_standalone_dex2oat_tests", # b/228881278
])