From: Alex Bradbury Date: Tue, 17 Jan 2023 14:28:15 +0000 (+0000) Subject: [clang-repl] XFAIL riscv targets in simple-exception test case X-Git-Tag: upstream/17.0.6~20706 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=123223ab87ca50d1ce4f8c08128d0237b3d31c84;p=platform%2Fupstream%2Fllvm.git [clang-repl] XFAIL riscv targets in simple-exception test case This test fails for RISC-V and Arm targets are already XFAILed, so add RISC-V to the XFAIL list. Differential Revision: https://reviews.llvm.org/D141380 --- diff --git a/clang/test/Interpreter/simple-exception.cpp b/clang/test/Interpreter/simple-exception.cpp index 57e14e4..886b8ff 100644 --- a/clang/test/Interpreter/simple-exception.cpp +++ b/clang/test/Interpreter/simple-exception.cpp @@ -1,7 +1,7 @@ // clang-format off // UNSUPPORTED: system-aix -// XFAIL for arm and arm64, or running on Windows. -// XFAIL: target=arm{{.*}}, system-windows +// XFAIL for arm, arm64, riscv, or running on Windows. +// XFAIL: target={{(arm|riscv).*}}, system-windows // RUN: cat %s | clang-repl | FileCheck %s extern "C" int printf(const char *, ...); @@ -11,4 +11,4 @@ auto r1 = checkException(); // CHECK: Running f() // CHECK-NEXT: Simple exception -%quit \ No newline at end of file +%quit