Back to list
info: starting build process on Sun Aug 23 05:46:13 AM UTC 2026
make: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
make[1]: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
make[2]: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
make[2]: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
[ 30%] Built target utf8
make[2]: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
make[2]: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
[ 36%] Built target show-unicode
make[2]: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
make[2]: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
[ 43%] Built target unicode-data-parser
make[2]: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
make[2]: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
[ 50%] Built target list-locales
make[2]: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
make[2]: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
make[2]: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
[ 53%] Generating API documentation with Doxygen
make[2]: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
[ 56%] Built target libutf8_Documentation
make[2]: Entering directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
make[2]: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
[100%] Built target unittest
make[1]: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
make: Leaving directory '/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8'
../../BUILD/Debug/contrib/libutf8/tests/unittest --tmp-dir "/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8/tmp" --binary-dir "/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8" --dist-dir "/home/alexis/snapwebsites/snapcpp/BUILD/Debug/dist" --source-dir "/home/alexis/snapwebsites/snapcpp/contrib/libutf8" --premature-exit-guard-file /home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8/tmp/catch2-running.tmp --progress ""
libutf8 v1.0.16 [154032]:unittest: seed is 1787463974
source directory: "/home/alexis/snapwebsites/snapcpp/contrib/libutf8"
binary directory: "/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8"
dist directory: "/home/alexis/snapwebsites/snapcpp/BUILD/Debug/dist"
temporary directory: "/home/alexis/snapwebsites/snapcpp/BUILD/Debug/contrib/libutf8/tmp"
Randomness seeded to: 902628661
SECTION: json_tokens: valid JSON tokens
SECTION: json_tokens: valid JSON numbers
SECTION: json_tokens: valid JSON special escaped characters
SECTION: json_tokens: valid JSON unicode escaped characters
SECTION: make_valid: test bad encoding (1 byte when 2 necessary)
SECTION: make_valid: test bad encoding (2 bytes when 3 necessary)
SECTION: make_valid: test bad encoding (3 bytes when 4 necessary)
SECTION: invalid_utf8_to_utf32: Verify that surrogates do not work in UTF-8
SECTION: invalid_utf8_to_utf32: Test an invalid UTF-8 sequence (0x80 to 0x7FF)
SECTION: invalid_utf8_to_utf32: Test an invalid UTF-8 sequence (0x800 to 0xFFFF)
SECTION: invalid_utf8_to_utf32: Test UTF-32 to UTF-8 with characters between 0x010000 and 0x110000 inclusive
SECTION: invalid_utf8_to_utf32: Test three random characters, destroy the second one and make sure it gets skipped properly
SECTION: wc_to_string: test wc to u8string conversions between 0 and 0x80
SECTION: wc_to_string: test wc to u8string conversions between 0x80 and 0x800
SECTION: wc_to_string: test wc to u8string conversions between 0x800 and 0x10000
SECTION: wc_to_string: test wc to u8string conversions between 0x10000 and 0x110000
SECTION: invalid_utf16_string_length: invalid UTF-16 returns -1 for length
SECTION: string_length: length of valid Unicode strings
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unittest is a Catch2 v3.15.2 host application.
Run with -? for options
-------------------------------------------------------------------------------
string_length
string_length: length of valid Unicode strings
-------------------------------------------------------------------------------
/home/alexis/snapwebsites/snapcpp/contrib/libutf8/tests/catch_length.cpp:45
...............................................................................
/home/alexis/snapwebsites/snapcpp/contrib/libutf8/tests/catch_length.cpp:62: FAILED:
CATCH_REQUIRE( libutf8::u8length(str8) == length )
with expansion:
27 == 63
SECTION: stream: write a char32_t to a stream
SECTION: locale_exists: check that the C and POSIX system locales exist
SECTION: locale_exists: check that the "en" and "fr" ICU locales exist
SECTION: json_tokens_invalid: invalid JSON negative number
SECTION: json_tokens_invalid: invalid JSON number with fraction
SECTION: json_tokens_invalid: invalid JSON number exponent
SECTION: json_tokens_invalid: invalid JSON number with fraction
SECTION: json_tokens_invalid: unsupported JSON backslash character
SECTION: json_tokens_invalid: invalid JSON unicode: too short
SECTION: json_tokens_invalid: invalid JSON unicode: low surrogate missing backslash
SECTION: json_tokens_invalid: invalid JSON unicode: low surrogate missing 'u'
SECTION: json_tokens_invalid: invalid JSON unicode: low surrogate expected
SECTION: json_tokens_invalid: invalid JSON unicode: low surrogate too short
SECTION: json_tokens_invalid: invalid JSON unicode: invalid hexadecimal digit (low surrogate)
SECTION: json_tokens_invalid: invalid JSON unicode: low surrogate first
SECTION: json_tokens_invalid: invalid JSON unicode: invalid hexadecimal digit
SECTION: json_tokens_invalid: unterminated JSON string
SECTION: json_tokens_invalid: JSON true with missing characters
SECTION: json_tokens_invalid: JSON false with missing characters
SECTION: json_tokens_invalid: JSON null with missing characters
SECTION: json_tokens_invalid: unexpected JSON characters
SECTION: json_tokens_invalid: unexpected '\0' in JSON
SECTION: json_tokens_invalid: unexpected '\0' in JSON string
SECTION: invalid_string_conversions: test surrogate string conversion (u8)
SECTION: invalid_string_conversions: test surrogate string conversion (u32)
SECTION: invalid_string_conversions: test conversion strings between 0x110000 and 0xFFFFFFFF
SECTION: invalid_string_conversions: invalid UTF-16 surrogate usage
SECTION: string_validations: valid ASCII including controls
SECTION: string_validations: valid ASCII excluding controls
SECTION: string_validations: invalid ASCII (extended characters)
SECTION: string_validations: invalid ASCII (controls)
SECTION: string_validations: Valid UTF-8
SECTION: string_validations: invalid UTF-8 (UTF-16 surrogates)
SECTION: string_validations: invalid UTF-8 (invalid code points)
SECTION: string_validations: valid UTF-16 (no surrogates)
SECTION: string_validations: valid UTF-16 (surrogates)
SECTION: string_validations: valid UTF-32
SECTION: string_validations: invalid UTF-32 (UTF-16 surrogates)
SECTION: string_validations: invalid UTF-32 (invalid code points)
SECTION: version: verify runtime vs compile time version numbers
SECTION: string_concatenation: UTF-8 string + char32
SECTION: character_conversions: Verify minimum buffer length for MBS conversions
SECTION: character_conversions: Test UTF-32 to UTF-8 with characters between 0x00 and 0x7F inclusive
SECTION: character_conversions: Test UTF-32 to UTF-8 with characters between 0x80 and 0x7FF inclusive
SECTION: character_conversions: Test UTF-32 to UTF-8 with characters between 0x800 and 0xFFFF inclusive
SECTION: character_conversions: Test UTF-32 to UTF-8 with characters between 0x10000 and 0x10FFFF inclusive
SECTION: character_conversions: Test UTF-32 to UTF-8 with an empty input string
SECTION: bom: Verify the BOM character
SECTION: bom: Verify with a string that's too small
SECTION: bom: Verify the five BOMs as is
SECTION: bom: Verify the five BOMs as is
SECTION: bom: Verify u32string that starts with a BOM (CPU Endianness)
SECTION: compare_strings: compare UTF-8 strings
SECTION: invalid_wc_to_string: test wc to u8string conversions between 0x800 and 0x10000
SECTION: invalid_wc_to_string: test wc to u8string conversions between 0x110000 and 0xFFFFFFFF
SECTION: string_conversions: test conversion strings (0x0001 to 0xFFFD)
SECTION: string_conversions: test conversion strings (0x10000 to 0x110000)
SECTION: invalid_utf32_to_utf8: Verify that surrogates do not work in UTF-8
SECTION: invalid_utf32_to_utf8: Verify that too large a number is not supported
SECTION: case_insensitive: Verify Case Insensitive String Constructors
SECTION: case_insensitive: Verify Case Insensitive String Comparators
SECTION: invalid_string_validations: invalid unicode (UTF-16 surrogates) to UTF-16
SECTION: invalid_string_validations: invalid UTF-16 surrogates
SECTION: libutf8_iterator: valid iterators tests
SECTION: libutf8_iterator_invalid_string: iterators with invalid characters (bad UTF-8)
SECTION: libutf8_iterator_invalid_string: iterators with invalid characters (too large)
===============================================================================
test cases: 23 | 22 passed | 1 failed
assertions: 106039648 | 106039647 passed | 1 failed
Command exited with non-zero status 42
43.11user 0.01system 0:43.13elapsed 99%CPU (0avgtext+0avgdata 11648maxresident)k
256inputs+8outputs (1major+1191minor)pagefaults 0swaps
info: test logs were saved in: "../../BUILD/Debug/contrib/libutf8/tests/tests.log".
error: test(s) failed.
Build, Tests/Coverage, or Upload failed on Sun Aug 23 05:46:57 AM UTC 2026.
Back to list