rust/src/test/run-make
bors ca7d839088 Auto merge of #47203 - varkor:output-filename-conflicts-with-directory, r=estebank
Warn when rustc output conflicts with existing directories

When the compiled executable would conflict with a directory, display a
rustc error instead of a verbose and potentially-confusing linker
error. This is a usability improvement, and doesn’t actually change
behaviour with regards to compilation success. This addresses the
concern in #35887. Fixes #13098.
2018-02-06 09:51:03 +00:00
..
a-b-a-linker-guard Remove excessive trailing newlines. 2017-12-30 15:50:52 +08:00
alloc-extern-crates
allow-non-lint-warnings-cmdline
allow-warnings-cmdline-stability
archive-duplicate-names rustbuild: Support specifying archiver and linker explicitly 2017-10-15 22:10:07 +03:00
atomic-lock-free Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
bare-outfile
c-dynamic-dylib
c-dynamic-rlib
c-link-to-rust-dylib
c-link-to-rust-staticlib
c-static-dylib
c-static-rlib
cat-and-grep-sanity-check Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
cdylib
cdylib-fewer-symbols Disable the cdylib-fewer-symbols test for all Windows (test was broken). 2017-11-28 23:38:04 +08:00
codegen-options-parsing rustc: Add -C lto=val option 2018-01-23 14:13:47 -08:00
compile-stdin
compiler-lookup-paths
compiler-lookup-paths-2
compiler-rt-works-on-mingw rustbuild: Support specifying archiver and linker explicitly 2017-10-15 22:10:07 +03:00
crate-data-smoke
crate-name-priority
debug-assertions
dep-info
dep-info-doesnt-run-much
dep-info-spaces
duplicate-output-flavors
dylib-chain
emit
error-found-staticlib-instead-crate Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
error-writing-dependencies Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
extern-diff-internal-name
extern-flag-disambiguates
extern-flag-fun
extern-fn-generic
extern-fn-mangle
extern-fn-reachable rustc_back: move dynamic_lib to rustc_metadata. 2017-12-04 18:25:29 +02:00
extern-fn-struct-passing-abi
extern-fn-with-extern-types Implement RFC 1861: Extern types 2017-10-27 23:01:34 +02:00
extern-fn-with-packed-struct
extern-fn-with-union
extern-multiple-copies
extern-multiple-copies2
extern-overrides-distribution
extra-filename-with-temp-outputs Shorten paths to auxiliary files created by tests 2017-11-03 22:41:15 +03:00
fpic
hir-tree Change the --unpretty flag to -Z unpretty 2018-01-18 21:50:50 -06:00
hotplug_codegen_backend rustc: Load the rustc_trans crate at runtime 2018-01-27 19:16:21 -08:00
include_bytes_deps add files loaded through doc(include) into dep-info 2017-12-19 16:43:32 -06:00
inline-always-many-cgu Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
interdependent-c-libraries
intrinsic-unreachable Add comments to the intrinsic-unreachable test programs. 2017-11-11 06:41:45 -08:00
invalid-library Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
invalid-staticlib Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
issue-7349 Update run-make tests. 2017-11-07 08:54:38 +01:00
issue-11908
issue-14500
issue-14698 Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
issue-15460
issue-18943
issue-19371 rustc: Load the rustc_trans crate at runtime 2018-01-27 19:16:21 -08:00
issue-20626
issue-22131 Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
issue-24445
issue-25581 Revert "tests: Update run-make/issue-25581 to reflect how fat pointers are passed." 2017-11-19 23:38:48 +02:00
issue-26006
issue-26092 Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
issue-28595
issue-28766
issue-30063
issue-33329 Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
issue-35164 Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
issue-37839
issue-37893
issue-38237
issue-40535 Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
issue-46239 rustc_trans: don't apply noalias on returned references. 2017-11-25 14:30:45 +02:00
issues-41478-43796
libs-and-bins
libs-through-symlinks
libtest-json libtest: Fixed call to python in run-make 2018-01-27 11:50:01 +02:00
link-arg Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
link-cfg Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
link-path-order
linkage-attr-on-static
linker-output-non-utf8 Fix typo 2018-01-10 09:15:51 +11:00
llvm-pass rustc: Load the rustc_trans crate at runtime 2018-01-27 19:16:21 -08:00
long-linker-command-lines
long-linker-command-lines-cmd-exe rustc: Lower link args to @-files on Windows more 2018-01-21 20:49:56 -08:00
ls-metadata
lto-no-link-whole-rlib
lto-readonly-lib
lto-smoke
lto-smoke-c
manual-crate-name
manual-link
many-crates-but-no-match Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
metadata-flag-frobs-symbols
min-global-align Add a test for min_global_align 2017-09-08 15:55:28 -07:00
mismatching-target-triples Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
missing-crate-dependency Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
mixing-deps
mixing-formats
mixing-libs
msvc-opt-minsize Update LLVM to fix miscompiles with -Copt-level=z on Windows 2017-11-12 15:12:02 +01:00
multiple-emits
no-builtins-lto Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
no-duplicate-libs
no-integrated-as Add run-make test for no_integrated_as flag. 2018-01-16 16:00:31 +03:00
no-intermediate-extras
obey-crate-type-flag
output-filename-conflicts-with-directory Specify output filenames for compatibility with Windows 2018-01-29 14:38:50 +00:00
output-filename-overwrites-input Specify output filenames for compatibility with Windows 2018-01-29 14:38:50 +00:00
output-type-permutations
output-with-hyphens
prefer-dylib
prefer-rlib
pretty-expanded
pretty-expanded-hygiene
pretty-print-path-suffix Change the --unpretty flag to -Z unpretty 2018-01-18 21:50:50 -06:00
pretty-print-to-file
print-cfg Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
print-target-list
profile
prune-link-args
relocation-model
reproducible-build Remove excessive trailing newlines. 2017-12-30 15:50:52 +08:00
rlib-chain
rustc-macro-dep-files Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
rustdoc-error-lines Add test for #45868 2018-01-10 10:34:14 +05:30
rustdoc-output-path rustbuild: Support specifying archiver and linker explicitly 2017-10-15 22:10:07 +03:00
sanitizer-address Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
sanitizer-cdylib-link Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
sanitizer-dylib-link Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
sanitizer-invalid-cratetype Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
sanitizer-invalid-target Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
sanitizer-leak Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
sanitizer-memory Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
sanitizer-staticlib-link Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
save-analysis add doc(include) to the save-analysis test 2018-01-30 20:54:34 -06:00
save-analysis-fail save-analysis: avoid implicit unwrap 2018-02-05 11:00:56 +13:00
sepcomp-cci-copies rustc: Don't inline in CGUs at -O0 2017-10-07 19:09:46 -07:00
sepcomp-inlining Use start for the sepcomp-inlining test 2017-12-26 12:26:39 +01:00
sepcomp-separate Update run-make tests. 2017-11-07 08:54:38 +01:00
simd-ffi Adjust tests for removal of impl Foo for .. {} 2018-01-13 18:48:00 +03:00
simple-dylib
simple-rlib
stable-symbol-names
static-dylib-by-default
static-nobundle Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
static-unwinding
staticlib-blank-lib rustbuild: Support specifying archiver and linker explicitly 2017-10-15 22:10:07 +03:00
stdin-non-utf8 Use file containing non-UTF-8 character instead of echo -e 2018-01-31 11:56:15 +00:00
suspicious-library
symbol-visibility Add regression test for symbol visibility when compiling rlib+cdylib in one session. 2017-10-31 14:00:28 +01:00
symbols-are-reasonable Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
symbols-include-type-name Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
symlinked-extern
symlinked-libraries
symlinked-rlib
sysroot-crates-are-unstable
target-cpu-native
target-specs Adjust tests for removal of impl Foo for .. {} 2018-01-13 18:48:00 +03:00
target-without-atomics Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
test-harness Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
treat-err-as-bug Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
type-mismatch-same-crate-name Reexport -> re-export in prose and documentation comments 2018-01-15 13:36:53 -05:00
use-extern-for-plugins
used Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
version
volatile-intrinsics Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00
weird-output-filenames Prevent rustc overwriting input files 2017-12-18 15:35:45 +00:00
windows-spawn
windows-subsystem
tools.mk Replace most call to grep in run-make by a script that cat the input. 2017-11-28 23:36:12 +08:00