Skip to content

Commit 31e6fe7

Browse files
authored
[libc++] Add missing unsupported attributes to hardening timezone tests. (#148406)
Before this patch, these tests fail under `extensive` and `debug` hardening modes.
1 parent 8612926 commit 31e6fe7

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

libcxx/test/libcxx/time/time.zone/time.zone.exception/time.zone.exception.ambig/assert.ctor.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@
77
//===----------------------------------------------------------------------===//
88

99
// UNSUPPORTED: c++03, c++11, c++14, c++17
10+
// UNSUPPORTED: no-filesystem, no-localization, no-tzdb
1011

1112
// REQUIRES: has-unix-headers
1213
// REQUIRES: libcpp-hardening-mode={{extensive|debug}}
1314
// XFAIL: libcpp-hardening-mode=debug && availability-verbose_abort-missing
1415

1516
// XFAIL: libcpp-has-no-experimental-tzdb
17+
// XFAIL: availability-tzdb-missing
1618

1719
// <chrono>
1820

libcxx/test/libcxx/time/time.zone/time.zone.exception/time.zone.exception.nonexist/assert.ctor.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@
77
//===----------------------------------------------------------------------===//
88

99
// UNSUPPORTED: c++03, c++11, c++14, c++17
10+
// UNSUPPORTED: no-filesystem, no-localization, no-tzdb
1011

1112
// REQUIRES: has-unix-headers
1213
// REQUIRES: libcpp-hardening-mode={{extensive|debug}}
1314
// XFAIL: libcpp-hardening-mode=debug && availability-verbose_abort-missing
1415

1516
// XFAIL: libcpp-has-no-experimental-tzdb
17+
// XFAIL: availability-tzdb-missing
1618

1719
// <chrono>
1820

libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/assert.to_local.pass.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//===----------------------------------------------------------------------===//
88

99
// UNSUPPORTED: c++03, c++11, c++14, c++17
10+
// UNSUPPORTED: no-filesystem, no-localization, no-tzdb
1011

1112
// REQUIRES: has-unix-headers
1213
// REQUIRES: libcpp-hardening-mode={{extensive|debug}}

libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/assert.to_sys.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@
77
//===----------------------------------------------------------------------===//
88

99
// UNSUPPORTED: c++03, c++11, c++14, c++17
10+
// UNSUPPORTED: no-filesystem, no-localization, no-tzdb
1011

1112
// REQUIRES: has-unix-headers
1213
// REQUIRES: libcpp-hardening-mode={{extensive|debug}}
1314
// XFAIL: libcpp-hardening-mode=debug && availability-verbose_abort-missing
1415

1516
// XFAIL: libcpp-has-no-experimental-tzdb
17+
// XFAIL: availability-tzdb-missing
1618

1719
// <chrono>
1820

libcxx/test/libcxx/time/time.zone/time.zone.timezone/time.zone.members/assert.to_sys_choose.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@
77
//===----------------------------------------------------------------------===//
88

99
// UNSUPPORTED: c++03, c++11, c++14, c++17
10+
// UNSUPPORTED: no-filesystem, no-localization, no-tzdb
1011

1112
// REQUIRES: has-unix-headers
1213
// REQUIRES: libcpp-hardening-mode={{extensive|debug}}
1314
// XFAIL: libcpp-hardening-mode=debug && availability-verbose_abort-missing
1415

1516
// XFAIL: libcpp-has-no-experimental-tzdb
17+
// XFAIL: availability-tzdb-missing
1618

1719
// <chrono>
1820

0 commit comments

Comments
 (0)