Skip to content

Commit 1fa48cf

Browse files
committed
test: run-make: skip tests on unsupported platforms
The tests issue-36710 and incr-prev-body-beyond-eof were changed in a previous commit so that the correct target was passed to rustc (previously rustc was building for the host not for the specific target). Since that change it turns out that these platforms never worked (they only appeared to work because rustc was actually building for the host architecture). The wasm architectures fall over trying to build the C++ file in issue-36710. They look for clang (which isn't installed in the test-various docker container). If clang is installed, they can't find a wasm c++ standard library to link to. nvtptx64-nvidia-cuda fails in rustc saying it can't find std. The rust platforms support page says that std is supported on cuda so this is surprising. dist-i586-gnu-i586-i686-musl can't find the C++ compiler. There is only a musl-gcc and no musl-g++ in /musl-i586/bin/. The Docker image probably needs tweaking.
1 parent e7505fb commit 1fa48cf

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

src/test/run-make/incr-prev-body-beyond-eof/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# ignore-none no-std is not supported
2+
# ignore-nvptx64-nvidia-cuda FIXME: can't find crate for `std`
23

34
include ../../run-make-fulldeps/tools.mk
45

src/test/run-make/issue-36710/Makefile

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
# so it won't work with remote-test-server
33
# ignore-arm Another build using remote-test-server
44
# ignore-none no-std is not supported
5+
# ignore-wasm32 FIXME: don't attempt to compile C++ to WASM
6+
# ignore-wasm64 FIXME: don't attempt to compile C++ to WASM
7+
# ignore-nvptx64-nvidia-cuda FIXME: can't find crate for `std`
8+
# ignore-musl FIXME: this makefile needs teaching how to use a musl toolchain
9+
# (see dist-i586-gnu-i586-i686-musl Dockerfile)
510

611
include ../../run-make-fulldeps/tools.mk
712

src/test/run-make/issue-83112-incr-test-moved-file/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
include ../../run-make-fulldeps/tools.mk
22

33
# ignore-none no-std is not supported
4+
# ignore-nvptx64-nvidia-cuda FIXME: can't find crate for 'std'
45

56
# Regression test for issue #83112
67
# The generated test harness code contains spans with a dummy location,

0 commit comments

Comments
 (0)