@@ -393,9 +393,11 @@ class TestNSCalendar: XCTestCase {
393393 try yield ( to: block, ( . chinese, " zh_CN " , " Asia/Hong_Kong " , " 2015-04-02 07:13:22 +0800 " ) )
394394 try yield ( to: block, ( . chinese, " zh_CN " , " Asia/Hong_Kong " , " 2014-10-16 06:12:10 +0800 " ) )
395395
396- #if !os(Windows)
396+ #if !os(Windows) && !os(Linux)
397397 // TODO: these are deprecated aliases which are unavailable on Windows,
398398 // it is unclear if the support for the old names need to be validated.
399+ // TODO: these aliases have been removed from recent versions of Linux
400+ // as well
399401 try yield ( to: block, ( . hebrew, " he_IL " , " Israel " , " 2018-12-24 05:40:43 +0200 " ) )
400402 try yield ( to: block, ( . hebrew, " he_IL " , " Israel " , " 2019-03-22 09:23:26 +0200 " ) )
401403#endif
@@ -505,8 +507,9 @@ class TestNSCalendar: XCTestCase {
505507 try yield ( to: block, ( . gregorian, " en_US " , " America/Los_Angeles " , " 2013-03-26 10:04:16 -0700 " , " 2013-03-26 00:00:00 -0700 " ) )
506508 try yield ( to: block, ( . gregorian, " pt_BR " , " America/Sao_Paulo " , " 2013-10-20 13:10:20 -0200 " , " 2013-10-20 01:00:00 -0200 " ) ) // DST jump forward at midnight
507509 try yield ( to: block, ( . gregorian, " pt_BR " , " America/Sao_Paulo " , " 2014-02-15 23:59:59 -0300 " , " 2014-02-15 00:00:00 -0200 " ) ) // DST jump backward
508- #if !os(Windows)
509- // TODO: these are deprecated aliases which are unavailable on Windows,
510+ #if !os(Windows) && !os(Linux)
511+ // TODO: these are deprecated aliases which are unavailable on Windows
512+ // and updated Linux distributions,
510513 // it is unclear if the support for the old names need to be validated.
511514 try yield ( to: block, ( . gregorian, " pt_BR " , " Brazil/East " , " 2013-10-20 13:10:20 -0200 " , " 2013-10-20 01:00:00 -0200 " ) ) // DST jump forward at midnight
512515 try yield ( to: block, ( . gregorian, " pt_BR " , " Brazil/East " , " 2014-02-15 23:59:59 -0300 " , " 2014-02-15 00:00:00 -0200 " ) ) // DST jump backward
@@ -751,7 +754,7 @@ class TestNSCalendar: XCTestCase {
751754 try yield ( to: block, ( . islamic, " ar_SA " , " Asia/Riyadh " , " 2015-05-29 00:00:00 +0300 " , " 2015-05-31 00:00:00 +0300 " ) ) // islamic
752755 try yield ( to: block, ( . islamicCivil, " ar_SA " , " Asia/Riyadh " , " 2015-05-29 00:00:00 +0300 " , " 2015-05-31 00:00:00 +0300 " ) ) // islamic-civil
753756 try yield ( to: block, ( . chinese, " zh_CN " , " Asia/Hong_Kong " , " 2015-01-03 00:00:00 +0800 " , " 2015-01-05 00:00:00 +0800 " ) ) // chinese
754- #if !os(Windows)
757+ #if !os(Windows) && !os(Linux)
755758 // TODO: these are deprecated aliases which are unavailable on Windows,
756759 // it is unclear if the support for the old names need to be validated.
757760 try yield ( to: block, ( . hebrew, " he_IL " , " Israel " , " 2018-03-23 00:00:00 +0200 " , " 2018-03-25 00:00:00 +0300 " ) ) // weekend with DST jump
0 commit comments