rust/tests
Yuki Okushi 2981d7781c
Rollup merge of #109509 - ehuss:overlapping-tests, r=Mark-Simulacrum
compiletest: Don't allow tests with overlapping prefix names

Some tests will delete their output directory before starting. The output directory is based on the test names. If one test is the prefix of another test, then when that test starts, it could try to delete the output directory of the other test with the longer path, or otherwise clash with it while the two tests are trying to create/delete/modify the same directory.

In practice, this manifested as a random error on macOS where two tests were trying to create/delete/create `rustdoc/primitive` and `rustdoc/primitive/no_std`, which resulted in an EINVAL (InvalidInput) error.

This renames some of the offending tests, adds `compiletest-ignore-dir` to prevent compiletest from processing some files, and adds a check to prevent this from happening in the future.

Fixes #109397
2023-03-30 21:07:00 +09:00
..
assembly
auxiliary
codegen update codegen test expectations 2023-03-27 17:44:33 +00:00
codegen-units
debuginfo
incremental
mir-opt Rollup merge of #109664 - m-ou-se:format-args-placeholder-span, r=oli-obk 2023-03-29 14:07:28 +05:30
pretty
run-make Rollup merge of #109694 - BelovDV:fix-panic-jobserver-token, r=bjorn3 2023-03-29 06:02:42 +02:00
run-make-fulldeps Rollup merge of #109213 - oli-obk:cstore, r=cjgillot 2023-03-22 22:44:40 +01:00
run-pass-valgrind
rustdoc Rollup merge of #109509 - ehuss:overlapping-tests, r=Mark-Simulacrum 2023-03-30 21:07:00 +09:00
rustdoc-gui Rollup merge of #109633 - GuillaumeGomez:fix-go-to-only-setting, r=notriddle 2023-03-27 08:46:53 +02:00
rustdoc-js rustdoc: add support for type filters in arguments and generics 2023-03-20 22:41:57 -07:00
rustdoc-js-std rustdoc: add support for type filters in arguments and generics 2023-03-20 22:41:57 -07:00
rustdoc-json rustdoc + rustdoc-json support for non_lifetime_binders 2023-03-28 16:50:49 +00:00
rustdoc-ui Rollup merge of #109330 - GuillaumeGomez:intermediate-reexport-intra-doc-ice, r=petrochenkov 2023-03-27 18:56:19 +02:00
ui Rollup merge of #109509 - ehuss:overlapping-tests, r=Mark-Simulacrum 2023-03-30 21:07:00 +09:00
ui-fulldeps Auto merge of #109224 - oli-obk:smir, r=pnkfelix 2023-03-30 02:59:25 +00:00
COMPILER_TESTS.md