Skip to content

Commit

Permalink
Add a ton of ignore-lexer-test
Browse files Browse the repository at this point in the history
  • Loading branch information
emberian committed Jul 22, 2014
1 parent c41a7df commit 35c0bf3
Show file tree
Hide file tree
Showing 47 changed files with 82 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/grammar/check.sh
Expand Up @@ -29,6 +29,6 @@ check() {
fi
}

for file in $(find $1 -iname '*.rs' ! -path '*/test/compile-fail/*' ); do
for file in $(find $1 -iname '*.rs' ! -path '*/test/compile-fail*'); do
check $file $2 $3 $4 $5
done
2 changes: 2 additions & 0 deletions src/libcollections/hash/sip.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// ignore-lexer-test FIXME #15883

/*!
* Implementation of SipHash 2-4
Expand Down
2 changes: 2 additions & 0 deletions src/libcore/num/mod.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// ignore-lexer-test FIXME #15679

//! Numeric traits and functions for generic mathematics

Expand Down
2 changes: 2 additions & 0 deletions src/libnative/io/tty_win32.rs
Expand Up @@ -8,6 +8,8 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.

// ignore-lexer-test FIXME #15877

//! Windows specific console TTY implementation
//!
//! This module contains the implementation of a Windows specific console TTY.
Expand Down
2 changes: 2 additions & 0 deletions src/librand/distributions/gamma.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// ignore-lexer-test FIXME #15679

//! The Gamma and derived distributions.

Expand Down
1 change: 1 addition & 0 deletions src/libregex/test/tests.rs
Expand Up @@ -9,6 +9,7 @@
// except according to those terms.

// ignore-tidy-linelength
// ignore-lexer-test FIXME #15679

use regex::{Regex, NoExpand};

Expand Down
2 changes: 2 additions & 0 deletions src/libstd/collections/hashmap.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// ignore-lexer-test FIXME #15883

//! Unordered containers, implemented as hash-tables (`HashSet` and `HashMap` types)

Expand Down
2 changes: 2 additions & 0 deletions src/libstd/io/buffered.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// ignore-lexer-test FIXME #15883

//! Buffering wrappers for I/O traits

Expand Down
2 changes: 2 additions & 0 deletions src/libstd/io/fs.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// ignore-lexer-test FIXME #15679

/*! Synchronous File I/O
Expand Down
2 changes: 2 additions & 0 deletions src/libstd/io/mem.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// ignore-lexer-test FIXME #15679

//! Readers and Writers for in-memory buffers

Expand Down
2 changes: 2 additions & 0 deletions src/libstd/io/mod.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// ignore-lexer-test FIXME #15883

// FIXME: cover these topics:
// path, reader, writer, stream, raii (close not needed),
Expand Down
2 changes: 2 additions & 0 deletions src/libstd/num/strconv.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// ignore-lexer-test FIXME #15679

#![allow(missing_doc)]

Expand Down
2 changes: 2 additions & 0 deletions src/libstd/path/windows.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// ignore-lexer-test FIXME #15883

//! Windows file path handling

Expand Down
2 changes: 2 additions & 0 deletions src/libsyntax/ext/tt/macro_parser.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// ignore-lexer-test FIXME #15679

//! This is an Earley-like parser, without support for in-grammar nonterminals,
//! only by calling out to the main rust parser for named nonterminals (which it
Expand Down
1 change: 1 addition & 0 deletions src/test/bench/core-std.rs
Expand Up @@ -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)]
Expand Down
1 change: 1 addition & 0 deletions src/test/bench/msgsend-ring-mutex-arcs.rs
Expand Up @@ -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;

Expand Down
1 change: 1 addition & 0 deletions src/test/bench/msgsend-ring-rw-arcs.rs
Expand Up @@ -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;

Expand Down
1 change: 1 addition & 0 deletions src/test/bench/noise.rs
Expand Up @@ -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};
Expand Down
1 change: 1 addition & 0 deletions src/test/pretty/block-comment-wchar.rs
Expand Up @@ -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() {
/*
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/byte-literals.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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';
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/default-method-supertrait-vtable.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/ifmt.rs
Expand Up @@ -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)]
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-12582.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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;
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-13027.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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.
Expand Down
1 change: 1 addition & 0 deletions src/test/run-pass/issue-2185.rs
Expand Up @@ -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 <clements@brinckerhoff.org> wrote:
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-2718.rs
Expand Up @@ -8,6 +8,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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)]

Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-3683.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// ignore-lexer-test FIXME #15877


trait Foo {
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-4759-1.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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) {} }
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-5280.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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;

Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/issue-5321-immediates-with-bare-self.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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);
Expand Down
Expand Up @@ -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() {}
Expand Down
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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)]
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/match-range.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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 {
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/multibyte.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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() {
Expand Down
Binary file modified src/test/run-pass/raw-str.rs
Binary file not shown.
2 changes: 2 additions & 0 deletions src/test/run-pass/shebang.rs
Expand Up @@ -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"); }
2 changes: 2 additions & 0 deletions src/test/run-pass/struct-return.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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 }
Expand Down
3 changes: 2 additions & 1 deletion src/test/run-pass/trait-to-str.rs
Expand Up @@ -7,7 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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 {
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/trait-with-bounds-default.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/traits-default-method-self.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// ignore-lexer-test FIXME #15877


trait Cat {
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/traits-default-method-trivial.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
//
// ignore-lexer-test FIXME #15877


trait Cat {
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/unsized.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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.

Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/unsized2.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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)]


Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/utf8-bom.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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.

Expand Down
3 changes: 2 additions & 1 deletion src/test/run-pass/utf8.rs
Expand Up @@ -7,7 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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() {
Expand Down
2 changes: 2 additions & 0 deletions src/test/run-pass/utf8_chars.rs
Expand Up @@ -7,6 +7,8 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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;

Expand Down

0 comments on commit 35c0bf3

Please sign in to comment.