diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-07-05 12:37:43 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-07-05 12:46:42 -0700 |
| commit | 56f71015515490b65b5fbb46ff0bbc7d7af82450 (patch) | |
| tree | 23adf899f04d42d55b35334a7c29d3be3f5a6e97 /src/test/run-make | |
| parent | 15b680ae86eefae754c3a348d89207fa100b4ca6 (diff) | |
| download | rust-56f71015515490b65b5fbb46ff0bbc7d7af82450.tar.gz rust-56f71015515490b65b5fbb46ff0bbc7d7af82450.zip | |
rustc: Default #[crate_name] on input, not output
Diffstat (limited to 'src/test/run-make')
| -rw-r--r-- | src/test/run-make/weird-output-filenames/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/test/run-make/weird-output-filenames/Makefile b/src/test/run-make/weird-output-filenames/Makefile index 37dcf9a6c4a..5d6e629ffc1 100644 --- a/src/test/run-make/weird-output-filenames/Makefile +++ b/src/test/run-make/weird-output-filenames/Makefile @@ -1,9 +1,12 @@ -include ../tools.mk all: - $(RUSTC) foo.rs -o $(TMPDIR)/.foo 2>&1 \ - | grep "invalid character in crate name:" - $(RUSTC) foo.rs -o $(TMPDIR)/.foo.bar 2>&1 \ - | grep "invalid character in crate name:" - $(RUSTC) foo.rs -o $(TMPDIR)/+foo+bar 2>&1 \ - | grep "invalid character in crate name:" + cp foo.rs $(TMPDIR)/.foo.rs + $(RUSTC) $(TMPDIR)/.foo.rs 2>&1 \ + | grep "invalid character.*in crate name:" + cp foo.rs $(TMPDIR)/.foo.bar + $(RUSTC) $(TMPDIR)/.foo.bar 2>&1 \ + | grep "invalid character.*in crate name:" + cp foo.rs $(TMPDIR)/+foo+bar + $(RUSTC) $(TMPDIR)/+foo+bar 2>&1 \ + | grep "invalid character.*in crate name:" |
