Skip to content

Commit 9467804

Browse files
pawosm-armtstellar
authored andcommitted
[libc++][test] extend XFAIL clauses to cover Amazon Linux too (#129377)
The default triple of Amazon Linux on AArch64 is aarch64-amazon-linux, see issue highlighded by PR #109263, somewhat serious linker issues are encountered if any other triple is being used. Unfortunately, this makes XFAIL lines like `XFAIL: target=aarch64{{.*}}-linux-gnu` ineffective, making it impossible to complete all of the check-cxx on Amazon Linux without failing. (cherry picked from commit 8f4ee42)
1 parent f09bcfb commit 9467804

File tree

10 files changed

+10
-0
lines changed

10 files changed

+10
-0
lines changed

libcxx/test/std/input.output/iostream.format/std.manip/setfill_wchar_max.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
// XFAIL: target={{.*}}-windows{{.*}} && libcpp-abi-version=1
1818
// XFAIL: target=armv{{7|8}}{{l?}}{{.*}}-linux-gnueabihf && libcpp-abi-version=1
1919
// XFAIL: target=aarch64{{.*}}-linux-gnu && libcpp-abi-version=1
20+
// XFAIL: target=aarch64{{.*}}-amazon-linux && libcpp-abi-version=1
2021

2122
#include <iomanip>
2223
#include <ostream>

libcxx/test/std/re/re.alg/re.alg.match/awk.locale.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
// TODO: investigation needed
2020
// TODO(netbsd): incomplete support for locales
2121
// XFAIL: target={{.*}}-linux-gnu{{.*}}, netbsd, freebsd
22+
// XFAIL: target={{.*}}-amazon-linux{{.*}}
2223
// REQUIRES: locale.cs_CZ.ISO8859-2
2324

2425
#include <regex>

libcxx/test/std/re/re.alg/re.alg.match/basic.locale.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
// TODO: investigation needed
2525
// XFAIL: target={{.*}}-linux-gnu{{.*}}, freebsd
26+
// XFAIL: target={{.*}}-amazon-linux{{.*}}
2627

2728
#include <regex>
2829
#include <cassert>

libcxx/test/std/re/re.alg/re.alg.match/ecma.locale.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
// TODO: investigation needed
2525
// XFAIL: target={{.*}}-linux-gnu{{.*}}, freebsd
26+
// XFAIL: target={{.*}}-amazon-linux{{.*}}
2627

2728
#include <regex>
2829
#include <cassert>

libcxx/test/std/re/re.alg/re.alg.match/extended.locale.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
// TODO: investigation needed
2525
// XFAIL: target={{.*}}-linux-gnu{{.*}}, freebsd
26+
// XFAIL: target={{.*}}-amazon-linux{{.*}}
2627

2728
#include <regex>
2829
#include <cassert>

libcxx/test/std/re/re.alg/re.alg.search/awk.locale.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
// TODO: investigation needed
2525
// XFAIL: target={{.*}}-linux-gnu{{.*}}, freebsd
26+
// XFAIL: target={{.*}}-amazon-linux{{.*}}
2627

2728
#include <regex>
2829
#include <cassert>

libcxx/test/std/re/re.alg/re.alg.search/basic.locale.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
// TODO: investigation needed
2525
// XFAIL: target={{.*}}-linux-gnu{{.*}}, freebsd
26+
// XFAIL: target={{.*}}-amazon-linux{{.*}}
2627

2728
#include <regex>
2829
#include <cassert>

libcxx/test/std/re/re.alg/re.alg.search/ecma.locale.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
// TODO: investigation needed
2525
// XFAIL: target={{.*}}-linux-gnu{{.*}}, freebsd
26+
// XFAIL: target={{.*}}-amazon-linux{{.*}}
2627

2728
#include <regex>
2829
#include <cassert>

libcxx/test/std/re/re.alg/re.alg.search/extended.locale.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
// TODO: investigation needed
2525
// XFAIL: target={{.*}}-linux-gnu{{.*}}, freebsd
26+
// XFAIL: target={{.*}}-amazon-linux{{.*}}
2627

2728
#include <regex>
2829
#include <cassert>

libcxx/test/std/re/re.traits/lookup_collatename.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
// TODO: investigation needed
2626
// XFAIL: target={{.*}}-linux-gnu{{.*}}
27+
// XFAIL: target={{.*}}-amazon-linux{{.*}}
2728

2829
#include <regex>
2930
#include <iterator>

0 commit comments

Comments
 (0)