mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
parent
31e8f2448c
commit
072a920503
65
mk/tests.mk
65
mk/tests.mk
@ -183,6 +183,9 @@ check-ref: cleantestlibs cleantmptestlogs check-stage2-rpass \
|
||||
check-docs: cleantestlibs cleantmptestlogs check-stage2-docs
|
||||
$(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log
|
||||
|
||||
# NOTE: Remove after reprogramming windows bots
|
||||
check-fast: check-lite
|
||||
|
||||
.PHONY: cleantmptestlogs cleantestlibs
|
||||
|
||||
cleantmptestlogs:
|
||||
@ -875,69 +878,9 @@ $(foreach crate,$(TEST_CRATES), \
|
||||
$(eval $(call DEF_CHECK_CRATE,$(crate))))
|
||||
|
||||
######################################################################
|
||||
# check-fast rules
|
||||
# RMAKE rules
|
||||
######################################################################
|
||||
|
||||
FT := run_pass_stage2
|
||||
FT_LIB := $(call CFG_LIB_NAME_$(CFG_BUILD),$(FT))
|
||||
FT_DRIVER := $(FT)_driver
|
||||
|
||||
GENERATED += tmp/$(FT).rc tmp/$(FT_DRIVER).rs
|
||||
|
||||
tmp/$(FT).rc tmp/$(FT_DRIVER).rs: \
|
||||
$(RPASS_TESTS) \
|
||||
$(S)src/etc/combine-tests.py
|
||||
@$(call E, check: building combined stage2 test runner)
|
||||
$(Q)$(CFG_PYTHON) $(S)src/etc/combine-tests.py
|
||||
|
||||
define DEF_CHECK_FAST_FOR_T_H
|
||||
# $(1) unused
|
||||
# $(2) target triple
|
||||
# $(3) host triple
|
||||
|
||||
$$(TLIB2_T_$(2)_H_$(3))/$$(FT_LIB): \
|
||||
tmp/$$(FT).rc \
|
||||
$$(SREQ2_T_$(2)_H_$(3))
|
||||
@$$(call E, oxidize: $$@)
|
||||
$$(STAGE2_T_$(2)_H_$(3)) --crate-type=dylib --out-dir $$(@D) $$< \
|
||||
-L "$$(RT_OUTPUT_DIR_$(2))"
|
||||
|
||||
$(3)/test/$$(FT_DRIVER)-$(2)$$(X_$(2)): \
|
||||
tmp/$$(FT_DRIVER).rs \
|
||||
$$(TLIB2_T_$(2)_H_$(3))/$$(FT_LIB) \
|
||||
$$(SREQ2_T_$(2)_H_$(3))
|
||||
@$$(call E, oxidize: $$@ $$<)
|
||||
$$(STAGE2_T_$(2)_H_$(3)) -o $$@ $$< \
|
||||
-L "$$(RT_OUTPUT_DIR_$(2))"
|
||||
|
||||
$(3)/test/$$(FT_DRIVER)-$(2).out: \
|
||||
$(3)/test/$$(FT_DRIVER)-$(2)$$(X_$(2)) \
|
||||
$$(SREQ2_T_$(2)_H_$(3))
|
||||
$$(Q)$$(call CFG_RUN_TEST_$(2),$$<,$(2),$(3)) \
|
||||
--logfile tmp/$$(FT_DRIVER)-$(2).log
|
||||
|
||||
check-fast-T-$(2)-H-$(3): \
|
||||
$(3)/test/$$(FT_DRIVER)-$(2).out
|
||||
|
||||
endef
|
||||
|
||||
$(foreach host,$(CFG_HOST), \
|
||||
$(eval $(foreach target,$(CFG_TARGET), \
|
||||
$(eval $(call DEF_CHECK_FAST_FOR_T_H,,$(target),$(host))))))
|
||||
|
||||
check-fast: tidy check-fast-H-$(CFG_BUILD) \
|
||||
$(foreach crate,$(TARGET_CRATES),check-stage2-$(crate))
|
||||
$(Q)$(CFG_PYTHON) $(S)src/etc/check-summary.py tmp/*.log
|
||||
|
||||
define DEF_CHECK_FAST_FOR_H
|
||||
|
||||
check-fast-H-$(1): check-fast-T-$(1)-H-$(1)
|
||||
|
||||
endef
|
||||
|
||||
$(foreach host,$(CFG_HOST), \
|
||||
$(eval $(call DEF_CHECK_FAST_FOR_H,$(host))))
|
||||
|
||||
RMAKE_TESTS := $(shell ls -d $(S)src/test/run-make/*/)
|
||||
RMAKE_TESTS := $(RMAKE_TESTS:$(S)src/test/run-make/%/=%)
|
||||
|
||||
|
@ -1,91 +0,0 @@
|
||||
# Copyright 2011-2014 The Rust Project Developers. See the COPYRIGHT
|
||||
# file at the top-level directory of this distribution and at
|
||||
# http://rust-lang.org/COPYRIGHT.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||
# <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.
|
||||
|
||||
# This combines all the working run-pass tests into a single large crate so we
|
||||
# can run it "fast": spawning zillions of windows processes is our major build
|
||||
# bottleneck (and it doesn't hurt to run faster on other platforms as well).
|
||||
|
||||
import sys
|
||||
import os
|
||||
import codecs
|
||||
|
||||
|
||||
def scrub(b):
|
||||
if sys.version_info >= (3,) and type(b) == bytes:
|
||||
return b.decode('ascii')
|
||||
else:
|
||||
return b
|
||||
|
||||
src_dir = scrub(os.getenv("CFG_SRC_DIR"))
|
||||
if not src_dir:
|
||||
raise Exception("missing env var CFG_SRC_DIR")
|
||||
|
||||
run_pass = os.path.join(src_dir, "src", "test", "run-pass")
|
||||
run_pass = os.path.abspath(run_pass)
|
||||
stage2_tests = []
|
||||
|
||||
for t in os.listdir(run_pass):
|
||||
if t.endswith(".rs") and not (
|
||||
t.startswith(".") or t.startswith("#") or t.startswith("~")):
|
||||
f = codecs.open(os.path.join(run_pass, t), "r", "utf8")
|
||||
s = f.read()
|
||||
if not ("ignore-test" in s or
|
||||
"ignore-fast" in s or
|
||||
"ignore-win32" in s):
|
||||
if not "pub fn main" in s and "fn main" in s:
|
||||
print("Warning: no public entry point in " + t)
|
||||
stage2_tests.append(t)
|
||||
f.close()
|
||||
|
||||
stage2_tests.sort()
|
||||
|
||||
c = open("tmp/run_pass_stage2.rc", "w")
|
||||
i = 0
|
||||
c.write(
|
||||
"""
|
||||
// AUTO-GENERATED FILE: DO NOT EDIT
|
||||
#[crate_id=\"run_pass_stage2#0.1\"];
|
||||
#[crate_id=\"run_pass_stage2#0.1\"];
|
||||
#[feature(globs, macro_rules, struct_variant, managed_boxes)];
|
||||
#![allow(warnings)]
|
||||
extern crate collections;
|
||||
"""
|
||||
)
|
||||
for t in stage2_tests:
|
||||
p = os.path.join(run_pass, t)
|
||||
p = p.replace("\\", "\\\\")
|
||||
c.write("#[path = \"%s\"]" % p)
|
||||
c.write("pub mod t_%d;\n" % i)
|
||||
i += 1
|
||||
c.close()
|
||||
|
||||
|
||||
d = open("tmp/run_pass_stage2_driver.rs", "w")
|
||||
d.write(
|
||||
"""
|
||||
// AUTO-GENERATED FILE: DO NOT EDIT
|
||||
#[feature(globs, managed_boxes)];
|
||||
extern crate run_pass_stage2;
|
||||
use run_pass_stage2::*;
|
||||
use std::io;
|
||||
use std::io::Writer;
|
||||
#[allow(warnings)]
|
||||
fn main() {
|
||||
let mut out = io::stdout();
|
||||
"""
|
||||
)
|
||||
i = 0
|
||||
for t in stage2_tests:
|
||||
p = os.path.join("test", "run-pass", t)
|
||||
p = p.replace("\\", "\\\\")
|
||||
d.write(" out.write(\"run-pass [stage2]: %s\\n\".as_bytes());\n" % p)
|
||||
d.write(" t_%d::main();\n" % i)
|
||||
i += 1
|
||||
d.write("}\n")
|
@ -12,6 +12,11 @@ import subprocess
|
||||
import os
|
||||
import sys
|
||||
|
||||
# FIXME #12303 these tests are broken on windows
|
||||
if os.name == 'nt':
|
||||
print 'ignoring make tests on windows'
|
||||
sys.exit(0)
|
||||
|
||||
os.putenv('RUSTC', os.path.abspath(sys.argv[2]))
|
||||
os.putenv('TMPDIR', os.path.abspath(sys.argv[3]))
|
||||
os.putenv('CC', sys.argv[4])
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:crateresolve_calories-1.rs
|
||||
// aux-build:crateresolve_calories-2.rs
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
|
||||
#[crate_id="b#0.1"];
|
||||
#[crate_type = "lib"];
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast windows doesn't like extern crate
|
||||
// aux-build:issue-9906.rs
|
||||
|
||||
pub use other::FooBar;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast aux-build
|
||||
// aux-build:ambig_impl_2_lib.rs
|
||||
extern crate ambig_impl_2_lib;
|
||||
use ambig_impl_2_lib::me;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast #[feature] doesn't work with check-fast
|
||||
#![feature(asm)]
|
||||
|
||||
fn foo(x: int) { println!("{}", x); }
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast #[feature] doesn't work with check-fast
|
||||
// ignore-android
|
||||
|
||||
#![feature(asm)]
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast #[feature] doesn't work with check-fast
|
||||
#![feature(asm)]
|
||||
|
||||
fn foo(x: int) { println!("{}", x); }
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast #[feature] doesn't work with check-fast
|
||||
#![feature(asm)]
|
||||
|
||||
fn foo(x: int) { println!("{}", x); }
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast #[feature] doesn't work with check-fast
|
||||
#![feature(asm)]
|
||||
|
||||
fn foo(x: int) { println!("{}", x); }
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
|
||||
// aux-build:trait_superkinds_in_metadata.rs
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:coherence_inherent_cc_lib.rs
|
||||
|
||||
// Tests that methods that implement a trait cannot be invoked
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:crateresolve5-1.rs
|
||||
// aux-build:crateresolve5-2.rs
|
||||
|
||||
|
@ -10,8 +10,8 @@
|
||||
|
||||
// issue 7327
|
||||
|
||||
// ignore-fast #7103
|
||||
extern crate sync;
|
||||
|
||||
use sync::Arc;
|
||||
|
||||
struct A { y: Arc<int>, x: Arc<int> }
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast feature doesn't work.
|
||||
|
||||
#![feature(struct_variant)]
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast feature doesn't work.
|
||||
|
||||
fn main() {
|
||||
trace_macros!(true); //~ ERROR: `trace_macros` is not stable
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast aux-build
|
||||
// aux-build:lint_stability.rs
|
||||
|
||||
#![feature(globs)]
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:cci_class_5.rs
|
||||
extern crate cci_class_5;
|
||||
use cci_class_5::kitties::cat;
|
||||
|
29
src/test/compile-fail/redundant-link-args.rs
Normal file
29
src/test/compile-fail/redundant-link-args.rs
Normal file
@ -0,0 +1,29 @@
|
||||
// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
|
||||
// file at the top-level directory of this distribution and at
|
||||
// http://rust-lang.org/COPYRIGHT.
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||
// <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-test
|
||||
|
||||
// error-pattern:library 'm' already added: can't specify link_args.
|
||||
|
||||
/* I think it should undefined to have multiple modules that link in the same
|
||||
library, but provide different link arguments. Unfortunately we don't track
|
||||
link_args by module -- they are just appended as discovered into the crate
|
||||
store -- but for now, it should be an error to provide link_args on a module
|
||||
that's already been included (with or without link_args). */
|
||||
|
||||
#[link_name= "m"]
|
||||
#[link_args="-foo"] // this could have been elided.
|
||||
extern {
|
||||
}
|
||||
|
||||
#[link_name= "m"]
|
||||
#[link_args="-bar"] // this is the actual error trigger.
|
||||
extern {
|
||||
}
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:xc_private_method_lib.rs
|
||||
|
||||
extern crate xc_private_method_lib;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:xc_private_method_lib.rs
|
||||
|
||||
extern crate xc_private_method_lib;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast #[feature] doesn't work with check-fast
|
||||
// pp-exact
|
||||
|
||||
#![feature(asm)]
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
// aux-build:macro_crate_outlive_expansion_phase.rs
|
||||
// ignore-stage1
|
||||
// ignore-fast
|
||||
// ignore-android
|
||||
// ignore-cross-compile #12102
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
// aux-build:macro_crate_test.rs
|
||||
// ignore-stage1
|
||||
// ignore-fast
|
||||
// ignore-android
|
||||
// ignore-cross-compile #12102
|
||||
|
||||
|
@ -10,7 +10,6 @@
|
||||
|
||||
// aux-build:macro_crate_test.rs
|
||||
// ignore-stage1
|
||||
// ignore-fast
|
||||
// ignore-android
|
||||
// force-host
|
||||
|
||||
@ -19,7 +18,6 @@
|
||||
// This implies that both versions are the host architecture, meaning this test
|
||||
// must also be compiled with the host arch.
|
||||
//
|
||||
// Hence, ignore-stage1 because macros are unstable around there, ignore-fast
|
||||
// because this doesn't work with that test runner, ignore-android because it
|
||||
// can't run host binaries, and force-host to make this test build as the host
|
||||
// arch.
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// ignore-android
|
||||
#![feature(quote)]
|
||||
#[deny(unused_variable)];
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast Feature gating doesn't work
|
||||
// ignore-stage1
|
||||
// ignore-pretty
|
||||
// ignore-cross-compile
|
||||
|
@ -11,7 +11,6 @@
|
||||
// ignore-stage1
|
||||
// ignore-pretty
|
||||
// ignore-cross-compile #12102
|
||||
// ignore-fast
|
||||
|
||||
#![feature(phase)]
|
||||
#[phase(syntax)]
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// ignore-pretty
|
||||
// aux-build:anon-extern-mod-cross-crate-1.rs
|
||||
extern crate anonexternmod;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast - check-fast doesn't understand aux-build
|
||||
// aux-build:anon_trait_static_method_lib.rs
|
||||
|
||||
extern crate anon_trait_static_method_lib;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
|
||||
struct X {
|
||||
x: int
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast #[feature] doesn't work with check-fast
|
||||
#![feature(asm)]
|
||||
|
||||
pub fn main() {
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast #[feature] doesn't work with check-fast
|
||||
#![feature(asm)]
|
||||
|
||||
#[cfg(target_arch = "x86")]
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast #[feature] doesn't work with check-fast
|
||||
#![feature(asm)]
|
||||
|
||||
#[cfg(target_arch = "x86")]
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
|
||||
pub fn main() {
|
||||
fail!()
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
|
||||
#[main]
|
||||
fn foo() {
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
//ignore-fast
|
||||
|
||||
#[start]
|
||||
fn start(_argc: int, _argv: **u8) -> int {
|
||||
|
@ -9,7 +9,6 @@
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-test FIXME(#5121)
|
||||
// ignore-fast
|
||||
|
||||
#[feature(managed_boxes)];
|
||||
|
||||
|
@ -9,7 +9,6 @@
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-win32 FIXME #13259
|
||||
// ignore-fast this is executing itself
|
||||
#![no_uv]
|
||||
|
||||
extern crate native;
|
||||
|
@ -8,8 +8,8 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
extern crate sync;
|
||||
|
||||
use sync::Arc;
|
||||
fn dispose(_x: Arc<bool>) { }
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
// ignore-fast
|
||||
|
||||
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
|
||||
// file at the top-level directory of this distribution and at
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
|
||||
|
||||
fn iter_vec<T>(v: Vec<T> , f: |&T|) { for x in v.iter() { f(x); } }
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
|
||||
|
||||
fn iter_vec<T>(v: Vec<T> , f: |&T|) { for x in v.iter() { f(x); } }
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
|
||||
// aux-build:trait_superkinds_in_metadata.rs
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
|
||||
// aux-build:trait_superkinds_in_metadata.rs
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// ignore-android (FIXME #11419)
|
||||
// exec-env:RUST_LOG=info
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast - check-fast doesn't understand aux-build
|
||||
// aux-build:cci_borrow_lib.rs
|
||||
|
||||
#[feature(managed_boxes)];
|
||||
|
@ -9,7 +9,6 @@
|
||||
// except according to those terms.
|
||||
|
||||
// aux-build:cci_capture_clause.rs
|
||||
// ignore-fast
|
||||
|
||||
// This test makes sure we can do cross-crate inlining on functions
|
||||
// that use capture clauses.
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast - check-fast doesn't understand aux-build
|
||||
// aux-build:cci_impl_lib.rs
|
||||
|
||||
extern crate cci_impl_lib;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast - check-fast doesn't understand aux-build
|
||||
// aux-build:cci_iter_lib.rs
|
||||
|
||||
extern crate cci_iter_lib;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast - check-fast doesn't understand aux-build
|
||||
// aux-build:cci_nested_lib.rs
|
||||
|
||||
#[feature(globs, managed_boxes)];
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast - check-fast doesn't understand aux-build
|
||||
// aux-build:cci_no_inline_lib.rs
|
||||
|
||||
extern crate cci_no_inline_lib;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast compile-flags directive doesn't work for check-fast
|
||||
// compile-flags: --cfg foo
|
||||
|
||||
// check that cfg correctly chooses between the macro impls (see also
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast compile-flags directive doesn't work for check-fast
|
||||
// compile-flags:
|
||||
|
||||
// check that cfg correctly chooses between the macro impls (see also
|
||||
|
@ -9,7 +9,6 @@
|
||||
// except according to those terms.
|
||||
|
||||
// aux-build:cfg_inner_static.rs
|
||||
// ignore-fast
|
||||
|
||||
extern crate cfg_inner_static;
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// compile-flags: --cfg fooA --cfg fooB
|
||||
|
||||
// fooA AND !bar
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:cci_class_cast.rs
|
||||
extern crate cci_class_cast;
|
||||
use std::to_str::ToStr;
|
||||
|
@ -1,4 +1,3 @@
|
||||
// ignore-fast
|
||||
|
||||
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
|
||||
// file at the top-level directory of this distribution and at
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
|
||||
use std::cmp;
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:cci_class_trait.rs
|
||||
extern crate cci_class_trait;
|
||||
use cci_class_trait::animals::noisy;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
|
||||
trait noisy {
|
||||
fn speak(&mut self);
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:cci_class_2.rs
|
||||
extern crate cci_class_2;
|
||||
use cci_class_2::kitties::cat;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:cci_class_3.rs
|
||||
extern crate cci_class_3;
|
||||
use cci_class_3::kitties::cat;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:cci_class_6.rs
|
||||
extern crate cci_class_6;
|
||||
use cci_class_6::kitties::cat;
|
||||
|
@ -8,8 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
|
||||
use std::fmt;
|
||||
|
||||
struct cat {
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:cci_class_4.rs
|
||||
extern crate cci_class_4;
|
||||
use cci_class_4::kitties::cat;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:cci_class.rs
|
||||
extern crate cci_class;
|
||||
use cci_class::kitties::cat;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
|
||||
fn foo(i: int) -> int { i + 1 }
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
// ignore-fast
|
||||
|
||||
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
|
||||
// file at the top-level directory of this distribution and at
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast exec-env directive doesn't work for check-fast
|
||||
// compile-flags: --cfg ndebug
|
||||
// exec-env:RUST_LOG=conditional-debug-macro-off=4
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast compile-flags directive doesn't work for check-fast
|
||||
// exec-env:RUST_LOG=conditional-debug-macro-on=4
|
||||
|
||||
pub fn main() {
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:cci_const.rs
|
||||
|
||||
extern crate cci_const;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:cci_const.rs
|
||||
|
||||
extern crate cci_const;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// ignore-pretty
|
||||
// compile-flags:--test
|
||||
|
||||
|
@ -14,7 +14,6 @@
|
||||
// name_pool::methods impl in the other crate is reachable from this
|
||||
// crate.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:crate-method-reexport-grrrrrrr2.rs
|
||||
|
||||
extern crate crate_method_reexport_grrrrrrr2;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:crateresolve1-1.rs
|
||||
// aux-build:crateresolve1-2.rs
|
||||
// aux-build:crateresolve1-3.rs
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:crateresolve2-1.rs
|
||||
// aux-build:crateresolve2-2.rs
|
||||
// aux-build:crateresolve2-3.rs
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:crateresolve3-1.rs
|
||||
// aux-build:crateresolve3-2.rs
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:crateresolve4a-1.rs
|
||||
// aux-build:crateresolve4a-2.rs
|
||||
// aux-build:crateresolve4b-1.rs
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:crateresolve5-1.rs
|
||||
// aux-build:crateresolve5-2.rs
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:crateresolve8-1.rs
|
||||
|
||||
#[crate_id="crateresolve8#0.1"];
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:cci_const.rs
|
||||
|
||||
extern crate cci_const;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:newtype_struct_xc.rs
|
||||
|
||||
extern crate newtype_struct_xc;
|
||||
|
@ -11,7 +11,6 @@
|
||||
// This actually tests a lot more than just encodable/decodable, but it gets the
|
||||
// job done at least
|
||||
|
||||
// ignore-fast
|
||||
// ignore-test FIXME(#5121)
|
||||
|
||||
#[feature(struct_variant, managed_boxes)];
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast #7103 `extern crate` does not work on check-fast
|
||||
// ignore-pretty - does not converge
|
||||
|
||||
// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
|
||||
use std::hash;
|
||||
use std::hash::Hash;
|
||||
|
@ -10,7 +10,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
|
||||
#[deriving] //~ WARNING empty trait list in `deriving`
|
||||
struct Foo;
|
||||
|
@ -1,4 +1,3 @@
|
||||
// ignore-fast
|
||||
|
||||
// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
|
||||
// file at the top-level directory of this distribution and at
|
||||
|
@ -1,4 +1,3 @@
|
||||
// ignore-fast
|
||||
|
||||
// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
|
||||
// file at the top-level directory of this distribution and at
|
||||
|
@ -1,4 +1,3 @@
|
||||
// ignore-fast #6330
|
||||
// Copyright 2013-2014 The Rust Project Developers. See the COPYRIGHT
|
||||
// file at the top-level directory of this distribution and at
|
||||
// http://rust-lang.org/COPYRIGHT.
|
||||
@ -9,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast #7103 `extern crate` does not work on check-fast
|
||||
|
||||
#[feature(struct_variant)];
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
// ignore-fast
|
||||
|
||||
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
|
||||
// file at the top-level directory of this distribution and at
|
||||
|
@ -1,4 +1,3 @@
|
||||
// ignore-fast
|
||||
|
||||
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
|
||||
// file at the top-level directory of this distribution and at
|
||||
|
@ -1,4 +1,3 @@
|
||||
// ignore-fast
|
||||
|
||||
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
|
||||
// file at the top-level directory of this distribution and at
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:anon-extern-mod-cross-crate-1.rs
|
||||
// aux-build:anon-extern-mod-cross-crate-1.rs
|
||||
extern crate anonexternmod;
|
||||
|
@ -9,7 +9,6 @@
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-test
|
||||
// ignore-fast
|
||||
|
||||
// Doesn't work; needs a design decision.
|
||||
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast (exec-env not supported in fast mode)
|
||||
// exec-env:TEST_EXEC_ENV=22
|
||||
|
||||
use std::os;
|
||||
|
@ -8,7 +8,6 @@
|
||||
// option. This file may not be copied, modified, or distributed
|
||||
// except according to those terms.
|
||||
|
||||
// ignore-fast
|
||||
// aux-build:explicit_self_xcrate.rs
|
||||
|
||||
extern crate explicit_self_xcrate;
|
||||
|
@ -1,4 +1,3 @@
|
||||
// ignore-fast
|
||||
|
||||
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
|
||||
// file at the top-level directory of this distribution and at
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user