From 8cc45ea85e18e536d073f32ade84de40c3a6832c Mon Sep 17 00:00:00 2001 From: Alex Lorenz Date: Mon, 26 Aug 2019 20:02:40 +0000 Subject: [PATCH] Fix gen-cdb-fragment test for Windows Windows bots didn't seem to like the empty argument, so I rewrote the test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@369956 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/gen-cdb-fragment.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Driver/gen-cdb-fragment.c b/test/Driver/gen-cdb-fragment.c index 553c349afc..41d69894a7 100644 --- a/test/Driver/gen-cdb-fragment.c +++ b/test/Driver/gen-cdb-fragment.c @@ -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" -- 2.40.0