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

Daniel Thornburgh via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 30 14:30:02 PDT 2022


mysterymath created this revision.
Herald added a project: All.
mysterymath requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D122762

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


Index: llvm/test/tools/llvm-debuginfod-find/debuginfod.test
===================================================================
--- llvm/test/tools/llvm-debuginfod-find/debuginfod.test
+++ 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
 
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122762.419269.patch
Type: text/x-patch
Size: 1942 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220330/6db33d69/attachment.bin>


More information about the llvm-commits mailing list