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.
This commit is contained in:
Joshua Nelson 2023-03-30 08:46:31 -05:00
parent 8e214cbc06
commit 4851d5663c
126 changed files with 127 additions and 0 deletions

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# Test that if we build `b` against a version of `a` that has one set # Test that if we build `b` against a version of `a` that has one set

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# Test that -A warnings makes the 'empty trait list for derive' warning go away # Test that -A warnings makes the 'empty trait list for derive' warning go away

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# Test that -A warnings makes the 'empty trait list for derive' warning go away # Test that -A warnings makes the 'empty trait list for derive' warning go away

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# ignore-macos # ignore-macos

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# ignore-macos # ignore-macos

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(TMPDIR)/$(call BIN,bar) all: $(TMPDIR)/$(call BIN,bar)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# ignore-freebsd # ignore-freebsd

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call NATIVE_STATICLIB,cfoo) all: $(call NATIVE_STATICLIB,cfoo)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call NATIVE_STATICLIB,cfoo) all: $(call NATIVE_STATICLIB,cfoo)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: archive all: archive

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call NATIVE_STATICLIB,add) all: $(call NATIVE_STATICLIB,add)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
TARGET_SYSROOT := $(shell $(RUSTC) --print sysroot)/lib/rustlib/$(TARGET)/lib TARGET_SYSROOT := $(shell $(RUSTC) --print sysroot)/lib/rustlib/$(TARGET)/lib

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
# Test that allocator-related symbols don't show up as exported from a cdylib as # 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. # they're internal to Rust and not part of the public ABI.

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call RUN_BINFILE,foo) all: $(call RUN_BINFILE,foo)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# Ensure that crates compiled with different rustc versions cannot # Ensure that crates compiled with different rustc versions cannot

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# Check that valid binaries are persisted by running them, regardless of whether the --run or --no-run option is used. # Check that valid binaries are persisted by running them, regardless of whether the --run or --no-run option is used.

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# Attempt to build this dependency tree: # Attempt to build this dependency tree:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# Test mixing pathless --extern with paths. # Test mixing pathless --extern with paths.

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call NATIVE_STATICLIB,test) all: $(call NATIVE_STATICLIB,test)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call NATIVE_STATICLIB,test) all: $(call NATIVE_STATICLIB,test)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# ignore-windows-msvc # ignore-windows-msvc

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call NATIVE_STATICLIB,test) all: $(call NATIVE_STATICLIB,test)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call NATIVE_STATICLIB,ctest) all: $(call NATIVE_STATICLIB,ctest)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call NATIVE_STATICLIB,test) all: $(call NATIVE_STATICLIB,test)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call NATIVE_STATICLIB,ctest) all: $(call NATIVE_STATICLIB,ctest)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: foo all: foo

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: foo all: foo

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
# ignore-i686-pc-windows-gnu # ignore-i686-pc-windows-gnu
# This test doesn't work on 32-bit MinGW as cdylib has its own copy of unwinder # This test doesn't work on 32-bit MinGW as cdylib has its own copy of unwinder

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# ignore-windows # ignore-windows

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
# only-gnu # only-gnu
# only-linux # only-linux

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# rust-lang/rust#70924: Test that if we add rust-src component in between two # rust-lang/rust#70924: Test that if we add rust-src component in between two

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# The rust crate foo will link to the native library foo, while the rust crate # The rust crate foo will link to the native library foo, while the rust crate

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
# This test ensures that if you have the same rlib or dylib at two locations # 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. # in the same path that you don't hit an assertion in the compiler.
# #

View File

@ -1,5 +1,7 @@
include ../tools.mk include ../tools.mk
# ignore-cross-compile
# Test to make sure that reachable extern fns are always available in final # 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 # 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 # reahable symbol, and is a dependency of the `bar` crate. When the `bar` crate

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call NATIVE_STATICLIB,foo) all: $(call NATIVE_STATICLIB,foo)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# Test output to be four # Test output to be four

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: foo.rs all: foo.rs

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# only-linux # only-linux

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call NATIVE_STATICLIB,test) all: $(call NATIVE_STATICLIB,test)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# ignore-windows # ignore-windows

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call NATIVE_STATICLIB,a) $(call NATIVE_STATICLIB,b) all: $(call NATIVE_STATICLIB,a) $(call NATIVE_STATICLIB,b)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
# ignore-none no-std is not supported # ignore-none no-std is not supported
# ignore-wasm32 FIXME: don't attempt to compile C++ to WASM # ignore-wasm32 FIXME: don't attempt to compile C++ to WASM
# ignore-wasm64 FIXME: don't attempt to compile C++ to WASM # ignore-wasm64 FIXME: don't attempt to compile C++ to WASM

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
# Regression test for issue #68794 # Regression test for issue #68794
# #
# Verify that no text relocations are accidentally introduced by linking a # Verify that no text relocations are accidentally introduced by linking a

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# Test that previously triggered a linker failure with root cause # Test that previously triggered a linker failure with root cause

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# ignore-msvc # ignore-msvc

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# Different optimization levels imply different values for `-Zshare-generics`, # Different optimization levels imply different values for `-Zshare-generics`,

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# ignore-windows # ignore-windows

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# Test expected libtest's JSON output # Test expected libtest's JSON output

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call DYLIB,return1) $(call DYLIB,return2) $(call NATIVE_STATICLIB,return3) all: $(call DYLIB,return1) $(call DYLIB,return2) $(call NATIVE_STATICLIB,return3)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# Verifies that the -L arguments given to the linker is in the same order # Verifies that the -L arguments given to the linker is in the same order

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call NATIVE_STATICLIB,foo) all: $(call NATIVE_STATICLIB,foo)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call NATIVE_STATICLIB,foo) all: $(call NATIVE_STATICLIB,foo)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# Test that we don't run into an assertion when using a Rust dylib dependency # Test that we don't run into an assertion when using a Rust dylib dependency

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: cdylib-fat cdylib-thin all: cdylib-fat cdylib-thin

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call NATIVE_STATICLIB,foo) $(call NATIVE_STATICLIB,bar) all: $(call NATIVE_STATICLIB,foo) $(call NATIVE_STATICLIB,bar)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# Apparently older versions of GCC segfault if -g is passed... # Apparently older versions of GCC segfault if -g is passed...

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: noparam bool_true bool_false thin fat all: noparam bool_true bool_false thin fat

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(TMPDIR)/libbar.a all: $(TMPDIR)/libbar.a

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# Testing various mixings of rlibs and dylibs. Makes sure that it's possible to # Testing various mixings of rlibs and dylibs. Makes sure that it's possible to

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
ifdef IS_MSVC ifdef IS_MSVC

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
# Regression test for issue #10973 # Regression test for issue #10973
include ../tools.mk include ../tools.mk

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# check that rustc builds all crate_type attributes # check that rustc builds all crate_type attributes

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# FIXME: it would be good to check that it's actually the rightmost flags # FIXME: it would be good to check that it's actually the rightmost flags

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: $(call NATIVE_STATICLIB,test) all: $(call NATIVE_STATICLIB,test)

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
all: all:

View File

@ -1,3 +1,4 @@
# ignore-cross-compile
include ../tools.mk include ../tools.mk
# ignore-windows # ignore-windows

Some files were not shown because too many files have changed in this diff Show More