Skip to content

Commit 4851d56

Browse files
committed
ignore failing cross-compiled run-make tests
`run-make-fulldeps` is never cross-compiled, so a lot of these tests never accounted for --target. Ignore them when cross-compiling for now.
1 parent 8e214cb commit 4851d56

File tree

126 files changed

+127
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+127
-0
lines changed

tests/run-make/a-b-a-linker-guard/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# Test that if we build `b` against a version of `a` that has one set

tests/run-make/allow-non-lint-warnings-cmdline/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# Test that -A warnings makes the 'empty trait list for derive' warning go away

tests/run-make/allow-warnings-cmdline-stability/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# Test that -A warnings makes the 'empty trait list for derive' warning go away

tests/run-make/archive-duplicate-names/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/arguments-non-c-like-enum/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/bare-outfile/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/c-dynamic-dylib/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# ignore-macos

tests/run-make/c-dynamic-rlib/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# ignore-macos

tests/run-make/c-link-to-rust-dylib/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: $(TMPDIR)/$(call BIN,bar)

tests/run-make/c-link-to-rust-staticlib/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# ignore-freebsd

tests/run-make/c-link-to-rust-va-list-fn/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/c-static-dylib/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: $(call NATIVE_STATICLIB,cfoo)

tests/run-make/c-static-rlib/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: $(call NATIVE_STATICLIB,cfoo)

tests/run-make/c-unwind-abi-catch-lib-panic/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: archive

tests/run-make/c-unwind-abi-catch-panic/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: $(call NATIVE_STATICLIB,add)

tests/run-make/cdylib-dylib-linkage/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
TARGET_SYSROOT := $(shell $(RUSTC) --print sysroot)/lib/rustlib/$(TARGET)/lib

tests/run-make/cdylib-fewer-symbols/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
# Test that allocator-related symbols don't show up as exported from a cdylib as
23
# they're internal to Rust and not part of the public ABI.
34

tests/run-make/cdylib/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: $(call RUN_BINFILE,foo)

tests/run-make/codegen-options-parsing/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/compile-stdin/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/crate-hash-rustc-version/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# Ensure that crates compiled with different rustc versions cannot

tests/run-make/crate-name-priority/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/debug-assertions/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/doctests-keep-binaries/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# Check that valid binaries are persisted by running them, regardless of whether the --run or --no-run option is used.

tests/run-make/dylib-chain/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/emit/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/exit-code/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/extern-diff-internal-name/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/extern-flag-disambiguates/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# Attempt to build this dependency tree:

tests/run-make/extern-flag-fun/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/extern-flag-pathless/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# Test mixing pathless --extern with paths.

tests/run-make/extern-fn-generic/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: $(call NATIVE_STATICLIB,test)

tests/run-make/extern-fn-mangle/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: $(call NATIVE_STATICLIB,test)

tests/run-make/extern-fn-reachable/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# ignore-windows-msvc

tests/run-make/extern-fn-struct-passing-abi/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: $(call NATIVE_STATICLIB,test)

tests/run-make/extern-fn-with-extern-types/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: $(call NATIVE_STATICLIB,ctest)

tests/run-make/extern-fn-with-packed-struct/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: $(call NATIVE_STATICLIB,test)

tests/run-make/extern-fn-with-union/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: $(call NATIVE_STATICLIB,ctest)

tests/run-make/extern-multiple-copies/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/extern-multiple-copies2/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/extern-overrides-distribution/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/extra-filename-with-temp-outputs/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/foreign-double-unwind/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: foo

tests/run-make/foreign-exceptions/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: foo

tests/run-make/foreign-rust-exceptions/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
# ignore-i686-pc-windows-gnu
23

34
# This test doesn't work on 32-bit MinGW as cdylib has its own copy of unwinder

tests/run-make/fpic/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# ignore-windows

tests/run-make/glibc-staticlib-args/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
# only-gnu
23
# only-linux
34

tests/run-make/incr-add-rust-src-component/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# rust-lang/rust#70924: Test that if we add rust-src component in between two

tests/run-make/interdependent-c-libraries/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# The rust crate foo will link to the native library foo, while the rust crate

tests/run-make/issue-11908/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
# This test ensures that if you have the same rlib or dylib at two locations
23
# in the same path that you don't hit an assertion in the compiler.
34
#

tests/run-make/issue-14500/Makefile

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
include ../tools.mk
22

3+
# ignore-cross-compile
4+
35
# Test to make sure that reachable extern fns are always available in final
46
# productcs, including when LTO is used. In this test, the `foo` crate has a
57
# reahable symbol, and is a dependency of the `bar` crate. When the `bar` crate

tests/run-make/issue-15460/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: $(call NATIVE_STATICLIB,foo)

tests/run-make/issue-20626/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# Test output to be four

tests/run-make/issue-22131/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: foo.rs

tests/run-make/issue-24445/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# only-linux

tests/run-make/issue-25581/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: $(call NATIVE_STATICLIB,test)

tests/run-make/issue-26006/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# ignore-windows

tests/run-make/issue-28595/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: $(call NATIVE_STATICLIB,a) $(call NATIVE_STATICLIB,b)

tests/run-make/issue-30063/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/issue-36710/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
# ignore-none no-std is not supported
23
# ignore-wasm32 FIXME: don't attempt to compile C++ to WASM
34
# ignore-wasm64 FIXME: don't attempt to compile C++ to WASM

tests/run-make/issue-37839/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/issue-37893/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/issue-38237/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/issue-46239/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/issue-68794-textrel-on-minimal-lib/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
# Regression test for issue #68794
23
#
34
# Verify that no text relocations are accidentally introduced by linking a

tests/run-make/issue-69368/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# Test that previously triggered a linker failure with root cause

tests/run-make/issue-97463-abi-param-passing/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# ignore-msvc

tests/run-make/issue64319/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# Different optimization levels imply different values for `-Zshare-generics`,

tests/run-make/libs-through-symlinks/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# ignore-windows

tests/run-make/libtest-json/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# Test expected libtest's JSON output

tests/run-make/link-cfg/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: $(call DYLIB,return1) $(call DYLIB,return2) $(call NATIVE_STATICLIB,return3)

tests/run-make/link-path-order/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# Verifies that the -L arguments given to the linker is in the same order

tests/run-make/linkage-attr-on-static/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: $(call NATIVE_STATICLIB,foo)

tests/run-make/long-linker-command-lines-cmd-exe/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/long-linker-command-lines/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/longjmp-across-rust/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: $(call NATIVE_STATICLIB,foo)

tests/run-make/ls-metadata/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all:

tests/run-make/lto-dylib-dep/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
# Test that we don't run into an assertion when using a Rust dylib dependency

tests/run-make/lto-empty/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# ignore-cross-compile
12
include ../tools.mk
23

34
all: cdylib-fat cdylib-thin

0 commit comments

Comments
 (0)