rust/mk
Alex Crichton 6d6ccb75ff Add a new run-make test directory
This infrastructure is meant to support runnings tests that involve various
interesting interdependencies about the types of crates being linked or possibly
interacting with C libraries. The goal of these make tests is to not restrict
them to a particular test runner, but allow each test to run its own tests.

To this end, there is a new src/test/run-make directory which has sub-folders of
tests. Each test requires a `Makefile`, and running the tests constitues simply
running `make` inside the directory. The new target is `check-stageN-rmake`.

These tests will have the destination directory (as TMPDIR) and the local rust
compiler (as RUSTC) passed along to them. There is also some helpful
cross-platform utilities included in src/test/run-make/tools.mk to aid with
compiling C programs and running them.

The impetus for adding this new test suite is to allow various interesting forms
of testing rust linkage. All of the tests initially added are various flavors of
compiling Rust and C with one another as well as just making sure that rust
linkage works in general.

Closes #10434
2013-11-29 18:36:14 -08:00
..
clean.mk Add generation of static libraries to rustc 2013-11-29 18:36:13 -08:00
ctags.mk Don't make tags for our dependencies and tests. 2013-11-16 13:44:52 +11:00
dist.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
docs.mk rustdoc: pass through --cfg to rustc 2013-11-24 23:33:44 -05:00
host.mk Add generation of static libraries to rustc 2013-11-29 18:36:13 -08:00
install.mk Statically link librustrt to libstd 2013-11-29 18:36:14 -08:00
llvm.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
perf.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
platform.mk Add generation of static libraries to rustc 2013-11-29 18:36:13 -08:00
pp.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
rt.mk Statically link librustrt to libstd 2013-11-29 18:36:14 -08:00
rustllvm.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
snap.mk support for GNU configure syntax 2013-10-29 16:22:08 -07:00
stage0.mk configure: Fix passing multiple target and host triples. 2013-11-01 03:34:16 -04:00
target.mk Add generation of static libraries to rustc 2013-11-29 18:36:13 -08:00
tests.mk Add a new run-make test directory 2013-11-29 18:36:14 -08:00
tools.mk Rename files to match current recommendations. 2013-11-03 23:49:01 +11:00