Skip to content

Commit ecf863f

Browse files
committed
[libc++][test] extend XFAIL clauses to cover Amazon Linux too
The default triple of Amazon Linux on AArch64 is aarch64-amazon-linux, see issue highlighded by PR llvm#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.
1 parent 0751418 commit ecf863f

File tree

10 files changed

+10
-9
lines changed

10 files changed

+10
-9
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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
// TODO: investigation needed
2020
// TODO(netbsd): incomplete support for locales
21-
// XFAIL: target={{.*}}-linux-gnu{{.*}}, netbsd, freebsd
21+
// XFAIL: target={{.*}}-linux-gnu{{.*}}, {{.*}}-amazon-linux{{.*}}, netbsd, freebsd
2222
// REQUIRES: locale.cs_CZ.ISO8859-2
2323

2424
#include <regex>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// regex_constants::match_flag_type flags = regex_constants::match_default);
2323

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

2727
#include <regex>
2828
#include <cassert>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// regex_constants::match_flag_type flags = regex_constants::match_default);
2323

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

2727
#include <regex>
2828
#include <cassert>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// regex_constants::match_flag_type flags = regex_constants::match_default);
2323

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

2727
#include <regex>
2828
#include <cassert>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// regex_constants::match_flag_type flags = regex_constants::match_default);
2323

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

2727
#include <regex>
2828
#include <cassert>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// regex_constants::match_flag_type flags = regex_constants::match_default);
2323

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

2727
#include <regex>
2828
#include <cassert>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// regex_constants::match_flag_type flags = regex_constants::match_default);
2323

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

2727
#include <regex>
2828
#include <cassert>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
// regex_constants::match_flag_type flags = regex_constants::match_default);
2323

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

2727
#include <regex>
2828
#include <cassert>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// lookup_collatename(ForwardIterator first, ForwardIterator last) const;
2424

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

2828
#include <regex>
2929
#include <iterator>

0 commit comments

Comments
 (0)