[compiler-rt] 60f740a - [test][msan] Reformat RUN lines

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 14 15:43:09 PST 2023


Author: Vitaly Buka
Date: 2023-11-14T15:42:53-08:00
New Revision: 60f740a3055d6d1eed402def671f817026230b74

URL: https://github.com/llvm/llvm-project/commit/60f740a3055d6d1eed402def671f817026230b74
DIFF: https://github.com/llvm/llvm-project/commit/60f740a3055d6d1eed402def671f817026230b74.diff

LOG: [test][msan] Reformat RUN lines

Added: 
    

Modified: 
    compiler-rt/test/msan/vararg.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/msan/vararg.cpp b/compiler-rt/test/msan/vararg.cpp
index 32f4c5db4ed9d45..1091ce3bc42a7e5 100644
--- a/compiler-rt/test/msan/vararg.cpp
+++ b/compiler-rt/test/msan/vararg.cpp
@@ -1,18 +1,12 @@
-// RUN: %clangxx_msan -fno-sanitize-memory-param-retval -fsanitize-memory-track-origins=0 -O3 %s -o %t && \
-// RUN:     not %run %t va_arg_tls >%t.out 2>&1
-// RUN: FileCheck %s --check-prefix=CHECK < %t.out
+// RUN: %clangxx_msan -fno-sanitize-memory-param-retval -fsanitize-memory-track-origins=0 -O3 %s -o %t
 
-// RUN: %clangxx_msan -fno-sanitize-memory-param-retval -fsanitize-memory-track-origins=0 -O3 %s -o %t && \
-// RUN:     not %run %t overflow >%t.out 2>&1
-// RUN: FileCheck %s --check-prefix=CHECK < %t.out
+// RUN: not %run %t va_arg_tls 2>&1 | FileCheck %s --check-prefix=CHECK
+// RUN: not %run %t overflow 2>&1 | FileCheck %s --check-prefix=CHECK
 
-// RUN: %clangxx_msan -fno-sanitize-memory-param-retval -fsanitize-memory-track-origins=2 -O3 %s -o %t && \
-// RUN:     not %run %t va_arg_tls >%t.out 2>&1
-// RUN: FileCheck %s --check-prefixes=CHECK,CHECK-ORIGIN < %t.out
+// RUN: %clangxx_msan -fno-sanitize-memory-param-retval -fsanitize-memory-track-origins=2 -O3 %s -o %t
 
-// RUN: %clangxx_msan -fno-sanitize-memory-param-retval -fsanitize-memory-track-origins=2 -O3 %s -o %t && \
-// RUN:     not %run %t overflow >%t.out 2>&1
-// RUN: FileCheck %s --check-prefixes=CHECK,CHECK-ORIGIN < %t.out
+// RUN: not %run %t va_arg_tls 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-ORIGIN
+// RUN: not %run %t overflow 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-ORIGIN
 
 // Check that shadow and origin are passed through va_args.
 


        


More information about the llvm-commits mailing list