Skip to content

Commit

Permalink
Add XFAIL: s390x to whole-toolchain testcases
Browse files Browse the repository at this point in the history
With the new s390x support for lld these testcases run now but are
expected to fail as '-rtlib=compiler-rt' will fail due to unsupported
builtins in the arch
  • Loading branch information
Jesus Checa Hidalgo committed Mar 6, 2024
1 parent c495d9d commit 408f804
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/whole-toolchain.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
// REQUIRES: clang, lld, compiler-rt
// RUN: %clang -fuse-ld=lld -rtlib=compiler-rt %s -o %t
// RUN: %t | grep "Hello World"
// s390x now runs but fails because it does not support compiler-rt builtins.
// XFAIL: s390x

#include<stdio.h>
int main(int argc, char **argv) {
Expand Down
2 changes: 2 additions & 0 deletions tests/whole-toolchain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
// alternative would be to force usage of LLVM unwinder when building compiler-rt.
// RUN: %clangxx -fuse-ld=lld -rtlib=compiler-rt -stdlib=libc++ -lgcc_eh %s -o %t
// RUN: %t | grep "Hello World"
// s390x now runs but fails because it does not support compiler-rt builtins.
// XFAIL: s390x

#include <iostream>
int main(int argc, char **argv) {
Expand Down

0 comments on commit 408f804

Please sign in to comment.