File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ REQUIRES: curl
22UNSUPPORTED: system-windows
33
44RUN: rm -rf %t/*
5- RUN: mkdir -p %t/buildid/012345678901234{5,6}
5+ RUN: mkdir -p %t/buildid/0123456789012345
6+ RUN: mkdir -p %t/buildid/0123456789012346
67RUN: echo 'f' > %t/buildid/0123456789012345/debuginfo
7- RUN: cp %t/buildid/012345678901234{5,6} /debuginfo
8+ RUN: cp %t/buildid/0123456789012345/debuginfo %t/buildid/0123456789012346 /debuginfo
89RUN: mkdir %t/cache
910RUN: env DEBUGINFOD_CACHE_PATH=%t/cache DEBUGINFOD_URLS=file://%t \
1011RUN: llvm-debuginfod-find --debuginfo 0123456789012345 > /dev/null
Original file line number Diff line number Diff line change 1313# RUN: rm -rf %t
1414# RUN: mkdir %t
1515# # Query the debuginfod server for artifacts
16- # RUN: DEBUGINFOD_CACHE_PATH=%t %python %s --server-cmd 'llvm-debuginfod -v -c 3 %S/Inputs' \
16+ # RUN: env DEBUGINFOD_CACHE_PATH=%t %python %s --server-cmd 'llvm-debuginfod -v -c 3 %S/Inputs' \
1717# RUN: --tool-cmd 'llvm-debuginfod-find --dump --executable 2c39b7557c50162aaeb5a3148c9f76e6e46012e3' | \
1818# RUN: diff - %S/Inputs/main.exe
19- # RUN: DEBUGINFOD_CACHE_PATH=%t %python %s --server-cmd 'llvm-debuginfod -v -c 3 %S/Inputs' \
19+ # RUN: env DEBUGINFOD_CACHE_PATH=%t %python %s --server-cmd 'llvm-debuginfod -v -c 3 %S/Inputs' \
2020# RUN: --tool-cmd 'llvm-debuginfod-find --dump --debuginfo 2c39b7557c50162aaeb5a3148c9f76e6e46012e3' | \
2121# RUN: diff - %S/Inputs/main-debug.exe
2222# Debuginfod server does not yet support source files
2323
2424# # The artifacts should still be present in the cache without needing to query
2525# # the server.
26- # RUN: DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump \
26+ # RUN: env DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump \
2727# RUN: --executable 2c39b7557c50162aaeb5a3148c9f76e6e46012e3 | \
2828# RUN: diff - %S/Inputs/main.exe
29- # RUN: DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump \
29+ # RUN: env DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump \
3030# RUN: --debuginfo 2c39b7557c50162aaeb5a3148c9f76e6e46012e3 | \
3131# RUN: diff - %S/Inputs/main-debug.exe
3232
You can’t perform that action at this time.
0 commit comments