rust/tests/run-make
bors 17a681000b Auto merge of #111641 - michaelwoerister:debugger-visualizer-fixes, r=cjgillot
Fix dependency tracking for debugger visualizers

This PR fixes dependency tracking for debugger visualizer files by changing the `debugger_visualizers` query to an `eval_always` query that scans the AST while it is still available. This way the set of visualizer files is already available when dep-info is emitted. Since the query is turned into an `eval_always` query, dependency tracking will now reliably detect changes to the visualizer script files themselves.

TODO:
 - [x] perf.rlo
 - [x] Needs a bit more documentation in some places
 - [x] Needs regression test for the incr. comp. case

Fixes https://github.com/rust-lang/rust/issues/111226
Fixes https://github.com/rust-lang/rust/issues/111227
Fixes https://github.com/rust-lang/rust/issues/111295

r? `@wesleywiser`
cc `@gibbyfree`
2023-05-19 11:30:44 +00:00
..
a-b-a-linker-guard ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
alloc-no-oom-handling
alloc-no-rc
alloc-no-sync
allow-non-lint-warnings-cmdline ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
allow-warnings-cmdline-stability ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
archive-duplicate-names ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
arguments-non-c-like-enum ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
atomic-lock-free
bare-outfile ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
branch-protection-check-IBT Add GNU Property Note 2023-05-05 18:32:20 +00:00
c-dynamic-dylib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
c-dynamic-rlib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
c-link-to-rust-dylib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
c-link-to-rust-staticlib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
c-link-to-rust-va-list-fn ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
c-static-dylib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
c-static-rlib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
c-unwind-abi-catch-lib-panic Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
c-unwind-abi-catch-panic Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
cat-and-grep-sanity-check
cdylib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
cdylib-dylib-linkage ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
cdylib-fewer-symbols ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
codegen-options-parsing ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
compile-stdin ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
compiler-lookup-paths try to fix test-various 2023-04-02 17:54:24 -04:00
compiler-lookup-paths-2
compiler-rt-works-on-mingw
const_fn_mir Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
const-prop-lint Do not rely on exact error code. 2023-04-21 16:14:44 +00:00
core-no-fp-fmt-parse
core-no-oom-handling tests: add test for warning-free builds of core under no_global_oom_handling 2023-04-24 01:56:37 +02:00
coverage Fix instrument-coverage tests by using Python to sort instantiation groups 2023-05-07 13:47:14 +10:00
coverage-llvmir Usage of atomic counters for llvm code coverage 2023-05-12 01:40:04 +03:00
coverage-reports Fix instrument-coverage tests by using Python to sort instantiation groups 2023-05-07 13:47:14 +10:00
crate-data-smoke
crate-hash-rustc-version ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
crate-name-priority ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
cross-lang-lto
cross-lang-lto-clang
cross-lang-lto-pgo-smoketest
cross-lang-lto-upstream-rlibs
CURRENT_RUSTC_VERSION Only depend on CFG_VERSION in rustc_interface 2023-05-17 23:54:21 -05:00
debug-assertions Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
debugger-visualizer-dep-info Add/improve tests for debugger_visualizer change detection. 2023-05-17 11:39:11 +02:00
dep-graph
dep-info
dep-info-doesnt-run-much
dep-info-spaces
doctests-keep-binaries ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
dump-mono-stats
duplicate-output-flavors
dylib-chain ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
emit ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
emit-named-files
emit-path-unhashed
emit-shared-files
emit-stack-sizes
env-dep-info
error-found-staticlib-instead-crate
error-writing-dependencies
exit-code ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
export-executable-symbols
extern-diff-internal-name ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-flag-disambiguates ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-flag-fun ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-flag-pathless ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-flag-rename-transitive
extern-fn-generic ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-fn-mangle ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-fn-reachable ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-fn-struct-passing-abi ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-fn-with-extern-types ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-fn-with-packed-struct ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-fn-with-union ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-multiple-copies ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-multiple-copies2 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extern-overrides-distribution ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
extra-filename-with-temp-outputs ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
fmt-write-bloat Auto merge of #109770 - jyn514:run-make-fulldeps, r=Mark-Simulacrum 2023-04-03 01:34:05 +00:00
forced-unwind-terminate-pof Add test for unwinding past terminating POF 2023-05-07 12:38:47 +01:00
foreign-double-unwind Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
foreign-exceptions Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
foreign-rust-exceptions Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
fpic ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
glibc-staticlib-args ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
hir-tree
inaccessible-temp-dir run-make test: using single quotes to not trigger the shell 2023-04-28 16:11:45 +02:00
include_bytes_deps
incr-add-rust-src-component ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
incr-foreign-head-span
incr-prev-body-beyond-eof
incremental-debugger-visualizer Fix run-make/inrcemental-debugger-visualizer test for macOS. 2023-05-19 11:02:16 +02:00
incremental-session-fail
inline-always-many-cgu
interdependent-c-libraries ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
intrinsic-unreachable
invalid-library
invalid-so
invalid-staticlib
issue64319 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-7349
issue-10971-temps-dir
issue-11908 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-14500 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-14698
issue-15460 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-18943
issue-20626 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-22131 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-24445 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-25581 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-26006 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-26092
issue-28595 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-28766
issue-30063 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-33329
issue-35164
issue-36710 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-37839 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-37893 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-38237 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-40535
issue-46239 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-47384
issue-47551
issue-51671 Revert "Remove #[alloc_error_handler] from the compiler and library" 2023-04-25 00:08:35 +02:00
issue-53964
issue-64153
issue-68794-textrel-on-minimal-lib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-69368 Revert "Remove #[alloc_error_handler] from the compiler and library" 2023-04-25 00:08:35 +02:00
issue-71519
issue-83045
issue-83112-incr-test-moved-file
issue-84395-lto-embed-bitcode
issue-85019-moved-src-dir
issue-85401-static-mir
issue-85441
issue-88756-default-output
issue-96498
issue-97463-abi-param-passing ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
issue-107094 Make commit-date pattern more specific in test for issue 107094 2023-04-17 18:53:52 +02:00
issue-109934-lto-debuginfo debuginfo: split method declaration and definition 2023-05-03 15:52:31 -07:00
jobserver-error Temporarily disable the jobserver-error test 2023-04-15 07:40:19 -07:00
libs-through-symlinks ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
libtest-json Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
libtest-junit junit: fix typo in comment and don't include output for passes when not requested 2023-04-28 18:37:26 -04:00
libtest-thread-limit Auto merge of #109770 - jyn514:run-make-fulldeps, r=Mark-Simulacrum 2023-04-03 01:34:05 +00:00
link-arg
link-args-order
link-cfg ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
link-dedup
link-path-order ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
linkage-attr-on-static ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
llvm-outputs
long-linker-command-lines ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
long-linker-command-lines-cmd-exe ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
longjmp-across-rust ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
ls-metadata ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
lto-dylib-dep ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
lto-empty ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
lto-no-link-whole-rlib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
lto-readonly-lib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
lto-smoke ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
lto-smoke-c ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
macos-deployment-target
macos-fat-archive
manual-crate-name
manual-link ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
many-crates-but-no-match
metadata-flag-frobs-symbols ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
min-global-align
mingw-export-call-convention
mismatching-target-triples
missing-crate-dependency
mixing-deps ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
mixing-formats ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
mixing-libs ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
msvc-opt-minsize ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
multiple-emits
native-link-modifier-bundle
native-link-modifier-verbatim-linker
native-link-modifier-verbatim-rustc
native-link-modifier-whole-archive
no-builtins-lto
no-duplicate-libs ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
no-input-file
no-intermediate-extras ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
obey-crate-type-flag ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
output-filename-conflicts-with-directory
output-filename-overwrites-input ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
output-type-permutations ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
output-with-hyphens ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
override-aliased-flags ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
overwrite-input
panic-impl-transitive
pass-linker-flags
pass-linker-flags-from-dep
pass-non-c-like-enum-to-c ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
pgo-branch-weights
pgo-gen
pgo-gen-lto
pgo-gen-no-imp-symbols
pgo-indirect-call-promotion
pgo-use
pointer-auth-link-with-c pointer-auth-link-with-c: Fix cross compilation. 2023-04-21 18:38:17 -07:00
prefer-dylib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
prefer-rlib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
pretty-print-to-file
print-calling-conventions
print-cfg
print-target-list
profile
prune-link-args ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
raw-dylib-alt-calling-convention Stablize raw-dylib, link_ordinal and -Cdlltool 2023-04-18 11:01:07 -07:00
raw-dylib-c Stablize raw-dylib, link_ordinal and -Cdlltool 2023-04-18 11:01:07 -07:00
raw-dylib-cross-compilation Stablize raw-dylib, link_ordinal and -Cdlltool 2023-04-18 11:01:07 -07:00
raw-dylib-custom-dlltool Stablize raw-dylib, link_ordinal and -Cdlltool 2023-04-18 11:01:07 -07:00
raw-dylib-import-name-type Stablize raw-dylib, link_ordinal and -Cdlltool 2023-04-18 11:01:07 -07:00
raw-dylib-inline-cross-dylib Stablize raw-dylib, link_ordinal and -Cdlltool 2023-04-18 11:01:07 -07:00
raw-dylib-link-ordinal Stablize raw-dylib, link_ordinal and -Cdlltool 2023-04-18 11:01:07 -07:00
raw-dylib-stdcall-ordinal Stablize raw-dylib, link_ordinal and -Cdlltool 2023-04-18 11:01:07 -07:00
redundant-libs ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
relocation-model ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
relro-levels ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
remap-path-prefix
remap-path-prefix-dwarf
repr128-dwarf
reproducible-build ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
reproducible-build-2 ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
resolve-rename
return-non-c-like-enum ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
return-non-c-like-enum-from-c ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
rlib-chain ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
rlib-format-packed-bundled-libs
rlib-format-packed-bundled-libs-2
rlib-format-packed-bundled-libs-3
rustc-macro-dep-files
rustdoc-determinism
rustdoc-error-lines
rustdoc-io-error
rustdoc-map-file
rustdoc-output-path
rustdoc-scrape-examples-invalid-expr
rustdoc-scrape-examples-macros ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
rustdoc-scrape-examples-multiple
rustdoc-scrape-examples-ordering
rustdoc-scrape-examples-remap
rustdoc-scrape-examples-test
rustdoc-scrape-examples-whitespace
rustdoc-shared-flags Replace rustdoc-ui/{c,z}-help tests with a run-make test 2023-04-12 05:34:21 -05:00
rustdoc-target-spec-json-path
rustdoc-themes
rustdoc-verify-output-files Rollup merge of #109036 - chenyukang:yukang/fix-testcase, r=jyn514 2023-04-13 21:58:35 +02:00
rustdoc-with-out-dir-option
rustdoc-with-output-option
rustdoc-with-short-out-dir-option
sanitizer-cdylib-link
sanitizer-dylib-link
sanitizer-staticlib-link
separate-link ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
separate-link-fail
sepcomp-cci-copies
sepcomp-inlining
sepcomp-separate
share-generics-dylib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
short-ice Fix #107910, Shorten backtraces in ICEs 2023-05-17 17:56:26 +08:00
simd-ffi
simple-dylib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
simple-rlib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
split-debuginfo ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
stable-symbol-names
static-dylib-by-default ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
static-extern-type ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
static-pie make 32bit ignore more accurate 2023-04-03 10:23:08 +02:00
static-unwinding Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
staticlib-blank-lib
staticlib-dylib-linkage Ignore test when cross compiling 2023-04-27 18:22:06 +00:00
std-core-cycle ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
stdin-non-utf8
suspicious-library ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
symbol-visibility ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
symbols-include-type-name
symlinked-extern ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
symlinked-libraries ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
symlinked-rlib ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
sysroot-crates-are-unstable fix sysroot-crates-are-unstable for cross-compilation 2023-03-30 08:44:46 -05:00
target-cpu-native
target-specs
target-without-atomic-cas
test-benches Add needs-unwind annotations to tests that need stack unwinding 2023-05-02 12:07:55 +00:00
test-harness ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
thumb-none-cortex-m
thumb-none-qemu
track-path-dep-info
track-pgo-dep-info
translation Fix tests/run-make-translation when download-rustc is enabled 2023-04-19 00:39:20 -05:00
type-mismatch-same-crate-name
unstable-flag-required
use-extern-for-plugins fix solaris ignore 2023-04-03 10:23:15 +02:00
use-suggestions-rust-2018
used
used-cdylib-macos
valid-print-requests Add deployment-target --print flag for Apple targets 2023-05-05 01:22:17 -05:00
version
volatile-intrinsics ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
wasm-abi
wasm-custom-section
wasm-custom-sections-opt
wasm-export-all-symbols
wasm-import-module
wasm-panic-small
wasm-spurious-import
wasm-stringify-ints-small
wasm-symbols-different-module
wasm-symbols-not-exported Revert "Remove #[alloc_error_handler] from the compiler and library" 2023-04-25 00:08:35 +02:00
wasm-symbols-not-imported
weird-output-filenames
windows-binary-no-external-deps
windows-spawn
windows-subsystem ignore failing cross-compiled run-make tests 2023-03-30 08:46:31 -05:00
x86_64-fortanix-unknown-sgx-lvi
git_clone_sha1.sh
tools.mk