r369956 - Fix gen-cdb-fragment test for Windows
Alex Lorenz via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 26 13:02:40 PDT 2019
Author: arphaman
Date: Mon Aug 26 13:02:40 2019
New Revision: 369956
URL: http://llvm.org/viewvc/llvm-project?rev=369956&view=rev
Log:
Fix gen-cdb-fragment test for Windows
Windows bots didn't seem to like the empty argument, so I rewrote the test.
Modified:
cfe/trunk/test/Driver/gen-cdb-fragment.c
Modified: cfe/trunk/test/Driver/gen-cdb-fragment.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/gen-cdb-fragment.c?rev=369956&r1=369955&r2=369956&view=diff
==============================================================================
--- cfe/trunk/test/Driver/gen-cdb-fragment.c (original)
+++ cfe/trunk/test/Driver/gen-cdb-fragment.c Mon Aug 26 13:02:40 2019
@@ -15,10 +15,10 @@
// RUN: %clang -target x86_64-apple-macos10.15 -S %s -o - -gen-cdb-fragment-path %t.cdb
// RUN: ls %t.cdb | FileCheck --check-prefix=CHECK-LS %s
-// Empty path is equivalent to '.'
+// Working directory arg is respected.
// RUN: rm -rf %t.cdb
// RUN: mkdir %t.cdb
-// RUN: %clang -target x86_64-apple-macos10.15 -working-directory %t.cdb -c %s -o - -gen-cdb-fragment-path ""
+// RUN: %clang -target x86_64-apple-macos10.15 -working-directory %t.cdb -c %s -o - -gen-cdb-fragment-path "."
// RUN: ls %t.cdb | FileCheck --check-prefix=CHECK-LS %s
// RUN: cat %t.cdb/*.json | FileCheck --check-prefix=CHECK-CWD %s
// CHECK-CWD: "directory": "{{.*}}.cdb"
More information about the cfe-commits
mailing list