]> git.lizzy.rs Git - rust.git/commit
testsuite: implement #[reexport_test_harness_name] to get access to the
authorHuon Wilson <dbau.pp+github@gmail.com>
Fri, 8 Aug 2014 14:01:05 +0000 (00:01 +1000)
committerHuon Wilson <dbau.pp+github@gmail.com>
Sat, 9 Aug 2014 03:00:58 +0000 (13:00 +1000)
commitedc9191921a9ef8ff8438a10b5f315ae9190e48c
treeee5731df5eda2b73d0d522c864fe2b6ef604aade
parentc3284733e3effa92cff2f87b7a38c27ac781411e
testsuite: implement #[reexport_test_harness_name] to get access to the
default entrypoint of the --test binary.

This allows one to, e.g., run tests under libgreen by starting it
manually, passing in the test entrypoint.
src/librustc/front/test.rs
src/librustuv/lib.rs
src/libstd/lib.rs
src/test/run-pass/core-run-destroy.rs
src/test/run-pass/reexport-test-harness-main.rs [new file with mode: 0644]
src/test/run-pass/tcp-connect-timeouts.rs