]> git.lizzy.rs Git - rust.git/blob - src/test/run-make/crate-data-smoke/Makefile
5009ed15ee6c02dacc0f64389840b67a42a59f02
[rust.git] / src / test / run-make / crate-data-smoke / Makefile
1 -include ../tools.mk
2
3 all:
4         [ `$(RUSTC) --crate-id crate.rs` = "foo#0.10-pre" ]
5         [ `$(RUSTC) --crate-name crate.rs` = "foo" ]
6         [ `$(RUSTC) --crate-file-name crate.rs` = "foo" ]
7         [ `$(RUSTC) --crate-file-name --crate-type=lib --test crate.rs` = "foo" ]
8         [ `$(RUSTC) --crate-file-name --test lib.rs` = "mylib" ]
9         $(RUSTC) --crate-file-name lib.rs
10         $(RUSTC) --crate-file-name rlib.rs