[clang] d2bb3cb - Make test runnable on read-only file systems.

Sterling Augustine via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 14 13:30:08 PDT 2021


Author: Sterling Augustine
Date: 2021-04-14T13:29:51-07:00
New Revision: d2bb3cbbf8bc3a1b3d27c5a89e7cdd56bdca924f

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

LOG: Make test runnable on read-only file systems.

Added: 
    

Modified: 
    clang/test/Misc/serialized-diags-empty-filename.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Misc/serialized-diags-empty-filename.c b/clang/test/Misc/serialized-diags-empty-filename.c
index e86108414273e..32a9156e02151 100644
--- a/clang/test/Misc/serialized-diags-empty-filename.c
+++ b/clang/test/Misc/serialized-diags-empty-filename.c
@@ -1,5 +1,5 @@
 // RUN: rm -f %t.diag
-// RUN: not %clang -c %s --serialize-diagnostics %t.diag
+// RUN: not %clang -c %s --serialize-diagnostics %t.diag -o /dev/null
 // RUN: c-index-test -read-diagnostics %t.diag 2>&1 | FileCheck %s
 
 # 1 "" 1


        


More information about the cfe-commits mailing list