File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -885,6 +885,9 @@ DEFINE_TEST(test_archive_string_conversion)
885
885
886
886
DEFINE_TEST (test_archive_string_conversion_utf16_utf8 )
887
887
{
888
+ #if !defined(_WIN32 ) || defined(__CYGWIN__ )
889
+ skipping ("This test is meant to verify unicode string handling on Windows" );
890
+ #else
888
891
struct archive_mstring mstr ;
889
892
const char * utf8_string ;
890
893
@@ -899,10 +902,14 @@ DEFINE_TEST(test_archive_string_conversion_utf16_utf8)
899
902
assertEqualString ("\xD0\xBF\xD1\x80\xD0\xB8" , utf8_string );
900
903
901
904
archive_mstring_clean (& mstr );
905
+ #endif
902
906
}
903
907
904
908
DEFINE_TEST (test_archive_string_conversion_utf8_utf16 )
905
909
{
910
+ #if !defined(_WIN32 ) || defined(__CYGWIN__ )
911
+ skipping ("This test is meant to verify unicode string handling on Windows" );
912
+ #else
906
913
struct archive_mstring mstr ;
907
914
const wchar_t * wcs_string ;
908
915
@@ -917,6 +924,7 @@ DEFINE_TEST(test_archive_string_conversion_utf8_utf16)
917
924
assertEqualWString (L"\U0000043f\U00000440\U00000438" , wcs_string );
918
925
919
926
archive_mstring_clean (& mstr );
927
+ #endif
920
928
}
921
929
922
930
DEFINE_TEST (test_archive_string_update_utf8_win )
You can’t perform that action at this time.
0 commit comments