2023-02-08 02:41:28 +00:00
|
|
|
//@ no-prefer-dynamic
|
|
|
|
//@ compile-flags: --test
|
|
|
|
//@ run-flags: --list --format json -Zunstable-options
|
|
|
|
//@ run-pass
|
|
|
|
//@ check-run-results
|
2023-04-17 09:00:50 +00:00
|
|
|
//@ only-nightly
|
2024-12-25 11:12:17 +00:00
|
|
|
//@ normalize-stdout: "fake-test-src-base/test-attrs/" -> "$$DIR/"
|
|
|
|
//@ normalize-stdout: "fake-test-src-base\\test-attrs\\" -> "$$DIR/"
|
2023-02-08 02:41:28 +00:00
|
|
|
|
|
|
|
// Checks the listing of tests with --format json.
|
|
|
|
|
|
|
|
#![cfg(test)]
|
|
|
|
#[test]
|
|
|
|
fn m_test() {}
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
#[ignore = "not yet implemented"]
|
|
|
|
fn z_test() {}
|
|
|
|
|
|
|
|
#[test]
|
|
|
|
fn a_test() {}
|