diff --git a/src/tools/compiletest/src/directives/directive_names.rs b/src/tools/compiletest/src/directives/directive_names.rs index b73e782252148..5025e2c868ca2 100644 --- a/src/tools/compiletest/src/directives/directive_names.rs +++ b/src/tools/compiletest/src/directives/directive_names.rs @@ -104,6 +104,7 @@ pub(crate) const KNOWN_DIRECTIVE_NAMES: &[&str] = &[ "ignore-nto", "ignore-nvptx64", "ignore-nvptx64-nvidia-cuda", + "ignore-ohos", "ignore-openbsd", "ignore-parallel-frontend", "ignore-pauthtest", diff --git a/tests/codegen-llvm/thread-local.rs b/tests/codegen-llvm/thread-local.rs index 8eb0443ebb9b5..70b655fd5cf61 100644 --- a/tests/codegen-llvm/thread-local.rs +++ b/tests/codegen-llvm/thread-local.rs @@ -6,6 +6,7 @@ //@ ignore-android does not use #[thread_local] //@ ignore-nto does not use #[thread_local] //@ ignore-qnx does not use #[thread_local] +//@ ignore-ohos does not use #[thread_local] #![crate_type = "lib"] diff --git a/tests/debuginfo/pretty-huge-vec.rs b/tests/debuginfo/pretty-huge-vec.rs index 2cea3f224c4a1..da006f1139d32 100644 --- a/tests/debuginfo/pretty-huge-vec.rs +++ b/tests/debuginfo/pretty-huge-vec.rs @@ -1,5 +1,6 @@ //@ ignore-windows-gnu: #128981 //@ ignore-android: FIXME(#10381) +//@ ignore-ohos: similiar to android //@ ignore-aix: FIXME(#137965) //@ compile-flags:-g //@ ignore-backends: gcc diff --git a/tests/ui/asm/aarch64/sym.rs b/tests/ui/asm/aarch64/sym.rs index 87c6d5ddfdc48..27113c694aac7 100644 --- a/tests/ui/asm/aarch64/sym.rs +++ b/tests/ui/asm/aarch64/sym.rs @@ -1,5 +1,6 @@ //@ only-aarch64 //@ only-linux +//@ ignore-ohos does not use #[thread_local] //@ needs-asm-support //@ run-pass diff --git a/tests/ui/runtime/out-of-stack.rs b/tests/ui/runtime/out-of-stack.rs index 9b3878229417c..2e140bc9277a2 100644 --- a/tests/ui/runtime/out-of-stack.rs +++ b/tests/ui/runtime/out-of-stack.rs @@ -5,6 +5,7 @@ //@ ignore-android: FIXME (#20004) //@ needs-subprocess //@ ignore-fuchsia must translate zircon signal to SIGABRT, FIXME (#58590) +//@ ignore-ohos musl libc returns SIGSEGV for stack overflow rather than SIGABRT //@ ignore-nto no stack overflow handler used (no alternate stack available) //@ ignore-qnx no stack overflow handler used (no alternate stack available) //@ ignore-ios stack overflow handlers aren't enabled