File tree Expand file tree Collapse file tree 3 files changed +18
-6
lines changed
libcxx/test/std/time/time.syn Expand file tree Collapse file tree 3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -821,7 +821,9 @@ static void test_valid_values_date_time() {
821
821
// Use the global locale (fr_FR)
822
822
check (
823
823
// https://sourceware.org/bugzilla/show_bug.cgi?id=24054
824
- #if defined(__GLIBC__) && __GLIBC__ <= 2 && __GLIBC_MINOR__ < 29
824
+ #if defined(__powerpc__) && defined(__linux__)
825
+ SV (" %c='jeu. 01 janv. 1970 00:00:00 UTC'\t %Ec='jeu. 01 janv. 1970 00:00:00 UTC'\n " ),
826
+ #elif defined(__GLIBC__) && __GLIBC__ <= 2 && __GLIBC_MINOR__ < 29
825
827
SV (" %c='jeu. 01 janv. 1970 00:00:00 GMT'\t %Ec='jeu. 01 janv. 1970 00:00:00 GMT'\n " ),
826
828
#elif defined(_AIX)
827
829
SV (" %c=' 1 janvier 1970 à 00:00:00 UTC'\t %Ec=' 1 janvier 1970 à 00:00:00 UTC'\n " ),
@@ -839,7 +841,9 @@ static void test_valid_values_date_time() {
839
841
840
842
check (
841
843
// https://sourceware.org/bugzilla/show_bug.cgi?id=24054
842
- #if defined(__GLIBC__) && __GLIBC__ <= 2 && __GLIBC_MINOR__ < 29
844
+ #if defined(__powerpc__) && defined(__linux__)
845
+ SV (" %c='ven. 13 févr. 2009 23:31:30 UTC'\t %Ec='ven. 13 févr. 2009 23:31:30 UTC'\n " ),
846
+ #elif defined(__GLIBC__) && __GLIBC__ <= 2 && __GLIBC_MINOR__ < 29
843
847
SV (" %c='ven. 13 févr. 2009 23:31:30 GMT'\t %Ec='ven. 13 févr. 2009 23:31:30 GMT'\n " ),
844
848
#elif defined(_AIX)
845
849
SV (" %c='13 février 2009 à 23:31:30 UTC'\t %Ec='13 février 2009 à 23:31:30 UTC'\n " ),
Original file line number Diff line number Diff line change @@ -820,7 +820,9 @@ static void test_valid_values_date_time() {
820
820
// Use the global locale (fr_FR)
821
821
check (
822
822
// https://sourceware.org/bugzilla/show_bug.cgi?id=24054
823
- #if defined(__GLIBC__) && __GLIBC__ <= 2 && __GLIBC_MINOR__ < 29
823
+ #if defined(__powerpc__) && defined(__linux__)
824
+ SV (" %c='jeu. 01 janv. 1970 00:00:00 UTC'\t %Ec='jeu. 01 janv. 1970 00:00:00 UTC'\n " ),
825
+ #elif defined(__GLIBC__) && __GLIBC__ <= 2 && __GLIBC_MINOR__ < 29
824
826
SV (" %c='jeu. 01 janv. 1970 00:00:00 GMT'\t %Ec='jeu. 01 janv. 1970 00:00:00 GMT'\n " ),
825
827
#elif defined(_AIX)
826
828
SV (" %c=' 1 janvier 1970 à 00:00:00 UTC'\t %Ec=' 1 janvier 1970 à 00:00:00 UTC'\n " ),
@@ -838,7 +840,9 @@ static void test_valid_values_date_time() {
838
840
839
841
check (
840
842
// https://sourceware.org/bugzilla/show_bug.cgi?id=24054
841
- #if defined(__GLIBC__) && __GLIBC__ <= 2 && __GLIBC_MINOR__ < 29
843
+ #if defined(__powerpc__) && defined(__linux__)
844
+ SV (" %c='ven. 13 févr. 2009 23:31:30 UTC'\t %Ec='ven. 13 févr. 2009 23:31:30 UTC'\n " ),
845
+ #elif defined(__GLIBC__) && __GLIBC__ <= 2 && __GLIBC_MINOR__ < 29
842
846
SV (" %c='ven. 13 févr. 2009 23:31:30 GMT'\t %Ec='ven. 13 févr. 2009 23:31:30 GMT'\n " ),
843
847
#elif defined(_AIX)
844
848
SV (" %c='13 février 2009 à 23:31:30 UTC'\t %Ec='13 février 2009 à 23:31:30 UTC'\n " ),
Original file line number Diff line number Diff line change @@ -817,7 +817,9 @@ static void test_valid_values_date_time() {
817
817
// Use the global locale (fr_FR)
818
818
check (
819
819
// https://sourceware.org/bugzilla/show_bug.cgi?id=24054
820
- #if defined(__GLIBC__) && __GLIBC__ <= 2 && __GLIBC_MINOR__ < 29
820
+ #if defined(__powerpc__) && defined(__linux__)
821
+ SV (" %c='jeu. 01 janv. 1970 00:00:00 UTC'\t %Ec='jeu. 01 janv. 1970 00:00:00 UTC'\n " ),
822
+ #elif defined(__GLIBC__) && __GLIBC__ <= 2 && __GLIBC_MINOR__ < 29
821
823
SV (" %c='jeu. 01 janv. 1970 00:00:00 GMT'\t %Ec='jeu. 01 janv. 1970 00:00:00 GMT'\n " ),
822
824
#elif defined(_AIX)
823
825
SV (" %c=' 1 janvier 1970 à 00:00:00 UTC'\t %Ec=' 1 janvier 1970 à 00:00:00 UTC'\n " ),
@@ -835,7 +837,9 @@ static void test_valid_values_date_time() {
835
837
836
838
check (
837
839
// https://sourceware.org/bugzilla/show_bug.cgi?id=24054
838
- #if defined(__GLIBC__) && __GLIBC__ <= 2 && __GLIBC_MINOR__ < 29
840
+ #if defined(__powerpc__) && defined(__linux__)
841
+ SV (" %c='ven. 13 févr. 2009 23:31:30 UTC'\t %Ec='ven. 13 févr. 2009 23:31:30 UTC'\n " ),
842
+ #elif defined(__GLIBC__) && __GLIBC__ <= 2 && __GLIBC_MINOR__ < 29
839
843
SV (" %c='ven. 13 févr. 2009 23:31:30 GMT'\t %Ec='ven. 13 févr. 2009 23:31:30 GMT'\n " ),
840
844
#elif defined(_AIX)
841
845
SV (" %c='13 février 2009 à 23:31:30 UTC'\t %Ec='13 février 2009 à 23:31:30 UTC'\n " ),
You can’t perform that action at this time.
0 commit comments