Skip to content

Commit 053bd36

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.
1 parent db14627 commit 053bd36

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# ignore-riscv64 $(call RUN,foo) expects to run the target executable natively
22
# so it won't work with remote-test-server
33
# ignore-none no-std is not supported
4+
# ignore-wasm32 FIXME: don't attempt to compile C++ to WASM
5+
# ignore-wasm64 FIXME: don't attempt to compile C++ to WASM
6+
# ignore-nvptx64-nvidia-cuda FIXME: can't find crate for `std`
47

58
include ../../run-make-fulldeps/tools.mk
69

0 commit comments

Comments
 (0)