mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
Update some tests that now support stable.
This commit is contained in:
parent
8e9c86c6f2
commit
4dbc63ef1e
@ -2276,11 +2276,6 @@ fn flags_go_into_tests() {
|
|||||||
|
|
||||||
#[cargo_test]
|
#[cargo_test]
|
||||||
fn diamond_passes_args_only_once() {
|
fn diamond_passes_args_only_once() {
|
||||||
// FIXME: when pipelining rides to stable, enable this test on all channels.
|
|
||||||
if !cargo_test_support::is_nightly() {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
let p = project()
|
let p = project()
|
||||||
.file(
|
.file(
|
||||||
"Cargo.toml",
|
"Cargo.toml",
|
||||||
|
@ -4,11 +4,6 @@ use std::env;
|
|||||||
|
|
||||||
#[cargo_test]
|
#[cargo_test]
|
||||||
fn rustc_info_cache() {
|
fn rustc_info_cache() {
|
||||||
// FIXME: when pipelining rides to stable, enable this test on all channels.
|
|
||||||
if !cargo_test_support::is_nightly() {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
let p = project()
|
let p = project()
|
||||||
.file("src/main.rs", r#"fn main() { println!("hello"); }"#)
|
.file("src/main.rs", r#"fn main() { println!("hello"); }"#)
|
||||||
.build();
|
.build();
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
use cargo_test_support::{basic_manifest, is_nightly, project};
|
use cargo_test_support::{basic_manifest, project};
|
||||||
|
|
||||||
#[cargo_test]
|
#[cargo_test]
|
||||||
fn rustdoc_simple() {
|
fn rustdoc_simple() {
|
||||||
@ -163,11 +163,6 @@ fn features() {
|
|||||||
|
|
||||||
#[cargo_test]
|
#[cargo_test]
|
||||||
fn proc_macro_crate_type() {
|
fn proc_macro_crate_type() {
|
||||||
// NOTE - Remove this once 'rustdoc --crate-type'
|
|
||||||
// rides to stable
|
|
||||||
if !is_nightly() {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
let p = project()
|
let p = project()
|
||||||
.file(
|
.file(
|
||||||
"Cargo.toml",
|
"Cargo.toml",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user