-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support non-#[test] tests/non-#[bench] benchmarks #431
Comments
Sounds like a good idea! |
This was referenced Aug 25, 2014
alexcrichton
added a commit
to alexcrichton/cargo
that referenced
this issue
Aug 27, 2014
This option is used to disable the --test flag to rustc for a test or benchmark target in order to signal that the binary already knows how to run the testing infrastructure. The test/benchmark is still compiled and run as usual, and the exit code is expected to reflect the result of the test/benchmark. Closes rust-lang#431
bors
added a commit
that referenced
this issue
Aug 27, 2014
This option is used to disable the --test flag to rustc for a test or benchmark target in order to signal that the binary already knows how to run the testing infrastructure. The test/benchmark is still compiled and run as usual, and the exit code is expected to reflect the result of the test/benchmark. Closes #431
alexcrichton
added a commit
to alexcrichton/cargo
that referenced
this issue
Sep 2, 2014
This option is used to disable the --test flag to rustc for a test or benchmark target in order to signal that the binary already knows how to run the testing infrastructure. The test/benchmark is still compiled and run as usual, and the exit code is expected to reflect the result of the test/benchmark. Closes rust-lang#431
bors
added a commit
to alexcrichton/cargo
that referenced
this issue
Sep 2, 2014
This option is used to disable the --test flag to rustc for a test or benchmark target in order to signal that the binary already knows how to run the testing infrastructure. The test/benchmark is still compiled and run as usual, and the exit code is expected to reflect the result of the test/benchmark. Closes rust-lang#431
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Some libraries construct tests dynamically (e.g. in that case, it is reading an external set of testcases), having tests that aren't compiled with
--test
would allow for this, e.g.(And similarly for benchmarks, example.)
The text was updated successfully, but these errors were encountered: