Auto merge of #24537 - rprichard:fix-parallel-check, r=alexcrichton

This required fixing the `pretty-rpass-full` tests to have the same `$$(CSREQ$(1)_T_$(2)_H_$(3))`  dependencies as the `rpass-full` and `cfail-full` tests.  It also required fixing the `run-make/simd-ffi` test to use unique names for its output files.
This commit is contained in:
bors 2015-04-23 17:32:16 +00:00
commit 69e47c77b2
32 changed files with 41 additions and 38 deletions

View File

@ -753,13 +753,6 @@ PRETTY_DEPS_pretty-rpass-full = $(RPASS_FULL_TESTS)
PRETTY_DEPS_pretty-rfail = $(RFAIL_TESTS)
PRETTY_DEPS_pretty-bench = $(BENCH_TESTS)
PRETTY_DEPS_pretty-pretty = $(PRETTY_TESTS)
# The stage- and host-specific dependencies are for e.g. macro_crate_test which pulls in
# external crates.
PRETTY_DEPS$(1)_H_$(3)_pretty-rpass =
PRETTY_DEPS$(1)_H_$(3)_pretty-rpass-full = $$(HLIB$(1)_H_$(3))/stamp.syntax $$(HLIB$(1)_H_$(3))/stamp.rustc
PRETTY_DEPS$(1)_H_$(3)_pretty-rfail =
PRETTY_DEPS$(1)_H_$(3)_pretty-bench =
PRETTY_DEPS$(1)_H_$(3)_pretty-pretty =
PRETTY_DIRNAME_pretty-rpass = run-pass
PRETTY_DIRNAME_pretty-rpass-valgrind = run-pass-valgrind
PRETTY_DIRNAME_pretty-rpass-full = run-pass-fulldeps
@ -767,6 +760,15 @@ PRETTY_DIRNAME_pretty-rfail = run-fail
PRETTY_DIRNAME_pretty-bench = bench
PRETTY_DIRNAME_pretty-pretty = pretty
define DEF_PRETTY_FULLDEPS
PRETTY_DEPS$(1)_T_$(2)_H_$(3)_pretty-rpass-full = $$(CSREQ$(1)_T_$(3)_H_$(3))
endef
$(foreach host,$(CFG_HOST), \
$(foreach target,$(CFG_TARGET), \
$(foreach stage,$(STAGES), \
$(eval $(call DEF_PRETTY_FULLDEPS,$(stage),$(target),$(host))))))
define DEF_RUN_PRETTY_TEST
PRETTY_ARGS$(1)-T-$(2)-H-$(3)-$(4) := \
@ -780,7 +782,7 @@ check-stage$(1)-T-$(2)-H-$(3)-$(4)-exec: $$(call TEST_OK_FILE,$(1),$(2),$(3),$(4
$$(call TEST_OK_FILE,$(1),$(2),$(3),$(4)): \
$$(TEST_SREQ$(1)_T_$(2)_H_$(3)) \
$$(PRETTY_DEPS_$(4)) \
$$(PRETTY_DEPS$(1)_H_$(3)_$(4))
$$(PRETTY_DEPS$(1)_T_$(2)_H_$(3)_$(4))
@$$(call E, run pretty-rpass [$(2)]: $$<)
$$(Q)touch $$@.start_time
$$(Q)$$(call CFG_RUN_CTEST_$(2),$(1),$$<,$(3)) \

View File

@ -1465,7 +1465,7 @@ fn make_out_name(config: &Config, testfile: &Path, extension: &str) -> PathBuf {
fn aux_output_dir_name(config: &Config, testfile: &Path) -> PathBuf {
let f = output_base_name(config, testfile);
let mut fname = f.file_name().unwrap().to_os_string();
fname.push("libaux");
fname.push(&format!(".{}.libaux", config.mode));
f.with_file_name(&fname)
}

View File

@ -11,7 +11,6 @@
// aux-build:rlib_crate_test.rs
// ignore-stage1
// ignore-tidy-linelength
// ignore-android
// ignore-cross-compile gives a different error message
#![feature(plugin)]

View File

@ -27,7 +27,8 @@ define MK_TARGETS
# on some platforms, but LLVM just prints a warning so that's fine for
# now.
$(1): simd.rs
$$(RUSTC) --target=$(1) --emit=llvm-ir,asm simd.rs -C target-feature='+neon,+sse2'
$$(RUSTC) --target=$(1) --emit=llvm-ir,asm simd.rs \
-C target-feature='+neon,+sse2' -C extra-filename=-$(1)
endef
$(foreach targetxxx,$(TARGETS),$(eval $(call MK_TARGETS,$(targetxxx))))

View File

@ -10,7 +10,7 @@
// Test that the CompilerCalls interface to the compiler works.
// ignore-android
// ignore-cross-compile
#![feature(rustc_private, path)]
#![feature(core)]

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-android
// ignore-cross-compile
#![feature(rustc_private)]

View File

@ -9,7 +9,7 @@
// except according to those terms.
// no-prefer-dynamic
// ignore-android
// ignore-cross-compile
#![feature(rustc_private)]

View File

@ -9,7 +9,7 @@
// except according to those terms.
// ignore-pretty
// ignore-android
// ignore-cross-compile
#![feature(quote, rustc_private)]

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-android
// ignore-cross-compile
// ignore-pretty: does not work well with `--test`
#![feature(quote, rustc_private)]

View File

@ -8,6 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-cross-compile
// ignore-pretty
// ignore-test

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-android
// ignore-cross-compile
// ignore-pretty: does not work well with `--test`
#![feature(quote, rustc_private)]

View File

@ -8,7 +8,7 @@
// option. This file may not be copied, modified, or distributed
// except according to those terms.
// ignore-android
// ignore-cross-compile
// ignore-pretty: does not work well with `--test`
#![feature(quote, rustc_private)]

View File

@ -11,7 +11,7 @@
// This test can't be a unit test in std,
// because it needs TempDir, which is in extra
// ignore-android
// ignore-cross-compile
#![feature(rustc_private, path_ext)]

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:rustdoc-default-impl.rs
// ignore-android
// ignore-cross-compile
extern crate rustdoc_default_impl as foo;

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:rustdoc-extern-default-method.rs
// ignore-android
// ignore-cross-compile
extern crate rustdoc_extern_default_method as ext;

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:rustdoc-extern-method.rs
// ignore-android
// ignore-cross-compile
#![feature(unboxed_closures)]

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:rustdoc-ffi.rs
// ignore-android
// ignore-cross-compile
extern crate rustdoc_ffi as lib;

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:inline-default-methods.rs
// ignore-android
// ignore-cross-compile
extern crate inline_default_methods;

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:issue-13698.rs
// ignore-android
// ignore-cross-compile
extern crate issue_13698;

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:issue-15318.rs
// ignore-android
// ignore-cross-compile
extern crate issue_15318;

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:issue-15318.rs
// ignore-android
// ignore-cross-compile
#![feature(no_std)]
#![no_std]

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:issue-17476.rs
// ignore-android
// ignore-cross-compile
extern crate issue_17476;

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:issue-19190-3.rs
// ignore-android
// ignore-cross-compile
extern crate issue_19190_3;

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:issue-20646.rs
// ignore-android
// ignore-cross-compile
#![feature(associated_types)]

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:issue-20727.rs
// ignore-android
// ignore-cross-compile
extern crate issue_20727;

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:issue-20727.rs
// ignore-android
// ignore-cross-compile
extern crate issue_20727;

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:issue-20727.rs
// ignore-android
// ignore-cross-compile
extern crate issue_20727;

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:issue-20727.rs
// ignore-android
// ignore-cross-compile
extern crate issue_20727;

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:issue-21092.rs
// ignore-android
// ignore-cross-compile
extern crate issue_21092;

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:issue-21801.rs
// ignore-android
// ignore-cross-compile
extern crate issue_21801;

View File

@ -9,7 +9,7 @@
// except according to those terms.
// aux-build:issue-22025.rs
// ignore-android
// ignore-cross-compile
extern crate issue_22025;

View File

@ -10,7 +10,7 @@
// aux-build:issue-23207-1.rs
// aux-build:issue-23207-2.rs
// ignore-android
// ignore-cross-compile
extern crate issue_23207_2;