Skip to content

Commit

Permalink
ignore failing cross-compiled run-make tests
Browse files Browse the repository at this point in the history
`run-make-fulldeps` is never cross-compiled, so a lot of these tests
never accounted for --target. Ignore them when cross-compiling for
now.
  • Loading branch information
jyn514 committed Mar 30, 2023
1 parent 8e214cb commit 4851d56
Show file tree
Hide file tree
Showing 126 changed files with 127 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/run-make/a-b-a-linker-guard/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# Test that if we build `b` against a version of `a` that has one set
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/allow-non-lint-warnings-cmdline/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# Test that -A warnings makes the 'empty trait list for derive' warning go away
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/allow-warnings-cmdline-stability/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# Test that -A warnings makes the 'empty trait list for derive' warning go away
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/archive-duplicate-names/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/arguments-non-c-like-enum/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/bare-outfile/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/c-dynamic-dylib/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# ignore-macos
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/c-dynamic-rlib/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# ignore-macos
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/c-link-to-rust-dylib/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: $(TMPDIR)/$(call BIN,bar)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/c-link-to-rust-staticlib/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# ignore-freebsd
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/c-link-to-rust-va-list-fn/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/c-static-dylib/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: $(call NATIVE_STATICLIB,cfoo)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/c-static-rlib/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: $(call NATIVE_STATICLIB,cfoo)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/c-unwind-abi-catch-lib-panic/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: archive
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/c-unwind-abi-catch-panic/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: $(call NATIVE_STATICLIB,add)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/cdylib-dylib-linkage/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

TARGET_SYSROOT := $(shell $(RUSTC) --print sysroot)/lib/rustlib/$(TARGET)/lib
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/cdylib-fewer-symbols/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
# Test that allocator-related symbols don't show up as exported from a cdylib as
# they're internal to Rust and not part of the public ABI.

Expand Down
1 change: 1 addition & 0 deletions tests/run-make/cdylib/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: $(call RUN_BINFILE,foo)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/codegen-options-parsing/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/compile-stdin/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/crate-hash-rustc-version/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# Ensure that crates compiled with different rustc versions cannot
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/crate-name-priority/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/debug-assertions/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/doctests-keep-binaries/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# Check that valid binaries are persisted by running them, regardless of whether the --run or --no-run option is used.
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/dylib-chain/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/emit/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/exit-code/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/extern-diff-internal-name/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/extern-flag-disambiguates/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# Attempt to build this dependency tree:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/extern-flag-fun/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/extern-flag-pathless/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# Test mixing pathless --extern with paths.
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/extern-fn-generic/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: $(call NATIVE_STATICLIB,test)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/extern-fn-mangle/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: $(call NATIVE_STATICLIB,test)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/extern-fn-reachable/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# ignore-windows-msvc
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/extern-fn-struct-passing-abi/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: $(call NATIVE_STATICLIB,test)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/extern-fn-with-extern-types/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: $(call NATIVE_STATICLIB,ctest)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/extern-fn-with-packed-struct/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: $(call NATIVE_STATICLIB,test)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/extern-fn-with-union/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: $(call NATIVE_STATICLIB,ctest)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/extern-multiple-copies/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/extern-multiple-copies2/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/extern-overrides-distribution/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/extra-filename-with-temp-outputs/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/foreign-double-unwind/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: foo
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/foreign-exceptions/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: foo
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/foreign-rust-exceptions/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
# ignore-i686-pc-windows-gnu

# This test doesn't work on 32-bit MinGW as cdylib has its own copy of unwinder
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/fpic/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# ignore-windows
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/glibc-staticlib-args/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
# only-gnu
# only-linux

Expand Down
1 change: 1 addition & 0 deletions tests/run-make/incr-add-rust-src-component/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# rust-lang/rust#70924: Test that if we add rust-src component in between two
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/interdependent-c-libraries/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# The rust crate foo will link to the native library foo, while the rust crate
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue-11908/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
# This test ensures that if you have the same rlib or dylib at two locations
# in the same path that you don't hit an assertion in the compiler.
#
Expand Down
2 changes: 2 additions & 0 deletions tests/run-make/issue-14500/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
include ../tools.mk

# ignore-cross-compile

# Test to make sure that reachable extern fns are always available in final
# productcs, including when LTO is used. In this test, the `foo` crate has a
# reahable symbol, and is a dependency of the `bar` crate. When the `bar` crate
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue-15460/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: $(call NATIVE_STATICLIB,foo)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue-20626/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# Test output to be four
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue-22131/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: foo.rs
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue-24445/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# only-linux
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue-25581/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: $(call NATIVE_STATICLIB,test)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue-26006/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# ignore-windows
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue-28595/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: $(call NATIVE_STATICLIB,a) $(call NATIVE_STATICLIB,b)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue-30063/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue-36710/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
# ignore-none no-std is not supported
# ignore-wasm32 FIXME: don't attempt to compile C++ to WASM
# ignore-wasm64 FIXME: don't attempt to compile C++ to WASM
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue-37839/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue-37893/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue-38237/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue-46239/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue-68794-textrel-on-minimal-lib/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
# Regression test for issue #68794
#
# Verify that no text relocations are accidentally introduced by linking a
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue-69368/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# Test that previously triggered a linker failure with root cause
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue-97463-abi-param-passing/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# ignore-msvc
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/issue64319/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# Different optimization levels imply different values for `-Zshare-generics`,
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/libs-through-symlinks/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# ignore-windows
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/libtest-json/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# Test expected libtest's JSON output
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/link-cfg/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: $(call DYLIB,return1) $(call DYLIB,return2) $(call NATIVE_STATICLIB,return3)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/link-path-order/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# Verifies that the -L arguments given to the linker is in the same order
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/linkage-attr-on-static/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: $(call NATIVE_STATICLIB,foo)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/long-linker-command-lines-cmd-exe/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/long-linker-command-lines/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/longjmp-across-rust/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: $(call NATIVE_STATICLIB,foo)
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/ls-metadata/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all:
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/lto-dylib-dep/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

# Test that we don't run into an assertion when using a Rust dylib dependency
Expand Down
1 change: 1 addition & 0 deletions tests/run-make/lto-empty/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk

all: cdylib-fat cdylib-thin
Expand Down
Loading

0 comments on commit 4851d56

Please sign in to comment.