aboutsummaryrefslogtreecommitdiffstats
path: root/main/cmocka
Commit message (Collapse)AuthorAgeFilesLines
* main/cmocka: upgrade to 1.1.5Stefan Reiff2019-05-032-12/+9
|
* [various]: unify names of licenses according to SPDXJakub Jirutka2017-12-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit updates $license variable in all APKBUILDs to comply with short names specified by SPDX version 3.0 [1] where possible. It was done using find-and-replace method on substrings inside $license variables. Only license names were updated, not "expressions" specifying relation between the licenses (e.g. "X and Y", "X or Y", "X and (Y or Z)") or exceptions (e.g. "X with exceptions"). Many licenses have a version or multiple variants, e.g. MPL-2.0, BSD-2-Clause, BSD-3-Clause. However, $license in many aports do not contain license version or variant. Since there's no way how to infer this information just from abuild, it were left without the variant suffix or version, i.e. non SPDX compliant. GNU licenses (AGPL, GFDL, GPL, LGPL) are especially complicated. They exist in two variants: -only (formerly e.g. GPL-2.0) and -or-later (formerly e.g. GPL-2.0+). We did not systematically noted distinguish between these variants, so GPL-2.0, GPL2, GPLv2 etc. may mean GPL-2.0-only or GPL-2.0-or-later. Thus GNU licenses without "+" (e.g. GPL2+) were left without the variant suffix, i.e. non SPDX compliant. Note: This commit just fixes format of the license names, no verification has been done if the specified license information is actually correct! [1]: https://spdx.org/licenses/
* main/cmocka: fix wordsize detection universally on musl, enable aarch64Timo Teräs2017-07-123-17/+25
|
* main/cmocka: disable on aarch64 due to failing testsJakub Jirutka2017-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following tests FAILED: 38 - calculator_test (Failed) 42 - customer_database_test (Failed) 44 - product_database_test (Failed) 45 - waiter_test_wrap (Failed) test 38 Start 38: calculator_test 38: Test command: /home/buildozer/aports/main/cmocka/src/cmocka-1.1.1/build/example/calculator_test 38: Test timeout computed to be: 1500 38: [==========] Running 22 test(s). 38: [ RUN ] test_add 38: [ OK ] test_add 38: [ RUN ] test_subtract 38: [ OK ] test_subtract 38: [ RUN ] test_multiply 38: [ OK ] test_multiply 38: [ RUN ] test_divide 38: [ OK ] test_divide 38: [ RUN ] test_divide_by_zero 38: Expected assertion b occurred 38: [ OK ] test_divide_by_zero 38: [ RUN ] test_find_operator_function_by_string_null_functions 38: Expected assertion !number_of_operator_functions || operator_functions occurred 38: [ OK ] test_find_operator_function_by_string_null_functions 38: [ RUN ] test_find_operator_function_by_string_null_string 38: Expected assertion operator_string != NULL occurred 38: [ OK ] test_find_operator_function_by_string_null_string 38: [ RUN ] test_find_operator_function_by_string_valid_null_functions 38: [ OK ] test_find_operator_function_by_string_valid_null_functions 38: [ RUN ] test_find_operator_function_by_string_not_found 38: [ OK ] test_find_operator_function_by_string_not_found 38: [ RUN ] test_find_operator_function_by_string_found 38: [ OK ] test_find_operator_function_by_string_found 38: [ RUN ] test_perform_operation_null_args 38: Expected assertion !number_of_arguments || arguments occurred 38: [ OK ] test_perform_operation_null_args 38: [ RUN ] test_perform_operation_null_operator_functions 38: Expected assertion !number_of_operator_functions || operator_functions occurred 38: [ OK ] test_perform_operation_null_operator_functions 38: [ RUN ] test_perform_operation_null_number_of_intermediate_values 38: Expected assertion number_of_intermediate_values != NULL occurred 38: [ OK ] test_perform_operation_null_number_of_intermediate_values 38: [ RUN ] test_perform_operation_null_intermediate_values 38: Expected assertion intermediate_values != NULL occurred 38: [ OK ] test_perform_operation_null_intermediate_values 38: [ RUN ] test_perform_operation_no_arguments 38: [ OK ] test_perform_operation_no_arguments 38: [ RUN ] test_perform_operation_first_arg_not_integer 38: [ ERROR ] --- Test failed with exception: Segmentation fault(11) 38: [ FAILED ] test_perform_operation_first_arg_not_integer 38: [ RUN ] test_perform_operation_unknown_operator 38: [ ERROR ] --- Test failed with exception: Segmentation fault(11) 38: [ FAILED ] test_perform_operation_unknown_operator 38: [ RUN ] test_perform_operation_missing_argument 38: [ ERROR ] --- Test failed with exception: Segmentation fault(11) 38: [ FAILED ] test_perform_operation_missing_argument 38: [ RUN ] test_perform_operation_no_integer_after_operator 38: [ ERROR ] --- Test failed with exception: Segmentation fault(11) 38: [ FAILED ] test_perform_operation_no_integer_after_operator 38: [ RUN ] test_perform_operation 38: [ OK ] test_perform_operation 38: [ RUN ] test_example_main_no_args 38: [ OK ] test_example_main_no_args 38: [ RUN ] test_example_main 38: [ ERROR ] --- Test failed with exception: Segmentation fault(11) 38: [ FAILED ] test_example_main 38: [==========] 22 test(s) run. 38: [ PASSED ] 17 test(s). 38: [ FAILED ] 5 test(s), listed below: 38: [ FAILED ] test_perform_operation_first_arg_not_integer 38: [ FAILED ] test_perform_operation_unknown_operator 38: [ FAILED ] test_perform_operation_missing_argument 38: [ FAILED ] test_perform_operation_no_integer_after_operator 38: [ FAILED ] test_example_main 38: 38: 5 FAILED TEST(S) 1/4 Test #38: calculator_test ..................***Failed 0.00 sec test 42 Start 42: customer_database_test 42: Test command: /home/buildozer/aports/main/cmocka/src/cmocka-1.1.1/build/example/customer_database_test 42: Test timeout computed to be: 1500 42: [==========] Running 2 test(s). 42: [ RUN ] test_connect_to_customer_database 42: [ OK ] test_connect_to_customer_database 42: [ RUN ] test_get_customer_id_by_name 42: [ ERROR ] --- Test failed with exception: Segmentation fault(11) 42: [ FAILED ] test_get_customer_id_by_name 42: [==========] 2 test(s) run. 42: [ PASSED ] 1 test(s). 42: [ FAILED ] 1 test(s), listed below: 42: [ FAILED ] test_get_customer_id_by_name 42: 42: 1 FAILED TEST(S) 2/4 Test #42: customer_database_test ...........***Failed 0.00 sec test 44 Start 44: product_database_test 44: Test command: /home/buildozer/aports/main/cmocka/src/cmocka-1.1.1/build/example/product_database_test 44: Test timeout computed to be: 1500 44: [==========] Running 3 test(s). 44: [ RUN ] test_connect_to_product_database 44: [ ERROR ] --- Test failed with exception: Segmentation fault(11) 44: [ FAILED ] test_connect_to_product_database 44: [ RUN ] test_connect_to_product_database_bad_url 44: [ ERROR ] --- Test failed with exception: Segmentation fault(11) 44: [ FAILED ] test_connect_to_product_database_bad_url 44: [ RUN ] test_connect_to_product_database_missing_parameter 44: [ ERROR ] --- Test failed with exception: Segmentation fault(11) 44: [ FAILED ] test_connect_to_product_database_missing_parameter 44: [==========] 3 test(s) run. 44: [ PASSED ] 0 test(s). 44: [ FAILED ] 3 test(s), listed below: 44: [ FAILED ] test_connect_to_product_database 44: [ FAILED ] test_connect_to_product_database_bad_url 44: [ FAILED ] test_connect_to_product_database_missing_parameter 44: 44: 3 FAILED TEST(S) 3/4 Test #44: product_database_test ............***Failed Required regular expression not found.Regex=[\[ FAILED \] 2 test ] 0.00 sec test 45 Start 45: waiter_test_wrap 45: Test command: /home/buildozer/aports/main/cmocka/src/cmocka-1.1.1/build/example/chef_wrap/waiter_test_wrap 45: Test timeout computed to be: 1500 45: [==========] Running 2 test(s). 45: [ RUN ] test_order_hotdog 45: [ ERROR ] --- Test failed with exception: Segmentation fault(11) 45: [ FAILED ] test_order_hotdog 45: [ RUN ] test_bad_dish 45: [ ERROR ] --- Test failed with exception: Segmentation fault(11) 45: [ FAILED ] test_bad_dish 45: [==========] 2 test(s) run. 45: [ PASSED ] 0 test(s). 45: [ FAILED ] 2 test(s), listed below: 45: [ FAILED ] test_order_hotdog 45: [ FAILED ] test_bad_dish 45: 45: 2 FAILED TEST(S) 4/4 Test #45: waiter_test_wrap .................***Failed 0.00 sec
* main/cmocka: rerun failed tests again in extra-verbose modeJakub Jirutka2017-06-191-1/+4
|
* main/cmocka: enable on aarch64Jakub Jirutka2017-06-191-1/+1
| | | | | I hope that patch musl_uintptr.patch fixes build error (see bcbcb71d7a89675f89e1de484bcd96319ef999aa) even for aarch64.
* main/cmocka: upgrade to 1.1.1tmpfile2017-06-181-7/+6
|
* main/cmocka: __WORDSIZE definition on s390xTuan M. Hoang2017-04-202-1/+16
| | | | There should be a more elegant solution for this but it would work fine
* main/cmocka: fix build and check on ppc64leBreno Leitao2017-03-312-4/+48
| | | | | | | | Currently cmocka fails to build on ppc64le due to a redefinition for uintptr_t. This is declared at Musl and redeclared by cmocka. This patch check if uintptr_t was not defined by MUSL before re-defining it.
* main/cmocka: disable on aarch64Leonardo Arena2017-03-271-2/+2
|
* main/cmocka: enable for aarch64Leonardo Arena2017-03-271-2/+2
|
* main/cmocka: move from testingValery Kartel2017-03-271-0/+40