>>> libcyaml: Building testing/libcyaml 1.3.1-r0 (using abuild 3.9.0-r0) started Tue, 26 Apr 2022 17:09:20 +0000 >>> libcyaml: Checking sanity of /home/buildozer/aports/testing/libcyaml/APKBUILD... >>> libcyaml: Analyzing dependencies... >>> libcyaml: Installing for build: build-base yaml-dev (1/3) Installing yaml (0.2.5-r0) (2/3) Installing yaml-dev (0.2.5-r0) (3/3) Installing .makedepends-libcyaml (20220426.170922) OK: 332 MiB in 101 packages >>> libcyaml: Cleaning up srcdir >>> libcyaml: Cleaning up pkgdir >>> libcyaml: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libcyaml-v1.3.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 146 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 404 >>> libcyaml: Fetching https://github.com/tlsa/libcyaml/archive/v1.3.1/libcyaml-v1.3.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 131 100 131 0 0 643 0 --:--:-- --:--:-- --:--:-- 645 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 85605 0 85605 0 0 180k 0 --:--:-- --:--:-- --:--:-- 1466k >>> libcyaml: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libcyaml-v1.3.1.tar.gz >>> libcyaml: Checking sha512sums... libcyaml-v1.3.1.tar.gz: OK >>> libcyaml: Unpacking /var/cache/distfiles/edge/libcyaml-v1.3.1.tar.gz... gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -fPIC -c -o build/release/shared/src/mem.o src/mem.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -fPIC -c -o build/release/shared/src/free.o src/free.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -fPIC -c -o build/release/shared/src/load.o src/load.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -fPIC -c -o build/release/shared/src/save.o src/save.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -fPIC -c -o build/release/shared/src/util.o src/util.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -fPIC -c -o build/release/shared/src/utf8.o src/utf8.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -c -o build/release/static/src/mem.o src/mem.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -c -o build/release/static/src/free.o src/free.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -c -o build/release/static/src/load.o src/load.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -c -o build/release/static/src/save.o src/save.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -c -o build/release/static/src/util.o src/util.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -c -o build/release/static/src/utf8.o src/utf8.c gcc -o build/release/libcyaml.so.1 build/release/shared/src/mem.o build/release/shared/src/free.o build/release/shared/src/load.o build/release/shared/src/save.o build/release/shared/src/util.o build/release/shared/src/utf8.o -Wl,--as-needed,-O1,--sort-common -lyaml -Wl,-soname=libcyaml.so.1 -shared ar -rcs build/release/libcyaml.a build/release/static/src/mem.o build/release/static/src/free.o build/release/static/src/load.o build/release/static/src/save.o build/release/static/src/util.o build/release/static/src/utf8.o gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -o build/release/planner examples/planner/main.c build/release/libcyaml.a -Wl,--as-needed,-O1,--sort-common -lyaml gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -o build/release/numerical examples/numerical/main.c build/release/libcyaml.a -Wl,--as-needed,-O1,--sort-common -lyaml gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -c -o build/release/test/units/free.o test/units/free.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -c -o build/release/test/units/load.o test/units/load.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -c -o build/release/test/units/test.o test/units/test.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -c -o build/release/test/units/util.o test/units/util.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -c -o build/release/test/units/errs.o test/units/errs.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -c -o build/release/test/units/file.o test/units/file.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -c -o build/release/test/units/save.o test/units/save.c gcc -Os -fomit-frame-pointer -DVERSION_MAJOR=1 -DVERSION_MINOR=3 -DVERSION_PATCH=1 -DVERSION_DEVEL=0 -MMD -MP -Os -fomit-frame-pointer -I include -std=c11 -Wall -Wextra -pedantic -Wconversion -Wwrite-strings -Wcast-align -Wpointer-arith -Winit-self -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls -Wundef -Wvla -Wdeclaration-after-statement -O2 -DNDEBUG -c -o build/release/test/units/utf8.o test/units/utf8.c gcc -o build/release/test/units/cyaml-shared build/release/test/units/free.o build/release/test/units/load.o build/release/test/units/test.o build/release/test/units/util.o build/release/test/units/errs.o build/release/test/units/file.o build/release/test/units/save.o build/release/test/units/utf8.o build/release/libcyaml.so.1 -Wl,--as-needed,-O1,--sort-common -lyaml gcc -o build/release/test/units/cyaml-static build/release/test/units/free.o build/release/test/units/load.o build/release/test/units/test.o build/release/test/units/util.o build/release/test/units/errs.o build/release/test/units/file.o build/release/test/units/save.o build/release/test/units/utf8.o build/release/libcyaml.a -Wl,--as-needed,-O1,--sort-common -lyaml ================================================================================ TEST: UTF-8 tests: Codepoint composition ================================================================================ PASS: test_utf8_get_codepoint_0 PASS: test_utf8_get_codepoint_1 PASS: test_utf8_get_codepoint_2 PASS: test_utf8_get_codepoint_3 PASS: test_utf8_get_codepoint_4 ================================================================================ TEST: UTF-8 tests: String comparison ================================================================================ PASS: test_utf8_strcmp_same_0 PASS: test_utf8_strcmp_same_1 PASS: test_utf8_strcmp_same_2 PASS: test_utf8_strcmp_same_3 PASS: test_utf8_strcmp_same_4 PASS: test_utf8_strcmp_same_5 PASS: test_utf8_strcmp_same_6 PASS: test_utf8_strcmp_same_7 PASS: test_utf8_strcmp_same_8 PASS: test_utf8_strcmp_same_9 PASS: test_utf8_strcmp_same_10 PASS: test_utf8_strcmp_same_11 PASS: test_utf8_strcmp_matches_0 PASS: test_utf8_strcmp_matches_1 PASS: test_utf8_strcmp_matches_2 PASS: test_utf8_strcmp_matches_3 PASS: test_utf8_strcmp_matches_4 PASS: test_utf8_strcmp_matches_5 PASS: test_utf8_strcmp_matches_6 PASS: test_utf8_strcmp_matches_7 PASS: test_utf8_strcmp_matches_8 PASS: test_utf8_strcmp_matches_9 PASS: test_utf8_strcmp_matches_10 PASS: test_utf8_strcmp_matches_11 PASS: test_utf8_strcmp_matches_12 PASS: test_utf8_strcmp_matches_13 PASS: test_utf8_strcmp_matches_14 PASS: test_utf8_strcmp_matches_15 PASS: test_utf8_strcmp_matches_16 PASS: test_utf8_strcmp_matches_17 PASS: test_utf8_strcmp_matches_18 PASS: test_utf8_strcmp_matches_19 PASS: test_utf8_strcmp_matches_20 PASS: test_utf8_strcmp_matches_21 PASS: test_utf8_strcmp_matches_22 PASS: test_utf8_strcmp_matches_23 PASS: test_utf8_strcmp_matches_24 PASS: test_utf8_strcmp_matches_25 PASS: test_utf8_strcmp_matches_26 PASS: test_utf8_strcmp_matches_27 PASS: test_utf8_strcmp_matches_28 PASS: test_utf8_strcmp_matches_29 PASS: test_utf8_strcmp_matches_30 PASS: test_utf8_strcmp_matches_31 PASS: test_utf8_strcmp_matches_32 PASS: test_utf8_strcmp_matches_33 PASS: test_utf8_strcmp_matches_34 PASS: test_utf8_strcmp_matches_35 PASS: test_utf8_strcmp_matches_36 PASS: test_utf8_strcmp_matches_37 PASS: test_utf8_strcmp_matches_38 PASS: test_utf8_strcmp_matches_39 PASS: test_utf8_strcmp_matches_40 PASS: test_utf8_strcmp_matches_41 PASS: test_utf8_strcmp_matches_42 PASS: test_utf8_strcmp_matches_43 PASS: test_utf8_strcmp_matches_44 PASS: test_utf8_strcmp_matches_45 PASS: test_utf8_strcmp_matches_46 PASS: test_utf8_strcmp_matches_47 PASS: test_utf8_strcmp_matches_48 PASS: test_utf8_strcmp_matches_49 PASS: test_utf8_strcmp_matches_50 PASS: test_utf8_strcmp_mismatches_0 PASS: test_utf8_strcmp_mismatches_1 PASS: test_utf8_strcmp_mismatches_2 PASS: test_utf8_strcmp_mismatches_3 PASS: test_utf8_strcmp_mismatches_4 PASS: test_utf8_strcmp_mismatches_5 PASS: test_utf8_strcmp_mismatches_6 PASS: test_utf8_strcmp_mismatches_7 ================================================================================ TEST: Memory utility functions ================================================================================ PASS: test_util_strdup PASS: test_util_strdup_len PASS: test_util_memory_funcs ================================================================================ TEST: Error code tests ================================================================================ PASS: test_util_state_invalid PASS: test_util_err_success_zero PASS: test_util_err_strings_valid PASS: test_util_err_strings_invalid ================================================================================ TEST: Free tests ================================================================================ PASS: test_free_null_data PASS: test_free_null_mem_fn PASS: test_free_null_config PASS: test_free_null_schema ================================================================================ TEST: Load single entry mapping tests: simple types ================================================================================ PASS: test_load_mapping_entry_enum PASS: test_load_mapping_entry_uint PASS: test_load_mapping_entry_float PASS: test_load_mapping_entry_double PASS: test_load_mapping_entry_string PASS: test_load_mapping_entry_int_pos PASS: test_load_mapping_entry_int_neg PASS: test_load_mapping_entry_enum_ptr PASS: test_load_mapping_entry_uint_ptr PASS: test_load_mapping_entry_float_ptr PASS: test_load_mapping_entry_bool_true PASS: test_load_mapping_entry_bool_false PASS: test_load_mapping_entry_double_ptr PASS: test_load_mapping_entry_string_ptr PASS: test_load_mapping_entry_int_pos_ptr PASS: test_load_mapping_entry_int_neg_ptr PASS: test_load_mapping_entry_enum_sparse PASS: test_load_mapping_entry_ignore_deep PASS: test_load_mapping_entry_ignore_scalar PASS: test_load_mapping_entry_enum_fallback PASS: test_load_mapping_entry_bool_true_ptr PASS: test_load_mapping_entry_bool_false_ptr PASS: test_load_mapping_entry_float_underflow PASS: test_load_mapping_entry_double_underflow PASS: test_load_mapping_entry_string_ptr_empty PASS: test_load_mapping_entry_string_ptr_null_str PASS: test_load_mapping_entry_string_ptr_null_empty ================================================================================ TEST: Load single entry mapping tests: complex types ================================================================================ PASS: test_load_mapping_entry_flags PASS: test_load_mapping_entry_mapping PASS: test_load_mapping_entry_bitfield PASS: test_load_mapping_entry_flags_ptr PASS: test_load_mapping_entry_mapping_ptr PASS: test_load_mapping_entry_flags_empty PASS: test_load_mapping_entry_bitfield_ptr PASS: test_load_mapping_entry_flags_sparse ================================================================================ TEST: Load single entry mapping tests: sequences ================================================================================ PASS: test_load_mapping_entry_sequence_int PASS: test_load_mapping_entry_sequence_enum PASS: test_load_mapping_entry_sequence_uint PASS: test_load_mapping_entry_sequence_bool PASS: test_load_mapping_entry_sequence_flags PASS: test_load_mapping_entry_sequence_string PASS: test_load_mapping_entry_sequence_mapping PASS: test_load_mapping_entry_sequence_string_ptr PASS: test_load_mapping_entry_sequence_mapping_ptr PASS: test_load_mapping_entry_sequence_sequence_fixed_int PASS: test_load_mapping_entry_sequence_sequence_fixed_ptr_int PASS: test_load_mapping_entry_sequence_sequence_fixed_flat_int ================================================================================ TEST: Load single entry mapping tests: ptr sequences ================================================================================ PASS: test_load_mapping_entry_sequence_ptr_int PASS: test_load_mapping_entry_sequence_ptr_enum PASS: test_load_mapping_entry_sequence_ptr_uint PASS: test_load_mapping_entry_sequence_ptr_bool PASS: test_load_mapping_entry_sequence_ptr_flags PASS: test_load_mapping_entry_sequence_ptr_string PASS: test_load_mapping_entry_sequence_ptr_mapping PASS: test_load_mapping_entry_sequence_ptr_string_ptr PASS: test_load_mapping_entry_sequence_ptr_mapping_ptr PASS: test_load_mapping_entry_sequence_ptr_sequence_fixed_int PASS: test_load_mapping_entry_sequence_ptr_sequence_fixed_ptr_int PASS: test_load_mapping_entry_sequence_ptr_sequence_fixed_flat_int ================================================================================ TEST: Test integer limits ================================================================================ PASS: test_load_mapping_entry_int8_limit_neg PASS: test_load_mapping_entry_int8_limit_pos PASS: test_load_mapping_entry_int16_limit_neg PASS: test_load_mapping_entry_int16_limit_pos PASS: test_load_mapping_entry_int32_limit_neg PASS: test_load_mapping_entry_int32_limit_pos PASS: test_load_mapping_entry_int64_limit_neg PASS: test_load_mapping_entry_int64_limit_pos ================================================================================ TEST: Load tests: ptr sequence with null values ================================================================================ PASS: test_load_sequence_null_values_int PASS: test_load_sequence_null_str_values_int PASS: test_load_sequence_null_str_values_uint PASS: test_load_sequence_null_str_values_mapping ================================================================================ TEST: Load tests: sequence count sizes ================================================================================ PASS: test_load_mapping_entry_sequence_count_1 PASS: test_load_mapping_entry_sequence_count_2 PASS: test_load_mapping_entry_sequence_count_3 PASS: test_load_mapping_entry_sequence_count_4 PASS: test_load_mapping_entry_sequence_count_5 PASS: test_load_mapping_entry_sequence_count_6 PASS: test_load_mapping_entry_sequence_count_7 PASS: test_load_mapping_entry_sequence_count_8 ================================================================================ TEST: Load tests: various ================================================================================ PASS: test_load_no_log PASS: test_load_duplicate_ignored PASS: test_load_schema_top_level_scalar PASS: test_load_schema_top_level_string PASS: test_load_schema_top_level_sequence PASS: test_load_multiple_documents_ignored PASS: test_load_mapping_without_any_fields PASS: test_load_mapping_with_multiple_fields PASS: test_load_mapping_with_optional_fields PASS: test_load_mapping_only_optional_fields PASS: test_load_mapping_ignored_unknown_keys PASS: test_load_sequence_without_max_entries PASS: test_load_schema_top_level_sequence_fixed PASS: test_load_schema_sequence_entry_count_member ================================================================================ TEST: Load tests: case sensitivity ================================================================================ PASS: test_load_enum_insensitive PASS: test_load_flags_insensitive PASS: test_load_mapping_fields_cfg_insensitive_1 PASS: test_load_mapping_fields_cfg_insensitive_2 PASS: test_load_mapping_fields_cfg_insensitive_3 PASS: test_load_mapping_fields_value_sensitive_1 PASS: test_load_mapping_fields_value_insensitive_1 ================================================================================ TEST: Load tests: anchors and aliases (scalars) ================================================================================ PASS: test_load_unused_anchor PASS: test_load_anchor_scalar_int PASS: test_load_anchor_scalar_string PASS: test_load_anchor_multiple_scalars ================================================================================ TEST: Load tests: anchors and aliases (non scalars) ================================================================================ PASS: test_load_anchor_mapping PASS: test_load_anchor_sequence PASS: test_load_anchor_deep_mapping_sequence ================================================================================ TEST: Load tests: anchors and aliases (edge cases) ================================================================================ PASS: test_load_anchor_updated_anchor ================================================================================ TEST: Bad parameter tests ================================================================================ PASS: test_err_load_null_data PASS: test_err_save_null_data PASS: test_err_load_null_config PASS: test_err_save_null_config PASS: test_err_load_null_mem_fn PASS: test_err_save_null_mem_fn PASS: test_err_load_null_schema PASS: test_err_save_null_schema PASS: test_err_load_schema_top_level_non_pointer PASS: test_err_save_schema_top_level_non_pointer PASS: test_err_load_schema_top_level_sequence_no_count PASS: test_err_load_schema_top_level_not_sequence_count PASS: test_err_save_schema_top_level_not_sequence_count ================================================================================ TEST: Bad schema tests ================================================================================ PASS: test_err_load_schema_bad_type PASS: test_err_save_schema_bad_type PASS: test_err_load_schema_bad_bitfield PASS: test_err_save_schema_bad_bitfield PASS: test_err_load_schema_string_min_max PASS: test_err_load_schema_bad_data_size_1 PASS: test_err_load_schema_bad_data_size_2 PASS: test_err_load_schema_bad_data_size_3 PASS: test_err_load_schema_bad_data_size_4 PASS: test_err_load_schema_bad_data_size_5 PASS: test_err_load_schema_bad_data_size_6 PASS: test_err_load_schema_bad_data_size_7 PASS: test_err_load_schema_bad_data_size_8 PASS: test_err_load_schema_bad_data_size_9 PASS: test_err_save_schema_bad_data_size_1 PASS: test_err_save_schema_bad_data_size_2 PASS: test_err_save_schema_bad_data_size_3 PASS: test_err_save_schema_bad_data_size_4 PASS: test_err_save_schema_bad_data_size_5 PASS: test_err_save_schema_bad_data_size_6 PASS: test_err_save_schema_bad_data_size_7 PASS: test_err_save_schema_bad_data_size_8 PASS: test_err_load_schema_sequence_min_max PASS: test_err_save_schema_sequence_min_max PASS: test_err_load_schema_bad_data_size_float PASS: test_err_load_schema_sequence_in_sequence PASS: test_err_save_schema_sequence_in_sequence ================================================================================ TEST: YAML / schema mismatch: bad values ================================================================================ PASS: test_err_load_non_scalar_mapping_key PASS: test_err_load_schema_invalid_value_uint PASS: test_err_load_schema_invalid_value_string PASS: test_err_load_schema_invalid_value_flags_1 PASS: test_err_load_schema_invalid_value_flags_2 PASS: test_err_load_schema_invalid_value_flags_3 PASS: test_err_save_schema_invalid_value_null_ptr PASS: test_err_load_schema_invalid_value_bitfield_1 PASS: test_err_load_schema_invalid_value_bitfield_2 PASS: test_err_load_schema_invalid_value_bitfield_3 PASS: test_err_load_schema_invalid_value_bitfield_4 PASS: test_err_load_schema_invalid_value_bitfield_5 PASS: test_err_load_schema_invalid_value_bitfield_6 PASS: test_err_load_schema_invalid_value_int_range_1 PASS: test_err_load_schema_invalid_value_int_range_2 PASS: test_err_load_schema_invalid_value_int_range_3 PASS: test_err_load_schema_invalid_value_int_range_4 PASS: test_err_load_schema_invalid_value_int_range_5 PASS: test_err_load_schema_invalid_value_uint_range_1 PASS: test_err_load_schema_invalid_value_uint_range_2 PASS: test_err_load_schema_invalid_value_uint_range_3 PASS: test_err_load_schema_invalid_value_uint_range_4 PASS: test_err_load_schema_invalid_value_uint_range_5 PASS: test_err_load_schema_invalid_value_float_range1 PASS: test_err_load_schema_invalid_value_float_range2 PASS: test_err_load_schema_invalid_value_float_range3 PASS: test_err_load_schema_invalid_value_float_range4 PASS: test_err_load_schema_invalid_value_double_range1 PASS: test_err_load_schema_invalid_value_double_range2 PASS: test_err_load_schema_invalid_value_float_invalid PASS: test_err_load_schema_invalid_value_double_invalid ================================================================================ TEST: YAML / schema mismatch: Test integer limits ================================================================================ PASS: test_err_load_schema_invalid_value_int8_limit_neg PASS: test_err_load_schema_invalid_value_int8_limit_pos PASS: test_err_load_schema_invalid_value_int16_limit_neg PASS: test_err_load_schema_invalid_value_int16_limit_pos PASS: test_err_load_schema_invalid_value_int32_limit_neg PASS: test_err_load_schema_invalid_value_int32_limit_pos PASS: test_err_load_schema_invalid_value_int64_limit_neg PASS: test_err_load_schema_invalid_value_int64_limit_pos ================================================================================ TEST: YAML / schema mismatch: string lengths ================================================================================ PASS: test_err_load_schema_string_min_length PASS: test_err_load_schema_string_max_length ================================================================================ TEST: YAML / schema mismatch: mapping fields ================================================================================ PASS: test_err_load_schema_missing_mapping_field PASS: test_err_load_schema_unknown_mapping_field PASS: test_err_load_schema_duplicate_mapping_field ================================================================================ TEST: YAML / schema mismatch: sequence counts ================================================================================ PASS: test_err_load_schema_sequence_min_entries PASS: test_err_load_schema_sequence_max_entries ================================================================================ TEST: YAML / schema mismatch: bad flags/enum strings ================================================================================ PASS: test_err_load_schema_flags_mapping PASS: test_err_load_schema_enum_bad_string PASS: test_err_load_schema_flags_bad_string PASS: test_err_save_schema_strict_enum_bad_value PASS: test_err_load_schema_strict_enum_bad_string PASS: test_err_save_schema_strict_flags_bad_value PASS: test_err_load_schema_strict_flags_bad_string ================================================================================ TEST: YAML / schema mismatch: expected value type tests ================================================================================ PASS: test_err_load_schema_expect_int_read_seq PASS: test_err_load_schema_expect_int_read_end_1 PASS: test_err_load_schema_expect_int_read_end_2 PASS: test_err_load_schema_expect_flags_read_scalar PASS: test_err_load_schema_expect_mapping_read_scalar PASS: test_err_load_schema_expect_sequence_read_scalar ================================================================================ TEST: Memory allocation handling tests ================================================================================ PASS: test_err_load_log PASS: test_err_free_null PASS: test_err_load_alloc_oom_1 PASS: test_err_load_alloc_oom_2 PASS: test_err_save_alloc_oom_1 PASS: test_err_save_alloc_oom_2 ================================================================================ TEST: Alias tests ================================================================================ PASS: test_err_load_invalid_alias PASS: test_err_load_incomplete_alias PASS: test_err_load_flag_value_alias PASS: test_err_load_mapping_key_alias PASS: test_err_load_mapping_value_alias_1 PASS: test_err_load_mapping_value_alias_2 PASS: test_err_load_mapping_value_alias_3 PASS: test_err_load_bitfield_value_alias_1 PASS: test_err_load_bitfield_value_alias_2 ================================================================================ TEST: File loading tests ================================================================================ PASS: test_file_load_basic PASS: test_file_load_save_basic PASS: test_file_load_bad_path PASS: test_file_save_bad_path PASS: test_file_load_basic_invalid PASS: test_file_save_basic_invalid ================================================================================ TEST: Save single entry mapping tests: simple types ================================================================================ PASS: test_save_mapping_entry_uint PASS: test_save_mapping_entry_float PASS: test_save_mapping_entry_double PASS: test_save_mapping_entry_string PASS: test_save_mapping_entry_int_64 PASS: test_save_mapping_entry_int_pos PASS: test_save_mapping_entry_int_neg PASS: test_save_mapping_entry_bool_true PASS: test_save_mapping_entry_bool_false PASS: test_save_mapping_entry_string_ptr PASS: test_save_mapping_entry_enum_strict PASS: test_save_mapping_entry_enum_number PASS: test_save_mapping_entry_enum_sparse ================================================================================ TEST: Save single entry mapping tests: scalar style ================================================================================ PASS: test_save_mapping_entry_string_ptr_plain PASS: test_save_mapping_entry_string_ptr_single PASS: test_save_mapping_entry_string_ptr_double PASS: test_save_mapping_entry_string_ptr_folded PASS: test_save_mapping_entry_string_ptr_literal ================================================================================ TEST: Save single entry mapping tests: complex types ================================================================================ PASS: test_save_mapping_entry_mapping PASS: test_save_mapping_entry_bitfield PASS: test_save_mapping_entry_mapping_ptr PASS: test_save_mapping_entry_flags_strict PASS: test_save_mapping_entry_flags_number PASS: test_save_mapping_entry_flags_sparse PASS: test_save_mapping_entry_bitfield_sparse ================================================================================ TEST: Save single entry mapping tests: sequences ================================================================================ PASS: test_save_mapping_entry_sequence_int PASS: test_save_mapping_entry_sequence_uint PASS: test_save_mapping_entry_sequence_enum PASS: test_save_mapping_entry_sequence_bool PASS: test_save_mapping_entry_sequence_flags PASS: test_save_mapping_entry_sequence_string PASS: test_save_mapping_entry_sequence_mapping PASS: test_save_mapping_entry_sequence_string_ptr PASS: test_save_mapping_entry_sequence_mapping_ptr PASS: test_save_mapping_entry_sequence_sequence_fixed_int PASS: test_save_mapping_entry_sequence_sequence_fixed_ptr_int PASS: test_save_mapping_entry_sequence_sequence_fixed_flat_int ================================================================================ TEST: Save single entry mapping tests: ptr sequences ================================================================================ PASS: test_save_mapping_entry_sequence_ptr_int PASS: test_save_mapping_entry_sequence_ptr_enum PASS: test_save_mapping_entry_sequence_ptr_uint PASS: test_save_mapping_entry_sequence_ptr_bool PASS: test_save_mapping_entry_sequence_ptr_flags PASS: test_save_mapping_entry_sequence_ptr_string PASS: test_save_mapping_entry_sequence_ptr_mapping PASS: test_save_mapping_entry_sequence_ptr_string_ptr PASS: test_save_mapping_entry_sequence_ptr_mapping_ptr PASS: test_save_mapping_entry_sequence_ptr_sequence_fixed_int PASS: test_save_mapping_entry_sequence_ptr_sequence_fixed_ptr_int PASS: test_save_mapping_entry_sequence_ptr_sequence_fixed_flat_int ================================================================================ TEST: Save tests: ptr sequence with null values ================================================================================ PASS: test_save_sequence_null_values_int PASS: test_save_sequence_null_str_values_int ================================================================================ TEST: Save tests: optional mapping fields ================================================================================ PASS: test_save_mapping_entry_optional_uint PASS: test_save_mapping_entry_optional_uint_ptr PASS: test_save_mapping_entry_optional_uint_ptr_null ================================================================================ TEST: Save tests: various ================================================================================ PASS: test_save_mapping_entry_ignored PASS: test_save_no_document_delimiters PASS: test_save_mapping_value_flow_style PASS: test_save_mapping_value_block_style PASS: test_save_sequence_config_flow_style PASS: test_save_sequence_config_block_style PASS: test_save_schema_top_level_sequence_fixed ================================================================================ PASS: 376 of 376 tests passed. ================================================================================ ================================================================================ TEST: UTF-8 tests: Codepoint composition ================================================================================ PASS: test_utf8_get_codepoint_0 PASS: test_utf8_get_codepoint_1 PASS: test_utf8_get_codepoint_2 PASS: test_utf8_get_codepoint_3 PASS: test_utf8_get_codepoint_4 ================================================================================ TEST: UTF-8 tests: String comparison ================================================================================ PASS: test_utf8_strcmp_same_0 PASS: test_utf8_strcmp_same_1 PASS: test_utf8_strcmp_same_2 PASS: test_utf8_strcmp_same_3 PASS: test_utf8_strcmp_same_4 PASS: test_utf8_strcmp_same_5 PASS: test_utf8_strcmp_same_6 PASS: test_utf8_strcmp_same_7 PASS: test_utf8_strcmp_same_8 PASS: test_utf8_strcmp_same_9 PASS: test_utf8_strcmp_same_10 PASS: test_utf8_strcmp_same_11 PASS: test_utf8_strcmp_matches_0 PASS: test_utf8_strcmp_matches_1 PASS: test_utf8_strcmp_matches_2 PASS: test_utf8_strcmp_matches_3 PASS: test_utf8_strcmp_matches_4 PASS: test_utf8_strcmp_matches_5 PASS: test_utf8_strcmp_matches_6 PASS: test_utf8_strcmp_matches_7 PASS: test_utf8_strcmp_matches_8 PASS: test_utf8_strcmp_matches_9 PASS: test_utf8_strcmp_matches_10 PASS: test_utf8_strcmp_matches_11 PASS: test_utf8_strcmp_matches_12 PASS: test_utf8_strcmp_matches_13 PASS: test_utf8_strcmp_matches_14 PASS: test_utf8_strcmp_matches_15 PASS: test_utf8_strcmp_matches_16 PASS: test_utf8_strcmp_matches_17 PASS: test_utf8_strcmp_matches_18 PASS: test_utf8_strcmp_matches_19 PASS: test_utf8_strcmp_matches_20 PASS: test_utf8_strcmp_matches_21 PASS: test_utf8_strcmp_matches_22 PASS: test_utf8_strcmp_matches_23 PASS: test_utf8_strcmp_matches_24 PASS: test_utf8_strcmp_matches_25 PASS: test_utf8_strcmp_matches_26 PASS: test_utf8_strcmp_matches_27 PASS: test_utf8_strcmp_matches_28 PASS: test_utf8_strcmp_matches_29 PASS: test_utf8_strcmp_matches_30 PASS: test_utf8_strcmp_matches_31 PASS: test_utf8_strcmp_matches_32 PASS: test_utf8_strcmp_matches_33 PASS: test_utf8_strcmp_matches_34 PASS: test_utf8_strcmp_matches_35 PASS: test_utf8_strcmp_matches_36 PASS: test_utf8_strcmp_matches_37 PASS: test_utf8_strcmp_matches_38 PASS: test_utf8_strcmp_matches_39 PASS: test_utf8_strcmp_matches_40 PASS: test_utf8_strcmp_matches_41 PASS: test_utf8_strcmp_matches_42 PASS: test_utf8_strcmp_matches_43 PASS: test_utf8_strcmp_matches_44 PASS: test_utf8_strcmp_matches_45 PASS: test_utf8_strcmp_matches_46 PASS: test_utf8_strcmp_matches_47 PASS: test_utf8_strcmp_matches_48 PASS: test_utf8_strcmp_matches_49 PASS: test_utf8_strcmp_matches_50 PASS: test_utf8_strcmp_mismatches_0 PASS: test_utf8_strcmp_mismatches_1 PASS: test_utf8_strcmp_mismatches_2 PASS: test_utf8_strcmp_mismatches_3 PASS: test_utf8_strcmp_mismatches_4 PASS: test_utf8_strcmp_mismatches_5 PASS: test_utf8_strcmp_mismatches_6 PASS: test_utf8_strcmp_mismatches_7 ================================================================================ TEST: Memory utility functions ================================================================================ PASS: test_util_strdup PASS: test_util_strdup_len PASS: test_util_memory_funcs ================================================================================ TEST: Error code tests ================================================================================ PASS: test_util_state_invalid PASS: test_util_err_success_zero PASS: test_util_err_strings_valid PASS: test_util_err_strings_invalid ================================================================================ TEST: Free tests ================================================================================ PASS: test_free_null_data PASS: test_free_null_mem_fn PASS: test_free_null_config PASS: test_free_null_schema ================================================================================ TEST: Load single entry mapping tests: simple types ================================================================================ PASS: test_load_mapping_entry_enum PASS: test_load_mapping_entry_uint PASS: test_load_mapping_entry_float PASS: test_load_mapping_entry_double PASS: test_load_mapping_entry_string PASS: test_load_mapping_entry_int_pos PASS: test_load_mapping_entry_int_neg PASS: test_load_mapping_entry_enum_ptr PASS: test_load_mapping_entry_uint_ptr PASS: test_load_mapping_entry_float_ptr PASS: test_load_mapping_entry_bool_true PASS: test_load_mapping_entry_bool_false PASS: test_load_mapping_entry_double_ptr PASS: test_load_mapping_entry_string_ptr PASS: test_load_mapping_entry_int_pos_ptr PASS: test_load_mapping_entry_int_neg_ptr PASS: test_load_mapping_entry_enum_sparse PASS: test_load_mapping_entry_ignore_deep PASS: test_load_mapping_entry_ignore_scalar PASS: test_load_mapping_entry_enum_fallback PASS: test_load_mapping_entry_bool_true_ptr PASS: test_load_mapping_entry_bool_false_ptr PASS: test_load_mapping_entry_float_underflow PASS: test_load_mapping_entry_double_underflow PASS: test_load_mapping_entry_string_ptr_empty PASS: test_load_mapping_entry_string_ptr_null_str PASS: test_load_mapping_entry_string_ptr_null_empty ================================================================================ TEST: Load single entry mapping tests: complex types ================================================================================ PASS: test_load_mapping_entry_flags PASS: test_load_mapping_entry_mapping PASS: test_load_mapping_entry_bitfield PASS: test_load_mapping_entry_flags_ptr PASS: test_load_mapping_entry_mapping_ptr PASS: test_load_mapping_entry_flags_empty PASS: test_load_mapping_entry_bitfield_ptr PASS: test_load_mapping_entry_flags_sparse ================================================================================ TEST: Load single entry mapping tests: sequences ================================================================================ PASS: test_load_mapping_entry_sequence_int PASS: test_load_mapping_entry_sequence_enum PASS: test_load_mapping_entry_sequence_uint PASS: test_load_mapping_entry_sequence_bool PASS: test_load_mapping_entry_sequence_flags PASS: test_load_mapping_entry_sequence_string PASS: test_load_mapping_entry_sequence_mapping PASS: test_load_mapping_entry_sequence_string_ptr PASS: test_load_mapping_entry_sequence_mapping_ptr PASS: test_load_mapping_entry_sequence_sequence_fixed_int PASS: test_load_mapping_entry_sequence_sequence_fixed_ptr_int PASS: test_load_mapping_entry_sequence_sequence_fixed_flat_int ================================================================================ TEST: Load single entry mapping tests: ptr sequences ================================================================================ PASS: test_load_mapping_entry_sequence_ptr_int PASS: test_load_mapping_entry_sequence_ptr_enum PASS: test_load_mapping_entry_sequence_ptr_uint PASS: test_load_mapping_entry_sequence_ptr_bool PASS: test_load_mapping_entry_sequence_ptr_flags PASS: test_load_mapping_entry_sequence_ptr_string PASS: test_load_mapping_entry_sequence_ptr_mapping PASS: test_load_mapping_entry_sequence_ptr_string_ptr PASS: test_load_mapping_entry_sequence_ptr_mapping_ptr PASS: test_load_mapping_entry_sequence_ptr_sequence_fixed_int PASS: test_load_mapping_entry_sequence_ptr_sequence_fixed_ptr_int PASS: test_load_mapping_entry_sequence_ptr_sequence_fixed_flat_int ================================================================================ TEST: Test integer limits ================================================================================ PASS: test_load_mapping_entry_int8_limit_neg PASS: test_load_mapping_entry_int8_limit_pos PASS: test_load_mapping_entry_int16_limit_neg PASS: test_load_mapping_entry_int16_limit_pos PASS: test_load_mapping_entry_int32_limit_neg PASS: test_load_mapping_entry_int32_limit_pos PASS: test_load_mapping_entry_int64_limit_neg PASS: test_load_mapping_entry_int64_limit_pos ================================================================================ TEST: Load tests: ptr sequence with null values ================================================================================ PASS: test_load_sequence_null_values_int PASS: test_load_sequence_null_str_values_int PASS: test_load_sequence_null_str_values_uint PASS: test_load_sequence_null_str_values_mapping ================================================================================ TEST: Load tests: sequence count sizes ================================================================================ PASS: test_load_mapping_entry_sequence_count_1 PASS: test_load_mapping_entry_sequence_count_2 PASS: test_load_mapping_entry_sequence_count_3 PASS: test_load_mapping_entry_sequence_count_4 PASS: test_load_mapping_entry_sequence_count_5 PASS: test_load_mapping_entry_sequence_count_6 PASS: test_load_mapping_entry_sequence_count_7 PASS: test_load_mapping_entry_sequence_count_8 ================================================================================ TEST: Load tests: various ================================================================================ PASS: test_load_no_log PASS: test_load_duplicate_ignored PASS: test_load_schema_top_level_scalar PASS: test_load_schema_top_level_string PASS: test_load_schema_top_level_sequence PASS: test_load_multiple_documents_ignored PASS: test_load_mapping_without_any_fields PASS: test_load_mapping_with_multiple_fields PASS: test_load_mapping_with_optional_fields PASS: test_load_mapping_only_optional_fields PASS: test_load_mapping_ignored_unknown_keys PASS: test_load_sequence_without_max_entries PASS: test_load_schema_top_level_sequence_fixed PASS: test_load_schema_sequence_entry_count_member ================================================================================ TEST: Load tests: case sensitivity ================================================================================ PASS: test_load_enum_insensitive PASS: test_load_flags_insensitive PASS: test_load_mapping_fields_cfg_insensitive_1 PASS: test_load_mapping_fields_cfg_insensitive_2 PASS: test_load_mapping_fields_cfg_insensitive_3 PASS: test_load_mapping_fields_value_sensitive_1 PASS: test_load_mapping_fields_value_insensitive_1 ================================================================================ TEST: Load tests: anchors and aliases (scalars) ================================================================================ PASS: test_load_unused_anchor PASS: test_load_anchor_scalar_int PASS: test_load_anchor_scalar_string PASS: test_load_anchor_multiple_scalars ================================================================================ TEST: Load tests: anchors and aliases (non scalars) ================================================================================ PASS: test_load_anchor_mapping PASS: test_load_anchor_sequence PASS: test_load_anchor_deep_mapping_sequence ================================================================================ TEST: Load tests: anchors and aliases (edge cases) ================================================================================ PASS: test_load_anchor_updated_anchor ================================================================================ TEST: Bad parameter tests ================================================================================ PASS: test_err_load_null_data PASS: test_err_save_null_data PASS: test_err_load_null_config PASS: test_err_save_null_config PASS: test_err_load_null_mem_fn PASS: test_err_save_null_mem_fn PASS: test_err_load_null_schema PASS: test_err_save_null_schema PASS: test_err_load_schema_top_level_non_pointer PASS: test_err_save_schema_top_level_non_pointer PASS: test_err_load_schema_top_level_sequence_no_count PASS: test_err_load_schema_top_level_not_sequence_count PASS: test_err_save_schema_top_level_not_sequence_count ================================================================================ TEST: Bad schema tests ================================================================================ PASS: test_err_load_schema_bad_type PASS: test_err_save_schema_bad_type PASS: test_err_load_schema_bad_bitfield PASS: test_err_save_schema_bad_bitfield PASS: test_err_load_schema_string_min_max PASS: test_err_load_schema_bad_data_size_1 PASS: test_err_load_schema_bad_data_size_2 PASS: test_err_load_schema_bad_data_size_3 PASS: test_err_load_schema_bad_data_size_4 PASS: test_err_load_schema_bad_data_size_5 PASS: test_err_load_schema_bad_data_size_6 PASS: test_err_load_schema_bad_data_size_7 PASS: test_err_load_schema_bad_data_size_8 PASS: test_err_load_schema_bad_data_size_9 PASS: test_err_save_schema_bad_data_size_1 PASS: test_err_save_schema_bad_data_size_2 PASS: test_err_save_schema_bad_data_size_3 PASS: test_err_save_schema_bad_data_size_4 PASS: test_err_save_schema_bad_data_size_5 PASS: test_err_save_schema_bad_data_size_6 PASS: test_err_save_schema_bad_data_size_7 PASS: test_err_save_schema_bad_data_size_8 PASS: test_err_load_schema_sequence_min_max PASS: test_err_save_schema_sequence_min_max PASS: test_err_load_schema_bad_data_size_float PASS: test_err_load_schema_sequence_in_sequence PASS: test_err_save_schema_sequence_in_sequence ================================================================================ TEST: YAML / schema mismatch: bad values ================================================================================ PASS: test_err_load_non_scalar_mapping_key PASS: test_err_load_schema_invalid_value_uint PASS: test_err_load_schema_invalid_value_string PASS: test_err_load_schema_invalid_value_flags_1 PASS: test_err_load_schema_invalid_value_flags_2 PASS: test_err_load_schema_invalid_value_flags_3 PASS: test_err_save_schema_invalid_value_null_ptr PASS: test_err_load_schema_invalid_value_bitfield_1 PASS: test_err_load_schema_invalid_value_bitfield_2 PASS: test_err_load_schema_invalid_value_bitfield_3 PASS: test_err_load_schema_invalid_value_bitfield_4 PASS: test_err_load_schema_invalid_value_bitfield_5 PASS: test_err_load_schema_invalid_value_bitfield_6 PASS: test_err_load_schema_invalid_value_int_range_1 PASS: test_err_load_schema_invalid_value_int_range_2 PASS: test_err_load_schema_invalid_value_int_range_3 PASS: test_err_load_schema_invalid_value_int_range_4 PASS: test_err_load_schema_invalid_value_int_range_5 PASS: test_err_load_schema_invalid_value_uint_range_1 PASS: test_err_load_schema_invalid_value_uint_range_2 PASS: test_err_load_schema_invalid_value_uint_range_3 PASS: test_err_load_schema_invalid_value_uint_range_4 PASS: test_err_load_schema_invalid_value_uint_range_5 PASS: test_err_load_schema_invalid_value_float_range1 PASS: test_err_load_schema_invalid_value_float_range2 PASS: test_err_load_schema_invalid_value_float_range3 PASS: test_err_load_schema_invalid_value_float_range4 PASS: test_err_load_schema_invalid_value_double_range1 PASS: test_err_load_schema_invalid_value_double_range2 PASS: test_err_load_schema_invalid_value_float_invalid PASS: test_err_load_schema_invalid_value_double_invalid ================================================================================ TEST: YAML / schema mismatch: Test integer limits ================================================================================ PASS: test_err_load_schema_invalid_value_int8_limit_neg PASS: test_err_load_schema_invalid_value_int8_limit_pos PASS: test_err_load_schema_invalid_value_int16_limit_neg PASS: test_err_load_schema_invalid_value_int16_limit_pos PASS: test_err_load_schema_invalid_value_int32_limit_neg PASS: test_err_load_schema_invalid_value_int32_limit_pos PASS: test_err_load_schema_invalid_value_int64_limit_neg PASS: test_err_load_schema_invalid_value_int64_limit_pos ================================================================================ TEST: YAML / schema mismatch: string lengths ================================================================================ PASS: test_err_load_schema_string_min_length PASS: test_err_load_schema_string_max_length ================================================================================ TEST: YAML / schema mismatch: mapping fields ================================================================================ PASS: test_err_load_schema_missing_mapping_field PASS: test_err_load_schema_unknown_mapping_field PASS: test_err_load_schema_duplicate_mapping_field ================================================================================ TEST: YAML / schema mismatch: sequence counts ================================================================================ PASS: test_err_load_schema_sequence_min_entries PASS: test_err_load_schema_sequence_max_entries ================================================================================ TEST: YAML / schema mismatch: bad flags/enum strings ================================================================================ PASS: test_err_load_schema_flags_mapping PASS: test_err_load_schema_enum_bad_string PASS: test_err_load_schema_flags_bad_string PASS: test_err_save_schema_strict_enum_bad_value PASS: test_err_load_schema_strict_enum_bad_string PASS: test_err_save_schema_strict_flags_bad_value PASS: test_err_load_schema_strict_flags_bad_string ================================================================================ TEST: YAML / schema mismatch: expected value type tests ================================================================================ PASS: test_err_load_schema_expect_int_read_seq PASS: test_err_load_schema_expect_int_read_end_1 PASS: test_err_load_schema_expect_int_read_end_2 PASS: test_err_load_schema_expect_flags_read_scalar PASS: test_err_load_schema_expect_mapping_read_scalar PASS: test_err_load_schema_expect_sequence_read_scalar ================================================================================ TEST: Memory allocation handling tests ================================================================================ PASS: test_err_load_log PASS: test_err_free_null PASS: test_err_load_alloc_oom_1 PASS: test_err_load_alloc_oom_2 PASS: test_err_save_alloc_oom_1 PASS: test_err_save_alloc_oom_2 ================================================================================ TEST: Alias tests ================================================================================ PASS: test_err_load_invalid_alias PASS: test_err_load_incomplete_alias PASS: test_err_load_flag_value_alias PASS: test_err_load_mapping_key_alias PASS: test_err_load_mapping_value_alias_1 PASS: test_err_load_mapping_value_alias_2 PASS: test_err_load_mapping_value_alias_3 PASS: test_err_load_bitfield_value_alias_1 PASS: test_err_load_bitfield_value_alias_2 ================================================================================ TEST: File loading tests ================================================================================ PASS: test_file_load_basic PASS: test_file_load_save_basic PASS: test_file_load_bad_path PASS: test_file_save_bad_path PASS: test_file_load_basic_invalid PASS: test_file_save_basic_invalid ================================================================================ TEST: Save single entry mapping tests: simple types ================================================================================ PASS: test_save_mapping_entry_uint PASS: test_save_mapping_entry_float PASS: test_save_mapping_entry_double PASS: test_save_mapping_entry_string PASS: test_save_mapping_entry_int_64 PASS: test_save_mapping_entry_int_pos PASS: test_save_mapping_entry_int_neg PASS: test_save_mapping_entry_bool_true PASS: test_save_mapping_entry_bool_false PASS: test_save_mapping_entry_string_ptr PASS: test_save_mapping_entry_enum_strict PASS: test_save_mapping_entry_enum_number PASS: test_save_mapping_entry_enum_sparse ================================================================================ TEST: Save single entry mapping tests: scalar style ================================================================================ PASS: test_save_mapping_entry_string_ptr_plain PASS: test_save_mapping_entry_string_ptr_single PASS: test_save_mapping_entry_string_ptr_double PASS: test_save_mapping_entry_string_ptr_folded PASS: test_save_mapping_entry_string_ptr_literal ================================================================================ TEST: Save single entry mapping tests: complex types ================================================================================ PASS: test_save_mapping_entry_mapping PASS: test_save_mapping_entry_bitfield PASS: test_save_mapping_entry_mapping_ptr PASS: test_save_mapping_entry_flags_strict PASS: test_save_mapping_entry_flags_number PASS: test_save_mapping_entry_flags_sparse PASS: test_save_mapping_entry_bitfield_sparse ================================================================================ TEST: Save single entry mapping tests: sequences ================================================================================ PASS: test_save_mapping_entry_sequence_int PASS: test_save_mapping_entry_sequence_uint PASS: test_save_mapping_entry_sequence_enum PASS: test_save_mapping_entry_sequence_bool PASS: test_save_mapping_entry_sequence_flags PASS: test_save_mapping_entry_sequence_string PASS: test_save_mapping_entry_sequence_mapping PASS: test_save_mapping_entry_sequence_string_ptr PASS: test_save_mapping_entry_sequence_mapping_ptr PASS: test_save_mapping_entry_sequence_sequence_fixed_int PASS: test_save_mapping_entry_sequence_sequence_fixed_ptr_int PASS: test_save_mapping_entry_sequence_sequence_fixed_flat_int ================================================================================ TEST: Save single entry mapping tests: ptr sequences ================================================================================ PASS: test_save_mapping_entry_sequence_ptr_int PASS: test_save_mapping_entry_sequence_ptr_enum PASS: test_save_mapping_entry_sequence_ptr_uint PASS: test_save_mapping_entry_sequence_ptr_bool PASS: test_save_mapping_entry_sequence_ptr_flags PASS: test_save_mapping_entry_sequence_ptr_string PASS: test_save_mapping_entry_sequence_ptr_mapping PASS: test_save_mapping_entry_sequence_ptr_string_ptr PASS: test_save_mapping_entry_sequence_ptr_mapping_ptr PASS: test_save_mapping_entry_sequence_ptr_sequence_fixed_int PASS: test_save_mapping_entry_sequence_ptr_sequence_fixed_ptr_int PASS: test_save_mapping_entry_sequence_ptr_sequence_fixed_flat_int ================================================================================ TEST: Save tests: ptr sequence with null values ================================================================================ PASS: test_save_sequence_null_values_int PASS: test_save_sequence_null_str_values_int ================================================================================ TEST: Save tests: optional mapping fields ================================================================================ PASS: test_save_mapping_entry_optional_uint PASS: test_save_mapping_entry_optional_uint_ptr PASS: test_save_mapping_entry_optional_uint_ptr_null ================================================================================ TEST: Save tests: various ================================================================================ PASS: test_save_mapping_entry_ignored PASS: test_save_no_document_delimiters PASS: test_save_mapping_value_flow_style PASS: test_save_mapping_value_block_style PASS: test_save_sequence_config_flow_style PASS: test_save_sequence_config_block_style PASS: test_save_schema_top_level_sequence_fixed ================================================================================ PASS: 376 of 376 tests passed. ================================================================================ >>> libcyaml: Entering fakeroot... sed \ -e 's#PREFIX#/usr#' \ -e 's#LIBDIR#lib#' \ -e 's#INCLUDEDIR#include#' \ -e 's#VERSION#1.3.1#' \ libcyaml.pc.in >build/release/libcyaml.pc install -c -D -d /home/buildozer/aports/testing/libcyaml/pkg/libcyaml/usr/lib install -c -D build/release/libcyaml.so.1 /home/buildozer/aports/testing/libcyaml/pkg/libcyaml/usr/lib/libcyaml.so.1.3.1 (cd /home/buildozer/aports/testing/libcyaml/pkg/libcyaml/usr/lib && { ln -s -f libcyaml.so.1.3.1 libcyaml.so.1 || { rm -f libcyaml.so.1 && ln -s libcyaml.so.1.3.1 libcyaml.so.1; }; }) (cd /home/buildozer/aports/testing/libcyaml/pkg/libcyaml/usr/lib && { ln -s -f libcyaml.so.1.3.1 libcyaml.so || { rm -f libcyaml.so && ln -s libcyaml.so.1.3.1 libcyaml.so; }; }) install -c -D build/release/libcyaml.a /home/buildozer/aports/testing/libcyaml/pkg/libcyaml/usr/lib/libcyaml.a chmod 644 /home/buildozer/aports/testing/libcyaml/pkg/libcyaml/usr/lib/libcyaml.a install -c -D -d /home/buildozer/aports/testing/libcyaml/pkg/libcyaml/usr/include/cyaml install -c -D -m 644 include/cyaml/* /home/buildozer/aports/testing/libcyaml/pkg/libcyaml/usr/include/cyaml install -c -D -d /home/buildozer/aports/testing/libcyaml/pkg/libcyaml/usr/lib/pkgconfig install -c -D -m 644 build/release/libcyaml.pc /home/buildozer/aports/testing/libcyaml/pkg/libcyaml/usr/lib/pkgconfig/libcyaml.pc >>> libcyaml-static*: Running split function static... >>> libcyaml-static*: Preparing subpackage libcyaml-static... >>> libcyaml-static*: Stripping binaries >>> libcyaml-static*: Running postcheck for libcyaml-static >>> libcyaml-dev*: Running split function dev... >>> libcyaml-dev*: Preparing subpackage libcyaml-dev... >>> libcyaml-dev*: Stripping binaries >>> libcyaml-dev*: Running postcheck for libcyaml-dev >>> WARNING: libcyaml-dev*: Found /usr/share/doc but package name doesn't end with -doc >>> libcyaml-doc*: Running split function doc... >>> libcyaml-doc*: Preparing subpackage libcyaml-doc... >>> libcyaml-doc*: Running postcheck for libcyaml-doc >>> libcyaml*: Running postcheck for libcyaml >>> libcyaml*: Preparing package libcyaml... >>> libcyaml*: Stripping binaries >>> libcyaml-dev*: Scanning shared objects >>> libcyaml-doc*: Scanning shared objects >>> libcyaml-static*: Scanning shared objects >>> libcyaml*: Scanning shared objects >>> libcyaml-dev*: Tracing dependencies... libcyaml=1.3.1-r0 pkgconfig >>> libcyaml-dev*: Package size: 132.0 KB >>> libcyaml-dev*: Compressing data... >>> libcyaml-dev*: Create checksum... >>> libcyaml-dev*: Create libcyaml-dev-1.3.1-r0.apk >>> libcyaml-doc*: Tracing dependencies... >>> libcyaml-doc*: Package size: 68.0 KB >>> libcyaml-doc*: Compressing data... >>> libcyaml-doc*: Create checksum... >>> libcyaml-doc*: Create libcyaml-doc-1.3.1-r0.apk >>> libcyaml-static*: Tracing dependencies... >>> libcyaml-static*: Package size: 84.0 KB >>> libcyaml-static*: Compressing data... >>> libcyaml-static*: Create checksum... >>> libcyaml-static*: Create libcyaml-static-1.3.1-r0.apk >>> libcyaml*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libyaml-0.so.2 >>> libcyaml*: Package size: 60.0 KB >>> libcyaml*: Compressing data... >>> libcyaml*: Create checksum... >>> libcyaml*: Create libcyaml-1.3.1-r0.apk >>> libcyaml: Build complete at Tue, 26 Apr 2022 17:09:27 +0000 elapsed time 0h 0m 7s >>> libcyaml: Cleaning up srcdir >>> libcyaml: Cleaning up pkgdir >>> libcyaml: Uninstalling dependencies... (1/3) Purging .makedepends-libcyaml (20220426.170922) (2/3) Purging yaml-dev (0.2.5-r0) (3/3) Purging yaml (0.2.5-r0) OK: 332 MiB in 98 packages >>> libcyaml: Updating the testing/x86_64 repository index... >>> libcyaml: Signing the index...