Skip to content

Commit 57e6ee8

Browse files
committed
[clang][CAS] Fix the "CAS/driver-cache-launcher.c" test
The test failed because it didn't have the CAS path set, even though it attempted to perform caching. (cherry picked from commit a92fc80)
1 parent 9c33060 commit 57e6ee8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/test/CAS/driver-cache-launcher.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124

125125
// Unused option warning should only be emitted once.
126126
// RUN: touch %t.o
127-
// RUN: %clang-cache %clang -target arm64-apple-macosx12 -fsyntax-only %s -Wl,-ObjC 2>&1 | FileCheck %s -check-prefix=UNUSED_OPT
127+
// RUN: env LLVM_CACHE_CAS_PATH=%t/cas %clang-cache %clang -target arm64-apple-macosx12 -fsyntax-only %s -Wl,-ObjC 2>&1 | FileCheck %s -check-prefix=UNUSED_OPT
128128
// UNUSED_OPT-NOT: warning:
129129
// UNUSED_OPT: warning: -Wl,-ObjC: 'linker' input unused
130130
// UNUSED_OPT-NOT: warning:

0 commit comments

Comments
 (0)