diff mbox series

[committed,099/103] gccrs: Skip this debug test case which is failing on the latest mac-os devtools and its only for debug info

Message ID 20230221120230.596966-100-arthur.cohen@embecosm.com
State New
Headers show
Series [committed,001/103] gccrs: Fix missing dead code analysis ICE on local enum definition | expand

Commit Message

Arthur Cohen Feb. 21, 2023, 12:02 p.m. UTC
From: Philip Herron <philip.herron@embecosm.com>

gcc/testsuite/ChangeLog:

	* rust/debug/chartype.rs: Skip testcases on Darwin architectures.
---
 gcc/testsuite/rust/debug/chartype.rs | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
diff mbox series

Patch

diff --git a/gcc/testsuite/rust/debug/chartype.rs b/gcc/testsuite/rust/debug/chartype.rs
index 69e7ab0b17f..3300925d4e0 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" } } */
 }