]> git.lizzy.rs Git - rust.git/commit
Auto merge of #33228 - nikomatsakis:compiletest-gut, r=acrichto
authorbors <bors@rust-lang.org>
Fri, 6 May 2016 23:04:55 +0000 (16:04 -0700)
committerbors <bors@rust-lang.org>
Fri, 6 May 2016 23:04:55 +0000 (16:04 -0700)
commit62e2b2fb7acf5f8331781cd7128c754ed1b66c4f
tree5d9798189b1f572021a5c43d7f4785b285c2c928
parent0cb9bc51759eed8ac12dc52456a2fbb7ddf495db
parent707012494dcb66d55efebedbd7727469d3baa2b2
Auto merge of #33228 - nikomatsakis:compiletest-gut, r=acrichto

Move auxiliary directories to live with the tests

This is a step for enabling testing of cross-crate incremental compilation. The idea is that instead of having a central auxiliary directory, when you have a `// aux-build:foo.rs` annotation in the test `run-pass/bar.rs`, it will look in (e.g.) `run-pass/aux/foo.rs`. In general, it looks for an `aux` directory in the same directory as the test. We also ignore the `aux` directories when enumerating the set of tests.

As part of this PR, also refactor `runtest.rs` to use methods on a context, which means we can stop passing around context everywhere.

r? @alexcrichton
mk/tests.mk