[llvm] fd575ae - [Debuginfod] Use env to fix debuginfod.test on Win32.
Daniel Thornburgh via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 30 14:38:26 PDT 2022
Author: Daniel Thornburgh
Date: 2022-03-30T21:38:12Z
New Revision: fd575ae29a42b40fd615dc9b44ac77414b8b8749
URL: https://github.com/llvm/llvm-project/commit/fd575ae29a42b40fd615dc9b44ac77414b8b8749
DIFF: https://github.com/llvm/llvm-project/commit/fd575ae29a42b40fd615dc9b44ac77414b8b8749.diff
LOG: [Debuginfod] Use env to fix debuginfod.test on Win32.
Added:
Modified:
llvm/test/tools/llvm-debuginfod-find/debuginfod.test
Removed:
################################################################################
diff --git a/llvm/test/tools/llvm-debuginfod-find/debuginfod.test b/llvm/test/tools/llvm-debuginfod-find/debuginfod.test
index d1c9c693c0e4a..798f6f3c8ee6e 100644
--- a/llvm/test/tools/llvm-debuginfod-find/debuginfod.test
+++ b/llvm/test/tools/llvm-debuginfod-find/debuginfod.test
@@ -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
More information about the llvm-commits
mailing list