Skip to content

Commit e074044

Browse files
committed
[clang][scan-deps] fix new test for readonly work trees
Our setup runs tests with bazel in such a way that the work tree is readonly, which was causing this test to fail because it couldn't write the .o file. This fixes that, which was new in 15c3793 when this test was introduced.
1 parent 806028a commit e074044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/ClangScanDeps/visible-modules.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
// RUN: %clang @%t/A.rsp
3131

3232
/// Verify compilation & scan agree with each other.
33-
// RUN: not %clang @%t/tu.rsp 2>&1 | FileCheck %s --check-prefix=COMPILE
33+
// RUN: not %clang @%t/tu.rsp -o %t/blah.o 2>&1 | FileCheck %s --check-prefix=COMPILE
3434

3535
// SINGLE: "visible-clang-modules": [
3636
// SINGLE-NEXT: "A"

0 commit comments

Comments
 (0)