[clang] 4f3ea27 - Stop this test from dropping a .s file in the current directory.

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Thu Mar 25 18:22:56 PDT 2021


Author: Richard Smith
Date: 2021-03-25T18:22:18-07:00
New Revision: 4f3ea27dacdc1b428710174c88521ca717d897ea

URL: https://github.com/llvm/llvm-project/commit/4f3ea27dacdc1b428710174c88521ca717d897ea
DIFF: https://github.com/llvm/llvm-project/commit/4f3ea27dacdc1b428710174c88521ca717d897ea.diff

LOG: Stop this test from dropping a .s file in the current directory.

Added: 
    

Modified: 
    clang/test/Driver/verify-debug-info-preservation.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/verify-debug-info-preservation.c b/clang/test/Driver/verify-debug-info-preservation.c
index b81d12686f38..81c1ff7d02a2 100644
--- a/clang/test/Driver/verify-debug-info-preservation.c
+++ b/clang/test/Driver/verify-debug-info-preservation.c
@@ -13,7 +13,7 @@
 // VERIFYDIPRESERVE-JSON-EXPORT: "-fverify-debuginfo-preserve"
 // VERIFYDIPRESERVE-JSON-EXPORT: "-fverify-debuginfo-preserve-export={{.*}}"
 
-// RUN: %clang -g -Xclang -fverify-debuginfo-preserve-export=%t.json %s -S 2>&1 \
+// RUN: %clang -g -Xclang -fverify-debuginfo-preserve-export=%t.json %s -S -o /dev/null 2>&1 \
 // RUN:     | FileCheck --check-prefix=WARN %s
 
 // WARN: warning: ignoring -fverify-debuginfo-preserve-export


        


More information about the cfe-commits mailing list