File tree 3 files changed +6
-1
lines changed 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -651,6 +651,10 @@ addToLibrary({
651
651
} ;
652
652
var winterName = extractZone ( winter ) ;
653
653
var summerName = extractZone ( summer ) ;
654
+ #if ASSERTIONS
655
+ assert ( lengthBytesUTF8 ( winterName ) <= { { { cDefs . TZNAME_MAX } } } , `timezone name truncated to fix in TZNAME_MAX (${ winterName } )` ) ;
656
+ assert ( lengthBytesUTF8 ( summerName ) <= { { { cDefs . TZNAME_MAX } } } , `timezone name truncated to fix in TZNAME_MAX (${ summerName } )` ) ;
657
+ #endif
654
658
if ( summerOffset < winterOffset ) {
655
659
// Northern hemisphere
656
660
stringToUTF8 ( winterName , std_name , { { { cDefs . TZNAME_MAX + 1 } } } ) ;
Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ def get_all_tests(modules):
135
135
136
136
137
137
def get_crossplatform_tests (modules ):
138
- suites = ['core2 ' , 'other' ] # We don't need all versions of every test
138
+ suites = ['core0 ' , 'other' ] # We don't need all versions of every test
139
139
crossplatform_tests = []
140
140
# Walk over the test suites and find the test functions with the
141
141
# is_crossplatform_test attribute applied by @crossplatform decorator
Original file line number Diff line number Diff line change @@ -2656,6 +2656,7 @@ def test_strptime_reentrant(self):
2656
2656
self .set_setting ('EXIT_RUNTIME' )
2657
2657
self .do_core_test ('test_strptime_reentrant.c' )
2658
2658
2659
+ @crossplatform
2659
2660
def test_strftime (self ):
2660
2661
self .do_core_test ('test_strftime.c' )
2661
2662
You can’t perform that action at this time.
0 commit comments