[clang] 9028966 - [clang] Don't create executable in test

Alex Brachet via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 1 13:59:51 PDT 2022


Author: Alex Brachet
Date: 2022-08-01T20:59:40Z
New Revision: 9028966a717239cf586d6c4f606965d444176dc4

URL: https://github.com/llvm/llvm-project/commit/9028966a717239cf586d6c4f606965d444176dc4
DIFF: https://github.com/llvm/llvm-project/commit/9028966a717239cf586d6c4f606965d444176dc4.diff

LOG: [clang] Don't create executable in test

Added: 
    

Modified: 
    clang/test/Driver/lld-repro.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/lld-repro.c b/clang/test/Driver/lld-repro.c
index c0a4e14d2437..401564013563 100644
--- a/clang/test/Driver/lld-repro.c
+++ b/clang/test/Driver/lld-repro.c
@@ -1,6 +1,6 @@
 // REQUIRES: lld
 
-// RUN: not %clang %s -target x86_64-linux -fuse-ld=lld -gen-reproducer=error -fcrash-diagnostics-dir=%t -fcrash-diagnostics=all 2>&1 \
+// RUN: not %clang %s -target x86_64-linux -c -fuse-ld=lld -gen-reproducer=error -fcrash-diagnostics-dir=%t -fcrash-diagnostics=all 2>&1 \
 // RUN:   | FileCheck %s
 
 // check that we still get lld's output
@@ -13,9 +13,9 @@
 // CHECK-NEXT: note: diagnostic msg:
 // CHECK: ********************
 
-// RUN: not %clang %s -target x86_64-linux -fuse-ld=lld -gen-reproducer=error -fcrash-diagnostics-dir=%t -fcrash-diagnostics=compiler 2>&1 \
+// RUN: not %clang %s -target x86_64-linux -c -fuse-ld=lld -gen-reproducer=error -fcrash-diagnostics-dir=%t -fcrash-diagnostics=compiler 2>&1 \
 // RUN:   | FileCheck %s --check-prefix=NO-LINKER
-// RUN: not %clang %s -target x86_64-linux -fuse-ld=lld -gen-reproducer=error -fcrash-diagnostics-dir=%t 2>&1 \
+// RUN: not %clang %s -target x86_64-linux -c -fuse-ld=lld -gen-reproducer=error -fcrash-diagnostics-dir=%t 2>&1 \
 // RUN:   | FileCheck %s --check-prefix=NO-LINKER
 
 // NO-LINKER-NOT: Preprocessed source(s) and associated run script(s) are located at:


        


More information about the cfe-commits mailing list