mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-13 04:26:48 +00:00
update tests for the test harness's json formatting
This commit is contained in:
parent
4edba553c3
commit
eb00459737
18
tests/ui/feature-gates/test-listing-format-json.rs
Normal file
18
tests/ui/feature-gates/test-listing-format-json.rs
Normal file
@ -0,0 +1,18 @@
|
||||
// no-prefer-dynamic
|
||||
// compile-flags: --test
|
||||
// run-flags: --list --format json -Zunstable-options
|
||||
// run-fail
|
||||
// check-run-results
|
||||
// ignore-nightly
|
||||
// unset-exec-env:RUSTC_BOOTSTRAP
|
||||
|
||||
#![cfg(test)]
|
||||
#[test]
|
||||
fn m_test() {}
|
||||
|
||||
#[test]
|
||||
#[ignore = "not yet implemented"]
|
||||
fn z_test() {}
|
||||
|
||||
#[test]
|
||||
fn a_test() {}
|
@ -0,0 +1 @@
|
||||
error: the option `Z` is only accepted on the nightly compiler
|
@ -3,6 +3,7 @@
|
||||
// run-flags: --list --format json -Zunstable-options
|
||||
// run-pass
|
||||
// check-run-results
|
||||
// only-nightly
|
||||
// normalize-stdout-test: "fake-test-src-base/test-attrs/" -> "$$DIR/"
|
||||
// normalize-stdout-test: "fake-test-src-base\\test-attrs\\" -> "$$DIR/"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user