We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix failing tests: (CxxParser)
Self compiled
Windows 10
Build tests applications (CMake flag is `-DBUILD_TESTING=1`) and run one of the test applications.
Test project /home/runner/work/codelite/codelite/build-release Start 1: gdbparser 1/4 Test #1: gdbparser ........................ Passed 0.00 sec Start 2: PHPUnitTests 2/4 Test #2: PHPUnitTests .....................***Failed 0.14 sec test_this_operator (1): Successfull! test_class_extends (1): Successfull! test_use_alias_operator (1): Successfull! test_use_alias_operator (2): Successfull! test_use_alias_operator (3): Successfull! test_expression_parser_for_partial_word (1): Successfull! test_long_chain (1): ERROR /home/runner/work/codelite/codelite/codelitephp/PHPParserUnitTests/main.cpp:108: Condition FALSE: resolved test_parsing_abstract_class (1): Successfull! test_parsing_abstract_class (2): Successfull! test_parsing_abstract_class (3): Successfull! test_abstract_class_with_self (1): Successfull! test_abstract_class_with_self (2): Successfull! test_abstract_class_with_self (3): Successfull! test_word_completion (1): Successfull! test_word_completion (2): Successfull! test_word_completion (3): Successfull! test_word_completion (4): Successfull! test_word_completion_after_casting (1): Successfull! test_word_completion_after_casting (2): Successfull! test_word_completion_after_casting (3): Successfull! test_word_completion_after_casting (4): Successfull! test_word_completion_inside_ns (1): Successfull! test_word_completion_inside_ns (2): Successfull! test_word_completion_inside_ns (3): Successfull! test_class_members (1): Successfull! test_class_members (2): Successfull! test_class_members (3): Successfull! test_class_member_initialized (1): Successfull! test_class_member_initialized (2): Successfull! test_class_with_members_inside_namespace(1): Successfull! test_class_with_members_inside_namespace(2): Successfull! test_class_with_members_inside_namespace(3): Successfull! test_variable_1 (1): ERROR /home/runner/work/codelite/codelite/codelitephp/PHPParserUnitTests/main.cpp:277: Condition FALSE: resolved test_variable_2 (1): Successfull! test_variable_2 (2): Successfull! test_variable_2 (3): Successfull! test_variable_assigned_from_function (1): ERROR /home/runner/work/codelite/codelite/codelitephp/PHPParserUnitTests/main.cpp:317: Condition FALSE: resolved test_global_variable_assigned_from_function(1): ERROR /home/runner/work/codelite/codelite/codelitephp/PHPParserUnitTests/main.cpp:337: Condition FALSE: resolved test_interface (1): Successfull! test_interface (2): Successfull! test_interface (3): Successfull! test_parent (1): Successfull! test_parent (2): Successfull! test_parent (3): Successfull! test_locals (1): Successfull! test_locals (2): Successfull! test_word_complete_of_aliases (1): Successfull! test_word_complete_of_aliases (2): Successfull! test_define (1): Successfull! test_define (2): Successfull! test_define_in_namespace (1): Successfull! test_define_in_namespace (2): Successfull! test_define_with_namespace (1): Successfull! test_define_with_namespace (2): Successfull! test_word_completion_local_variale_1 (1): Successfull! test_word_completion_local_variale_1 (2): Successfull! test_word_completion_local_variable_2 (1): Successfull! test_word_completion_local_variable_2 (2): Successfull! test_var_assigned_from_require (1): Successfull! test_var_assigned_from_require (2): ERROR /home/runner/work/codelite/codelite/codelitephp/PHPParserUnitTests/main.cpp:533: Expected size: 1, Actual Size:0 test_simple_trait (1): Successfull! test_use_trait (1): Successfull! test_use_trait (2): Successfull! test_goto_def_with_trait (1): Successfull! test_goto_def_with_trait (2): Successfull! test_trait_alias (1): Successfull! test_trait_alias (2): Successfull! test_trait_alias (3): Successfull! test_partial_namespace (1): Successfull! test_partial_namespace (2): Successfull! test_extends_with_namespace (1): Successfull! test_extends_with_namespace (2): Successfull! test_extends_with_namespace (3): Successfull! test_php7_function_return_value (1): Successfull! test_php7_function_return_value (2): Successfull! test_php7_function_arg_hinting (1): Successfull! test_php7_function_arg_hinting (2): Successfull! test_php7_function_arg_hinting (3): Successfull! test_constants (1): Successfull! test_constants (2): Successfull! test_constants (3): Successfull! test_phpdoc_var_in_class (1): Successfull! test_phpdoc_var_in_class (2): ERROR /home/runner/work/codelite/codelite/codelitephp/PHPParserUnitTests/main.cpp:724: Expected string: '\StructB', Actual string: '' test_phpdoc_property (1): Successfull! test_phpdoc_property (2): Successfull! test_phpdoc_property (3): Successfull! test_phpdoc_method (1): Successfull! test_phpdoc_method (2): Successfull! test_phpdoc_method (3): Successfull! test_function_phpdoc (1): Successfull! test_function_phpdoc (2): Successfull! test_function_phpdoc (3): Successfull! test_foreach (1): Successfull! test_foreach (2): Successfull! test_wrong_goto_interface (1): Successfull! test_function_arg_type_hint_and_php_doc (1): Successfull! test_function_arg_type_hint_and_php_doc (2): Successfull! test_func_arg_in_lambda_in_assignment (1): Successfull! test_func_arg_in_lambda_in_assignment (2): Successfull! test_func_arg_in_lambda_in_assignment (3): Successfull! ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ====> Summary: <==== 38 of 44 tests passed 6 of 44 tests failed Start 3: ctagsd-tests 3/4 Test #3: ctagsd-tests .....................***Failed 0.05 sec /bin/sh: 1: --options=/home/runner/.ctagsd-tests/options-140107089206400.ctags: not found ....OK (0 checks performed) test_parsing_of_function_parameter....OK (8 checks performed) Loading TAGS_DB= ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) TestCompletionHelper_get_expression....OK (13 checks performed) TestSplitArgsNoArgumentName....OK (3 checks performed) TestCompletionHelper_truncate_file_to_location....OK (3 checks performed) TestCompletionHelper_truncate_file_to_location_invalid_input....OK (2 checks performed) TestCompletionHelper_truncate_file_to_location_must_end_with_words....OK (1 checks performed) test_from_expression_c_cast....OK (6 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) TestSimeplTokenizer_Comments....OK (1 checks performed) ....OK (0 checks performed) TestSimeplTokenizer....OK (1 checks performed) TestSplitArgs....OK (10 checks performed) ....OK (0 checks performed) test_cxx_expression....OK (9 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) test_ctags_locals....FAILED (/home/runner/work/codelite/codelite/ctagsd/tests/main.cpp:770) ....OK (0 checks performed) test_cxx_code_completion_variable_scanner_ranged_for....OK (3 checks performed) test_cxx_code_completion_variable_scanner_normal_for....OK (3 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) ....OK (0 checks performed) Some tests FAILED. See summary below test_ctags_locals....FAILED (/home/runner/work/codelite/codelite/ctagsd/tests/main.cpp:770) Condition failed. `!tags.empty()` Start 4: CxxParserTests 4/4 Test #4: CxxParserTests ...................***Failed 0.02 sec test_cxx_local_variables (1): Successfull! test_cxx_local_variables (2): Successfull! test_cxx_local_variables (3): Successfull! test_cxx_local_variables (4): Successfull! test_cxx_local_variables (5): Successfull! test_cxx_class_method_impl (1): Successfull! test_array_variables (1): Successfull! test_cxx_c11_template (1): Successfull! test_cxx_multiple_variables (1): Successfull! test_cxx_multiple_variables (2): Successfull! test_cxx_multiple_variables (3): Successfull! test_cxx_decltype_template_variable (1): Successfull! test_cxx_locals_in_for_loop (1): Successfull! test_cxx_lambda_args (1): ERROR /home/runner/work/codelite/codelite/CxxParserTests/main.cpp:107: Condition FALSE: vars.count("lambdaArg") == 1 test_cxx_lambda_locals (1): ERROR /home/runner/work/codelite/codelite/CxxParserTests/main.cpp:119: Condition FALSE: vars.count("myStr") == 1 test_optimize_scope (1): Successfull! test_locals_inside_for_inside_lambda (1): ERROR /home/runner/work/codelite/codelite/CxxParserTests/main.cpp:144: Condition FALSE: vars.count("tbItem") == 1 test_locals_inside_while (1): Successfull! test_angel_script_locals (1): Successfull! test_ranged_forloop (1): Successfull! test_local_in_std_for_each (1): ERROR /home/runner/work/codelite/codelite/CxxParserTests/main.cpp:185: Expected size: 4, Actual Size:0 ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ----> ====> Summary: <==== 12 of 16 tests passed 4 of 16 tests failed Errors while running CTest 25% tests passed, 3 tests failed out of 4 Total Test time (real) = 0.28 sec The following tests FAILED: 2 - PHPUnitTests (Failed) 3 - ctagsd-tests (Failed) 4 - CxxParserTests (Failed)
The text was updated successfully, but these errors were encountered:
eranif
No branches or pull requests
What happened?
Fix failing tests:
(CxxParser)
(PhpParser)
(ctags)
Version
Self compiled
Operating system
Windows 10
Steps to reproduce
Relevant log output
The text was updated successfully, but these errors were encountered: