Skip to content

Commit 5c53c84

Browse files
committed
Try to fix the test on windows.
1 parent 4b29c19 commit 5c53c84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/test/ClangScanDeps/modules-debug-dir.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//--- cdb.json.in
99
[{
1010
"directory": "DIR",
11-
"command": "clang -c -g -gmodules DIR/tu.c -fmodules -fmodules-cache-path=DIR/cache -IDIR/include/ -fdebug-compilation-dir=DIR -o DIR/tu.o",
11+
"command": "clang -target x86_64-apple-darwin -c -g -gmodules DIR/tu.c -fmodules -fmodules-cache-path=DIR/cache -IDIR/include/ -fdebug-compilation-dir=DIR -o DIR/tu.o",
1212
"file": "DIR/tu.c"
1313
}]
1414

@@ -26,5 +26,5 @@ module mod {
2626
// directory when current working directory optimization is in effect.
2727
// CHECK: "modules": [
2828
// CHECK: "command-line": [
29-
// CHECK: "-fdebug-compilation-dir={{\/|C:|\/\/net}}",
29+
// CHECK: "-fdebug-compilation-dir=/",
3030
// CHECK: "translation-units": [

0 commit comments

Comments
 (0)