aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-12-05 00:31:18 +0000
committerArthur Cohen <arthur.cohen@embecosm.com>2023-02-21 12:36:53 +0100
commit03df9a040c979f97c6b0e1524899a7d457c2cb05 (patch)
tree56118c2678ffdaa3d738ce71b10ddc16384cd508
parente7a69d4533add13ff8f5468131cc824f6fa9e154 (diff)
downloadgcc-03df9a040c979f97c6b0e1524899a7d457c2cb05.zip
gcc-03df9a040c979f97c6b0e1524899a7d457c2cb05.tar.gz
gcc-03df9a040c979f97c6b0e1524899a7d457c2cb05.tar.bz2
gccrs: Skip this debug test case which is failing on the latest mac-os devtools and its only for debug info
gcc/testsuite/ChangeLog: * rust/debug/chartype.rs: Skip testcases on Darwin architectures.
-rw-r--r--gcc/testsuite/rust/debug/chartype.rs15
1 files changed, 8 insertions, 7 deletions
diff --git a/gcc/testsuite/rust/debug/chartype.rs b/gcc/testsuite/rust/debug/chartype.rs
index 69e7ab0..3300925 100644
--- a/gcc/testsuite/rust/debug/chartype.rs
+++ b/gcc/testsuite/rust/debug/chartype.rs
@@ -1,10 +1,11 @@
-// 'char' should use DW_ATE_UTF
-fn main () {
- let c = 'x';
// { dg-do compile }
-// Use -w to avoid warnings about the unused variables
-// DW_ATE_UTF entered in DWARF 4.
+// { dg-skip-if "see https://github.com/Rust-GCC/gccrs/pull/1632" { *-*-darwin* } }
// { dg-options "-w -gdwarf-4 -dA" }
-// DW_ATE_UTF = 0x10
-// { dg-final { scan-assembler "0x10\[ \t]\[^\n\r]* DW_AT_encoding" } } */
+// 'char' should use DW_ATE_UTF
+fn main() {
+ let c = 'x';
+ // Use -w to avoid warnings about the unused variables
+ // DW_ATE_UTF entered in DWARF 4.
+ // DW_ATE_UTF = 0x10
+ // { dg-final { scan-assembler "0x10\[ \t]\[^\n\r]* DW_AT_encoding" } } */
}