From 35c0bf32926ec8095a7ca5b5b77e612c15ddf098 Mon Sep 17 00:00:00 2001 From: Corey Richardson Date: Mon, 21 Jul 2014 15:57:14 -0700 Subject: Add a ton of ignore-lexer-test --- src/test/bench/core-std.rs | 1 + src/test/bench/msgsend-ring-mutex-arcs.rs | 1 + src/test/bench/msgsend-ring-rw-arcs.rs | 1 + src/test/bench/noise.rs | 1 + src/test/pretty/block-comment-wchar.rs | 1 + src/test/run-pass/byte-literals.rs | 2 ++ src/test/run-pass/default-method-supertrait-vtable.rs | 2 ++ src/test/run-pass/ifmt.rs | 1 + src/test/run-pass/issue-12582.rs | 2 ++ src/test/run-pass/issue-13027.rs | 2 ++ src/test/run-pass/issue-2185.rs | 1 + src/test/run-pass/issue-2718.rs | 2 ++ src/test/run-pass/issue-3683.rs | 2 ++ src/test/run-pass/issue-4759-1.rs | 2 ++ src/test/run-pass/issue-5280.rs | 2 ++ .../run-pass/issue-5321-immediates-with-bare-self.rs | 2 ++ ...er-crlf-line-endings-string-literal-doc-comment.rs | 1 + ...-camel-case-types-non-uppercase-statics-unicode.rs | 2 ++ src/test/run-pass/match-range.rs | 2 ++ src/test/run-pass/multibyte.rs | 2 ++ src/test/run-pass/raw-str.rs | Bin 1305 -> 1339 bytes src/test/run-pass/shebang.rs | 2 ++ src/test/run-pass/struct-return.rs | 2 ++ src/test/run-pass/trait-to-str.rs | 3 ++- src/test/run-pass/trait-with-bounds-default.rs | 2 ++ src/test/run-pass/traits-default-method-self.rs | 2 ++ src/test/run-pass/traits-default-method-trivial.rs | 2 ++ src/test/run-pass/unsized.rs | 2 ++ src/test/run-pass/unsized2.rs | 2 ++ src/test/run-pass/utf8-bom.rs | 2 ++ src/test/run-pass/utf8.rs | 3 ++- src/test/run-pass/utf8_chars.rs | 2 ++ src/test/run-pass/utf8_idents.rs | 2 ++ 33 files changed, 56 insertions(+), 2 deletions(-) (limited to 'src/test') diff --git a/src/test/bench/core-std.rs b/src/test/bench/core-std.rs index fd3c4daebdb..9af3c0c6c8c 100644 --- a/src/test/bench/core-std.rs +++ b/src/test/bench/core-std.rs @@ -8,6 +8,7 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// ignore-lexer-test FIXME #15679 // Microbenchmarks for various functions in std and extra #![feature(macro_rules)] diff --git a/src/test/bench/msgsend-ring-mutex-arcs.rs b/src/test/bench/msgsend-ring-mutex-arcs.rs index 2b9abfbc350..a0ff7736b5c 100644 --- a/src/test/bench/msgsend-ring-mutex-arcs.rs +++ b/src/test/bench/msgsend-ring-mutex-arcs.rs @@ -16,6 +16,7 @@ // This also serves as a pipes test, because Arcs are implemented with pipes. // no-pretty-expanded FIXME #15189 +// ignore-lexer-test FIXME #15679 extern crate time; diff --git a/src/test/bench/msgsend-ring-rw-arcs.rs b/src/test/bench/msgsend-ring-rw-arcs.rs index afed753f455..6512ecfb3e2 100644 --- a/src/test/bench/msgsend-ring-rw-arcs.rs +++ b/src/test/bench/msgsend-ring-rw-arcs.rs @@ -16,6 +16,7 @@ // This also serves as a pipes test, because Arcs are implemented with pipes. // no-pretty-expanded FIXME #15189 +// ignore-lexer-test FIXME #15679 extern crate time; diff --git a/src/test/bench/noise.rs b/src/test/bench/noise.rs index 6ec1d5395cf..bdca0349036 100644 --- a/src/test/bench/noise.rs +++ b/src/test/bench/noise.rs @@ -10,6 +10,7 @@ // Multi-language Perlin noise benchmark. // See https://github.com/nsf/pnoise for timings and alternative implementations. +// ignore-lexer-test FIXME #15679 use std::f32::consts::PI; use std::rand::{Rng, StdRng}; diff --git a/src/test/pretty/block-comment-wchar.rs b/src/test/pretty/block-comment-wchar.rs index 777c456335d..06ee3715eb0 100644 --- a/src/test/pretty/block-comment-wchar.rs +++ b/src/test/pretty/block-comment-wchar.rs @@ -14,6 +14,7 @@ // ignore-tidy-cr // ignore-tidy-tab // pp-exact:block-comment-wchar.pp +// ignore-lexer-test FIXME #15679 fn f() { fn nested() { /* diff --git a/src/test/run-pass/byte-literals.rs b/src/test/run-pass/byte-literals.rs index ac470268d31..7fd7e3dbf00 100644 --- a/src/test/run-pass/byte-literals.rs +++ b/src/test/run-pass/byte-literals.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15883 static FOO: u8 = b'\xF0'; diff --git a/src/test/run-pass/default-method-supertrait-vtable.rs b/src/test/run-pass/default-method-supertrait-vtable.rs index 2bcf264bb1f..1b2b17f9917 100644 --- a/src/test/run-pass/default-method-supertrait-vtable.rs +++ b/src/test/run-pass/default-method-supertrait-vtable.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15877 // Tests that we can call a function bounded over a supertrait from diff --git a/src/test/run-pass/ifmt.rs b/src/test/run-pass/ifmt.rs index e349f91a309..fabcfc5ff33 100644 --- a/src/test/run-pass/ifmt.rs +++ b/src/test/run-pass/ifmt.rs @@ -9,6 +9,7 @@ // except according to those terms. // no-pretty-expanded unnecessary unsafe block generated +// ignore-lexer-test FIXME #15679 #![feature(macro_rules, managed_boxes)] #![deny(warnings)] diff --git a/src/test/run-pass/issue-12582.rs b/src/test/run-pass/issue-12582.rs index 418fd54cc13..f68ba5dab8a 100644 --- a/src/test/run-pass/issue-12582.rs +++ b/src/test/run-pass/issue-12582.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15877 pub fn main() { let x = 1i; diff --git a/src/test/run-pass/issue-13027.rs b/src/test/run-pass/issue-13027.rs index e1634e44847..0efe64448c3 100644 --- a/src/test/run-pass/issue-13027.rs +++ b/src/test/run-pass/issue-13027.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15877 // Tests that match expression handles overlapped literal and range // properly in the presence of guard function. diff --git a/src/test/run-pass/issue-2185.rs b/src/test/run-pass/issue-2185.rs index 492e76552d4..974905487fe 100644 --- a/src/test/run-pass/issue-2185.rs +++ b/src/test/run-pass/issue-2185.rs @@ -9,6 +9,7 @@ // except according to those terms. // ignore-test +// ignore-lexer-test FIXME #15881 // notes on this test case: // On Thu, Apr 18, 2013-2014 at 6:30 PM, John Clements wrote: diff --git a/src/test/run-pass/issue-2718.rs b/src/test/run-pass/issue-2718.rs index b4807964d46..c52dd5ce5e4 100644 --- a/src/test/run-pass/issue-2718.rs +++ b/src/test/run-pass/issue-2718.rs @@ -8,6 +8,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15883 #![feature(unsafe_destructor)] diff --git a/src/test/run-pass/issue-3683.rs b/src/test/run-pass/issue-3683.rs index aa7fa0cb5f0..e6c816666e7 100644 --- a/src/test/run-pass/issue-3683.rs +++ b/src/test/run-pass/issue-3683.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15877 trait Foo { diff --git a/src/test/run-pass/issue-4759-1.rs b/src/test/run-pass/issue-4759-1.rs index ad8ee984217..ce2f488b90c 100644 --- a/src/test/run-pass/issue-4759-1.rs +++ b/src/test/run-pass/issue-4759-1.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15877 trait U { fn f(self); } impl U for int { fn f(self) {} } diff --git a/src/test/run-pass/issue-5280.rs b/src/test/run-pass/issue-5280.rs index 977cd08ba37..bd892465054 100644 --- a/src/test/run-pass/issue-5280.rs +++ b/src/test/run-pass/issue-5280.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15877 type FontTableTag = u32; diff --git a/src/test/run-pass/issue-5321-immediates-with-bare-self.rs b/src/test/run-pass/issue-5321-immediates-with-bare-self.rs index fcb8092b723..511b8a96830 100644 --- a/src/test/run-pass/issue-5321-immediates-with-bare-self.rs +++ b/src/test/run-pass/issue-5321-immediates-with-bare-self.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15877 trait Fooable { fn yes(self); diff --git a/src/test/run-pass/lexer-crlf-line-endings-string-literal-doc-comment.rs b/src/test/run-pass/lexer-crlf-line-endings-string-literal-doc-comment.rs index 5c8db524cc2..421ae8e9497 100644 --- a/src/test/run-pass/lexer-crlf-line-endings-string-literal-doc-comment.rs +++ b/src/test/run-pass/lexer-crlf-line-endings-string-literal-doc-comment.rs @@ -16,6 +16,7 @@ // this directory should enforce it. // ignore-pretty +// ignore-lexer-test FIXME #15882 /// Doc comment that ends in CRLF pub fn foo() {} diff --git a/src/test/run-pass/lint-non-camel-case-types-non-uppercase-statics-unicode.rs b/src/test/run-pass/lint-non-camel-case-types-non-uppercase-statics-unicode.rs index d5e277b46e0..36c663fc847 100644 --- a/src/test/run-pass/lint-non-camel-case-types-non-uppercase-statics-unicode.rs +++ b/src/test/run-pass/lint-non-camel-case-types-non-uppercase-statics-unicode.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15679 #![forbid(non_camel_case_types)] diff --git a/src/test/run-pass/match-range.rs b/src/test/run-pass/match-range.rs index 7421ae95884..8b782520536 100644 --- a/src/test/run-pass/match-range.rs +++ b/src/test/run-pass/match-range.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15877 pub fn main() { match 5u { diff --git a/src/test/run-pass/multibyte.rs b/src/test/run-pass/multibyte.rs index ba3d89e3c7a..77084836408 100644 --- a/src/test/run-pass/multibyte.rs +++ b/src/test/run-pass/multibyte.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15679 // Test that multibyte characters don't crash the compiler pub fn main() { diff --git a/src/test/run-pass/raw-str.rs b/src/test/run-pass/raw-str.rs index da0c9eed9e6..35e863d05a1 100644 Binary files a/src/test/run-pass/raw-str.rs and b/src/test/run-pass/raw-str.rs differ diff --git a/src/test/run-pass/shebang.rs b/src/test/run-pass/shebang.rs index 2f78513b95c..bd3181842ec 100644 --- a/src/test/run-pass/shebang.rs +++ b/src/test/run-pass/shebang.rs @@ -10,5 +10,7 @@ // except according to those terms. // ignore-pretty: `expand` addes some preludes before shebang +// +// ignore-lexer-test FIXME #15878 pub fn main() { println!("Hello World"); } diff --git a/src/test/run-pass/struct-return.rs b/src/test/run-pass/struct-return.rs index 93c0e7f5ba5..3e41b6d806c 100644 --- a/src/test/run-pass/struct-return.rs +++ b/src/test/run-pass/struct-return.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15883 pub struct Quad { a: u64, b: u64, c: u64, d: u64 } pub struct Floats { a: f64, b: u8, c: f64 } diff --git a/src/test/run-pass/trait-to-str.rs b/src/test/run-pass/trait-to-str.rs index fbe40e837de..9b910d24bdc 100644 --- a/src/test/run-pass/trait-to-str.rs +++ b/src/test/run-pass/trait-to-str.rs @@ -7,7 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. - +// +// ignore-lexer-test FIXME #15883 trait to_str { diff --git a/src/test/run-pass/trait-with-bounds-default.rs b/src/test/run-pass/trait-with-bounds-default.rs index fc4acfd5bb3..ec9f666eb19 100644 --- a/src/test/run-pass/trait-with-bounds-default.rs +++ b/src/test/run-pass/trait-with-bounds-default.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15877 pub trait Clone2 { /// Returns a copy of the value. The contents of owned pointers diff --git a/src/test/run-pass/traits-default-method-self.rs b/src/test/run-pass/traits-default-method-self.rs index 1027008624a..270b9545218 100644 --- a/src/test/run-pass/traits-default-method-self.rs +++ b/src/test/run-pass/traits-default-method-self.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15877 trait Cat { diff --git a/src/test/run-pass/traits-default-method-trivial.rs b/src/test/run-pass/traits-default-method-trivial.rs index c6a7ab5ba49..474632a7ffa 100644 --- a/src/test/run-pass/traits-default-method-trivial.rs +++ b/src/test/run-pass/traits-default-method-trivial.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15877 trait Cat { diff --git a/src/test/run-pass/unsized.rs b/src/test/run-pass/unsized.rs index f49e8f46e78..0530c8a6ab3 100644 --- a/src/test/run-pass/unsized.rs +++ b/src/test/run-pass/unsized.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15879 // Test syntax checks for `Sized?` syntax. diff --git a/src/test/run-pass/unsized2.rs b/src/test/run-pass/unsized2.rs index 9703b55cda7..ada4da37ba1 100644 --- a/src/test/run-pass/unsized2.rs +++ b/src/test/run-pass/unsized2.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15879 #![feature(struct_variant)] diff --git a/src/test/run-pass/utf8-bom.rs b/src/test/run-pass/utf8-bom.rs index ccd40cb88fe..baa4e941ff0 100644 --- a/src/test/run-pass/utf8-bom.rs +++ b/src/test/run-pass/utf8-bom.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15679 // This file has utf-8 BOM, it should be compiled normally without error. diff --git a/src/test/run-pass/utf8.rs b/src/test/run-pass/utf8.rs index 557d2e5878e..a52828387bf 100644 --- a/src/test/run-pass/utf8.rs +++ b/src/test/run-pass/utf8.rs @@ -7,7 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. - +// +// ignore-lexer-test FIXME #15679 // no-pretty-expanded FIXME #15189 pub fn main() { diff --git a/src/test/run-pass/utf8_chars.rs b/src/test/run-pass/utf8_chars.rs index 93c8111ad2d..202427079a8 100644 --- a/src/test/run-pass/utf8_chars.rs +++ b/src/test/run-pass/utf8_chars.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15679 use std::str; diff --git a/src/test/run-pass/utf8_idents.rs b/src/test/run-pass/utf8_idents.rs index ee4b2061a5d..f6c4776a11c 100644 --- a/src/test/run-pass/utf8_idents.rs +++ b/src/test/run-pass/utf8_idents.rs @@ -7,6 +7,8 @@ // , at your // option. This file may not be copied, modified, or distributed // except according to those terms. +// +// ignore-lexer-test FIXME #15679 #![feature(non_ascii_idents)] -- cgit 1.4.1-3-g733a5 From 95a1ce6f3f3a31d4e64b04637cd252cc02b623dd Mon Sep 17 00:00:00 2001 From: Corey Richardson Date: Mon, 21 Jul 2014 22:53:36 -0700 Subject: Fix pretty test --- src/test/pretty/block-comment-wchar.pp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/test') diff --git a/src/test/pretty/block-comment-wchar.pp b/src/test/pretty/block-comment-wchar.pp index 7def090edbb..ef908fdd016 100644 --- a/src/test/pretty/block-comment-wchar.pp +++ b/src/test/pretty/block-comment-wchar.pp @@ -14,6 +14,7 @@ // ignore-tidy-cr // ignore-tidy-tab // pp-exact:block-comment-wchar.pp +// ignore-lexer-test FIXME #15679 fn f() { fn nested() { /* -- cgit 1.4.1-3-g733a5