[compiler-rt] [compiler-rt][test] Rewrote test to remove curly braces (PR #105696)

Connie Zhu via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 22 10:00:19 PDT 2024


https://github.com/connieyzhu created https://github.com/llvm/llvm-project/pull/105696

This patch removes curly braces from a test, as lit's internal shell implementation does not support curly brace syntax.

>From bf135968d1a6c8d7c8d387b888a6f2dccf61ecd2 Mon Sep 17 00:00:00 2001
From: Connie Zhu <connieyzhu at google.com>
Date: Thu, 22 Aug 2024 16:54:06 +0000
Subject: [PATCH] [compiler-rt][test] Rewrote test to remove curly braces

This patch removes curly braces from a test, as lit's internal shell
implementation does not support curly brace syntax.
---
 compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c b/compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c
index 05b55f9e3fcc28..f17d2c9324d219 100644
--- a/compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c
+++ b/compiler-rt/test/asan/TestCases/Linux/dlopen-mixed-c-cxx.c
@@ -1,7 +1,7 @@
 // RUN: %clangxx_asan -xc++ -shared -fPIC -o %t.so - < %s
 // RUN: %clang_asan %s -o %t.out -ldl
 //
-// RUN: { env ASAN_OPTIONS=verbosity=1 %t.out %t.so || : ; } 2>&1 | FileCheck %s
+// RUN: env ASAN_OPTIONS=verbosity=1 %t.out %t.so 2>&1 | FileCheck %s || : 
 //
 // CHECK: AddressSanitizer: failed to intercept '__cxa_throw'
 //



More information about the llvm-commits mailing list