[Debuginfod] Use env to fix debuginfod.test on Win32.

This commit is contained in:
Daniel Thornburgh 2022-03-22 17:09:51 +00:00
parent e4543af4e6
commit fd575ae29a
1 changed files with 6 additions and 6 deletions

View File

@ -2,13 +2,13 @@
# RUN: rm -rf %t
# RUN: mkdir %t
# # Query the python server for artifacts
# RUN: DEBUGINFOD_CACHE_PATH=%t %python %s --server-path %S/Inputs \
# RUN: env DEBUGINFOD_CACHE_PATH=%t %python %s --server-path %S/Inputs \
# RUN: --tool-cmd 'llvm-debuginfod-find --dump --executable abcdef' | \
# RUN: FileCheck %s --check-prefix=EXECUTABLE
# RUN: DEBUGINFOD_CACHE_PATH=%t %python %s --server-path %S/Inputs \
# RUN: env DEBUGINFOD_CACHE_PATH=%t %python %s --server-path %S/Inputs \
# RUN: --tool-cmd 'llvm-debuginfod-find --dump --source=/directory/file.c abcdef' | \
# RUN: FileCheck %s --check-prefix=SOURCE
# RUN: DEBUGINFOD_CACHE_PATH=%t %python %s --server-path %S/Inputs \
# RUN: env DEBUGINFOD_CACHE_PATH=%t %python %s --server-path %S/Inputs \
# RUN: --tool-cmd 'llvm-debuginfod-find --dump --debuginfo abcdef' | \
# RUN: FileCheck %s --check-prefix=DEBUGINFO
@ -18,12 +18,12 @@
# # The artifacts should still be present in the cache without needing to query
# # the server.
# RUN: DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump --executable abcdef | \
# RUN: env DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump --executable abcdef | \
# RUN: FileCheck %s --check-prefix=EXECUTABLE
# RUN: DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump \
# RUN: env DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump \
# RUN: --source=/directory/file.c abcdef | \
# RUN: FileCheck %s --check-prefix=SOURCE
# RUN: DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump --debuginfo abcdef | \
# RUN: env DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump --debuginfo abcdef | \
# RUN: FileCheck %s --check-prefix=DEBUGINFO