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
2
2
UNSUPPORTED: system-windows
3
3
4
4
RUN: 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
6
7
RUN: 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
8
9
RUN: mkdir %t/cache
9
10
RUN: env DEBUGINFOD_CACHE_PATH=%t/cache DEBUGINFOD_URLS=file://%t \
10
11
RUN: llvm-debuginfod-find --debuginfo 0123456789012345 > /dev/null
Original file line number Diff line number Diff line change 13
13
# RUN: rm -rf %t
14
14
# RUN: mkdir %t
15
15
# # 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' \
17
17
# RUN: --tool-cmd 'llvm-debuginfod-find --dump --executable 2c39b7557c50162aaeb5a3148c9f76e6e46012e3' | \
18
18
# 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' \
20
20
# RUN: --tool-cmd 'llvm-debuginfod-find --dump --debuginfo 2c39b7557c50162aaeb5a3148c9f76e6e46012e3' | \
21
21
# RUN: diff - %S/Inputs/main-debug.exe
22
22
# Debuginfod server does not yet support source files
23
23
24
24
# # The artifacts should still be present in the cache without needing to query
25
25
# # the server.
26
- # RUN: DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump \
26
+ # RUN: env DEBUGINFOD_CACHE_PATH=%t llvm-debuginfod-find --dump \
27
27
# RUN: --executable 2c39b7557c50162aaeb5a3148c9f76e6e46012e3 | \
28
28
# 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 \
30
30
# RUN: --debuginfo 2c39b7557c50162aaeb5a3148c9f76e6e46012e3 | \
31
31
# RUN: diff - %S/Inputs/main-debug.exe
32
32
You can’t perform that action at this time.
0 commit comments