Skip to content

Commit fd575ae

Browse files
committed
[Debuginfod] Use env to fix debuginfod.test on Win32.
1 parent e4543af commit fd575ae

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

llvm/test/tools/llvm-debuginfod-find/debuginfod.test

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
# RUN: rm -rf %t
33
# RUN: mkdir %t
44
# # Query the python server for artifacts
5-
# RUN: DEBUGINFOD_CACHE_PATH=%t %python %s --server-path %S/Inputs \
5+
# RUN: env DEBUGINFOD_CACHE_PATH=%t %python %s --server-path %S/Inputs \
66
# RUN: --tool-cmd 'llvm-debuginfod-find --dump --executable abcdef' | \
77
# RUN: FileCheck %s --check-prefix=EXECUTABLE
8-
# RUN: DEBUGINFOD_CACHE_PATH=%t %python %s --server-path %S/Inputs \
8+
# RUN: env DEBUGINFOD_CACHE_PATH=%t %python %s --server-path %S/Inputs \
99
# RUN: --tool-cmd 'llvm-debuginfod-find --dump --source=/directory/file.c abcdef' | \
1010
# RUN: FileCheck %s --check-prefix=SOURCE
11-
# RUN: DEBUGINFOD_CACHE_PATH=%t %python %s --server-path %S/Inputs \
11+
# RUN: env DEBUGINFOD_CACHE_PATH=%t %python %s --server-path %S/Inputs \
1212
# RUN: --tool-cmd 'llvm-debuginfod-find --dump --debuginfo abcdef' | \
1313
# RUN: FileCheck %s --check-prefix=DEBUGINFO
1414

@@ -18,12 +18,12 @@
1818

1919
# # The artifacts should still be present in the cache without needing to query
2020
# # the server.
21-
# RUN: DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump --executable abcdef | \
21+
# RUN: env DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump --executable abcdef | \
2222
# RUN: FileCheck %s --check-prefix=EXECUTABLE
23-
# RUN: DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump \
23+
# RUN: env DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump \
2424
# RUN: --source=/directory/file.c abcdef | \
2525
# RUN: FileCheck %s --check-prefix=SOURCE
26-
# RUN: DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump --debuginfo abcdef | \
26+
# RUN: env DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump --debuginfo abcdef | \
2727
# RUN: FileCheck %s --check-prefix=DEBUGINFO
2828

2929

0 commit comments

Comments
 (0)