From 48326df4b5c7d6406ffa20897154c1ce08a4fffb Mon Sep 17 00:00:00 2001 From: OCHyams Date: Thu, 10 Feb 2022 13:49:18 +0000 Subject: [PATCH] [cross-project-tests] REQUIRES: system-darwin in llgdb-tests/asan-deque.cpp Some configurations of gdb pretty print std::deque and some don't. Make this test run only on system-darwin (which uses lldb instead), otherwise it will fail on some non-darwin machines and not others. --- .../debuginfo-tests/llgdb-tests/asan-deque.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cross-project-tests/debuginfo-tests/llgdb-tests/asan-deque.cpp b/cross-project-tests/debuginfo-tests/llgdb-tests/asan-deque.cpp index b9ac3e8f9507..ae765dbbc96a 100644 --- a/cross-project-tests/debuginfo-tests/llgdb-tests/asan-deque.cpp +++ b/cross-project-tests/debuginfo-tests/llgdb-tests/asan-deque.cpp @@ -1,12 +1,12 @@ // RUN: %clangxx -arch x86_64 %target_itanium_abi_host_triple -O1 -g %s -o %t.out -fsanitize=address // RUN: %test_debuginfo %s %t.out -// REQUIRES: !asan, compiler-rt +// REQUIRES: !asan, compiler-rt, system-darwin // Zorg configures the ASAN stage2 bots to not build the asan // compiler-rt. Only run this test on non-asanified configurations. +// gdb is used on non-darwin; some configs pretty print std::deque, +// some don't. // UNSUPPORTED: apple-lldb-pre-1000 -// gdb is used on non-darwin systems and it doesn't pretty-print std::deque. -// XFAIL: !system-darwin, (!system-darwin && gdb-clang-incompatibility) - +// XFAIL: !system-darwin && gdb-clang-incompatibility #include struct A {