Moved issue tests to subdirs and normalised names.
This commit is contained in:
parent
7486b9c208
commit
fe30743c79
|
@ -1,8 +1,8 @@
|
|||
// min-lldb-version: 310
|
||||
|
||||
// aux-build:issue13213aux.rs
|
||||
// aux-build:issue-13213-aux.rs
|
||||
|
||||
extern crate issue13213aux;
|
||||
extern crate issue_13213_aux;
|
||||
|
||||
// compile-flags:-g
|
||||
|
||||
|
@ -10,6 +10,6 @@ extern crate issue13213aux;
|
|||
// statics that are marked with AvailableExternallyLinkage in the importing crate, may actually not
|
||||
// be available because they have been optimized out from the exporting crate.
|
||||
fn main() {
|
||||
let b: issue13213aux::S = issue13213aux::A;
|
||||
let b: issue_13213_aux::S = issue_13213_aux::A;
|
||||
println!("Nothing to do here...");
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// aux-build:issue_49482_macro_def.rs
|
||||
// aux-build:issue_49482_reexport.rs
|
||||
// aux-build:issue-49482-macro-def.rs
|
||||
// aux-build:issue-49482-reexport.rs
|
||||
// revisions: rpass1
|
||||
|
||||
extern crate issue_49482_reexport;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// aux-build:issue_54059.rs
|
||||
// aux-build:issue-54059.rs
|
||||
// ignore-wasm32-bare no libc for ffi testing
|
||||
// ignore-windows - dealing with weird symbols issues on dylibs isn't worth it
|
||||
// revisions: rpass1
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
// The next line should not be expanded
|
||||
|
||||
#[path = "issue-12590-b.rs"]
|
||||
mod issue_12590_b;
|
||||
|
||||
fn main() { }
|
|
@ -0,0 +1,5 @@
|
|||
// Second part of two-file test
|
||||
|
||||
fn b() { }
|
||||
|
||||
fn main() { }
|
|
@ -6,10 +6,11 @@ use ::std::prelude::v1::*;
|
|||
extern crate std;
|
||||
// pretty-compare-only
|
||||
// pretty-mode:expanded
|
||||
// pp-exact:issue_12590_c.pp
|
||||
// pp-exact:issue-12590-c.pp
|
||||
|
||||
// The next line should be expanded
|
||||
|
||||
#[path = "issue-12590-b.rs"]
|
||||
mod issue_12590_b {
|
||||
|
||||
fn b() { }
|
|
@ -1,9 +1,10 @@
|
|||
// pretty-compare-only
|
||||
// pretty-mode:expanded
|
||||
// pp-exact:issue_12590_c.pp
|
||||
// pp-exact:issue-12590-c.pp
|
||||
|
||||
// The next line should be expanded
|
||||
|
||||
#[path = "issue-12590-b.rs"]
|
||||
mod issue_12590_b;
|
||||
|
||||
fn main() { }
|
|
@ -1,4 +0,0 @@
|
|||
// Second part of two file test
|
||||
fn b() { }
|
||||
|
||||
fn main() { }
|
|
@ -1,4 +1,4 @@
|
|||
// aux-build:custom_derive_partial_eq.rs
|
||||
// aux-build:custom-derive-partial-eq.rs
|
||||
// ignore-stage1
|
||||
#![feature(plugin)]
|
||||
#![plugin(custom_derive_partial_eq)]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// aux-build:custom_derive_plugin_attr.rs
|
||||
// aux-build:custom-derive-plugin-attr.rs
|
||||
// ignore-stage1
|
||||
|
||||
#![feature(plugin, rustc_attrs)]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// aux-build:custom_derive_plugin.rs
|
||||
// aux-build:custom-derive-plugin.rs
|
||||
// ignore-stage1
|
||||
|
||||
#![feature(plugin)]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// aux-build:lint_for_crate.rs
|
||||
// aux-build:lint-for-crate.rs
|
||||
// ignore-stage1
|
||||
// compile-flags: -D crate-not-okay
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// aux-build:issue_24106.rs
|
||||
// aux-build:issue-24106.rs
|
||||
|
||||
extern crate issue_24106;
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
#![allow(dead_code)]
|
||||
// aux-build:custom_derive_plugin.rs
|
||||
// aux-build:custom-derive-plugin.rs
|
||||
// ignore-stage1
|
||||
|
||||
#![feature(plugin)]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// aux-build:llvm_pass_plugin.rs
|
||||
// aux-build:llvm-pass-plugin.rs
|
||||
// ignore-stage1
|
||||
|
||||
#![feature(plugin)]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#![allow(dead_code)]
|
||||
#![allow(unused_variables)]
|
||||
#![allow(unused_imports)]
|
||||
// aux-build:macro_crate_test.rs
|
||||
// aux-build:macro-crate-test.rs
|
||||
// ignore-stage1
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// aux-build:plugin_args.rs
|
||||
// aux-build:plugin-args.rs
|
||||
// ignore-stage1
|
||||
|
||||
#![feature(plugin)]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// aux-build:plugin_args.rs
|
||||
// aux-build:plugin-args.rs
|
||||
// ignore-stage1
|
||||
|
||||
#![feature(plugin)]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// aux-build:plugin_args.rs
|
||||
// aux-build:plugin-args.rs
|
||||
// ignore-stage1
|
||||
|
||||
#![feature(plugin)]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// aux-build:roman_numerals.rs
|
||||
// aux-build:roman-numerals.rs
|
||||
// ignore-stage1
|
||||
|
||||
#![feature(plugin)]
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#![crate_type = "lib"]
|
||||
|
||||
#[path = "issue-3136-a.rs"]
|
||||
pub mod issue_3136_a;
|
|
@ -1,5 +1,5 @@
|
|||
// run-pass
|
||||
// aux-build:issue_10031_aux.rs
|
||||
// aux-build:issue-10031-aux.rs
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
extern crate issue_10031_aux;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// run-pass
|
||||
#![allow(unused_imports)]
|
||||
// aux-build:issue_12612_1.rs
|
||||
// aux-build:issue_12612_2.rs
|
||||
// aux-build:issue-12612-1.rs
|
||||
// aux-build:issue-12612-2.rs
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
// run-pass
|
||||
#![allow(unused_imports)]
|
||||
// aux-build:issue13507.rs
|
||||
// aux-build:issue-13507.rs
|
||||
|
||||
extern crate issue13507;
|
||||
use issue13507::testtypes;
|
||||
extern crate issue_13507;
|
||||
use issue_13507::testtypes;
|
||||
|
||||
use std::any::TypeId;
|
||||
|
||||
pub fn type_ids() -> Vec<TypeId> {
|
||||
use issue13507::testtypes::*;
|
||||
use issue_13507::testtypes::*;
|
||||
vec![
|
||||
TypeId::of::<FooBool>(),
|
||||
TypeId::of::<FooInt>(),
|
||||
|
@ -30,7 +30,7 @@ pub fn type_ids() -> Vec<TypeId> {
|
|||
}
|
||||
|
||||
pub fn main() {
|
||||
let othercrate = issue13507::testtypes::type_ids();
|
||||
let othercrate = issue_13507::testtypes::type_ids();
|
||||
let thiscrate = type_ids();
|
||||
assert_eq!(thiscrate, othercrate);
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// run-pass
|
||||
// aux-build:issue_19293.rs
|
||||
// aux-build:issue-19293.rs
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
extern crate issue_19293;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// run-pass
|
||||
#![allow(dead_code)]
|
||||
// aux-build:issue_20389.rs
|
||||
// aux-build:issue-20389.rs
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
// run-pass
|
||||
// aux-build:issue-2170-lib.rs
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
extern crate issue_2170_lib;
|
||||
|
||||
pub fn main() {
|
||||
// let _ = issue_2170_lib::rsrc(2);
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
// run-pass
|
||||
// aux-build:issue_2316_a.rs
|
||||
// aux-build:issue_2316_b.rs
|
||||
// aux-build:issue-2316-a.rs
|
||||
// aux-build:issue-2316-b.rs
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
// that separate file has many multi-byte characters, to try to
|
||||
// encourage the compiler to trip on them.
|
||||
|
||||
mod issue24687_mbcs_in_comments;
|
||||
#[path = "issue-24687-mbcs-in-comments.rs"]
|
||||
mod issue_24687_mbcs_in_comments;
|
||||
|
||||
pub use issue24687_mbcs_in_comments::D;
|
||||
pub use issue_24687_mbcs_in_comments::D;
|
||||
|
|
@ -1,11 +1,11 @@
|
|||
// run-pass
|
||||
// aux-build:issue24687_lib.rs
|
||||
// aux-build:issue-24687-lib.rs
|
||||
// compile-flags:-g
|
||||
|
||||
extern crate issue24687_lib as d;
|
||||
extern crate issue_24687_lib as d;
|
||||
|
||||
fn main() {
|
||||
// Create a d, which has a destructor whose body will be codegen'ed
|
||||
// Create a `D`, which has a destructor whose body will be codegen'ed
|
||||
// into the generated code here, and thus the local debuginfo will
|
||||
// need references into the original source locations from
|
||||
// `importer` above.
|
|
@ -1,5 +1,5 @@
|
|||
// run-pass
|
||||
// aux-build:issue_2472_b.rs
|
||||
// aux-build:issue-2472-b.rs
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
// ignore-pretty issue #37195
|
||||
|
||||
mod issue_26873_multifile;
|
||||
#[path = "issue-26873-multifile/mod.rs"]
|
||||
mod multifile;
|
||||
|
||||
fn main() {}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// run-pass
|
||||
// aux-build:issue_2723_a.rs
|
||||
// aux-build:issue-2723-a.rs
|
||||
|
||||
extern crate issue_2723_a;
|
||||
use issue_2723_a::f;
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
// run-pass
|
||||
// aux-build:issue_3136_a.rc
|
||||
// aux-build:issue-3136-a.rc
|
||||
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
extern crate issue_3136_a;
|
||||
|
||||
pub fn main() {}
|
|
@ -8,8 +8,8 @@
|
|||
// the symbol name.
|
||||
// The fix was to make the order in which predicates get encoded stable.
|
||||
|
||||
// aux-build:issue34796aux.rs
|
||||
extern crate issue34796aux;
|
||||
// aux-build:issue-34796-aux.rs
|
||||
extern crate issue_34796_aux;
|
||||
|
||||
fn mk<T>() -> T { loop {} }
|
||||
|
||||
|
@ -19,7 +19,7 @@ struct Data<T, E> {
|
|||
}
|
||||
|
||||
fn main() {
|
||||
issue34796aux::bar(|()| {
|
||||
issue_34796_aux::bar(|()| {
|
||||
Data::<(), std::io::Error> {
|
||||
data: mk(),
|
||||
error: mk(),
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
// run-pass
|
||||
// aux-build:issue_38190.rs
|
||||
// aux-build:issue-38190.rs
|
||||
// ignore-pretty issue #37195
|
||||
|
||||
#[macro_use]
|
||||
extern crate issue_38190;
|
||||
|
||||
mod auxiliary {
|
||||
m!([mod issue_38190;]);
|
||||
m!([
|
||||
#[path = "issue-38190.rs"]
|
||||
mod issue_38190;
|
||||
]);
|
||||
}
|
||||
|
||||
fn main() {}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
// This test makes sure that we don't run into a linker error because of the
|
||||
// middle::reachable pass missing trait methods with default impls.
|
||||
|
||||
// aux-build:issue_38226_aux.rs
|
||||
// aux-build:issue-38226-aux.rs
|
||||
|
||||
// Need -Cno-prepopulate-passes to really disable inlining, otherwise the faulty
|
||||
// code gets optimized out:
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// run-pass
|
||||
// aux-build:issue_38715.rs
|
||||
// aux-build:issue_38715-modern.rs
|
||||
// aux-build:issue-38715.rs
|
||||
// aux-build:issue-38715-modern.rs
|
||||
|
||||
// Test that `#[macro_export] macro_rules!` shadow earlier `#[macro_export] macro_rules!`
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// run-pass
|
||||
#![allow(dead_code)]
|
||||
// aux-build:issue_3979_traits.rs
|
||||
// aux-build:issue-3979-traits.rs
|
||||
|
||||
extern crate issue_3979_traits;
|
||||
use issue_3979_traits::{Positioned, Movable};
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// run-pass
|
||||
// aux-build:issue_39823.rs
|
||||
// aux-build:issue-39823.rs
|
||||
|
||||
extern crate issue_39823;
|
||||
use issue_39823::{RemoteC, RemoteG};
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
#![allow(dead_code)]
|
||||
|
||||
include!("auxiliary/issue_40469.rs");
|
||||
include!("auxiliary/issue-40469.rs");
|
||||
fn f() { m!(); }
|
||||
|
||||
fn main() {}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// run-pass
|
||||
// aux-build:issue_41053.rs
|
||||
// aux-build:issue-41053.rs
|
||||
|
||||
pub trait Trait { fn foo(&self) {} }
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// run-pass
|
||||
#![allow(dead_code)]
|
||||
// aux-build:issue_42007_s.rs
|
||||
// aux-build:issue-42007-s.rs
|
||||
|
||||
extern crate issue_42007_s;
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue