Skip to content

[libcxx][test] Use smaller time range for 32 bit time_t #104762

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@
// XFAIL: libcpp-has-no-experimental-tzdb
// XFAIL: availability-tzdb-missing

// TODO TZDB Investigate
// UNSUPPORTED: target={{armv(7|8)l-linux-gnueabihf}}

#include <chrono>
#include <format>
#include <fstream>
Expand All @@ -28,7 +25,7 @@
// The year range to validate. The dates used in practice are expected to be
// inside the tested range.
constexpr std::chrono::year first{1800};
constexpr std::chrono::year last{2100};
constexpr std::chrono::year last{sizeof(time_t) == 8 ? 2100 : 2037};

// A custom sys_info class that also stores the name of the time zone.
// Its formatter matches the output of zdump.
Expand Down
Loading