{"log": [{"step": "wipe_workspace", "command": "rm -rf /workspace/* /workspace/.[!.]*", "wall_time": 0.09766889899999853, "output": "", "returncode": 0, "exception_info": ""}, {"step": "remove_hashed_files", "command": "find /workspace -type f -exec sha256sum {} + 2>/dev/null | grep -E \"^(67f97009ffc841466cd95301073e1804b5ff2c222078f2ef24422f6f62f312e2) \" | cut -c67- | xargs -I% rm -fv %", "wall_time": 0.07434768299999917, "output": "", "returncode": 0, "exception_info": ""}, {"step": "clear_stale_executable", "command": "rm -f ./executable", "wall_time": 0.040881929999997624, "output": "", "returncode": 0, "exception_info": ""}, {"step": "seed_git", "command": "if [ ! -d .git ]; then GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' git -c init.defaultBranch=gold init -q && git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false add -A && GIT_AUTHOR_DATE='2000-01-01T00:00:00Z' GIT_COMMITTER_DATE='2000-01-01T00:00:00Z' git -c user.email=gold@local -c user.name=gold -c commit.gpgsign=false commit -q --allow-empty -m gold; fi", "wall_time": 0.038200015999990455, "output": "", "returncode": 0, "exception_info": ""}, {"step": "compile", "command": "chmod +x ./compile.sh && ./compile.sh", "wall_time": 0.1418517919999971, "output": "", "returncode": 0, "exception_info": ""}, {"step": "copy_executable", "command": "mv ./executable /opt/programbench-stashed-executable-do-not-modify", "wall_time": 0.03848405600000149, "output": "", "returncode": 0, "exception_info": ""}, {"step": "hash_executable", "command": "sha256sum /opt/programbench-stashed-executable-do-not-modify", "wall_time": 0.045492319999993924, "output": "0003df32077cb123ab829f29b59141e37fecd31af40e535ce315d12dd7fbfaea /opt/programbench-stashed-executable-do-not-modify\n", "returncode": 0, "exception_info": ""}, {"step": "install_rerunfailures", "command": "pip3 install -q --disable-pip-version-check pytest-rerunfailures", "wall_time": 0.586603095000001, "output": "WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\n", "returncode": 0, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && mv /opt/programbench-stashed-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.04207149500001606, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum ./executable", "wall_time": 0.05059926900000278, "output": "0003df32077cb123ab829f29b59141e37fecd31af40e535ce315d12dd7fbfaea ./executable\n", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.0390303490000008, "output": "", "returncode": 0, "exception_info": ""}, {"step": "patch_timeout_method", "command": "test -f eval/run.sh && sed -i 's/--timeout-method=thread/--timeout-method=signal/g' eval/run.sh || true", "wall_time": 0.04203039200001513, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "export PYTEST_ADDOPTS=\"$PYTEST_ADDOPTS --reruns=2 --reruns-delay=1\" && chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 6.170517649000004, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, rerunfailures-16.7, libtmux-0.58.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: signal\ntimeout func_only: False\ncreated: 10/10 workers\n10 workers [208 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_advanced_features.py::test_header_file_checking \neval/tests/test_additional_coverage.py::test_multiple_errors_in_file \neval/tests/test_advanced_features.py::test_xml_with_template \neval/tests/test_additional_coverage.py::test_very_long_line \neval/tests/test_advanced_features.py::test_includes_file \neval/tests/test_additional_coverage.py::test_std_cpp03 \neval/tests/test_additional_coverage.py::test_complex_pointer_error \neval/tests/test_advanced_features.py::test_project_file \neval/tests/test_additional_coverage.py::test_xml_version_2 \neval/tests/test_advanced_features.py::test_check_level_combinations \n[gw9] [ 0%] PASSED eval/tests/test_advanced_features.py::test_header_file_checking \n[gw8] [ 0%] PASSED eval/tests/test_advanced_features.py::test_xml_with_template \n[gw2] [ 1%] PASSED eval/tests/test_additional_coverage.py::test_multiple_errors_in_file \n[gw4] [ 1%] PASSED eval/tests/test_additional_coverage.py::test_very_long_line \n[gw1] [ 2%] PASSED eval/tests/test_additional_coverage.py::test_xml_version_2 \n[gw6] [ 2%] PASSED eval/tests/test_advanced_features.py::test_includes_file \n[gw7] [ 3%] PASSED eval/tests/test_advanced_features.py::test_check_level_combinations \n[gw0] [ 3%] PASSED eval/tests/test_additional_coverage.py::test_complex_pointer_error \n[gw3] [ 4%] PASSED eval/tests/test_additional_coverage.py::test_std_cpp03 \neval/tests/test_advanced_features.py::test_performance_checks \neval/tests/test_additional_coverage.py::test_unicode_in_comments \neval/tests/test_additional_coverage.py::test_cppcheck_build_dir \neval/tests/test_additional_coverage.py::test_cpp_class_with_errors \neval/tests/test_analysis_options.py::test_enable_all \neval/tests/test_advanced_features.py::test_library_with_check_library \neval/tests/test_additional_coverage.py::test_error_with_quiet \neval/tests/test_advanced_features.py::test_config_exclude \neval/tests/test_additional_coverage.py::test_array_out_of_bounds \n[gw8] [ 4%] PASSED eval/tests/test_advanced_features.py::test_performance_checks \n[gw4] [ 5%] PASSED eval/tests/test_additional_coverage.py::test_unicode_in_comments \n[gw3] [ 5%] PASSED eval/tests/test_additional_coverage.py::test_error_with_quiet \n[gw9] [ 6%] PASSED eval/tests/test_analysis_options.py::test_enable_all \n[gw2] [ 6%] PASSED eval/tests/test_additional_coverage.py::test_cpp_class_with_errors \n[gw6] [ 7%] PASSED eval/tests/test_advanced_features.py::test_config_exclude \n[gw7] [ 7%] PASSED eval/tests/test_advanced_features.py::test_library_with_check_library \n[gw0] [ 8%] PASSED eval/tests/test_additional_coverage.py::test_array_out_of_bounds \neval/tests/test_analysis_options.py::test_enable_warning \neval/tests/test_additional_coverage.py::test_template_cppcheck1 \neval/tests/test_advanced_features.py::test_checkers_report \neval/tests/test_additional_coverage.py::test_include_with_defines \neval/tests/test_additional_coverage.py::test_nested_includes \neval/tests/test_advanced_features.py::test_suppress_xml_file \neval/tests/test_advanced_features.py::test_portability_checks \n[gw9] [ 8%] PASSED eval/tests/test_analysis_options.py::test_enable_warning \n[gw2] [ 9%] PASSED eval/tests/test_additional_coverage.py::test_template_cppcheck1 \n[gw7] [ 9%] PASSED eval/tests/test_advanced_features.py::test_suppress_xml_file \n[gw0] [ 10%] PASSED eval/tests/test_additional_coverage.py::test_include_with_defines \n[gw3] [ 10%] PASSED eval/tests/test_additional_coverage.py::test_nested_includes \n[gw4] [ 11%] PASSED eval/tests/test_advanced_features.py::test_checkers_report \n[gw8] [ 11%] PASSED eval/tests/test_advanced_features.py::test_portability_checks \neval/tests/test_advanced_features.py::test_config_excludes_file \n[gw6] [ 12%] PASSED eval/tests/test_advanced_features.py::test_config_excludes_file \neval/tests/test_advanced_features.py::test_information_checks \neval/tests/test_additional_coverage.py::test_multiple_defines \neval/tests/test_advanced_features.py::test_max_ctu_depth \n[gw0] [ 12%] PASSED eval/tests/test_additional_coverage.py::test_multiple_defines \n[gw4] [ 12%] PASSED eval/tests/test_advanced_features.py::test_max_ctu_depth \n[gw8] [ 13%] PASSED eval/tests/test_advanced_features.py::test_information_checks \neval/tests/test_advanced_features.py::test_plist_output \neval/tests/test_advanced_features.py::test_inline_suppression_comment \neval/tests/test_additional_coverage.py::test_warning_exitcode \neval/tests/test_analysis_options.py::test_enable_style \neval/tests/test_additional_coverage.py::test_template_edit \n[gw6] [ 13%] PASSED eval/tests/test_advanced_features.py::test_plist_output \n[gw7] [ 14%] PASSED eval/tests/test_advanced_features.py::test_inline_suppression_comment \n[gw3] [ 14%] PASSED eval/tests/test_additional_coverage.py::test_warning_exitcode \n[gw9] [ 15%] PASSED eval/tests/test_analysis_options.py::test_enable_style \n[gw2] [ 15%] PASSED eval/tests/test_additional_coverage.py::test_template_edit \neval/tests/test_advanced_features.py::test_multiple_file_extensions \neval/tests/test_additional_coverage.py::test_enable_all_with_inconclusive \neval/tests/test_advanced_features.py::test_rule_file \n[gw4] [ 16%] PASSED eval/tests/test_advanced_features.py::test_rule_file \n[gw0] [ 16%] PASSED eval/tests/test_additional_coverage.py::test_enable_all_with_inconclusive \n[gw8] [ 17%] PASSED eval/tests/test_advanced_features.py::test_multiple_file_extensions \neval/tests/test_advanced_features.py::test_bug_hunting \neval/tests/test_additional_coverage.py::test_library_combined \neval/tests/test_analysis_options.py::test_enable_performance \neval/tests/test_advanced_features.py::test_template_with_all_fields \neval/tests/test_additional_coverage.py::test_relative_paths \n[gw6] [ 17%] PASSED eval/tests/test_advanced_features.py::test_bug_hunting \n[gw9] [ 18%] PASSED eval/tests/test_analysis_options.py::test_enable_performance \n[gw7] [ 18%] PASSED eval/tests/test_advanced_features.py::test_template_with_all_fields \n[gw2] [ 19%] PASSED eval/tests/test_additional_coverage.py::test_relative_paths \n[gw3] [ 19%] PASSED eval/tests/test_additional_coverage.py::test_library_combined \neval/tests/test_basic.py::test_invalid_file \neval/tests/test_analysis_options.py::test_std_cpp14 \neval/tests/test_basic.py::test_simple_cpp_file \n[gw8] [ 20%] PASSED eval/tests/test_basic.py::test_invalid_file \n[gw0] [ 20%] PASSED eval/tests/test_analysis_options.py::test_std_cpp14 \n[gw4] [ 21%] PASSED eval/tests/test_basic.py::test_simple_cpp_file \neval/tests/test_analysis_options.py::test_enable_portability \neval/tests/test_analysis_options.py::test_language_short_form \neval/tests/test_edge_cases.py::test_empty_file \neval/tests/test_basic.py::test_version \neval/tests/test_analysis_options.py::test_check_level_normal \n[gw3] [ 21%] PASSED eval/tests/test_basic.py::test_version \n[gw6] [ 22%] PASSED eval/tests/test_edge_cases.py::test_empty_file \n[gw9] [ 22%] PASSED eval/tests/test_analysis_options.py::test_enable_portability \n[gw7] [ 23%] PASSED eval/tests/test_analysis_options.py::test_language_short_form \n[gw2] [ 23%] PASSED eval/tests/test_analysis_options.py::test_check_level_normal \neval/tests/test_basic.py::test_clean_file_no_errors \neval/tests/test_basic.py::test_quiet_mode \n[gw4] [ 24%] PASSED eval/tests/test_basic.py::test_clean_file_no_errors \n[gw8] [ 24%] PASSED eval/tests/test_basic.py::test_quiet_mode \neval/tests/test_edge_cases.py::test_file_with_only_comments \neval/tests/test_analysis_options.py::test_check_level_exhaustive \neval/tests/test_basic.py::test_no_arguments \neval/tests/test_analysis_options.py::test_std_cpp17 \neval/tests/test_analysis_options.py::test_enable_information \n[gw3] [ 25%] PASSED eval/tests/test_basic.py::test_no_arguments \n[gw6] [ 25%] PASSED eval/tests/test_edge_cases.py::test_file_with_only_comments \n[gw2] [ 25%] PASSED eval/tests/test_analysis_options.py::test_check_level_exhaustive \n[gw9] [ 26%] PASSED eval/tests/test_analysis_options.py::test_enable_information \n[gw0] [ 26%] PASSED eval/tests/test_analysis_options.py::test_std_cpp17 \neval/tests/test_analysis_options.py::test_std_c89 \n[gw7] [ 27%] PASSED eval/tests/test_analysis_options.py::test_std_c89 \neval/tests/test_basic.py::test_multiple_files \n[gw4] [ 27%] PASSED eval/tests/test_basic.py::test_multiple_files \neval/tests/test_edge_cases.py::test_file_with_only_preprocessor \neval/tests/test_analysis_options.py::test_check_level_reduced \neval/tests/test_basic.py::test_verbose_mode \neval/tests/test_analysis_options.py::test_std_cpp20 \neval/tests/test_analysis_options.py::test_enable_multiple \n[gw6] [ 28%] PASSED eval/tests/test_edge_cases.py::test_file_with_only_preprocessor \n[gw2] [ 28%] PASSED eval/tests/test_analysis_options.py::test_check_level_reduced \n[gw9] [ 29%] PASSED eval/tests/test_analysis_options.py::test_enable_multiple \n[gw0] [ 29%] PASSED eval/tests/test_analysis_options.py::test_std_cpp20 \n[gw8] [ 30%] PASSED eval/tests/test_basic.py::test_verbose_mode \neval/tests/test_basic.py::test_errorlist \n[gw3] [ 30%] PASSED eval/tests/test_basic.py::test_errorlist \neval/tests/test_analysis_options.py::test_std_c99 \n[gw7] [ 31%] PASSED eval/tests/test_analysis_options.py::test_std_c99 \neval/tests/test_basic.py::test_directory_recursion \neval/tests/test_analysis_options.py::test_disable \neval/tests/test_edge_cases.py::test_deeply_nested_code \neval/tests/test_basic.py::test_help_output \neval/tests/test_analysis_options.py::test_language_c \neval/tests/test_basic.py::test_exit_code_with_errors \n[gw0] [ 31%] PASSED eval/tests/test_basic.py::test_help_output \n[gw9] [ 32%] PASSED eval/tests/test_analysis_options.py::test_disable \n[gw6] [ 32%] PASSED eval/tests/test_edge_cases.py::test_deeply_nested_code \n[gw4] [ 33%] PASSED eval/tests/test_basic.py::test_directory_recursion \n[gw8] [ 33%] PASSED eval/tests/test_basic.py::test_exit_code_with_errors \n[gw2] [ 34%] PASSED eval/tests/test_analysis_options.py::test_language_c \neval/tests/test_basic.py::test_simple_c_file \neval/tests/test_analysis_options.py::test_std_c11 \n[gw7] [ 34%] PASSED eval/tests/test_analysis_options.py::test_std_c11 \n[gw3] [ 35%] PASSED eval/tests/test_basic.py::test_simple_c_file \neval/tests/test_edge_cases.py::test_bitwise_operations \neval/tests/test_analysis_options.py::test_inconclusive \neval/tests/test_basic.py::test_help_short \neval/tests/test_analysis_options.py::test_language_cpp \neval/tests/test_edge_cases.py::test_recursive_function \neval/tests/test_edge_cases.py::test_conditional_operator \n[gw0] [ 35%] PASSED eval/tests/test_basic.py::test_help_short \n[gw6] [ 36%] PASSED eval/tests/test_edge_cases.py::test_bitwise_operations \n[gw9] [ 36%] PASSED eval/tests/test_analysis_options.py::test_inconclusive \n[gw2] [ 37%] PASSED eval/tests/test_analysis_options.py::test_language_cpp \n[gw8] [ 37%] PASSED eval/tests/test_edge_cases.py::test_conditional_operator \n[gw4] [ 37%] PASSED eval/tests/test_edge_cases.py::test_recursive_function \neval/tests/test_edge_cases.py::test_enum \n[gw3] [ 38%] PASSED eval/tests/test_edge_cases.py::test_enum \neval/tests/test_analysis_options.py::test_std_cpp11 \n[gw7] [ 38%] PASSED eval/tests/test_analysis_options.py::test_std_cpp11 \neval/tests/test_edge_cases.py::test_comma_operator \neval/tests/test_edge_cases.py::test_function_pointers \neval/tests/test_edge_cases.py::test_designated_initializers \neval/tests/test_edge_cases.py::test_volatile_keyword \neval/tests/test_error_detection.py::test_detect_memory_leak \n[gw4] [ 39%] PASSED eval/tests/test_edge_cases.py::test_function_pointers \n[gw8] [ 39%] PASSED eval/tests/test_edge_cases.py::test_comma_operator \n[gw9] [ 40%] PASSED eval/tests/test_edge_cases.py::test_designated_initializers \n[gw0] [ 40%] PASSED eval/tests/test_edge_cases.py::test_volatile_keyword \neval/tests/test_edge_cases.py::test_goto_statement \n[gw6] [ 41%] PASSED eval/tests/test_edge_cases.py::test_goto_statement \neval/tests/test_edge_cases.py::test_inline_function \n[gw3] [ 41%] PASSED eval/tests/test_edge_cases.py::test_inline_function \neval/tests/test_error_detection.py::test_detect_unused_variable \n[gw7] [ 42%] PASSED eval/tests/test_error_detection.py::test_detect_unused_variable \neval/tests/test_edge_cases.py::test_struct_operations \neval/tests/test_edge_cases.py::test_compound_literals \neval/tests/test_edge_cases.py::test_const_keyword \neval/tests/test_edge_cases.py::test_sizeof_operator \n[gw9] [ 42%] PASSED eval/tests/test_edge_cases.py::test_compound_literals \n[gw0] [ 43%] PASSED eval/tests/test_edge_cases.py::test_const_keyword \n[gw8] [ 43%] PASSED eval/tests/test_edge_cases.py::test_sizeof_operator \n[gw4] [ 44%] PASSED eval/tests/test_edge_cases.py::test_struct_operations \neval/tests/test_edge_cases.py::test_switch_statement \n[gw6] [ 44%] PASSED eval/tests/test_edge_cases.py::test_switch_statement \neval/tests/test_edge_cases.py::test_static_function \n[gw3] [ 45%] PASSED eval/tests/test_edge_cases.py::test_static_function \neval/tests/test_error_detection.py::test_detect_double_free \neval/tests/test_edge_cases.py::test_restrict_keyword \neval/tests/test_edge_cases.py::test_union_usage \neval/tests/test_edge_cases.py::test_typedef \neval/tests/test_error_detection.py::test_detect_uninitialized_variable \n[gw4] [ 45%] PASSED eval/tests/test_edge_cases.py::test_union_usage \n[gw8] [ 46%] PASSED eval/tests/test_edge_cases.py::test_typedef \n[gw9] [ 46%] PASSED eval/tests/test_error_detection.py::test_detect_uninitialized_variable \n[gw0] [ 47%] PASSED eval/tests/test_edge_cases.py::test_restrict_keyword \neval/tests/test_edge_cases.py::test_switch_fallthrough \n[gw6] [ 47%] PASSED eval/tests/test_edge_cases.py::test_switch_fallthrough \neval/tests/test_edge_cases.py::test_extern_variable \n[gw3] [ 48%] PASSED eval/tests/test_edge_cases.py::test_extern_variable \neval/tests/test_file_handling.py::test_file_filter \neval/tests/test_error_detection.py::test_detect_null_pointer \neval/tests/test_error_detection.py::test_syntax_error_handling \neval/tests/test_edge_cases.py::test_variable_length_array \n[gw9] [ 48%] PASSED eval/tests/test_error_detection.py::test_detect_null_pointer \n[gw4] [ 49%] PASSED eval/tests/test_file_handling.py::test_file_filter \n[gw0] [ 49%] PASSED eval/tests/test_edge_cases.py::test_variable_length_array \neval/tests/test_file_handling.py::test_directory_with_multiple_extensions \n[gw6] [ 50%] PASSED eval/tests/test_file_handling.py::test_directory_with_multiple_extensions \neval/tests/test_file_handling.py::test_nested_directories \n[gw3] [ 50%] PASSED eval/tests/test_file_handling.py::test_nested_directories \neval/tests/test_final_coverage.py::test_macro_expansion \neval/tests/test_final_coverage.py::test_variadic_macro \neval/tests/test_file_handling.py::test_ignore_pattern \n[gw9] [ 50%] PASSED eval/tests/test_final_coverage.py::test_macro_expansion \n[gw4] [ 51%] PASSED eval/tests/test_file_handling.py::test_ignore_pattern \n[gw0] [ 51%] PASSED eval/tests/test_final_coverage.py::test_variadic_macro \neval/tests/test_file_handling.py::test_single_c_file \n[gw6] [ 52%] PASSED eval/tests/test_file_handling.py::test_single_c_file \neval/tests/test_file_handling.py::test_empty_directory \n[gw3] [ 52%] PASSED eval/tests/test_file_handling.py::test_empty_directory \neval/tests/test_file_handling.py::test_ignore_directory \neval/tests/test_final_coverage.py::test_predefined_macros \neval/tests/test_final_coverage.py::test_stringification \n[gw4] [ 53%] PASSED eval/tests/test_file_handling.py::test_ignore_directory \n[gw9] [ 53%] PASSED eval/tests/test_final_coverage.py::test_stringification \n[gw0] [ 54%] PASSED eval/tests/test_final_coverage.py::test_predefined_macros \neval/tests/test_file_handling.py::test_single_cpp_file \n[gw6] [ 54%] PASSED eval/tests/test_file_handling.py::test_single_cpp_file \neval/tests/test_file_handling.py::test_nonexistent_path \n[gw3] [ 55%] PASSED eval/tests/test_file_handling.py::test_nonexistent_path \neval/tests/test_final_coverage.py::test_token_pasting \neval/tests/test_final_coverage.py::test_pragma_directive \neval/tests/test_final_coverage.py::test_error_directive \n[gw9] [ 55%] PASSED eval/tests/test_final_coverage.py::test_token_pasting \n[gw4] [ 56%] PASSED eval/tests/test_final_coverage.py::test_pragma_directive \n[gw0] [ 56%] PASSED eval/tests/test_final_coverage.py::test_error_directive \neval/tests/test_final_coverage.py::test_complex_ifdef \n[gw6] [ 57%] PASSED eval/tests/test_final_coverage.py::test_complex_ifdef \neval/tests/test_final_coverage.py::test_pointer_arithmetic \n[gw3] [ 57%] PASSED eval/tests/test_final_coverage.py::test_pointer_arithmetic \neval/tests/test_final_coverage.py::test_complex_expressions \neval/tests/test_final_coverage.py::test_line_directive \neval/tests/test_final_coverage.py::test_warning_directive \n[gw4] [ 58%] PASSED eval/tests/test_final_coverage.py::test_line_directive \n[gw9] [ 58%] PASSED eval/tests/test_final_coverage.py::test_complex_expressions \n[gw0] [ 59%] PASSED eval/tests/test_final_coverage.py::test_warning_directive \neval/tests/test_final_coverage.py::test_operators_all \n[gw6] [ 59%] PASSED eval/tests/test_final_coverage.py::test_operators_all \neval/tests/test_final_coverage.py::test_cast_operations \n[gw3] [ 60%] PASSED eval/tests/test_final_coverage.py::test_cast_operations \neval/tests/test_final_coverage.py::test_loops_all \neval/tests/test_final_coverage.py::test_break_continue \neval/tests/test_final_coverage.py::test_string_operations \n[gw9] [ 60%] PASSED eval/tests/test_final_coverage.py::test_loops_all \n[gw4] [ 61%] PASSED eval/tests/test_final_coverage.py::test_break_continue \n[gw0] [ 61%] PASSED eval/tests/test_final_coverage.py::test_string_operations \neval/tests/test_final_coverage.py::test_dynamic_memory \n[gw6] [ 62%] PASSED eval/tests/test_final_coverage.py::test_dynamic_memory \neval/tests/test_library_config.py::test_library_posix \n[gw3] [ 62%] PASSED eval/tests/test_library_config.py::test_library_posix \neval/tests/test_final_coverage.py::test_multi_dimensional_arrays \neval/tests/test_final_coverage.py::test_file_operations \neval/tests/test_library_config.py::test_library_windows \n[gw4] [ 62%] PASSED eval/tests/test_final_coverage.py::test_multi_dimensional_arrays \n[gw0] [ 63%] PASSED eval/tests/test_final_coverage.py::test_file_operations \neval/tests/test_final_coverage.py::test_command_line_args \n[gw6] [ 63%] PASSED eval/tests/test_final_coverage.py::test_command_line_args \neval/tests/test_library_config.py::test_library_gnu \n[gw3] [ 64%] PASSED eval/tests/test_library_config.py::test_library_gnu \neval/tests/test_library_config.py::test_platform_option \neval/tests/test_library_config.py::test_check_library \n[gw9] [ 64%] PASSED eval/tests/test_library_config.py::test_library_windows \neval/tests/test_library_config.py::test_library_qt \n[gw0] [ 65%] PASSED eval/tests/test_library_config.py::test_platform_option \n[gw4] [ 65%] PASSED eval/tests/test_library_config.py::test_check_library \neval/tests/test_more_coverage.py::test_complex_cpp_code \n[gw5] [ 66%] RERUN eval/tests/test_advanced_features.py::test_project_file \neval/tests/test_advanced_features.py::test_project_file \n[gw9] [ 66%] PASSED eval/tests/test_library_config.py::test_library_qt \n[gw6] [ 67%] PASSED eval/tests/test_more_coverage.py::test_complex_cpp_code \neval/tests/test_more_coverage.py::test_lambda_expressions \n[gw3] [ 67%] PASSED eval/tests/test_more_coverage.py::test_lambda_expressions \neval/tests/test_more_coverage.py::test_initializer_lists \neval/tests/test_more_coverage.py::test_range_based_for \neval/tests/test_more_coverage.py::test_move_semantics \n[gw9] [ 68%] PASSED eval/tests/test_more_coverage.py::test_initializer_lists \n[gw4] [ 68%] PASSED eval/tests/test_more_coverage.py::test_move_semantics \n[gw0] [ 69%] PASSED eval/tests/test_more_coverage.py::test_range_based_for \neval/tests/test_more_coverage.py::test_nullptr_usage \n[gw1] [ 69%] RERUN eval/tests/test_additional_coverage.py::test_cppcheck_build_dir \neval/tests/test_additional_coverage.py::test_cppcheck_build_dir \n[gw6] [ 70%] PASSED eval/tests/test_more_coverage.py::test_nullptr_usage \neval/tests/test_more_coverage.py::test_auto_keyword \n[gw3] [ 70%] PASSED eval/tests/test_more_coverage.py::test_auto_keyword \neval/tests/test_more_coverage.py::test_static_assert \neval/tests/test_more_coverage.py::test_constexpr \neval/tests/test_more_coverage.py::test_enum_class \n[gw9] [ 71%] PASSED eval/tests/test_more_coverage.py::test_static_assert \n[gw0] [ 71%] PASSED eval/tests/test_more_coverage.py::test_constexpr \n[gw4] [ 72%] PASSED eval/tests/test_more_coverage.py::test_enum_class \neval/tests/test_more_coverage.py::test_override_final \n[gw6] [ 72%] PASSED eval/tests/test_more_coverage.py::test_override_final \neval/tests/test_more_coverage.py::test_thread_local \n[gw3] [ 73%] PASSED eval/tests/test_more_coverage.py::test_thread_local \neval/tests/test_more_coverage.py::test_exception_handling \neval/tests/test_more_coverage.py::test_attributes \neval/tests/test_more_coverage.py::test_smart_pointers \n[gw0] [ 73%] PASSED eval/tests/test_more_coverage.py::test_exception_handling \n[gw4] [ 74%] PASSED eval/tests/test_more_coverage.py::test_smart_pointers \n[gw9] [ 74%] PASSED eval/tests/test_more_coverage.py::test_attributes \neval/tests/test_more_coverage.py::test_raii_pattern \n[gw6] [ 75%] PASSED eval/tests/test_more_coverage.py::test_raii_pattern \neval/tests/test_more_coverage.py::test_variadic_templates \n[gw3] [ 75%] PASSED eval/tests/test_more_coverage.py::test_variadic_templates \neval/tests/test_more_coverage.py::test_array_container \neval/tests/test_more_coverage.py::test_tuple_usage \neval/tests/test_more_coverage.py::test_type_traits \n[gw4] [ 75%] PASSED eval/tests/test_more_coverage.py::test_array_container \n[gw9] [ 76%] PASSED eval/tests/test_more_coverage.py::test_type_traits \n[gw0] [ 76%] PASSED eval/tests/test_more_coverage.py::test_tuple_usage \neval/tests/test_more_coverage.py::test_unordered_containers \n[gw6] [ 77%] PASSED eval/tests/test_more_coverage.py::test_unordered_containers \neval/tests/test_output_formats.py::test_xml_output \n[gw3] [ 77%] PASSED eval/tests/test_output_formats.py::test_xml_output \neval/tests/test_output_formats.py::test_template_vs \neval/tests/test_output_formats.py::test_template_gcc \neval/tests/test_output_formats.py::test_template_custom \n[gw9] [ 78%] PASSED eval/tests/test_output_formats.py::test_template_vs \n[gw4] [ 78%] PASSED eval/tests/test_output_formats.py::test_template_gcc \n[gw0] [ 79%] PASSED eval/tests/test_output_formats.py::test_template_custom \neval/tests/test_output_formats.py::test_template_with_message \n[gw6] [ 79%] PASSED eval/tests/test_output_formats.py::test_template_with_message \neval/tests/test_output_formats.py::test_dump_option \n[gw3] [ 80%] PASSED eval/tests/test_output_formats.py::test_dump_option \neval/tests/test_output_formats.py::test_verbose_output \neval/tests/test_output_formats.py::test_showtime_summary \neval/tests/test_output_formats.py::test_quiet_suppresses_progress \n[gw9] [ 80%] PASSED eval/tests/test_output_formats.py::test_quiet_suppresses_progress \n[gw0] [ 81%] PASSED eval/tests/test_output_formats.py::test_showtime_summary \neval/tests/test_output_formats.py::test_showtime_file \n[gw4] [ 81%] PASSED eval/tests/test_output_formats.py::test_verbose_output \n[gw6] [ 82%] PASSED eval/tests/test_output_formats.py::test_showtime_file \neval/tests/test_output_formats.py::test_showtime_top5 \n[gw3] [ 82%] PASSED eval/tests/test_output_formats.py::test_showtime_top5 \neval/tests/test_parallelization.py::test_parallel_jobs_1 \neval/tests/test_parallelization.py::test_parallel_jobs_4 \neval/tests/test_parallelization.py::test_parallel_jobs_2 \n[gw9] [ 83%] PASSED eval/tests/test_parallelization.py::test_parallel_jobs_1 \n[gw4] [ 83%] PASSED eval/tests/test_parallelization.py::test_parallel_jobs_2 \n[gw0] [ 84%] PASSED eval/tests/test_parallelization.py::test_parallel_jobs_4 \neval/tests/test_preprocessing.py::test_define_macro \n[gw6] [ 84%] PASSED eval/tests/test_preprocessing.py::test_define_macro \neval/tests/test_preprocessing.py::test_define_macro_with_value \n[gw3] [ 85%] PASSED eval/tests/test_preprocessing.py::test_define_macro_with_value \neval/tests/test_preprocessing.py::test_include_path \neval/tests/test_preprocessing.py::test_force_include \neval/tests/test_preprocessing.py::test_undefine_macro \n[gw9] [ 85%] PASSED eval/tests/test_preprocessing.py::test_undefine_macro \n[gw4] [ 86%] PASSED eval/tests/test_preprocessing.py::test_force_include \n[gw0] [ 86%] PASSED eval/tests/test_preprocessing.py::test_include_path \neval/tests/test_preprocessing.py::test_preprocessor_output \n[gw6] [ 87%] PASSED eval/tests/test_preprocessing.py::test_preprocessor_output \neval/tests/test_preprocessing.py::test_check_config \n[gw3] [ 87%] PASSED eval/tests/test_preprocessing.py::test_check_config \neval/tests/test_preprocessing.py::test_fsigned_char \neval/tests/test_preprocessing.py::test_max_configs \neval/tests/test_preprocessing.py::test_force_all_configs \n[gw0] [ 87%] PASSED eval/tests/test_preprocessing.py::test_fsigned_char \n[gw4] [ 88%] PASSED eval/tests/test_preprocessing.py::test_force_all_configs \n[gw9] [ 88%] PASSED eval/tests/test_preprocessing.py::test_max_configs \neval/tests/test_preprocessing.py::test_funsigned_char \n[gw6] [ 89%] PASSED eval/tests/test_preprocessing.py::test_funsigned_char \neval/tests/test_suppressions.py::test_suppress_by_id \n[gw3] [ 89%] PASSED eval/tests/test_suppressions.py::test_suppress_by_id \neval/tests/test_suppressions.py::test_suppressions_list_file \neval/tests/test_suppressions.py::test_suppress_with_file \neval/tests/test_suppressions.py::test_suppress_with_line \n[gw9] [ 90%] PASSED eval/tests/test_suppressions.py::test_suppress_with_file \n[gw0] [ 90%] PASSED eval/tests/test_suppressions.py::test_suppress_with_line \n[gw4] [ 91%] PASSED eval/tests/test_suppressions.py::test_suppressions_list_file \neval/tests/test_suppressions.py::test_inline_suppression \n[gw6] [ 91%] PASSED eval/tests/test_suppressions.py::test_inline_suppression \neval/tests/test_suppressions.py::test_exitcode_suppressions \n[gw2] [ 92%] RERUN eval/tests/test_error_detection.py::test_detect_memory_leak \neval/tests/test_error_detection.py::test_detect_memory_leak \neval/tests/test_suppressions.py::test_wildcard_suppression \n[gw4] [ 92%] PASSED eval/tests/test_suppressions.py::test_wildcard_suppression \n[gw7] [ 93%] RERUN eval/tests/test_error_detection.py::test_detect_double_free \neval/tests/test_error_detection.py::test_detect_double_free \n[gw8] [ 93%] RERUN eval/tests/test_error_detection.py::test_syntax_error_handling \neval/tests/test_error_detection.py::test_syntax_error_handling \n[gw5] [ 93%] RERUN eval/tests/test_advanced_features.py::test_project_file \neval/tests/test_advanced_features.py::test_project_file \n[gw5] [ 93%] FAILED eval/tests/test_advanced_features.py::test_project_file \neval/tests/test_advanced_features.py::test_addon_naming \n[gw5] [ 94%] PASSED eval/tests/test_advanced_features.py::test_addon_naming \n[gw1] [ 94%] RERUN eval/tests/test_additional_coverage.py::test_cppcheck_build_dir \neval/tests/test_additional_coverage.py::test_cppcheck_build_dir \neval/tests/test_advanced_features.py::test_addon_cert \n[gw5] [ 94%] PASSED eval/tests/test_advanced_features.py::test_addon_cert \n[gw1] [ 94%] FAILED eval/tests/test_additional_coverage.py::test_cppcheck_build_dir \neval/tests/test_additional_coverage.py::test_platform_win64 \n[gw1] [ 95%] PASSED eval/tests/test_additional_coverage.py::test_platform_win64 \neval/tests/test_advanced_features.py::test_addon_misra \n[gw5] [ 95%] PASSED eval/tests/test_advanced_features.py::test_addon_misra \neval/tests/test_additional_coverage.py::test_force_with_multiple_configs \n[gw1] [ 96%] PASSED eval/tests/test_additional_coverage.py::test_force_with_multiple_configs \neval/tests/test_advanced_features.py::test_addon_python_interpreter \n[gw5] [ 96%] PASSED eval/tests/test_advanced_features.py::test_addon_python_interpreter \neval/tests/test_additional_coverage.py::test_missingInclude_check \n[gw1] [ 97%] PASSED eval/tests/test_additional_coverage.py::test_missingInclude_check \n[gw2] [ 97%] RERUN eval/tests/test_error_detection.py::test_detect_memory_leak \neval/tests/test_error_detection.py::test_detect_memory_leak \n[gw3] [ 97%] RERUN eval/tests/test_suppressions.py::test_exitcode_suppressions \neval/tests/test_suppressions.py::test_exitcode_suppressions \n[gw2] [ 97%] FAILED eval/tests/test_error_detection.py::test_detect_memory_leak \neval/tests/test_error_detection.py::test_detect_buffer_overflow \n[gw2] [ 98%] PASSED eval/tests/test_error_detection.py::test_detect_buffer_overflow \neval/tests/test_error_detection.py::test_detect_division_by_zero \n[gw2] [ 98%] PASSED eval/tests/test_error_detection.py::test_detect_division_by_zero \n[gw7] [ 98%] RERUN eval/tests/test_error_detection.py::test_detect_double_free \neval/tests/test_error_detection.py::test_detect_double_free \n[gw7] [ 98%] FAILED eval/tests/test_error_detection.py::test_detect_double_free \neval/tests/test_error_detection.py::test_detect_use_after_free \n[gw8] [ 98%] RERUN eval/tests/test_error_detection.py::test_syntax_error_handling \neval/tests/test_error_detection.py::test_syntax_error_handling \n[gw8] [ 98%] FAILED eval/tests/test_error_detection.py::test_syntax_error_handling \neval/tests/test_file_handling.py::test_file_list \n[gw8] [ 99%] PASSED eval/tests/test_file_handling.py::test_file_list \neval/tests/test_file_handling.py::test_file_list_stdin \n[gw8] [ 99%] PASSED eval/tests/test_file_handling.py::test_file_list_stdin \n[gw3] [ 99%] RERUN eval/tests/test_suppressions.py::test_exitcode_suppressions \neval/tests/test_suppressions.py::test_exitcode_suppressions \n[gw3] [ 99%] FAILED eval/tests/test_suppressions.py::test_exitcode_suppressions \n[gw7] [100%] RERUN eval/tests/test_error_detection.py::test_detect_use_after_free \neval/tests/test_error_detection.py::test_detect_use_after_free \n[gw7] [100%] RERUN eval/tests/test_error_detection.py::test_detect_use_after_free \neval/tests/test_error_detection.py::test_detect_use_after_free \n[gw7] [100%] FAILED eval/tests/test_error_detection.py::test_detect_use_after_free \n\n=================================== FAILURES ===================================\n______________________________ test_project_file _______________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_project_file():\n \"\"\"Test --project option with compile_commands.json.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"int main() { return 0; }\")\n compile_commands = [\n {\n \"directory\": tf.tempdir,\n \"command\": f\"gcc -c {test_file}\",\n \"file\": str(test_file)\n }\n ]\n project_file = tf.create(\"compile_commands.json\",\n json.dumps(compile_commands, indent=2))\n result = run(\"--project=\" + str(project_file))\n> assert result.returncode == 0\nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '--project=/tmp/tmpaa3idn6_/compile_commands.json'], returncode=1, stdout=b\"cppcheck: error: failed to load project '/tmp/tmpaa3idn6_/compile_commands.json'. Project files are not supported.\\n\", stderr=b'').returncode\n\neval/tests/test_advanced_features.py:84: AssertionError\n___________________________ test_cppcheck_build_dir ____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_cppcheck_build_dir():\n \"\"\"Test --cppcheck-build-dir option.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"int main() { return 0; }\")\n builddir = Path(tf.tempdir) / \"builddir\"\n builddir.mkdir()\n result = run(\"--cppcheck-build-dir=\" + str(builddir), str(test_file))\n assert result.returncode == 0\n assert b\"Checking\" in result.stdout\n # Build dir should have some files\n> assert len(list(builddir.iterdir())) > 0\nE AssertionError: assert 0 > 0\nE + where 0 = len([])\nE + where [] = list()\nE + where = iterdir()\nE + where iterdir = PosixPath('/tmp/tmp8qrzwcm0/builddir').iterdir\n\neval/tests/test_additional_coverage.py:144: AssertionError\n___________________________ test_detect_memory_leak ____________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_detect_memory_leak():\n \"\"\"Test detection of memory leak.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"\"\"\n #include \n int main() {\n int *p = malloc(10 * sizeof(int));\n return 0;\n }\n \"\"\")\n result = run(str(test_file))\n assert result.returncode == 0\n> assert b\"memleak\" in result.stderr or b\"leak\" in result.stderr.lower()\nE AssertionError: assert (b'memleak' in b'' or b'leak' in b'')\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmp107e1_m2/test.c'], returncode=0, stdout=b'Checking /tmp/tmp107e1_m2/test.c ...\\n', stderr=b'').stderr\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmp107e1_m2/test.c'], returncode=0, stdout=b'Checking /tmp/tmp107e1_m2/test.c ...\\n', stderr=b'').stderr\n\neval/tests/test_error_detection.py:76: AssertionError\n___________________________ test_detect_double_free ____________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_detect_double_free():\n \"\"\"Test detection of double free.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"\"\"\n #include \n int main() {\n int *p = malloc(sizeof(int));\n free(p);\n free(p);\n return 0;\n }\n \"\"\")\n result = run(str(test_file))\n assert result.returncode == 0\n> assert b\"double\" in result.stderr.lower() or b\"free\" in result.stderr.lower() or b\"Checking\" in result.stderr\nE AssertionError: assert (b'double' in b'' or b'free' in b'' or b'Checking' in b'')\nE + where b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmp1d1rl2tz/test.c'], returncode=0, stdout=b'Checking /tmp/tmp1d1rl2tz/test.c ...\\n', stderr=b'').stderr\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmp1d1rl2tz/test.c'], returncode=0, stdout=b'Checking /tmp/tmp1d1rl2tz/test.c ...\\n', stderr=b'').stderr\nE + and b'' = CompletedProcess(args=['./executable', '/tmp/tmp1d1rl2tz/test.c'], returncode=0, stdout=b'Checking /tmp/tmp1d1rl2tz/test.c ...\\n', stderr=b'').stderr\n\neval/tests/test_error_detection.py:134: AssertionError\n__________________________ test_syntax_error_handling __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_syntax_error_handling():\n \"\"\"Test handling of syntax errors.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"\"\"\n int main() {\n int x = ; // syntax error\n return 0;\n }\n \"\"\")\n result = run(str(test_file))\n # Should complete even with syntax errors\n assert result.returncode in [0, 1]\n> assert len(result.stderr) > 0\nE AssertionError: assert 0 > 0\nE + where 0 = len(b'')\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmpu42ovoeh/test.c'], returncode=0, stdout=b'Checking /tmp/tmpu42ovoeh/test.c ...\\n', stderr=b'').stderr\n\neval/tests/test_error_detection.py:165: AssertionError\n__________________________ test_exitcode_suppressions __________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_exitcode_suppressions():\n \"\"\"Test --exitcode-suppressions to prevent exit code change.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"\"\"\n int main() {\n int x;\n return x;\n }\n \"\"\")\n suppressions = tf.create(\"exitcode-suppr.txt\", \"uninitvar\\n\")\n result = run(\"--error-exitcode=5\", \"--exitcode-suppressions=\" + str(suppressions),\n str(test_file))\n # Even with error, exit code should be 0 due to exitcode-suppression\n> assert result.returncode == 0\nE AssertionError: assert 5 == 0\nE + where 5 = CompletedProcess(args=['./executable', '--error-exitcode=5', '--exitcode-suppressions=/tmp/tmp6uzy74f5/exitcode-suppr.txt', '/tmp/tmp6uzy74f5/test.c'], returncode=5, stdout=b'Checking /tmp/tmp6uzy74f5/test.c ...\\n', stderr=b'/tmp/tmp6uzy74f5/test.c:4:12: error: Uninitialized variable: x [uninitvar]\\n return x;\\n ^\\n').returncode\n\neval/tests/test_suppressions.py:118: AssertionError\n__________________________ test_detect_use_after_free __________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\n\n def test_detect_use_after_free():\n \"\"\"Test detection of use after free.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"\"\"\n #include \n int main() {\n int *p = malloc(sizeof(int));\n free(p);\n *p = 5;\n return 0;\n }\n \"\"\")\n result = run(str(test_file))\n assert result.returncode == 0\n> assert len(result.stderr) > 0\nE AssertionError: assert 0 > 0\nE + where 0 = len(b'')\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmph1xg0o3r/test.c'], returncode=0, stdout=b'Checking /tmp/tmph1xg0o3r/test.c ...\\n', stderr=b'').stderr\n\neval/tests/test_error_detection.py:150: AssertionError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_advanced_features.py::test_project_file - assert 1 == 0\nFAILED eval/tests/test_additional_coverage.py::test_cppcheck_build_dir - Asse...\nFAILED eval/tests/test_error_detection.py::test_detect_memory_leak - Assertio...\nFAILED eval/tests/test_error_detection.py::test_detect_double_free - Assertio...\nFAILED eval/tests/test_error_detection.py::test_syntax_error_handling - Asser...\nFAILED eval/tests/test_suppressions.py::test_exitcode_suppressions - Assertio...\nFAILED eval/tests/test_error_detection.py::test_detect_use_after_free - Asser...\n=================== 7 failed, 201 passed, 14 rerun in 5.23s ====================\n", "returncode": 1, "exception_info": ""}, {"step": "results_read", "command": "docker cp 1f8226baf382e0c36acbe79e1eb652b96edab79761be75fdf25035143e36e5fc:/workspace/eval/results.xml /tmp/tmp_30f7fa1.xml", "wall_time": 0.011691192999990108, "output": "def test_project_file():\n \"\"\"Test --project option with compile_commands.json.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"int main() { return 0; }\")\n compile_commands = [\n {\n \"directory\": tf.tempdir,\n \"command\": f\"gcc -c {test_file}\",\n \"file\": str(test_file)\n }\n ]\n project_file = tf.create(\"compile_commands.json\",\n json.dumps(compile_commands, indent=2))\n result = run(\"--project=\" + str(project_file))\n> assert result.returncode == 0\nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '--project=/tmp/tmpaa3idn6_/compile_commands.json'], returncode=1, stdout=b\"cppcheck: error: failed to load project '/tmp/tmpaa3idn6_/compile_commands.json'. Project files are not supported.\\n\", stderr=b'').returncode\n\neval/tests/test_advanced_features.py:84: AssertionErrordef test_cppcheck_build_dir():\n \"\"\"Test --cppcheck-build-dir option.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"int main() { return 0; }\")\n builddir = Path(tf.tempdir) / \"builddir\"\n builddir.mkdir()\n result = run(\"--cppcheck-build-dir=\" + str(builddir), str(test_file))\n assert result.returncode == 0\n assert b\"Checking\" in result.stdout\n # Build dir should have some files\n> assert len(list(builddir.iterdir())) > 0\nE AssertionError: assert 0 > 0\nE + where 0 = len([])\nE + where [] = list(<generator object Path.iterdir at 0x7f043064a650>)\nE + where <generator object Path.iterdir at 0x7f043064a650> = iterdir()\nE + where iterdir = PosixPath('/tmp/tmp8qrzwcm0/builddir').iterdir\n\neval/tests/test_additional_coverage.py:144: AssertionErrordef test_detect_memory_leak():\n \"\"\"Test detection of memory leak.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"\"\"\n #include <stdlib.h>\n int main() {\n int *p = malloc(10 * sizeof(int));\n return 0;\n }\n \"\"\")\n result = run(str(test_file))\n assert result.returncode == 0\n> assert b\"memleak\" in result.stderr or b\"leak\" in result.stderr.lower()\nE AssertionError: assert (b'memleak' in b'' or b'leak' in b'')\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmp107e1_m2/test.c'], returncode=0, stdout=b'Checking /tmp/tmp107e1_m2/test.c ...\\n', stderr=b'').stderr\nE + and b'' = <built-in method lower of bytes object at 0x7fb785674030>()\nE + where <built-in method lower of bytes object at 0x7fb785674030> = b''.lower\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmp107e1_m2/test.c'], returncode=0, stdout=b'Checking /tmp/tmp107e1_m2/test.c ...\\n', stderr=b'').stderr\n\neval/tests/test_error_detection.py:76: AssertionErrordef test_detect_double_free():\n \"\"\"Test detection of double free.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"\"\"\n #include <stdlib.h>\n int main() {\n int *p = malloc(sizeof(int));\n free(p);\n free(p);\n return 0;\n }\n \"\"\")\n result = run(str(test_file))\n assert result.returncode == 0\n> assert b\"double\" in result.stderr.lower() or b\"free\" in result.stderr.lower() or b\"Checking\" in result.stderr\nE AssertionError: assert (b'double' in b'' or b'free' in b'' or b'Checking' in b'')\nE + where b'' = <built-in method lower of bytes object at 0x7f116694c030>()\nE + where <built-in method lower of bytes object at 0x7f116694c030> = b''.lower\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmp1d1rl2tz/test.c'], returncode=0, stdout=b'Checking /tmp/tmp1d1rl2tz/test.c ...\\n', stderr=b'').stderr\nE + and b'' = <built-in method lower of bytes object at 0x7f116694c030>()\nE + where <built-in method lower of bytes object at 0x7f116694c030> = b''.lower\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmp1d1rl2tz/test.c'], returncode=0, stdout=b'Checking /tmp/tmp1d1rl2tz/test.c ...\\n', stderr=b'').stderr\nE + and b'' = CompletedProcess(args=['./executable', '/tmp/tmp1d1rl2tz/test.c'], returncode=0, stdout=b'Checking /tmp/tmp1d1rl2tz/test.c ...\\n', stderr=b'').stderr\n\neval/tests/test_error_detection.py:134: AssertionErrordef test_syntax_error_handling():\n \"\"\"Test handling of syntax errors.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"\"\"\n int main() {\n int x = ; // syntax error\n return 0;\n }\n \"\"\")\n result = run(str(test_file))\n # Should complete even with syntax errors\n assert result.returncode in [0, 1]\n> assert len(result.stderr) > 0\nE AssertionError: assert 0 > 0\nE + where 0 = len(b'')\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmpu42ovoeh/test.c'], returncode=0, stdout=b'Checking /tmp/tmpu42ovoeh/test.c ...\\n', stderr=b'').stderr\n\neval/tests/test_error_detection.py:165: AssertionErrordef test_exitcode_suppressions():\n \"\"\"Test --exitcode-suppressions to prevent exit code change.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"\"\"\n int main() {\n int x;\n return x;\n }\n \"\"\")\n suppressions = tf.create(\"exitcode-suppr.txt\", \"uninitvar\\n\")\n result = run(\"--error-exitcode=5\", \"--exitcode-suppressions=\" + str(suppressions),\n str(test_file))\n # Even with error, exit code should be 0 due to exitcode-suppression\n> assert result.returncode == 0\nE AssertionError: assert 5 == 0\nE + where 5 = CompletedProcess(args=['./executable', '--error-exitcode=5', '--exitcode-suppressions=/tmp/tmp6uzy74f5/exitcode-suppr.txt', '/tmp/tmp6uzy74f5/test.c'], returncode=5, stdout=b'Checking /tmp/tmp6uzy74f5/test.c ...\\n', stderr=b'/tmp/tmp6uzy74f5/test.c:4:12: error: Uninitialized variable: x [uninitvar]\\n return x;\\n ^\\n').returncode\n\neval/tests/test_suppressions.py:118: AssertionErrordef test_detect_use_after_free():\n \"\"\"Test detection of use after free.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"\"\"\n #include <stdlib.h>\n int main() {\n int *p = malloc(sizeof(int));\n free(p);\n *p = 5;\n return 0;\n }\n \"\"\")\n result = run(str(test_file))\n assert result.returncode == 0\n> assert len(result.stderr) > 0\nE AssertionError: assert 0 > 0\nE + where 0 = len(b'')\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmph1xg0o3r/test.c'], returncode=0, stdout=b'Checking /tmp/tmph1xg0o3r/test.c ...\\n', stderr=b'').stderr\n\neval/tests/test_error_detection.py:150: AssertionError", "returncode": 0, "exception_info": "", "branch": "920f2c41e995"}, {"step": "restore_executable", "command": "rm -f ./executable && mv /opt/programbench-stashed-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.1273921039999948, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum ./executable", "wall_time": 0.05296588200002361, "output": "0003df32077cb123ab829f29b59141e37fecd31af40e535ce315d12dd7fbfaea ./executable\n", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.042363472999994656, "output": "", "returncode": 0, "exception_info": ""}, {"step": "patch_timeout_method", "command": "test -f eval/run.sh && sed -i 's/--timeout-method=thread/--timeout-method=signal/g' eval/run.sh || true", "wall_time": 0.041535285000009026, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "export PYTEST_ADDOPTS=\"$PYTEST_ADDOPTS --reruns=2 --reruns-delay=1\" && chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 2724.997855559, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace/eval\nplugins: timeout-2.4.0, rerunfailures-16.7, libtmux-0.58.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 30.0s\ntimeout method: signal\ntimeout func_only: False\ncreated: 10/10 workers\n10 workers [1816 items]\n\nscheduling tests via LoadScheduling\n\ntests/test_checkbufferoverrun_gaps.py::test_three_dimensional_array_overflow \ntests/test_checkassert_gaps.py::test_assignment_in_assert \ntests/test_checkautovariables_gaps.py::test_return_const_pointer_to_local \ntests/test_checkfunctions_gaps.py::test_all_log_function_variants \ntests/test_checkio_gaps_round2.py::test_fread_on_write_only_file \ntests/test_checkmemoryleak_gaps.py::test_open_fd_leak \ntests/test_checkclass_gaps_round2.py::test_struct_without_constructor_messaging \ntests/test_checkio_gaps_round2.py::test_fgetpos_on_closed_file \ntests/test_checkother_part2.py::test_overlapping_write_union \ntests/test_checkio_round3.py::test_printf_L_modifier_double_not_long_double \n[gw8] [ 0%] SKIPPED tests/test_checkmemoryleak_gaps.py::test_open_fd_leak \n[gw1] [ 0%] PASSED tests/test_checkautovariables_gaps.py::test_return_const_pointer_to_local \ntests/test_checkmemoryleak_gaps.py::test_pipe_popen_leak \n[gw8] [ 0%] SKIPPED tests/test_checkmemoryleak_gaps.py::test_pipe_popen_leak \ntests/test_checkautovariables_gaps.py::test_nested_pointer_levels \ntests/test_checkmemoryleak_gaps.py::test_new_array_no_delete \n[gw8] [ 0%] PASSED tests/test_checkmemoryleak_gaps.py::test_new_array_no_delete \ntests/test_checkmemoryleak_gaps.py::test_new_scalar_no_delete \n[gw8] [ 0%] PASSED tests/test_checkmemoryleak_gaps.py::test_new_scalar_no_delete \ntests/test_checkmemoryleak_gaps.py::test_malloc_reassignment_leak \n[gw0] [ 0%] RERUN tests/test_checkassert_gaps.py::test_assignment_in_assert \ntests/test_checkassert_gaps.py::test_assignment_in_assert \n[gw4] [ 0%] RERUN tests/test_checkfunctions_gaps.py::test_all_log_function_variants \ntests/test_checkfunctions_gaps.py::test_all_log_function_variants \n[gw2] [ 0%] RERUN tests/test_checkbufferoverrun_gaps.py::test_three_dimensional_array_overflow \n[gw3] [ 0%] RERUN tests/test_checkclass_gaps_round2.py::test_struct_without_constructor_messaging \ntests/test_checkclass_gaps_round2.py::test_struct_without_constructor_messaging \ntests/test_checkbufferoverrun_gaps.py::test_three_dimensional_array_overflow \n[gw7] [ 0%] RERUN tests/test_checkio_round3.py::test_printf_L_modifier_double_not_long_double \ntests/test_checkio_round3.py::test_printf_L_modifier_double_not_long_double \n[gw5] [ 0%] RERUN tests/test_checkio_gaps_round2.py::test_fread_on_write_only_file \ntests/test_checkio_gaps_round2.py::test_fread_on_write_only_file \n[gw6] [ 0%] RERUN tests/test_checkio_gaps_round2.py::test_fgetpos_on_closed_file \ntests/test_checkio_gaps_round2.py::test_fgetpos_on_closed_file \n[gw9] [ 0%] RERUN tests/test_checkother_part2.py::test_overlapping_write_union \ntests/test_checkother_part2.py::test_overlapping_write_union \n[gw1] [ 0%] RERUN tests/test_checkautovariables_gaps.py::test_nested_pointer_levels \ntests/test_checkautovariables_gaps.py::test_nested_pointer_levels \n[gw8] [ 0%] RERUN tests/test_checkmemoryleak_gaps.py::test_malloc_reassignment_leak \ntests/test_checkmemoryleak_gaps.py::test_malloc_reassignment_leak \n[gw0] [ 0%] RERUN tests/test_checkassert_gaps.py::test_assignment_in_assert \ntests/test_checkassert_gaps.py::test_assignment_in_assert \n[gw3] [ 0%] RERUN tests/test_checkclass_gaps_round2.py::test_struct_without_constructor_messaging \ntests/test_checkclass_gaps_round2.py::test_struct_without_constructor_messaging \n[gw4] [ 0%] RERUN tests/test_checkfunctions_gaps.py::test_all_log_function_variants \ntests/test_checkfunctions_gaps.py::test_all_log_function_variants \n[gw2] [ 0%] RERUN tests/test_checkbufferoverrun_gaps.py::test_three_dimensional_array_overflow \ntests/test_checkbufferoverrun_gaps.py::test_three_dimensional_array_overflow \n[gw5] [ 0%] RERUN tests/test_checkio_gaps_round2.py::test_fread_on_write_only_file \ntests/test_checkio_gaps_round2.py::test_fread_on_write_only_file \n[gw0] [ 0%] FAILED tests/test_checkassert_gaps.py::test_assignment_in_assert \n[gw6] [ 0%] RERUN tests/test_checkio_gaps_round2.py::test_fgetpos_on_closed_file \ntests/test_checkio_gaps_round2.py::test_fgetpos_on_closed_file \ntests/test_checkassert_gaps.py::test_increment_operator_in_assert \n[gw3] [ 0%] FAILED tests/test_checkclass_gaps_round2.py::test_struct_without_constructor_messaging \ntests/test_checkclass_gaps_round2.py::test_struct_explicit_constructor_messaging \n[gw4] [ 0%] FAILED tests/test_checkfunctions_gaps.py::test_all_log_function_variants \ntests/test_checkfunctions_gaps.py::test_math_with_evaluated_expressions \n[gw9] [ 0%] RERUN tests/test_checkother_part2.py::test_overlapping_write_union \n[gw2] [ 0%] FAILED tests/test_checkbufferoverrun_gaps.py::test_three_dimensional_array_overflow \ntests/test_checkother_part2.py::test_overlapping_write_union \n[gw7] [ 0%] RERUN tests/test_checkio_round3.py::test_printf_L_modifier_double_not_long_double \ntests/test_checkclass_gaps.py::test_missing_copy_constructor_with_dynamic_memory \ntests/test_checkio_round3.py::test_printf_L_modifier_double_not_long_double \n[gw3] [ 0%] PASSED tests/test_checkclass_gaps_round2.py::test_struct_explicit_constructor_messaging \n[gw6] [ 0%] FAILED tests/test_checkio_gaps_round2.py::test_fgetpos_on_closed_file \ntests/test_checkio_gaps_round2.py::test_fsetpos_on_closed_file \n[gw9] [ 0%] FAILED tests/test_checkother_part2.py::test_overlapping_write_union \ntests/test_checkother_part2.py::test_overlapping_write_memcpy_same_buffer \n[gw7] [ 0%] FAILED tests/test_checkio_round3.py::test_printf_L_modifier_double_not_long_double \ntests/test_checkio_round3.py::test_printf_L_modifier_float_not_long_double \n[gw5] [ 0%] FAILED tests/test_checkio_gaps_round2.py::test_fread_on_write_only_file \ntests/test_checkio_gaps_round2.py::test_fwrite_on_read_only_file \n[gw1] [ 0%] RERUN tests/test_checkautovariables_gaps.py::test_nested_pointer_levels \ntests/test_checkautovariables_gaps.py::test_nested_pointer_levels \n[gw1] [ 0%] FAILED tests/test_checkautovariables_gaps.py::test_nested_pointer_levels \ntests/test_checkautovariables_gaps.py::test_array_decay_assignment \ntests/test_checkcondition_gaps.py::test_assignif_bitmask_mismatch \n[gw3] [ 0%] PASSED tests/test_checkcondition_gaps.py::test_assignif_bitmask_mismatch \ntests/test_checkcondition_gaps.py::test_assignif_zero_result_or_check \n[gw8] [ 0%] RERUN tests/test_checkmemoryleak_gaps.py::test_malloc_reassignment_leak \ntests/test_checkmemoryleak_gaps.py::test_malloc_reassignment_leak \n[gw8] [ 0%] FAILED tests/test_checkmemoryleak_gaps.py::test_malloc_reassignment_leak \ntests/test_checkmemoryleak_gaps.py::test_realloc_without_checking_null \n[gw0] [ 0%] RERUN tests/test_checkassert_gaps.py::test_increment_operator_in_assert \ntests/test_checkassert_gaps.py::test_increment_operator_in_assert \n[gw4] [ 1%] RERUN tests/test_checkfunctions_gaps.py::test_math_with_evaluated_expressions \ntests/test_checkfunctions_gaps.py::test_math_with_evaluated_expressions \n[gw2] [ 1%] RERUN tests/test_checkclass_gaps.py::test_missing_copy_constructor_with_dynamic_memory \ntests/test_checkclass_gaps.py::test_missing_copy_constructor_with_dynamic_memory \n[gw6] [ 1%] RERUN tests/test_checkio_gaps_round2.py::test_fsetpos_on_closed_file \ntests/test_checkio_gaps_round2.py::test_fsetpos_on_closed_file \n[gw9] [ 1%] RERUN tests/test_checkother_part2.py::test_overlapping_write_memcpy_same_buffer \ntests/test_checkother_part2.py::test_overlapping_write_memcpy_same_buffer \n[gw7] [ 1%] RERUN tests/test_checkio_round3.py::test_printf_L_modifier_float_not_long_double \ntests/test_checkio_round3.py::test_printf_L_modifier_float_not_long_double \n[gw5] [ 1%] RERUN tests/test_checkio_gaps_round2.py::test_fwrite_on_read_only_file \ntests/test_checkio_gaps_round2.py::test_fwrite_on_read_only_file \n[gw1] [ 1%] RERUN tests/test_checkautovariables_gaps.py::test_array_decay_assignment \ntests/test_checkautovariables_gaps.py::test_array_decay_assignment \n[gw3] [ 1%] RERUN tests/test_checkcondition_gaps.py::test_assignif_zero_result_or_check \ntests/test_checkcondition_gaps.py::test_assignif_zero_result_or_check \n[gw8] [ 1%] RERUN tests/test_checkmemoryleak_gaps.py::test_realloc_without_checking_null \ntests/test_checkmemoryleak_gaps.py::test_realloc_without_checking_null \n[gw0] [ 1%] RERUN tests/test_checkassert_gaps.py::test_increment_operator_in_assert \ntests/test_checkassert_gaps.py::test_increment_operator_in_assert \n[gw4] [ 1%] RERUN tests/test_checkfunctions_gaps.py::test_math_with_evaluated_expressions \ntests/test_checkfunctions_gaps.py::test_math_with_evaluated_expressions \n[gw2] [ 1%] RERUN tests/test_checkclass_gaps.py::test_missing_copy_constructor_with_dynamic_memory \ntests/test_checkclass_gaps.py::test_missing_copy_constructor_with_dynamic_memory \n[gw0] [ 1%] FAILED tests/test_checkassert_gaps.py::test_increment_operator_in_assert \ntests/test_checkassert_gaps.py::test_decrement_operator_in_assert \n[gw4] [ 1%] FAILED tests/test_checkfunctions_gaps.py::test_math_with_evaluated_expressions \ntests/test_checkfunctions_gaps.py::test_memset_multiple_buffer_types \n[gw9] [ 1%] RERUN tests/test_checkother_part2.py::test_overlapping_write_memcpy_same_buffer \ntests/test_checkother_part2.py::test_overlapping_write_memcpy_same_buffer \n[gw2] [ 1%] FAILED tests/test_checkclass_gaps.py::test_missing_copy_constructor_with_dynamic_memory \n[gw6] [ 1%] RERUN tests/test_checkio_gaps_round2.py::test_fsetpos_on_closed_file \ntests/test_checkio_gaps_round2.py::test_fsetpos_on_closed_file \ntests/test_checkclass_gaps.py::test_self_assignment_in_operator_equals \n[gw7] [ 1%] RERUN tests/test_checkio_round3.py::test_printf_L_modifier_float_not_long_double \ntests/test_checkio_round3.py::test_printf_L_modifier_float_not_long_double \n[gw5] [ 1%] RERUN tests/test_checkio_gaps_round2.py::test_fwrite_on_read_only_file \ntests/test_checkio_gaps_round2.py::test_fwrite_on_read_only_file \n[gw9] [ 1%] FAILED tests/test_checkother_part2.py::test_overlapping_write_memcpy_same_buffer \ntests/test_checkother_part2.py::test_invalid_free_with_offset \n[gw7] [ 1%] FAILED tests/test_checkio_round3.py::test_printf_L_modifier_float_not_long_double \ntests/test_checkio_round3.py::test_printf_L_modifier_e_format_wrong_type \n[gw5] [ 1%] FAILED tests/test_checkio_gaps_round2.py::test_fwrite_on_read_only_file \ntests/test_checkio_gaps_round2.py::test_fread_on_closed_file \n[gw6] [ 1%] FAILED tests/test_checkio_gaps_round2.py::test_fsetpos_on_closed_file \ntests/test_checkio_gaps_round2.py::test_asterisk_width_missing_argument \n[gw6] [ 1%] PASSED tests/test_checkio_gaps_round2.py::test_asterisk_width_missing_argument \n[gw1] [ 1%] RERUN tests/test_checkautovariables_gaps.py::test_array_decay_assignment \ntests/test_checkautovariables_gaps.py::test_array_decay_assignment \n[gw1] [ 1%] FAILED tests/test_checkautovariables_gaps.py::test_array_decay_assignment \ntests/test_checkautovariables_gaps.py::test_assign_local_to_global_pointer \ntests/test_checkio_gaps_round2.py::test_asterisk_precision_missing_argument \n[gw6] [ 1%] PASSED tests/test_checkio_gaps_round2.py::test_asterisk_precision_missing_argument \n[gw3] [ 1%] RERUN tests/test_checkcondition_gaps.py::test_assignif_zero_result_or_check \ntests/test_checkcondition_gaps.py::test_assignif_zero_result_or_check \n[gw3] [ 1%] FAILED tests/test_checkcondition_gaps.py::test_assignif_zero_result_or_check \ntests/test_checkcondition_gaps.py::test_duplicate_condition_same_expression \n[gw3] [ 1%] PASSED tests/test_checkcondition_gaps.py::test_duplicate_condition_same_expression \ntests/test_checkio_gaps_round2.py::test_asterisk_width_and_precision_missing_one \n[gw6] [ 1%] PASSED tests/test_checkio_gaps_round2.py::test_asterisk_width_and_precision_missing_one \ntests/test_checkcondition_gaps.py::test_overlapping_elseif_identical \n[gw3] [ 1%] PASSED tests/test_checkcondition_gaps.py::test_overlapping_elseif_identical \ntests/test_checkio_gaps_round2.py::test_asterisk_width_and_precision_missing_two \n[gw6] [ 1%] PASSED tests/test_checkio_gaps_round2.py::test_asterisk_width_and_precision_missing_two \n[gw8] [ 1%] RERUN tests/test_checkmemoryleak_gaps.py::test_realloc_without_checking_null \ntests/test_checkmemoryleak_gaps.py::test_realloc_without_checking_null \n[gw8] [ 1%] FAILED tests/test_checkmemoryleak_gaps.py::test_realloc_without_checking_null \ntests/test_checkmemoryleak_gaps.py::test_struct_member_allocation_leak \ntests/test_checkcondition_gaps.py::test_incorrect_logic_always_true_or \n[gw3] [ 1%] PASSED tests/test_checkcondition_gaps.py::test_incorrect_logic_always_true_or \ntests/test_checkio_gaps_round2.py::test_printf_percent_n_no_pointer \ntests/test_checkcondition_gaps.py::test_incorrect_logic_always_false_and \n[gw3] [ 1%] PASSED tests/test_checkcondition_gaps.py::test_incorrect_logic_always_false_and \ntests/test_checkcondition_gaps.py::test_redundant_condition_overlapping_ranges \n[gw0] [ 1%] RERUN tests/test_checkassert_gaps.py::test_decrement_operator_in_assert \ntests/test_checkassert_gaps.py::test_decrement_operator_in_assert \n[gw4] [ 2%] RERUN tests/test_checkfunctions_gaps.py::test_memset_multiple_buffer_types \ntests/test_checkfunctions_gaps.py::test_memset_multiple_buffer_types \n[gw2] [ 2%] RERUN tests/test_checkclass_gaps.py::test_self_assignment_in_operator_equals \ntests/test_checkclass_gaps.py::test_self_assignment_in_operator_equals \n[gw9] [ 2%] RERUN tests/test_checkother_part2.py::test_invalid_free_with_offset \ntests/test_checkother_part2.py::test_invalid_free_with_offset \n[gw7] [ 2%] RERUN tests/test_checkio_round3.py::test_printf_L_modifier_e_format_wrong_type \ntests/test_checkio_round3.py::test_printf_L_modifier_e_format_wrong_type \n[gw5] [ 2%] RERUN tests/test_checkio_gaps_round2.py::test_fread_on_closed_file \ntests/test_checkio_gaps_round2.py::test_fread_on_closed_file \n[gw1] [ 2%] RERUN tests/test_checkautovariables_gaps.py::test_assign_local_to_global_pointer \ntests/test_checkautovariables_gaps.py::test_assign_local_to_global_pointer \n[gw8] [ 2%] RERUN tests/test_checkmemoryleak_gaps.py::test_struct_member_allocation_leak \ntests/test_checkmemoryleak_gaps.py::test_struct_member_allocation_leak \n[gw6] [ 2%] RERUN tests/test_checkio_gaps_round2.py::test_printf_percent_n_no_pointer \ntests/test_checkio_gaps_round2.py::test_printf_percent_n_no_pointer \n[gw3] [ 2%] RERUN tests/test_checkcondition_gaps.py::test_redundant_condition_overlapping_ranges \ntests/test_checkcondition_gaps.py::test_redundant_condition_overlapping_ranges \n[gw0] [ 2%] RERUN tests/test_checkassert_gaps.py::test_decrement_operator_in_assert \ntests/test_checkassert_gaps.py::test_decrement_operator_in_assert \n[gw0] [ 2%] FAILED tests/test_checkassert_gaps.py::test_decrement_operator_in_assert \ntests/test_checkassert_gaps.py::test_compound_assignment_in_assert \n[gw2] [ 2%] RERUN tests/test_checkclass_gaps.py::test_self_assignment_in_operator_equals \ntests/test_checkclass_gaps.py::test_self_assignment_in_operator_equals \n[gw4] [ 2%] RERUN tests/test_checkfunctions_gaps.py::test_memset_multiple_buffer_types \ntests/test_checkfunctions_gaps.py::test_memset_multiple_buffer_types \n[gw9] [ 2%] RERUN tests/test_checkother_part2.py::test_invalid_free_with_offset \ntests/test_checkother_part2.py::test_invalid_free_with_offset \n[gw2] [ 2%] FAILED tests/test_checkclass_gaps.py::test_self_assignment_in_operator_equals \ntests/test_checkclass_gaps.py::test_missing_virtual_destructor_in_base_class \n[gw9] [ 2%] FAILED tests/test_checkother_part2.py::test_invalid_free_with_offset \n[gw4] [ 2%] FAILED tests/test_checkfunctions_gaps.py::test_memset_multiple_buffer_types \ntests/test_checkfunctions_gaps.py::test_math_errors_in_loops \ntests/test_checkother_part2.py::test_duplicate_expression_ternary \n[gw7] [ 2%] RERUN tests/test_checkio_round3.py::test_printf_L_modifier_e_format_wrong_type \ntests/test_checkio_round3.py::test_printf_L_modifier_e_format_wrong_type \n[gw5] [ 2%] RERUN tests/test_checkio_gaps_round2.py::test_fread_on_closed_file \ntests/test_checkio_gaps_round2.py::test_fread_on_closed_file \n[gw7] [ 2%] FAILED tests/test_checkio_round3.py::test_printf_L_modifier_e_format_wrong_type \ntests/test_checkio_round3.py::test_printf_L_modifier_g_format_wrong_type \n[gw5] [ 2%] FAILED tests/test_checkio_gaps_round2.py::test_fread_on_closed_file \ntests/test_checkio_gaps_round2.py::test_fwrite_on_closed_file \n[gw1] [ 2%] RERUN tests/test_checkautovariables_gaps.py::test_assign_local_to_global_pointer \ntests/test_checkautovariables_gaps.py::test_assign_local_to_global_pointer \n[gw1] [ 2%] FAILED tests/test_checkautovariables_gaps.py::test_assign_local_to_global_pointer \ntests/test_checkautovariables_gaps.py::test_assign_local_to_struct_member_pointer \n[gw8] [ 2%] RERUN tests/test_checkmemoryleak_gaps.py::test_struct_member_allocation_leak \ntests/test_checkmemoryleak_gaps.py::test_struct_member_allocation_leak \n[gw8] [ 2%] FAILED tests/test_checkmemoryleak_gaps.py::test_struct_member_allocation_leak \ntests/test_checkmemoryleak_gaps.py::test_struct_pointer_member_leak_on_return \n[gw6] [ 2%] RERUN tests/test_checkio_gaps_round2.py::test_printf_percent_n_no_pointer \ntests/test_checkio_gaps_round2.py::test_printf_percent_n_no_pointer \n[gw6] [ 2%] FAILED tests/test_checkio_gaps_round2.py::test_printf_percent_n_no_pointer \ntests/test_checkio_gaps_round2.py::test_scanf_percent_n_with_wrong_preceding_type \n[gw3] [ 2%] RERUN tests/test_checkcondition_gaps.py::test_redundant_condition_overlapping_ranges \ntests/test_checkcondition_gaps.py::test_redundant_condition_overlapping_ranges \n[gw3] [ 2%] FAILED tests/test_checkcondition_gaps.py::test_redundant_condition_overlapping_ranges \ntests/test_checkcondition_gaps.py::test_modulo_always_true_unsigned \n[gw0] [ 2%] RERUN tests/test_checkassert_gaps.py::test_compound_assignment_in_assert \ntests/test_checkassert_gaps.py::test_compound_assignment_in_assert \n[gw2] [ 2%] RERUN tests/test_checkclass_gaps.py::test_missing_virtual_destructor_in_base_class \ntests/test_checkclass_gaps.py::test_missing_virtual_destructor_in_base_class \n[gw9] [ 2%] RERUN tests/test_checkother_part2.py::test_duplicate_expression_ternary \ntests/test_checkother_part2.py::test_duplicate_expression_ternary \n[gw4] [ 2%] RERUN tests/test_checkfunctions_gaps.py::test_math_errors_in_loops \ntests/test_checkfunctions_gaps.py::test_math_errors_in_loops \n[gw7] [ 2%] RERUN tests/test_checkio_round3.py::test_printf_L_modifier_g_format_wrong_type \ntests/test_checkio_round3.py::test_printf_L_modifier_g_format_wrong_type \n[gw5] [ 2%] RERUN tests/test_checkio_gaps_round2.py::test_fwrite_on_closed_file \ntests/test_checkio_gaps_round2.py::test_fwrite_on_closed_file \n[gw1] [ 2%] RERUN tests/test_checkautovariables_gaps.py::test_assign_local_to_struct_member_pointer \ntests/test_checkautovariables_gaps.py::test_assign_local_to_struct_member_pointer \n[gw8] [ 2%] RERUN tests/test_checkmemoryleak_gaps.py::test_struct_pointer_member_leak_on_return \ntests/test_checkmemoryleak_gaps.py::test_struct_pointer_member_leak_on_return \n[gw6] [ 2%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_percent_n_with_wrong_preceding_type \ntests/test_checkio_gaps_round2.py::test_scanf_percent_n_with_wrong_preceding_type \n[gw3] [ 3%] RERUN tests/test_checkcondition_gaps.py::test_modulo_always_true_unsigned \ntests/test_checkcondition_gaps.py::test_modulo_always_true_unsigned \n[gw0] [ 3%] RERUN tests/test_checkassert_gaps.py::test_compound_assignment_in_assert \ntests/test_checkassert_gaps.py::test_compound_assignment_in_assert \n[gw0] [ 3%] FAILED tests/test_checkassert_gaps.py::test_compound_assignment_in_assert \ntests/test_checkassert_gaps.py::test_const_variable_in_assert_no_warning \n[gw2] [ 3%] RERUN tests/test_checkclass_gaps.py::test_missing_virtual_destructor_in_base_class \ntests/test_checkclass_gaps.py::test_missing_virtual_destructor_in_base_class \n[gw0] [ 3%] PASSED tests/test_checkassert_gaps.py::test_const_variable_in_assert_no_warning \n[gw2] [ 3%] FAILED tests/test_checkclass_gaps.py::test_missing_virtual_destructor_in_base_class \ntests/test_checkclass_gaps.py::test_uninitialized_member_variables_in_constructor \n[gw9] [ 3%] RERUN tests/test_checkother_part2.py::test_duplicate_expression_ternary \ntests/test_checkother_part2.py::test_duplicate_expression_ternary \n[gw2] [ 3%] PASSED tests/test_checkclass_gaps.py::test_uninitialized_member_variables_in_constructor \n[gw4] [ 3%] RERUN tests/test_checkfunctions_gaps.py::test_math_errors_in_loops \ntests/test_checkfunctions_gaps.py::test_math_errors_in_loops \n[gw9] [ 3%] FAILED tests/test_checkother_part2.py::test_duplicate_expression_ternary \ntests/test_checkother_part2.py::test_misused_scoped_object_lock_guard \n[gw4] [ 3%] FAILED tests/test_checkfunctions_gaps.py::test_math_errors_in_loops \ntests/test_checkio_gaps.py::test_printf_wrong_arg_count_too_few \n[gw7] [ 3%] RERUN tests/test_checkio_round3.py::test_printf_L_modifier_g_format_wrong_type \ntests/test_checkio_round3.py::test_printf_L_modifier_g_format_wrong_type \n[gw4] [ 3%] PASSED tests/test_checkio_gaps.py::test_printf_wrong_arg_count_too_few \n[gw5] [ 3%] RERUN tests/test_checkio_gaps_round2.py::test_fwrite_on_closed_file \ntests/test_checkio_gaps_round2.py::test_fwrite_on_closed_file \ntests/test_checkassert_gaps.py::test_function_modifies_global_variable \ntests/test_checkclass_gaps.py::test_unused_private_function_detection \n[gw7] [ 3%] FAILED tests/test_checkio_round3.py::test_printf_L_modifier_g_format_wrong_type \ntests/test_checkio_round3.py::test_fseek_on_append_mode_file \n[gw5] [ 3%] FAILED tests/test_checkio_gaps_round2.py::test_fwrite_on_closed_file \ntests/test_checkio_gaps_round2.py::test_printf_j_modifier_int \n[gw2] [ 3%] PASSED tests/test_checkclass_gaps.py::test_unused_private_function_detection \n[gw1] [ 3%] RERUN tests/test_checkautovariables_gaps.py::test_assign_local_to_struct_member_pointer \ntests/test_checkautovariables_gaps.py::test_assign_local_to_struct_member_pointer \ntests/test_checkio_gaps.py::test_printf_wrong_arg_count_too_many \n[gw4] [ 3%] PASSED tests/test_checkio_gaps.py::test_printf_wrong_arg_count_too_many \n[gw1] [ 3%] FAILED tests/test_checkautovariables_gaps.py::test_assign_local_to_struct_member_pointer \ntests/test_checkbool_gaps.py::test_increment_boolean \n[gw1] [ 3%] PASSED tests/test_checkbool_gaps.py::test_increment_boolean \ntests/test_checkclass_gaps.py::test_duplicate_inherited_member_warning \ntests/test_checkio_gaps.py::test_printf_wrong_arg_count_none \n[gw4] [ 3%] PASSED tests/test_checkio_gaps.py::test_printf_wrong_arg_count_none \ntests/test_checkbool_gaps.py::test_bitwise_on_boolean_and \ntests/test_checkio_gaps.py::test_printf_type_mismatch_string_int \n[gw8] [ 3%] RERUN tests/test_checkmemoryleak_gaps.py::test_struct_pointer_member_leak_on_return \ntests/test_checkmemoryleak_gaps.py::test_struct_pointer_member_leak_on_return \n[gw8] [ 3%] FAILED tests/test_checkmemoryleak_gaps.py::test_struct_pointer_member_leak_on_return \ntests/test_checkmemoryleak_gaps.py::test_unused_allocation_return_value \n[gw6] [ 3%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_percent_n_with_wrong_preceding_type \ntests/test_checkio_gaps_round2.py::test_scanf_percent_n_with_wrong_preceding_type \n[gw6] [ 3%] FAILED tests/test_checkio_gaps_round2.py::test_scanf_percent_n_with_wrong_preceding_type \ntests/test_checkio_gaps_round2.py::test_scanf_field_width_overflow \n[gw3] [ 3%] RERUN tests/test_checkcondition_gaps.py::test_modulo_always_true_unsigned \ntests/test_checkcondition_gaps.py::test_modulo_always_true_unsigned \n[gw3] [ 3%] FAILED tests/test_checkcondition_gaps.py::test_modulo_always_true_unsigned \ntests/test_checkcondition_gaps.py::test_modulo_always_false_unsigned \n[gw9] [ 3%] RERUN tests/test_checkother_part2.py::test_misused_scoped_object_lock_guard \ntests/test_checkother_part2.py::test_misused_scoped_object_lock_guard \n[gw0] [ 3%] RERUN tests/test_checkassert_gaps.py::test_function_modifies_global_variable \ntests/test_checkassert_gaps.py::test_function_modifies_global_variable \n[gw7] [ 3%] RERUN tests/test_checkio_round3.py::test_fseek_on_append_mode_file \ntests/test_checkio_round3.py::test_fseek_on_append_mode_file \n[gw5] [ 3%] RERUN tests/test_checkio_gaps_round2.py::test_printf_j_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_j_modifier_int \n[gw2] [ 3%] RERUN tests/test_checkclass_gaps.py::test_duplicate_inherited_member_warning \ntests/test_checkclass_gaps.py::test_duplicate_inherited_member_warning \n[gw1] [ 3%] RERUN tests/test_checkbool_gaps.py::test_bitwise_on_boolean_and \ntests/test_checkbool_gaps.py::test_bitwise_on_boolean_and \n[gw4] [ 3%] RERUN tests/test_checkio_gaps.py::test_printf_type_mismatch_string_int \ntests/test_checkio_gaps.py::test_printf_type_mismatch_string_int \n[gw8] [ 3%] RERUN tests/test_checkmemoryleak_gaps.py::test_unused_allocation_return_value \ntests/test_checkmemoryleak_gaps.py::test_unused_allocation_return_value \n[gw6] [ 3%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_field_width_overflow \ntests/test_checkio_gaps_round2.py::test_scanf_field_width_overflow \n[gw3] [ 3%] RERUN tests/test_checkcondition_gaps.py::test_modulo_always_false_unsigned \ntests/test_checkcondition_gaps.py::test_modulo_always_false_unsigned \n[gw9] [ 3%] RERUN tests/test_checkother_part2.py::test_misused_scoped_object_lock_guard \ntests/test_checkother_part2.py::test_misused_scoped_object_lock_guard \n[gw9] [ 3%] FAILED tests/test_checkother_part2.py::test_misused_scoped_object_lock_guard \ntests/test_checkother_part2.py::test_unsigned_less_than_zero \n[gw9] [ 4%] PASSED tests/test_checkother_part2.py::test_unsigned_less_than_zero \n[gw0] [ 4%] RERUN tests/test_checkassert_gaps.py::test_function_modifies_global_variable \ntests/test_checkassert_gaps.py::test_function_modifies_global_variable \n[gw7] [ 4%] RERUN tests/test_checkio_round3.py::test_fseek_on_append_mode_file \ntests/test_checkio_round3.py::test_fseek_on_append_mode_file \n[gw0] [ 4%] FAILED tests/test_checkassert_gaps.py::test_function_modifies_global_variable \ntests/test_checkassert_gaps.py::test_nonconst_member_function_no_body \n[gw5] [ 4%] RERUN tests/test_checkio_gaps_round2.py::test_printf_j_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_j_modifier_int \n[gw7] [ 4%] FAILED tests/test_checkio_round3.py::test_fseek_on_append_mode_file \ntests/test_checkio_round3.py::test_printf_complex_format_multiple_errors \n[gw5] [ 4%] FAILED tests/test_checkio_gaps_round2.py::test_printf_j_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_ju_modifier_int \ntests/test_checkother_part2.py::test_unsigned_always_positive \n[gw9] [ 4%] PASSED tests/test_checkother_part2.py::test_unsigned_always_positive \n[gw2] [ 4%] RERUN tests/test_checkclass_gaps.py::test_duplicate_inherited_member_warning \ntests/test_checkclass_gaps.py::test_duplicate_inherited_member_warning \n[gw2] [ 4%] FAILED tests/test_checkclass_gaps.py::test_duplicate_inherited_member_warning \ntests/test_checkclass_gaps.py::test_explicit_constructor_single_argument \n[gw2] [ 4%] PASSED tests/test_checkclass_gaps.py::test_explicit_constructor_single_argument \ntests/test_checkother_part2.py::test_pointer_less_than_zero \n[gw1] [ 4%] RERUN tests/test_checkbool_gaps.py::test_bitwise_on_boolean_and \ntests/test_checkbool_gaps.py::test_bitwise_on_boolean_and \n[gw1] [ 4%] FAILED tests/test_checkbool_gaps.py::test_bitwise_on_boolean_and \ntests/test_checkbool_gaps.py::test_comparison_bool_with_int \ntests/test_checkclass_gaps.py::test_virtual_function_call_in_constructor \n[gw4] [ 4%] RERUN tests/test_checkio_gaps.py::test_printf_type_mismatch_string_int \ntests/test_checkio_gaps.py::test_printf_type_mismatch_string_int \n[gw4] [ 4%] FAILED tests/test_checkio_gaps.py::test_printf_type_mismatch_string_int \ntests/test_checkio_gaps.py::test_printf_type_mismatch_int_string \n[gw8] [ 4%] RERUN tests/test_checkmemoryleak_gaps.py::test_unused_allocation_return_value \ntests/test_checkmemoryleak_gaps.py::test_unused_allocation_return_value \n[gw8] [ 4%] FAILED tests/test_checkmemoryleak_gaps.py::test_unused_allocation_return_value \ntests/test_checkmemoryleak_gaps.py::test_fclose_wrong_variable \n[gw6] [ 4%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_field_width_overflow \ntests/test_checkio_gaps_round2.py::test_scanf_field_width_overflow \n[gw6] [ 4%] FAILED tests/test_checkio_gaps_round2.py::test_scanf_field_width_overflow \ntests/test_checkio_round3.py::test_wprintf_wrong_arg_count_too_few \n[gw6] [ 4%] PASSED tests/test_checkio_round3.py::test_wprintf_wrong_arg_count_too_few \ntests/test_checkio_round3.py::test_wprintf_wrong_arg_count_too_many \n[gw6] [ 4%] PASSED tests/test_checkio_round3.py::test_wprintf_wrong_arg_count_too_many \n[gw3] [ 4%] RERUN tests/test_checkcondition_gaps.py::test_modulo_always_false_unsigned \ntests/test_checkcondition_gaps.py::test_modulo_always_false_unsigned \n[gw3] [ 4%] FAILED tests/test_checkcondition_gaps.py::test_modulo_always_false_unsigned \ntests/test_checkcondition_gaps.py::test_invalid_overflow_check_signed \ntests/test_checkio_round3.py::test_wprintf_type_mismatch_int_wchar_ptr \n[gw0] [ 4%] RERUN tests/test_checkassert_gaps.py::test_nonconst_member_function_no_body \ntests/test_checkassert_gaps.py::test_nonconst_member_function_no_body \n[gw7] [ 4%] RERUN tests/test_checkio_round3.py::test_printf_complex_format_multiple_errors \ntests/test_checkio_round3.py::test_printf_complex_format_multiple_errors \n[gw5] [ 4%] RERUN tests/test_checkio_gaps_round2.py::test_printf_ju_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_ju_modifier_int \n[gw9] [ 4%] RERUN tests/test_checkother_part2.py::test_pointer_less_than_zero \ntests/test_checkother_part2.py::test_pointer_less_than_zero \n[gw1] [ 4%] RERUN tests/test_checkbool_gaps.py::test_comparison_bool_with_int \ntests/test_checkbool_gaps.py::test_comparison_bool_with_int \n[gw2] [ 4%] RERUN tests/test_checkclass_gaps.py::test_virtual_function_call_in_constructor \ntests/test_checkclass_gaps.py::test_virtual_function_call_in_constructor \n[gw4] [ 4%] RERUN tests/test_checkio_gaps.py::test_printf_type_mismatch_int_string \ntests/test_checkio_gaps.py::test_printf_type_mismatch_int_string \n[gw8] [ 4%] RERUN tests/test_checkmemoryleak_gaps.py::test_fclose_wrong_variable \ntests/test_checkmemoryleak_gaps.py::test_fclose_wrong_variable \n[gw3] [ 4%] RERUN tests/test_checkcondition_gaps.py::test_invalid_overflow_check_signed \ntests/test_checkcondition_gaps.py::test_invalid_overflow_check_signed \n[gw6] [ 4%] RERUN tests/test_checkio_round3.py::test_wprintf_type_mismatch_int_wchar_ptr \ntests/test_checkio_round3.py::test_wprintf_type_mismatch_int_wchar_ptr \n[gw0] [ 4%] RERUN tests/test_checkassert_gaps.py::test_nonconst_member_function_no_body \ntests/test_checkassert_gaps.py::test_nonconst_member_function_no_body \n[gw7] [ 4%] RERUN tests/test_checkio_round3.py::test_printf_complex_format_multiple_errors \ntests/test_checkio_round3.py::test_printf_complex_format_multiple_errors \n[gw0] [ 4%] FAILED tests/test_checkassert_gaps.py::test_nonconst_member_function_no_body \ntests/test_checkassert_gaps.py::test_function_modifies_reference_parameter \n[gw5] [ 4%] RERUN tests/test_checkio_gaps_round2.py::test_printf_ju_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_ju_modifier_int \n[gw7] [ 4%] FAILED tests/test_checkio_round3.py::test_printf_complex_format_multiple_errors \ntests/test_checkio_round3.py::test_printf_complex_format_first_arg_wrong_type \n[gw5] [ 4%] FAILED tests/test_checkio_gaps_round2.py::test_printf_ju_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_zu_modifier_int \n[gw9] [ 4%] RERUN tests/test_checkother_part2.py::test_pointer_less_than_zero \ntests/test_checkother_part2.py::test_pointer_less_than_zero \n[gw9] [ 4%] FAILED tests/test_checkother_part2.py::test_pointer_less_than_zero \ntests/test_checkother_part2.py::test_negative_bitwise_shift_left \n[gw1] [ 4%] RERUN tests/test_checkbool_gaps.py::test_comparison_bool_with_int \ntests/test_checkbool_gaps.py::test_comparison_bool_with_int \n[gw2] [ 4%] RERUN tests/test_checkclass_gaps.py::test_virtual_function_call_in_constructor \ntests/test_checkclass_gaps.py::test_virtual_function_call_in_constructor \n[gw9] [ 4%] PASSED tests/test_checkother_part2.py::test_negative_bitwise_shift_left \n[gw1] [ 4%] FAILED tests/test_checkbool_gaps.py::test_comparison_bool_with_int \ntests/test_checkbool_gaps.py::test_assign_bool_to_pointer \n[gw2] [ 4%] FAILED tests/test_checkclass_gaps.py::test_virtual_function_call_in_constructor \ntests/test_checkclass_gaps.py::test_copy_constructor_without_assignment_operator \n[gw1] [ 4%] PASSED tests/test_checkbool_gaps.py::test_assign_bool_to_pointer \ntests/test_checkother_part2.py::test_shift_by_negative_amount \n[gw9] [ 4%] PASSED tests/test_checkother_part2.py::test_shift_by_negative_amount \n[gw4] [ 4%] RERUN tests/test_checkio_gaps.py::test_printf_type_mismatch_int_string \ntests/test_checkio_gaps.py::test_printf_type_mismatch_int_string \ntests/test_checkbool_gaps.py::test_assign_bool_to_float \n[gw4] [ 4%] FAILED tests/test_checkio_gaps.py::test_printf_type_mismatch_int_string \ntests/test_checkio_gaps.py::test_printf_type_mismatch_float_int \n[gw8] [ 4%] RERUN tests/test_checkmemoryleak_gaps.py::test_fclose_wrong_variable \ntests/test_checkmemoryleak_gaps.py::test_fclose_wrong_variable \ntests/test_checkother_part2.py::test_redundant_assignment_same_value \n[gw8] [ 4%] FAILED tests/test_checkmemoryleak_gaps.py::test_fclose_wrong_variable \ntests/test_checkmemoryleak_gaps.py::test_malloc_cast_leak \n[gw3] [ 4%] RERUN tests/test_checkcondition_gaps.py::test_invalid_overflow_check_signed \ntests/test_checkcondition_gaps.py::test_invalid_overflow_check_signed \n[gw3] [ 4%] FAILED tests/test_checkcondition_gaps.py::test_invalid_overflow_check_signed \ntests/test_checkcondition_gaps.py::test_unsigned_less_than_zero \n[gw6] [ 4%] RERUN tests/test_checkio_round3.py::test_wprintf_type_mismatch_int_wchar_ptr \ntests/test_checkio_round3.py::test_wprintf_type_mismatch_int_wchar_ptr \n[gw6] [ 4%] FAILED tests/test_checkio_round3.py::test_wprintf_type_mismatch_int_wchar_ptr \ntests/test_checkio_round3.py::test_wprintf_type_mismatch_wchar_ptr_int \n[gw0] [ 5%] RERUN tests/test_checkassert_gaps.py::test_function_modifies_reference_parameter \ntests/test_checkassert_gaps.py::test_function_modifies_reference_parameter \n[gw5] [ 5%] RERUN tests/test_checkio_gaps_round2.py::test_printf_zu_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_zu_modifier_int \n[gw7] [ 5%] RERUN tests/test_checkio_round3.py::test_printf_complex_format_first_arg_wrong_type \ntests/test_checkio_round3.py::test_printf_complex_format_first_arg_wrong_type \n[gw2] [ 5%] RERUN tests/test_checkclass_gaps.py::test_copy_constructor_without_assignment_operator \ntests/test_checkclass_gaps.py::test_copy_constructor_without_assignment_operator \n[gw1] [ 5%] RERUN tests/test_checkbool_gaps.py::test_assign_bool_to_float \ntests/test_checkbool_gaps.py::test_assign_bool_to_float \n[gw4] [ 5%] RERUN tests/test_checkio_gaps.py::test_printf_type_mismatch_float_int \ntests/test_checkio_gaps.py::test_printf_type_mismatch_float_int \n[gw9] [ 5%] RERUN tests/test_checkother_part2.py::test_redundant_assignment_same_value \ntests/test_checkother_part2.py::test_redundant_assignment_same_value \n[gw8] [ 5%] RERUN tests/test_checkmemoryleak_gaps.py::test_malloc_cast_leak \ntests/test_checkmemoryleak_gaps.py::test_malloc_cast_leak \n[gw3] [ 5%] RERUN tests/test_checkcondition_gaps.py::test_unsigned_less_than_zero \ntests/test_checkcondition_gaps.py::test_unsigned_less_than_zero \n[gw6] [ 5%] RERUN tests/test_checkio_round3.py::test_wprintf_type_mismatch_wchar_ptr_int \ntests/test_checkio_round3.py::test_wprintf_type_mismatch_wchar_ptr_int \n[gw0] [ 5%] RERUN tests/test_checkassert_gaps.py::test_function_modifies_reference_parameter \ntests/test_checkassert_gaps.py::test_function_modifies_reference_parameter \n[gw0] [ 5%] FAILED tests/test_checkassert_gaps.py::test_function_modifies_reference_parameter \ntests/test_checkassert_gaps.py::test_function_modifies_pointer_parameter \n[gw5] [ 5%] RERUN tests/test_checkio_gaps_round2.py::test_printf_zu_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_zu_modifier_int \n[gw7] [ 5%] RERUN tests/test_checkio_round3.py::test_printf_complex_format_first_arg_wrong_type \ntests/test_checkio_round3.py::test_printf_complex_format_first_arg_wrong_type \n[gw5] [ 5%] FAILED tests/test_checkio_gaps_round2.py::test_printf_zu_modifier_int \n[gw7] [ 5%] FAILED tests/test_checkio_round3.py::test_printf_complex_format_first_arg_wrong_type \ntests/test_checkio_gaps_round2.py::test_printf_zd_modifier_int \ntests/test_checkio_round3.py::test_printf_complex_format_missing_arg \n[gw7] [ 5%] PASSED tests/test_checkio_round3.py::test_printf_complex_format_missing_arg \n[gw2] [ 5%] RERUN tests/test_checkclass_gaps.py::test_copy_constructor_without_assignment_operator \ntests/test_checkclass_gaps.py::test_copy_constructor_without_assignment_operator \ntests/test_checkio_round3.py::test_printf_width_with_wrong_type \n[gw2] [ 5%] FAILED tests/test_checkclass_gaps.py::test_copy_constructor_without_assignment_operator \ntests/test_checkclass_gaps.py::test_missing_override_specifier \n[gw1] [ 5%] RERUN tests/test_checkbool_gaps.py::test_assign_bool_to_float \ntests/test_checkbool_gaps.py::test_assign_bool_to_float \n[gw1] [ 5%] FAILED tests/test_checkbool_gaps.py::test_assign_bool_to_float \ntests/test_checkbool_gaps.py::test_pointer_arith_bool \n[gw4] [ 5%] RERUN tests/test_checkio_gaps.py::test_printf_type_mismatch_float_int \ntests/test_checkio_gaps.py::test_printf_type_mismatch_float_int \n[gw4] [ 5%] FAILED tests/test_checkio_gaps.py::test_printf_type_mismatch_float_int \ntests/test_checkio_gaps.py::test_printf_type_mismatch_pointer_int \n[gw9] [ 5%] RERUN tests/test_checkother_part2.py::test_redundant_assignment_same_value \ntests/test_checkother_part2.py::test_redundant_assignment_same_value \n[gw8] [ 5%] RERUN tests/test_checkmemoryleak_gaps.py::test_malloc_cast_leak \ntests/test_checkmemoryleak_gaps.py::test_malloc_cast_leak \n[gw9] [ 5%] FAILED tests/test_checkother_part2.py::test_redundant_assignment_same_value \ntests/test_checkother_part2.py::test_access_of_moved_variable \n[gw8] [ 5%] FAILED tests/test_checkmemoryleak_gaps.py::test_malloc_cast_leak \ntests/test_checkmemoryleak_gaps.py::test_exception_path_leak \n[gw8] [ 5%] PASSED tests/test_checkmemoryleak_gaps.py::test_exception_path_leak \ntests/test_checkmemoryleak_gaps.py::test_allocation_in_function_argument_leak \n[gw3] [ 5%] RERUN tests/test_checkcondition_gaps.py::test_unsigned_less_than_zero \ntests/test_checkcondition_gaps.py::test_unsigned_less_than_zero \n[gw3] [ 5%] FAILED tests/test_checkcondition_gaps.py::test_unsigned_less_than_zero \ntests/test_checkcondition_gaps.py::test_pointer_arithmetic_result_not_null \n[gw6] [ 5%] RERUN tests/test_checkio_round3.py::test_wprintf_type_mismatch_wchar_ptr_int \ntests/test_checkio_round3.py::test_wprintf_type_mismatch_wchar_ptr_int \n[gw6] [ 5%] FAILED tests/test_checkio_round3.py::test_wprintf_type_mismatch_wchar_ptr_int \ntests/test_checkio_round3.py::test_wprintf_type_mismatch_float_int \n[gw0] [ 5%] RERUN tests/test_checkassert_gaps.py::test_function_modifies_pointer_parameter \ntests/test_checkassert_gaps.py::test_function_modifies_pointer_parameter \n[gw5] [ 5%] RERUN tests/test_checkio_gaps_round2.py::test_printf_zd_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_zd_modifier_int \n[gw7] [ 5%] RERUN tests/test_checkio_round3.py::test_printf_width_with_wrong_type \ntests/test_checkio_round3.py::test_printf_width_with_wrong_type \n[gw2] [ 5%] RERUN tests/test_checkclass_gaps.py::test_missing_override_specifier \ntests/test_checkclass_gaps.py::test_missing_override_specifier \n[gw1] [ 5%] RERUN tests/test_checkbool_gaps.py::test_pointer_arith_bool \ntests/test_checkbool_gaps.py::test_pointer_arith_bool \n[gw4] [ 5%] RERUN tests/test_checkio_gaps.py::test_printf_type_mismatch_pointer_int \ntests/test_checkio_gaps.py::test_printf_type_mismatch_pointer_int \n[gw9] [ 6%] RERUN tests/test_checkother_part2.py::test_access_of_moved_variable \ntests/test_checkother_part2.py::test_access_of_moved_variable \n[gw8] [ 6%] RERUN tests/test_checkmemoryleak_gaps.py::test_allocation_in_function_argument_leak \ntests/test_checkmemoryleak_gaps.py::test_allocation_in_function_argument_leak \n[gw3] [ 6%] RERUN tests/test_checkcondition_gaps.py::test_pointer_arithmetic_result_not_null \ntests/test_checkcondition_gaps.py::test_pointer_arithmetic_result_not_null \n[gw6] [ 6%] RERUN tests/test_checkio_round3.py::test_wprintf_type_mismatch_float_int \ntests/test_checkio_round3.py::test_wprintf_type_mismatch_float_int \n[gw0] [ 6%] RERUN tests/test_checkassert_gaps.py::test_function_modifies_pointer_parameter \ntests/test_checkassert_gaps.py::test_function_modifies_pointer_parameter \n[gw0] [ 6%] FAILED tests/test_checkassert_gaps.py::test_function_modifies_pointer_parameter \ntests/test_checkassert_gaps.py::test_function_with_only_local_modifications_no_warning \n[gw0] [ 6%] PASSED tests/test_checkassert_gaps.py::test_function_with_only_local_modifications_no_warning \n[gw5] [ 6%] RERUN tests/test_checkio_gaps_round2.py::test_printf_zd_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_zd_modifier_int \ntests/test_checkassert_gaps.py::test_multiple_assignments_in_assert \n[gw5] [ 6%] FAILED tests/test_checkio_gaps_round2.py::test_printf_zd_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_td_modifier_int \n[gw2] [ 6%] RERUN tests/test_checkclass_gaps.py::test_missing_override_specifier \ntests/test_checkclass_gaps.py::test_missing_override_specifier \n[gw7] [ 6%] RERUN tests/test_checkio_round3.py::test_printf_width_with_wrong_type \ntests/test_checkio_round3.py::test_printf_width_with_wrong_type \n[gw2] [ 6%] FAILED tests/test_checkclass_gaps.py::test_missing_override_specifier \ntests/test_checkclass_gaps.py::test_suspicious_this_pointer_subtraction \n[gw7] [ 6%] FAILED tests/test_checkio_round3.py::test_printf_width_with_wrong_type \ntests/test_checkio_round3.py::test_printf_precision_with_wrong_type \n[gw1] [ 6%] RERUN tests/test_checkbool_gaps.py::test_pointer_arith_bool \ntests/test_checkbool_gaps.py::test_pointer_arith_bool \n[gw1] [ 6%] FAILED tests/test_checkbool_gaps.py::test_pointer_arith_bool \ntests/test_checkbool_gaps.py::test_return_value_bool \n[gw4] [ 6%] RERUN tests/test_checkio_gaps.py::test_printf_type_mismatch_pointer_int \ntests/test_checkio_gaps.py::test_printf_type_mismatch_pointer_int \n[gw9] [ 6%] RERUN tests/test_checkother_part2.py::test_access_of_moved_variable \ntests/test_checkother_part2.py::test_access_of_moved_variable \n[gw4] [ 6%] FAILED tests/test_checkio_gaps.py::test_printf_type_mismatch_pointer_int \ntests/test_checkio_gaps.py::test_printf_type_mismatch_unsigned_signed \n[gw9] [ 6%] FAILED tests/test_checkother_part2.py::test_access_of_moved_variable \ntests/test_checkother_part2.py::test_memset_zero_bytes \n[gw9] [ 6%] PASSED tests/test_checkother_part2.py::test_memset_zero_bytes \n[gw8] [ 6%] RERUN tests/test_checkmemoryleak_gaps.py::test_allocation_in_function_argument_leak \ntests/test_checkmemoryleak_gaps.py::test_allocation_in_function_argument_leak \ntests/test_checkother_part2.py::test_shadow_variable_global \n[gw8] [ 6%] FAILED tests/test_checkmemoryleak_gaps.py::test_allocation_in_function_argument_leak \ntests/test_checkmemoryleak_gaps.py::test_multiple_allocations_one_freed \n[gw3] [ 6%] RERUN tests/test_checkcondition_gaps.py::test_pointer_arithmetic_result_not_null \ntests/test_checkcondition_gaps.py::test_pointer_arithmetic_result_not_null \n[gw3] [ 6%] FAILED tests/test_checkcondition_gaps.py::test_pointer_arithmetic_result_not_null \ntests/test_checkcondition_gaps.py::test_pointer_arithmetic_not_equal_zero \n[gw6] [ 6%] RERUN tests/test_checkio_round3.py::test_wprintf_type_mismatch_float_int \ntests/test_checkio_round3.py::test_wprintf_type_mismatch_float_int \n[gw6] [ 6%] FAILED tests/test_checkio_round3.py::test_wprintf_type_mismatch_float_int \ntests/test_checkio_round3.py::test_wscanf_wrong_arg_count \n[gw6] [ 6%] PASSED tests/test_checkio_round3.py::test_wscanf_wrong_arg_count \ntests/test_checkio_round3.py::test_wscanf_type_mismatch_wchar_ptr_int_ptr \n[gw0] [ 6%] RERUN tests/test_checkassert_gaps.py::test_multiple_assignments_in_assert \ntests/test_checkassert_gaps.py::test_multiple_assignments_in_assert \n[gw5] [ 6%] RERUN tests/test_checkio_gaps_round2.py::test_printf_td_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_td_modifier_int \n[gw2] [ 6%] RERUN tests/test_checkclass_gaps.py::test_suspicious_this_pointer_subtraction \ntests/test_checkclass_gaps.py::test_suspicious_this_pointer_subtraction \n[gw7] [ 6%] RERUN tests/test_checkio_round3.py::test_printf_precision_with_wrong_type \ntests/test_checkio_round3.py::test_printf_precision_with_wrong_type \n[gw1] [ 6%] RERUN tests/test_checkbool_gaps.py::test_return_value_bool \ntests/test_checkbool_gaps.py::test_return_value_bool \n[gw4] [ 6%] RERUN tests/test_checkio_gaps.py::test_printf_type_mismatch_unsigned_signed \ntests/test_checkio_gaps.py::test_printf_type_mismatch_unsigned_signed \n[gw9] [ 6%] RERUN tests/test_checkother_part2.py::test_shadow_variable_global \ntests/test_checkother_part2.py::test_shadow_variable_global \n[gw8] [ 6%] RERUN tests/test_checkmemoryleak_gaps.py::test_multiple_allocations_one_freed \ntests/test_checkmemoryleak_gaps.py::test_multiple_allocations_one_freed \n[gw3] [ 6%] RERUN tests/test_checkcondition_gaps.py::test_pointer_arithmetic_not_equal_zero \ntests/test_checkcondition_gaps.py::test_pointer_arithmetic_not_equal_zero \n[gw6] [ 6%] RERUN tests/test_checkio_round3.py::test_wscanf_type_mismatch_wchar_ptr_int_ptr \ntests/test_checkio_round3.py::test_wscanf_type_mismatch_wchar_ptr_int_ptr \n[gw0] [ 6%] RERUN tests/test_checkassert_gaps.py::test_multiple_assignments_in_assert \ntests/test_checkassert_gaps.py::test_multiple_assignments_in_assert \n[gw0] [ 6%] FAILED tests/test_checkassert_gaps.py::test_multiple_assignments_in_assert \ntests/test_checkassert_gaps.py::test_assignment_to_outer_scope_variable \n[gw5] [ 6%] RERUN tests/test_checkio_gaps_round2.py::test_printf_td_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_td_modifier_int \n[gw5] [ 6%] FAILED tests/test_checkio_gaps_round2.py::test_printf_td_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_tu_modifier_int \n[gw2] [ 6%] RERUN tests/test_checkclass_gaps.py::test_suspicious_this_pointer_subtraction \ntests/test_checkclass_gaps.py::test_suspicious_this_pointer_subtraction \n[gw7] [ 6%] RERUN tests/test_checkio_round3.py::test_printf_precision_with_wrong_type \ntests/test_checkio_round3.py::test_printf_precision_with_wrong_type \n[gw2] [ 6%] FAILED tests/test_checkclass_gaps.py::test_suspicious_this_pointer_subtraction \ntests/test_checkclass_gaps.py::test_member_variable_self_initialization \n[gw7] [ 6%] FAILED tests/test_checkio_round3.py::test_printf_precision_with_wrong_type \ntests/test_checkio_round3.py::test_printf_width_and_precision_with_wrong_type \n[gw1] [ 6%] RERUN tests/test_checkbool_gaps.py::test_return_value_bool \ntests/test_checkbool_gaps.py::test_return_value_bool \n[gw1] [ 6%] FAILED tests/test_checkbool_gaps.py::test_return_value_bool \ntests/test_checkbool_gaps.py::test_comparison_func_returning_bool \n[gw4] [ 6%] RERUN tests/test_checkio_gaps.py::test_printf_type_mismatch_unsigned_signed \ntests/test_checkio_gaps.py::test_printf_type_mismatch_unsigned_signed \n[gw4] [ 6%] FAILED tests/test_checkio_gaps.py::test_printf_type_mismatch_unsigned_signed \ntests/test_checkio_gaps.py::test_scanf_wrong_arg_count \n[gw4] [ 6%] PASSED tests/test_checkio_gaps.py::test_scanf_wrong_arg_count \ntests/test_checkio_gaps.py::test_scanf_wrong_type \n[gw9] [ 6%] RERUN tests/test_checkother_part2.py::test_shadow_variable_global \ntests/test_checkother_part2.py::test_shadow_variable_global \n[gw8] [ 6%] RERUN tests/test_checkmemoryleak_gaps.py::test_multiple_allocations_one_freed \ntests/test_checkmemoryleak_gaps.py::test_multiple_allocations_one_freed \n[gw9] [ 6%] FAILED tests/test_checkother_part2.py::test_shadow_variable_global \ntests/test_checkother_part2.py::test_shadow_argument \n[gw9] [ 6%] PASSED tests/test_checkother_part2.py::test_shadow_argument \n[gw8] [ 6%] FAILED tests/test_checkmemoryleak_gaps.py::test_multiple_allocations_one_freed \ntests/test_checkmemoryleak_gaps.py::test_conditional_double_alloc_leak \ntests/test_checkother_part2.py::test_unknown_evaluation_order_increment \n[gw3] [ 6%] RERUN tests/test_checkcondition_gaps.py::test_pointer_arithmetic_not_equal_zero \ntests/test_checkcondition_gaps.py::test_pointer_arithmetic_not_equal_zero \n[gw3] [ 6%] FAILED tests/test_checkcondition_gaps.py::test_pointer_arithmetic_not_equal_zero \ntests/test_checkcondition_gaps.py::test_opposite_inner_condition_simple \n[gw6] [ 6%] RERUN tests/test_checkio_round3.py::test_wscanf_type_mismatch_wchar_ptr_int_ptr \ntests/test_checkio_round3.py::test_wscanf_type_mismatch_wchar_ptr_int_ptr \n[gw6] [ 6%] FAILED tests/test_checkio_round3.py::test_wscanf_type_mismatch_wchar_ptr_int_ptr \ntests/test_checkio_round3.py::test_wscanf_missing_address_operator \n[gw0] [ 7%] RERUN tests/test_checkassert_gaps.py::test_assignment_to_outer_scope_variable \ntests/test_checkassert_gaps.py::test_assignment_to_outer_scope_variable \n[gw5] [ 7%] RERUN tests/test_checkio_gaps_round2.py::test_printf_tu_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_tu_modifier_int \n[gw2] [ 7%] RERUN tests/test_checkclass_gaps.py::test_member_variable_self_initialization \ntests/test_checkclass_gaps.py::test_member_variable_self_initialization \n[gw7] [ 7%] RERUN tests/test_checkio_round3.py::test_printf_width_and_precision_with_wrong_type \ntests/test_checkio_round3.py::test_printf_width_and_precision_with_wrong_type \n[gw1] [ 7%] RERUN tests/test_checkbool_gaps.py::test_comparison_func_returning_bool \ntests/test_checkbool_gaps.py::test_comparison_func_returning_bool \n[gw4] [ 7%] RERUN tests/test_checkio_gaps.py::test_scanf_wrong_type \ntests/test_checkio_gaps.py::test_scanf_wrong_type \n[gw8] [ 7%] RERUN tests/test_checkmemoryleak_gaps.py::test_conditional_double_alloc_leak \ntests/test_checkmemoryleak_gaps.py::test_conditional_double_alloc_leak \n[gw9] [ 7%] RERUN tests/test_checkother_part2.py::test_unknown_evaluation_order_increment \ntests/test_checkother_part2.py::test_unknown_evaluation_order_increment \n[gw3] [ 7%] RERUN tests/test_checkcondition_gaps.py::test_opposite_inner_condition_simple \ntests/test_checkcondition_gaps.py::test_opposite_inner_condition_simple \n[gw6] [ 7%] RERUN tests/test_checkio_round3.py::test_wscanf_missing_address_operator \ntests/test_checkio_round3.py::test_wscanf_missing_address_operator \n[gw0] [ 7%] RERUN tests/test_checkassert_gaps.py::test_assignment_to_outer_scope_variable \ntests/test_checkassert_gaps.py::test_assignment_to_outer_scope_variable \n[gw0] [ 7%] FAILED tests/test_checkassert_gaps.py::test_assignment_to_outer_scope_variable \ntests/test_checkassert_gaps.py::test_sizeof_in_assert_no_warning \n[gw0] [ 7%] PASSED tests/test_checkassert_gaps.py::test_sizeof_in_assert_no_warning \n[gw5] [ 7%] RERUN tests/test_checkio_gaps_round2.py::test_printf_tu_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_tu_modifier_int \n[gw2] [ 7%] RERUN tests/test_checkclass_gaps.py::test_member_variable_self_initialization \ntests/test_checkclass_gaps.py::test_member_variable_self_initialization \n[gw5] [ 7%] FAILED tests/test_checkio_gaps_round2.py::test_printf_tu_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_I64d_modifier_int \n[gw2] [ 7%] FAILED tests/test_checkclass_gaps.py::test_member_variable_self_initialization \ntests/test_checkclass_gaps.py::test_initializer_list_order_mismatch \ntests/test_checkassert_gaps.py::test_smart_pointer_get_no_warning \n[gw7] [ 7%] RERUN tests/test_checkio_round3.py::test_printf_width_and_precision_with_wrong_type \ntests/test_checkio_round3.py::test_printf_width_and_precision_with_wrong_type \n[gw0] [ 7%] PASSED tests/test_checkassert_gaps.py::test_smart_pointer_get_no_warning \n[gw7] [ 7%] FAILED tests/test_checkio_round3.py::test_printf_width_and_precision_with_wrong_type \ntests/test_checkio_round3.py::test_scanf_complex_format_last_arg_wrong_type \n[gw1] [ 7%] RERUN tests/test_checkbool_gaps.py::test_comparison_func_returning_bool \ntests/test_checkbool_gaps.py::test_comparison_func_returning_bool \n[gw1] [ 7%] FAILED tests/test_checkbool_gaps.py::test_comparison_func_returning_bool \ntests/test_checkbool_gaps.py::test_comparison_bool_with_bool \ntests/test_checkassert_gaps.py::test_function_with_return_modifies_global \n[gw4] [ 7%] RERUN tests/test_checkio_gaps.py::test_scanf_wrong_type \ntests/test_checkio_gaps.py::test_scanf_wrong_type \n[gw4] [ 7%] FAILED tests/test_checkio_gaps.py::test_scanf_wrong_type \ntests/test_checkio_gaps.py::test_scanf_missing_address_operator \n[gw8] [ 7%] RERUN tests/test_checkmemoryleak_gaps.py::test_conditional_double_alloc_leak \ntests/test_checkmemoryleak_gaps.py::test_conditional_double_alloc_leak \n[gw9] [ 7%] RERUN tests/test_checkother_part2.py::test_unknown_evaluation_order_increment \ntests/test_checkother_part2.py::test_unknown_evaluation_order_increment \n[gw8] [ 7%] FAILED tests/test_checkmemoryleak_gaps.py::test_conditional_double_alloc_leak \ntests/test_checkmemoryleak_gaps.py::test_member_allocated_twice_leak \n[gw9] [ 7%] FAILED tests/test_checkother_part2.py::test_unknown_evaluation_order_increment \ntests/test_checkother_part2.py::test_unknown_evaluation_order_array_index \n[gw3] [ 7%] RERUN tests/test_checkcondition_gaps.py::test_opposite_inner_condition_simple \ntests/test_checkcondition_gaps.py::test_opposite_inner_condition_simple \n[gw3] [ 7%] FAILED tests/test_checkcondition_gaps.py::test_opposite_inner_condition_simple \ntests/test_checkcondition_gaps.py::test_identical_inner_condition \n[gw3] [ 7%] PASSED tests/test_checkcondition_gaps.py::test_identical_inner_condition \ntests/test_checkcondition_gaps.py::test_condition_after_early_exit \n[gw3] [ 7%] PASSED tests/test_checkcondition_gaps.py::test_condition_after_early_exit \ntests/test_checkcondition_gaps.py::test_opposite_inner_with_compound_outer \n[gw6] [ 7%] RERUN tests/test_checkio_round3.py::test_wscanf_missing_address_operator \ntests/test_checkio_round3.py::test_wscanf_missing_address_operator \n[gw6] [ 7%] FAILED tests/test_checkio_round3.py::test_wscanf_missing_address_operator \ntests/test_checkio_round3.py::test_wscanf_width_too_large \n[gw5] [ 7%] RERUN tests/test_checkio_gaps_round2.py::test_printf_I64d_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_I64d_modifier_int \n[gw2] [ 7%] RERUN tests/test_checkclass_gaps.py::test_initializer_list_order_mismatch \ntests/test_checkclass_gaps.py::test_initializer_list_order_mismatch \n[gw7] [ 7%] RERUN tests/test_checkio_round3.py::test_scanf_complex_format_last_arg_wrong_type \ntests/test_checkio_round3.py::test_scanf_complex_format_last_arg_wrong_type \n[gw1] [ 7%] RERUN tests/test_checkbool_gaps.py::test_comparison_bool_with_bool \ntests/test_checkbool_gaps.py::test_comparison_bool_with_bool \n[gw0] [ 8%] RERUN tests/test_checkassert_gaps.py::test_function_with_return_modifies_global \ntests/test_checkassert_gaps.py::test_function_with_return_modifies_global \n[gw4] [ 8%] RERUN tests/test_checkio_gaps.py::test_scanf_missing_address_operator \ntests/test_checkio_gaps.py::test_scanf_missing_address_operator \n[gw8] [ 8%] RERUN tests/test_checkmemoryleak_gaps.py::test_member_allocated_twice_leak \ntests/test_checkmemoryleak_gaps.py::test_member_allocated_twice_leak \n[gw9] [ 8%] RERUN tests/test_checkother_part2.py::test_unknown_evaluation_order_array_index \ntests/test_checkother_part2.py::test_unknown_evaluation_order_array_index \n[gw3] [ 8%] RERUN tests/test_checkcondition_gaps.py::test_opposite_inner_with_compound_outer \ntests/test_checkcondition_gaps.py::test_opposite_inner_with_compound_outer \n[gw6] [ 8%] RERUN tests/test_checkio_round3.py::test_wscanf_width_too_large \ntests/test_checkio_round3.py::test_wscanf_width_too_large \n[gw2] [ 8%] RERUN tests/test_checkclass_gaps.py::test_initializer_list_order_mismatch \ntests/test_checkclass_gaps.py::test_initializer_list_order_mismatch \n[gw5] [ 8%] RERUN tests/test_checkio_gaps_round2.py::test_printf_I64d_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_I64d_modifier_int \n[gw2] [ 8%] FAILED tests/test_checkclass_gaps.py::test_initializer_list_order_mismatch \ntests/test_checkclass_gaps.py::test_complex_class_hierarchy_multiple_issues \n[gw5] [ 8%] FAILED tests/test_checkio_gaps_round2.py::test_printf_I64d_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_I64u_modifier_int \n[gw7] [ 8%] RERUN tests/test_checkio_round3.py::test_scanf_complex_format_last_arg_wrong_type \n[gw1] [ 8%] RERUN tests/test_checkbool_gaps.py::test_comparison_bool_with_bool \ntests/test_checkbool_gaps.py::test_comparison_bool_with_bool \ntests/test_checkio_round3.py::test_scanf_complex_format_last_arg_wrong_type \n[gw1] [ 8%] FAILED tests/test_checkbool_gaps.py::test_comparison_bool_with_bool \ntests/test_checkbool_gaps.py::test_comparison_bool_with_invalid_comparator \n[gw7] [ 8%] FAILED tests/test_checkio_round3.py::test_scanf_complex_format_last_arg_wrong_type \ntests/test_checkio_round3.py::test_scanf_complex_format_first_arg_wrong_type \n[gw0] [ 8%] RERUN tests/test_checkassert_gaps.py::test_function_with_return_modifies_global \ntests/test_checkassert_gaps.py::test_function_with_return_modifies_global \n[gw0] [ 8%] FAILED tests/test_checkassert_gaps.py::test_function_with_return_modifies_global \ntests/test_checkassert_gaps.py::test_function_modifies_value_param_no_warning \n[gw0] [ 8%] PASSED tests/test_checkassert_gaps.py::test_function_modifies_value_param_no_warning \ntests/test_checkassert_gaps.py::test_postincrement_vs_preincrement \n[gw4] [ 8%] RERUN tests/test_checkio_gaps.py::test_scanf_missing_address_operator \ntests/test_checkio_gaps.py::test_scanf_missing_address_operator \n[gw4] [ 8%] FAILED tests/test_checkio_gaps.py::test_scanf_missing_address_operator \ntests/test_checkio_gaps.py::test_scanf_width_too_large \n[gw8] [ 8%] RERUN tests/test_checkmemoryleak_gaps.py::test_member_allocated_twice_leak \ntests/test_checkmemoryleak_gaps.py::test_member_allocated_twice_leak \n[gw9] [ 8%] RERUN tests/test_checkother_part2.py::test_unknown_evaluation_order_array_index \ntests/test_checkother_part2.py::test_unknown_evaluation_order_array_index \n[gw8] [ 8%] FAILED tests/test_checkmemoryleak_gaps.py::test_member_allocated_twice_leak \ntests/test_checkmemoryleak_gaps.py::test_return_allocated_in_error_path \n[gw9] [ 8%] FAILED tests/test_checkother_part2.py::test_unknown_evaluation_order_array_index \ntests/test_checkother_part2.py::test_clarify_calculation_precedence_arithmetic \n[gw8] [ 8%] PASSED tests/test_checkmemoryleak_gaps.py::test_return_allocated_in_error_path \n[gw9] [ 8%] PASSED tests/test_checkother_part2.py::test_clarify_calculation_precedence_arithmetic \ntests/test_checkmemoryleak_gaps.py::test_free_then_return_value \ntests/test_checkother_part2.py::test_clarify_calculation_precedence_bitwise \n[gw9] [ 8%] PASSED tests/test_checkother_part2.py::test_clarify_calculation_precedence_bitwise \ntests/test_checkother_part2.py::test_const_statement_unused_variable_value \n[gw9] [ 8%] PASSED tests/test_checkother_part2.py::test_const_statement_unused_variable_value \n[gw3] [ 8%] RERUN tests/test_checkcondition_gaps.py::test_opposite_inner_with_compound_outer \ntests/test_checkcondition_gaps.py::test_opposite_inner_with_compound_outer \n[gw3] [ 8%] FAILED tests/test_checkcondition_gaps.py::test_opposite_inner_with_compound_outer \ntests/test_checkcondition_gaps.py::test_opposite_inner_second_conjunct \ntests/test_checkother_part2.py::test_suspicious_semicolon_after_if \n[gw9] [ 8%] PASSED tests/test_checkother_part2.py::test_suspicious_semicolon_after_if \n[gw6] [ 8%] RERUN tests/test_checkio_round3.py::test_wscanf_width_too_large \ntests/test_checkio_round3.py::test_wscanf_width_too_large \n[gw6] [ 8%] FAILED tests/test_checkio_round3.py::test_wscanf_width_too_large \ntests/test_checkio_round3.py::test_fwprintf_wrong_arg_count_too_few \n[gw6] [ 8%] PASSED tests/test_checkio_round3.py::test_fwprintf_wrong_arg_count_too_few \ntests/test_checksizeof_gaps.py::test_sizeof_numeric_integer \n[gw9] [ 8%] PASSED tests/test_checksizeof_gaps.py::test_sizeof_numeric_integer \ntests/test_checkio_round3.py::test_fwprintf_wrong_arg_count_too_many \n[gw6] [ 8%] PASSED tests/test_checkio_round3.py::test_fwprintf_wrong_arg_count_too_many \ntests/test_checksizeof_gaps.py::test_sizeof_numeric_large_integer \n[gw9] [ 8%] PASSED tests/test_checksizeof_gaps.py::test_sizeof_numeric_large_integer \ntests/test_checkio_round3.py::test_fwprintf_type_mismatch_int_wchar_ptr \ntests/test_checksizeof_gaps.py::test_sizeof_numeric_hex \n[gw9] [ 8%] PASSED tests/test_checksizeof_gaps.py::test_sizeof_numeric_hex \ntests/test_checksizeof_gaps.py::test_sizeof_array_parameter \n[gw9] [ 8%] PASSED tests/test_checksizeof_gaps.py::test_sizeof_array_parameter \ntests/test_checksizeof_gaps.py::test_sizeof_array_parameter_multidim \n[gw9] [ 9%] PASSED tests/test_checksizeof_gaps.py::test_sizeof_array_parameter_multidim \ntests/test_checksizeof_gaps.py::test_sizeof_sizeof \n[gw2] [ 9%] RERUN tests/test_checkclass_gaps.py::test_complex_class_hierarchy_multiple_issues \ntests/test_checkclass_gaps.py::test_complex_class_hierarchy_multiple_issues \n[gw5] [ 9%] RERUN tests/test_checkio_gaps_round2.py::test_printf_I64u_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_I64u_modifier_int \n[gw1] [ 9%] RERUN tests/test_checkbool_gaps.py::test_comparison_bool_with_invalid_comparator \ntests/test_checkbool_gaps.py::test_comparison_bool_with_invalid_comparator \n[gw7] [ 9%] RERUN tests/test_checkio_round3.py::test_scanf_complex_format_first_arg_wrong_type \ntests/test_checkio_round3.py::test_scanf_complex_format_first_arg_wrong_type \n[gw0] [ 9%] RERUN tests/test_checkassert_gaps.py::test_postincrement_vs_preincrement \ntests/test_checkassert_gaps.py::test_postincrement_vs_preincrement \n[gw4] [ 9%] RERUN tests/test_checkio_gaps.py::test_scanf_width_too_large \ntests/test_checkio_gaps.py::test_scanf_width_too_large \n[gw8] [ 9%] RERUN tests/test_checkmemoryleak_gaps.py::test_free_then_return_value \ntests/test_checkmemoryleak_gaps.py::test_free_then_return_value \n[gw3] [ 9%] RERUN tests/test_checkcondition_gaps.py::test_opposite_inner_second_conjunct \ntests/test_checkcondition_gaps.py::test_opposite_inner_second_conjunct \n[gw6] [ 9%] RERUN tests/test_checkio_round3.py::test_fwprintf_type_mismatch_int_wchar_ptr \ntests/test_checkio_round3.py::test_fwprintf_type_mismatch_int_wchar_ptr \n[gw9] [ 9%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_sizeof \ntests/test_checksizeof_gaps.py::test_sizeof_sizeof \n[gw2] [ 9%] RERUN tests/test_checkclass_gaps.py::test_complex_class_hierarchy_multiple_issues \ntests/test_checkclass_gaps.py::test_complex_class_hierarchy_multiple_issues \n[gw2] [ 9%] FAILED tests/test_checkclass_gaps.py::test_complex_class_hierarchy_multiple_issues \ntests/test_checkclass_gaps.py::test_pure_virtual_function_call_in_constructor \n[gw5] [ 9%] RERUN tests/test_checkio_gaps_round2.py::test_printf_I64u_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_I64u_modifier_int \n[gw5] [ 9%] FAILED tests/test_checkio_gaps_round2.py::test_printf_I64u_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_I32d_modifier_short \n[gw1] [ 9%] RERUN tests/test_checkbool_gaps.py::test_comparison_bool_with_invalid_comparator \ntests/test_checkbool_gaps.py::test_comparison_bool_with_invalid_comparator \n[gw1] [ 9%] FAILED tests/test_checkbool_gaps.py::test_comparison_bool_with_invalid_comparator \ntests/test_checkbool_gaps.py::test_comparison_two_funcs_returning_bool \n[gw7] [ 9%] RERUN tests/test_checkio_round3.py::test_scanf_complex_format_first_arg_wrong_type \ntests/test_checkio_round3.py::test_scanf_complex_format_first_arg_wrong_type \n[gw7] [ 9%] FAILED tests/test_checkio_round3.py::test_scanf_complex_format_first_arg_wrong_type \ntests/test_checkio_round3.py::test_scanf_complex_format_missing_arg \n[gw7] [ 9%] PASSED tests/test_checkio_round3.py::test_scanf_complex_format_missing_arg \n[gw0] [ 9%] RERUN tests/test_checkassert_gaps.py::test_postincrement_vs_preincrement \ntests/test_checkassert_gaps.py::test_postincrement_vs_preincrement \n[gw0] [ 9%] FAILED tests/test_checkassert_gaps.py::test_postincrement_vs_preincrement \ntests/test_checkassert_gaps.py::test_bitwise_assignment_operators \ntests/test_checkio_round3.py::test_scanf_width_with_wrong_type \n[gw4] [ 9%] RERUN tests/test_checkio_gaps.py::test_scanf_width_too_large \ntests/test_checkio_gaps.py::test_scanf_width_too_large \n[gw4] [ 9%] FAILED tests/test_checkio_gaps.py::test_scanf_width_too_large \ntests/test_checkio_gaps.py::test_scanf_no_width_specifier \n[gw8] [ 9%] RERUN tests/test_checkmemoryleak_gaps.py::test_free_then_return_value \ntests/test_checkmemoryleak_gaps.py::test_free_then_return_value \n[gw8] [ 9%] FAILED tests/test_checkmemoryleak_gaps.py::test_free_then_return_value \ntests/test_checkmemoryleak_gaps.py::test_leaked_on_exception_constructor \n[gw3] [ 9%] RERUN tests/test_checkcondition_gaps.py::test_opposite_inner_second_conjunct \ntests/test_checkcondition_gaps.py::test_opposite_inner_second_conjunct \n[gw3] [ 9%] FAILED tests/test_checkcondition_gaps.py::test_opposite_inner_second_conjunct \ntests/test_checkcondition_gaps.py::test_comparison_bitwise_and_always_true \n[gw3] [ 9%] PASSED tests/test_checkcondition_gaps.py::test_comparison_bitwise_and_always_true \ntests/test_checkcondition_gaps.py::test_mismatchingbitand_error \n[gw6] [ 9%] RERUN tests/test_checkio_round3.py::test_fwprintf_type_mismatch_int_wchar_ptr \ntests/test_checkio_round3.py::test_fwprintf_type_mismatch_int_wchar_ptr \n[gw6] [ 9%] FAILED tests/test_checkio_round3.py::test_fwprintf_type_mismatch_int_wchar_ptr \ntests/test_checkio_round3.py::test_fwprintf_type_mismatch_wchar_ptr_int \n[gw9] [ 9%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_sizeof \ntests/test_checksizeof_gaps.py::test_sizeof_sizeof \n[gw9] [ 9%] FAILED tests/test_checksizeof_gaps.py::test_sizeof_sizeof \ntests/test_checksizeof_gaps.py::test_sizeof_sizeof_with_parens \n[gw9] [ 9%] PASSED tests/test_checksizeof_gaps.py::test_sizeof_sizeof_with_parens \ntests/test_checksizeof_gaps.py::test_sizeof_calculation_addition \n[gw9] [ 9%] PASSED tests/test_checksizeof_gaps.py::test_sizeof_calculation_addition \ntests/test_checksizeof_gaps.py::test_sizeof_calculation_multiplication \n[gw9] [ 9%] PASSED tests/test_checksizeof_gaps.py::test_sizeof_calculation_multiplication \ntests/test_checksizeof_gaps.py::test_sizeof_calculation_with_variables \n[gw9] [ 9%] PASSED tests/test_checksizeof_gaps.py::test_sizeof_calculation_with_variables \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_malloc \n[gw2] [ 9%] RERUN tests/test_checkclass_gaps.py::test_pure_virtual_function_call_in_constructor \ntests/test_checkclass_gaps.py::test_pure_virtual_function_call_in_constructor \n[gw5] [ 10%] RERUN tests/test_checkio_gaps_round2.py::test_printf_I32d_modifier_short \ntests/test_checkio_gaps_round2.py::test_printf_I32d_modifier_short \n[gw1] [ 10%] RERUN tests/test_checkbool_gaps.py::test_comparison_two_funcs_returning_bool \ntests/test_checkbool_gaps.py::test_comparison_two_funcs_returning_bool \n[gw0] [ 10%] RERUN tests/test_checkassert_gaps.py::test_bitwise_assignment_operators \ntests/test_checkassert_gaps.py::test_bitwise_assignment_operators \n[gw7] [ 10%] RERUN tests/test_checkio_round3.py::test_scanf_width_with_wrong_type \ntests/test_checkio_round3.py::test_scanf_width_with_wrong_type \n[gw4] [ 10%] RERUN tests/test_checkio_gaps.py::test_scanf_no_width_specifier \ntests/test_checkio_gaps.py::test_scanf_no_width_specifier \n[gw8] [ 10%] RERUN tests/test_checkmemoryleak_gaps.py::test_leaked_on_exception_constructor \ntests/test_checkmemoryleak_gaps.py::test_leaked_on_exception_constructor \n[gw3] [ 10%] RERUN tests/test_checkcondition_gaps.py::test_mismatchingbitand_error \ntests/test_checkcondition_gaps.py::test_mismatchingbitand_error \n[gw6] [ 10%] RERUN tests/test_checkio_round3.py::test_fwprintf_type_mismatch_wchar_ptr_int \ntests/test_checkio_round3.py::test_fwprintf_type_mismatch_wchar_ptr_int \n[gw9] [ 10%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_pointer_malloc \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_malloc \n[gw2] [ 10%] RERUN tests/test_checkclass_gaps.py::test_pure_virtual_function_call_in_constructor \ntests/test_checkclass_gaps.py::test_pure_virtual_function_call_in_constructor \n[gw2] [ 10%] FAILED tests/test_checkclass_gaps.py::test_pure_virtual_function_call_in_constructor \ntests/test_checkclass_gaps.py::test_useless_override_identical_to_base \n[gw5] [ 10%] RERUN tests/test_checkio_gaps_round2.py::test_printf_I32d_modifier_short \ntests/test_checkio_gaps_round2.py::test_printf_I32d_modifier_short \n[gw1] [ 10%] RERUN tests/test_checkbool_gaps.py::test_comparison_two_funcs_returning_bool \ntests/test_checkbool_gaps.py::test_comparison_two_funcs_returning_bool \n[gw5] [ 10%] FAILED tests/test_checkio_gaps_round2.py::test_printf_I32d_modifier_short \n[gw1] [ 10%] FAILED tests/test_checkbool_gaps.py::test_comparison_two_funcs_returning_bool \ntests/test_checkio_gaps_round2.py::test_printf_I32d_modifier_long \ntests/test_checkbool_gaps.py::test_complex_bool_expressions \n[gw0] [ 10%] RERUN tests/test_checkassert_gaps.py::test_bitwise_assignment_operators \ntests/test_checkassert_gaps.py::test_bitwise_assignment_operators \n[gw0] [ 10%] FAILED tests/test_checkassert_gaps.py::test_bitwise_assignment_operators \ntests/test_checkautovariables_gaps.py::test_return_pointer_to_local_variable \n[gw7] [ 10%] RERUN tests/test_checkio_round3.py::test_scanf_width_with_wrong_type \ntests/test_checkio_round3.py::test_scanf_width_with_wrong_type \n[gw0] [ 10%] PASSED tests/test_checkautovariables_gaps.py::test_return_pointer_to_local_variable \n[gw7] [ 10%] FAILED tests/test_checkio_round3.py::test_scanf_width_with_wrong_type \ntests/test_checkio_round3.py::test_sprintf_wrong_arg_count_too_few \n[gw4] [ 10%] RERUN tests/test_checkio_gaps.py::test_scanf_no_width_specifier \ntests/test_checkio_gaps.py::test_scanf_no_width_specifier \n[gw7] [ 10%] PASSED tests/test_checkio_round3.py::test_sprintf_wrong_arg_count_too_few \n[gw4] [ 10%] FAILED tests/test_checkio_gaps.py::test_scanf_no_width_specifier \ntests/test_checkio_gaps.py::test_cout_cerr_misuse_cout_to_cout \ntests/test_checkautovariables_gaps.py::test_return_reference_to_local_variable \ntests/test_checkio_round3.py::test_sprintf_wrong_arg_count_too_many \n[gw7] [ 10%] PASSED tests/test_checkio_round3.py::test_sprintf_wrong_arg_count_too_many \n[gw8] [ 10%] RERUN tests/test_checkmemoryleak_gaps.py::test_leaked_on_exception_constructor \ntests/test_checkmemoryleak_gaps.py::test_leaked_on_exception_constructor \n[gw8] [ 10%] FAILED tests/test_checkmemoryleak_gaps.py::test_leaked_on_exception_constructor \ntests/test_checkother_gaps.py::test_cast_int_to_char_getchar \ntests/test_checkio_round3.py::test_sprintf_type_mismatch_int_string \n[gw3] [ 10%] RERUN tests/test_checkcondition_gaps.py::test_mismatchingbitand_error \ntests/test_checkcondition_gaps.py::test_mismatchingbitand_error \n[gw3] [ 10%] FAILED tests/test_checkcondition_gaps.py::test_mismatchingbitand_error \ntests/test_checkcondition_gaps.py::test_badbitmask_or_with_zero_operand \n[gw6] [ 10%] RERUN tests/test_checkio_round3.py::test_fwprintf_type_mismatch_wchar_ptr_int \ntests/test_checkio_round3.py::test_fwprintf_type_mismatch_wchar_ptr_int \n[gw6] [ 10%] FAILED tests/test_checkio_round3.py::test_fwprintf_type_mismatch_wchar_ptr_int \ntests/test_checkio_round3.py::test_fwprintf_type_mismatch_float_int \n[gw9] [ 10%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_pointer_malloc \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_malloc \n[gw9] [ 10%] FAILED tests/test_checksizeof_gaps.py::test_sizeof_pointer_malloc \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_calloc \n[gw2] [ 10%] RERUN tests/test_checkclass_gaps.py::test_useless_override_identical_to_base \ntests/test_checkclass_gaps.py::test_useless_override_identical_to_base \n[gw1] [ 10%] RERUN tests/test_checkbool_gaps.py::test_complex_bool_expressions \ntests/test_checkbool_gaps.py::test_complex_bool_expressions \n[gw5] [ 10%] RERUN tests/test_checkio_gaps_round2.py::test_printf_I32d_modifier_long \ntests/test_checkio_gaps_round2.py::test_printf_I32d_modifier_long \n[gw4] [ 10%] RERUN tests/test_checkio_gaps.py::test_cout_cerr_misuse_cout_to_cout \ntests/test_checkio_gaps.py::test_cout_cerr_misuse_cout_to_cout \n[gw0] [ 10%] RERUN tests/test_checkautovariables_gaps.py::test_return_reference_to_local_variable \ntests/test_checkautovariables_gaps.py::test_return_reference_to_local_variable \n[gw8] [ 10%] RERUN tests/test_checkother_gaps.py::test_cast_int_to_char_getchar \ntests/test_checkother_gaps.py::test_cast_int_to_char_getchar \n[gw7] [ 11%] RERUN tests/test_checkio_round3.py::test_sprintf_type_mismatch_int_string \ntests/test_checkio_round3.py::test_sprintf_type_mismatch_int_string \n[gw3] [ 11%] RERUN tests/test_checkcondition_gaps.py::test_badbitmask_or_with_zero_operand \ntests/test_checkcondition_gaps.py::test_badbitmask_or_with_zero_operand \n[gw6] [ 11%] RERUN tests/test_checkio_round3.py::test_fwprintf_type_mismatch_float_int \ntests/test_checkio_round3.py::test_fwprintf_type_mismatch_float_int \n[gw9] [ 11%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_pointer_calloc \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_calloc \n[gw2] [ 11%] RERUN tests/test_checkclass_gaps.py::test_useless_override_identical_to_base \ntests/test_checkclass_gaps.py::test_useless_override_identical_to_base \n[gw2] [ 11%] FAILED tests/test_checkclass_gaps.py::test_useless_override_identical_to_base \ntests/test_checkclass_gaps.py::test_return_reference_to_local_variable \n[gw1] [ 11%] RERUN tests/test_checkbool_gaps.py::test_complex_bool_expressions \ntests/test_checkbool_gaps.py::test_complex_bool_expressions \n[gw1] [ 11%] FAILED tests/test_checkbool_gaps.py::test_complex_bool_expressions \ntests/test_checkbool_gaps.py::test_c_code_bool_operations \n[gw5] [ 11%] RERUN tests/test_checkio_gaps_round2.py::test_printf_I32d_modifier_long \ntests/test_checkio_gaps_round2.py::test_printf_I32d_modifier_long \n[gw5] [ 11%] FAILED tests/test_checkio_gaps_round2.py::test_printf_I32d_modifier_long \ntests/test_checkio_gaps_round2.py::test_printf_hhd_modifier_int \n[gw4] [ 11%] RERUN tests/test_checkio_gaps.py::test_cout_cerr_misuse_cout_to_cout \ntests/test_checkio_gaps.py::test_cout_cerr_misuse_cout_to_cout \n[gw4] [ 11%] FAILED tests/test_checkio_gaps.py::test_cout_cerr_misuse_cout_to_cout \ntests/test_checkio_gaps.py::test_cout_cerr_misuse_cerr_to_cout \n[gw0] [ 11%] RERUN tests/test_checkautovariables_gaps.py::test_return_reference_to_local_variable \ntests/test_checkautovariables_gaps.py::test_return_reference_to_local_variable \n[gw0] [ 11%] FAILED tests/test_checkautovariables_gaps.py::test_return_reference_to_local_variable \ntests/test_checkautovariables_gaps.py::test_return_pointer_to_local_array \n[gw0] [ 11%] PASSED tests/test_checkautovariables_gaps.py::test_return_pointer_to_local_array \n[gw8] [ 11%] RERUN tests/test_checkother_gaps.py::test_cast_int_to_char_getchar \ntests/test_checkother_gaps.py::test_cast_int_to_char_getchar \n[gw8] [ 11%] FAILED tests/test_checkother_gaps.py::test_cast_int_to_char_getchar \ntests/test_checkother_gaps.py::test_cast_int_to_char_variations \ntests/test_checkautovariables_gaps.py::test_assign_address_of_local_to_pointer_parameter \n[gw7] [ 11%] RERUN tests/test_checkio_round3.py::test_sprintf_type_mismatch_int_string \ntests/test_checkio_round3.py::test_sprintf_type_mismatch_int_string \n[gw0] [ 11%] PASSED tests/test_checkautovariables_gaps.py::test_assign_address_of_local_to_pointer_parameter \n[gw7] [ 11%] FAILED tests/test_checkio_round3.py::test_sprintf_type_mismatch_int_string \ntests/test_checkio_round3.py::test_sprintf_type_mismatch_string_int \ntests/test_checkautovariables_gaps.py::test_lambda_capture_local_by_reference \n[gw3] [ 11%] RERUN tests/test_checkcondition_gaps.py::test_badbitmask_or_with_zero_operand \ntests/test_checkcondition_gaps.py::test_badbitmask_or_with_zero_operand \n[gw3] [ 11%] FAILED tests/test_checkcondition_gaps.py::test_badbitmask_or_with_zero_operand \ntests/test_checkcondition_gaps.py::test_multiple_assignments_same_variable \n[gw3] [ 11%] PASSED tests/test_checkcondition_gaps.py::test_multiple_assignments_same_variable \ntests/test_checkcondition_gaps.py::test_bitwise_or_non_zero_always_true \n[gw6] [ 11%] RERUN tests/test_checkio_round3.py::test_fwprintf_type_mismatch_float_int \ntests/test_checkio_round3.py::test_fwprintf_type_mismatch_float_int \n[gw6] [ 11%] FAILED tests/test_checkio_round3.py::test_fwprintf_type_mismatch_float_int \ntests/test_checkio_round3.py::test_fwprintf_type_mismatch_int_float \n[gw9] [ 11%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_pointer_calloc \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_calloc \n[gw9] [ 11%] FAILED tests/test_checksizeof_gaps.py::test_sizeof_pointer_calloc \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_memset \n[gw2] [ 11%] RERUN tests/test_checkclass_gaps.py::test_return_reference_to_local_variable \ntests/test_checkclass_gaps.py::test_return_reference_to_local_variable \n[gw1] [ 11%] RERUN tests/test_checkbool_gaps.py::test_c_code_bool_operations \ntests/test_checkbool_gaps.py::test_c_code_bool_operations \n[gw5] [ 11%] RERUN tests/test_checkio_gaps_round2.py::test_printf_hhd_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_hhd_modifier_int \n[gw4] [ 11%] RERUN tests/test_checkio_gaps.py::test_cout_cerr_misuse_cerr_to_cout \ntests/test_checkio_gaps.py::test_cout_cerr_misuse_cerr_to_cout \n[gw8] [ 11%] RERUN tests/test_checkother_gaps.py::test_cast_int_to_char_variations \ntests/test_checkother_gaps.py::test_cast_int_to_char_variations \n[gw7] [ 11%] RERUN tests/test_checkio_round3.py::test_sprintf_type_mismatch_string_int \ntests/test_checkio_round3.py::test_sprintf_type_mismatch_string_int \n[gw0] [ 11%] RERUN tests/test_checkautovariables_gaps.py::test_lambda_capture_local_by_reference \ntests/test_checkautovariables_gaps.py::test_lambda_capture_local_by_reference \n[gw3] [ 11%] RERUN tests/test_checkcondition_gaps.py::test_bitwise_or_non_zero_always_true \ntests/test_checkcondition_gaps.py::test_bitwise_or_non_zero_always_true \n[gw6] [ 11%] RERUN tests/test_checkio_round3.py::test_fwprintf_type_mismatch_int_float \ntests/test_checkio_round3.py::test_fwprintf_type_mismatch_int_float \n[gw9] [ 11%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_pointer_memset \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_memset \n[gw2] [ 11%] RERUN tests/test_checkclass_gaps.py::test_return_reference_to_local_variable \ntests/test_checkclass_gaps.py::test_return_reference_to_local_variable \n[gw2] [ 11%] FAILED tests/test_checkclass_gaps.py::test_return_reference_to_local_variable \ntests/test_checkclass_gaps.py::test_missing_constructor_with_private_members \n[gw1] [ 11%] RERUN tests/test_checkbool_gaps.py::test_c_code_bool_operations \ntests/test_checkbool_gaps.py::test_c_code_bool_operations \n[gw1] [ 11%] FAILED tests/test_checkbool_gaps.py::test_c_code_bool_operations \ntests/test_checkbool_gaps.py::test_underscore_bool_type \n[gw5] [ 11%] RERUN tests/test_checkio_gaps_round2.py::test_printf_hhd_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_hhd_modifier_int \n[gw5] [ 11%] FAILED tests/test_checkio_gaps_round2.py::test_printf_hhd_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_hhd_modifier_short \n[gw4] [ 11%] RERUN tests/test_checkio_gaps.py::test_cout_cerr_misuse_cerr_to_cout \ntests/test_checkio_gaps.py::test_cout_cerr_misuse_cerr_to_cout \n[gw4] [ 11%] FAILED tests/test_checkio_gaps.py::test_cout_cerr_misuse_cerr_to_cout \ntests/test_checkio_gaps.py::test_cout_cerr_misuse_cout_to_cerr \n[gw8] [ 11%] RERUN tests/test_checkother_gaps.py::test_cast_int_to_char_variations \ntests/test_checkother_gaps.py::test_cast_int_to_char_variations \n[gw8] [ 11%] FAILED tests/test_checkother_gaps.py::test_cast_int_to_char_variations \ntests/test_checkother_gaps.py::test_clarify_calculation_precedence \n[gw8] [ 11%] PASSED tests/test_checkother_gaps.py::test_clarify_calculation_precedence \n[gw7] [ 11%] RERUN tests/test_checkio_round3.py::test_sprintf_type_mismatch_string_int \ntests/test_checkio_round3.py::test_sprintf_type_mismatch_string_int \n[gw7] [ 11%] FAILED tests/test_checkio_round3.py::test_sprintf_type_mismatch_string_int \ntests/test_checkio_round3.py::test_snprintf_wrong_arg_count_too_few \n[gw7] [ 12%] PASSED tests/test_checkio_round3.py::test_snprintf_wrong_arg_count_too_few \n[gw0] [ 12%] RERUN tests/test_checkautovariables_gaps.py::test_lambda_capture_local_by_reference \ntests/test_checkautovariables_gaps.py::test_lambda_capture_local_by_reference \ntests/test_checkother_gaps.py::test_suspicious_semicolon_if_while_for \n[gw8] [ 12%] PASSED tests/test_checkother_gaps.py::test_suspicious_semicolon_if_while_for \n[gw0] [ 12%] FAILED tests/test_checkautovariables_gaps.py::test_lambda_capture_local_by_reference \ntests/test_checkautovariables_gaps.py::test_return_reference_to_temporary \ntests/test_checkother_gaps.py::test_redundant_assignment_consecutive \ntests/test_checkio_round3.py::test_snprintf_wrong_arg_count_too_many \n[gw7] [ 12%] PASSED tests/test_checkio_round3.py::test_snprintf_wrong_arg_count_too_many \n[gw8] [ 12%] PASSED tests/test_checkother_gaps.py::test_redundant_assignment_consecutive \ntests/test_checkio_round3.py::test_snprintf_type_mismatch \ntests/test_checkother_gaps.py::test_variable_scope_reduction \n[gw8] [ 12%] PASSED tests/test_checkother_gaps.py::test_variable_scope_reduction \n[gw3] [ 12%] RERUN tests/test_checkcondition_gaps.py::test_bitwise_or_non_zero_always_true \ntests/test_checkcondition_gaps.py::test_bitwise_or_non_zero_always_true \n[gw3] [ 12%] FAILED tests/test_checkcondition_gaps.py::test_bitwise_or_non_zero_always_true \ntests/test_checkcondition_gaps.py::test_modulo_with_equals_boundary \ntests/test_checkother_gaps.py::test_incomplete_statement_sizeof \n[gw6] [ 12%] RERUN tests/test_checkio_round3.py::test_fwprintf_type_mismatch_int_float \ntests/test_checkio_round3.py::test_fwprintf_type_mismatch_int_float \n[gw6] [ 12%] FAILED tests/test_checkio_round3.py::test_fwprintf_type_mismatch_int_float \ntests/test_checkio_round3.py::test_swprintf_wrong_arg_count_too_few \n[gw9] [ 12%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_pointer_memset \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_memset \n[gw9] [ 12%] FAILED tests/test_checksizeof_gaps.py::test_sizeof_pointer_memset \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_memcpy \n[gw2] [ 12%] RERUN tests/test_checkclass_gaps.py::test_missing_constructor_with_private_members \ntests/test_checkclass_gaps.py::test_missing_constructor_with_private_members \n[gw1] [ 12%] RERUN tests/test_checkbool_gaps.py::test_underscore_bool_type \ntests/test_checkbool_gaps.py::test_underscore_bool_type \n[gw5] [ 12%] RERUN tests/test_checkio_gaps_round2.py::test_printf_hhd_modifier_short \ntests/test_checkio_gaps_round2.py::test_printf_hhd_modifier_short \n[gw4] [ 12%] RERUN tests/test_checkio_gaps.py::test_cout_cerr_misuse_cout_to_cerr \ntests/test_checkio_gaps.py::test_cout_cerr_misuse_cout_to_cerr \n[gw0] [ 12%] RERUN tests/test_checkautovariables_gaps.py::test_return_reference_to_temporary \ntests/test_checkautovariables_gaps.py::test_return_reference_to_temporary \n[gw7] [ 12%] RERUN tests/test_checkio_round3.py::test_snprintf_type_mismatch \ntests/test_checkio_round3.py::test_snprintf_type_mismatch \n[gw3] [ 12%] RERUN tests/test_checkcondition_gaps.py::test_modulo_with_equals_boundary \ntests/test_checkcondition_gaps.py::test_modulo_with_equals_boundary \n[gw8] [ 12%] RERUN tests/test_checkother_gaps.py::test_incomplete_statement_sizeof \ntests/test_checkother_gaps.py::test_incomplete_statement_sizeof \n[gw6] [ 12%] RERUN tests/test_checkio_round3.py::test_swprintf_wrong_arg_count_too_few \ntests/test_checkio_round3.py::test_swprintf_wrong_arg_count_too_few \n[gw9] [ 12%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_pointer_memcpy \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_memcpy \n[gw2] [ 12%] RERUN tests/test_checkclass_gaps.py::test_missing_constructor_with_private_members \ntests/test_checkclass_gaps.py::test_missing_constructor_with_private_members \n[gw2] [ 12%] FAILED tests/test_checkclass_gaps.py::test_missing_constructor_with_private_members \ntests/test_checkclass_gaps.py::test_shallow_copy_in_copy_constructor \n[gw1] [ 12%] RERUN tests/test_checkbool_gaps.py::test_underscore_bool_type \ntests/test_checkbool_gaps.py::test_underscore_bool_type \n[gw1] [ 12%] FAILED tests/test_checkbool_gaps.py::test_underscore_bool_type \ntests/test_checkbool_gaps.py::test_edge_case_comparisons \n[gw5] [ 12%] RERUN tests/test_checkio_gaps_round2.py::test_printf_hhd_modifier_short \ntests/test_checkio_gaps_round2.py::test_printf_hhd_modifier_short \n[gw5] [ 12%] FAILED tests/test_checkio_gaps_round2.py::test_printf_hhd_modifier_short \ntests/test_checkio_gaps_round2.py::test_printf_hhu_modifier_int \n[gw4] [ 12%] RERUN tests/test_checkio_gaps.py::test_cout_cerr_misuse_cout_to_cerr \ntests/test_checkio_gaps.py::test_cout_cerr_misuse_cout_to_cerr \n[gw4] [ 12%] FAILED tests/test_checkio_gaps.py::test_cout_cerr_misuse_cout_to_cerr \ntests/test_checkio_gaps.py::test_cout_cerr_misuse_in_chain \n[gw0] [ 12%] RERUN tests/test_checkautovariables_gaps.py::test_return_reference_to_temporary \ntests/test_checkautovariables_gaps.py::test_return_reference_to_temporary \n[gw0] [ 12%] FAILED tests/test_checkautovariables_gaps.py::test_return_reference_to_temporary \ntests/test_checkautovariables_gaps.py::test_deallocation_of_auto_variable \n[gw7] [ 12%] RERUN tests/test_checkio_round3.py::test_snprintf_type_mismatch \ntests/test_checkio_round3.py::test_snprintf_type_mismatch \n[gw7] [ 12%] FAILED tests/test_checkio_round3.py::test_snprintf_type_mismatch \ntests/test_checkio_round3.py::test_sscanf_wrong_arg_count_too_few \n[gw7] [ 12%] PASSED tests/test_checkio_round3.py::test_sscanf_wrong_arg_count_too_few \n[gw3] [ 12%] RERUN tests/test_checkcondition_gaps.py::test_modulo_with_equals_boundary \ntests/test_checkcondition_gaps.py::test_modulo_with_equals_boundary \n[gw8] [ 12%] RERUN tests/test_checkother_gaps.py::test_incomplete_statement_sizeof \ntests/test_checkother_gaps.py::test_incomplete_statement_sizeof \n[gw3] [ 12%] FAILED tests/test_checkcondition_gaps.py::test_modulo_with_equals_boundary \ntests/test_checkcondition_gaps.py::test_nested_if_else_with_opposite_in_else \n[gw8] [ 12%] FAILED tests/test_checkother_gaps.py::test_incomplete_statement_sizeof \ntests/test_checkother_gaps.py::test_char_bitop_sign_extension \ntests/test_checkio_round3.py::test_sscanf_wrong_arg_count_too_many \n[gw7] [ 12%] PASSED tests/test_checkio_round3.py::test_sscanf_wrong_arg_count_too_many \ntests/test_checkio_round3.py::test_sscanf_type_mismatch_int \n[gw6] [ 12%] RERUN tests/test_checkio_round3.py::test_swprintf_wrong_arg_count_too_few \ntests/test_checkio_round3.py::test_swprintf_wrong_arg_count_too_few \n[gw6] [ 12%] FAILED tests/test_checkio_round3.py::test_swprintf_wrong_arg_count_too_few \ntests/test_checkio_round3.py::test_swprintf_wrong_arg_count_too_many \n[gw9] [ 12%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_pointer_memcpy \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_memcpy \n[gw9] [ 12%] FAILED tests/test_checksizeof_gaps.py::test_sizeof_pointer_memcpy \ntests/test_checksizeof_gaps.py::test_sizeof_void \n[gw2] [ 12%] RERUN tests/test_checkclass_gaps.py::test_shallow_copy_in_copy_constructor \ntests/test_checkclass_gaps.py::test_shallow_copy_in_copy_constructor \n[gw1] [ 12%] RERUN tests/test_checkbool_gaps.py::test_edge_case_comparisons \ntests/test_checkbool_gaps.py::test_edge_case_comparisons \n[gw5] [ 13%] RERUN tests/test_checkio_gaps_round2.py::test_printf_hhu_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_hhu_modifier_int \n[gw4] [ 13%] RERUN tests/test_checkio_gaps.py::test_cout_cerr_misuse_in_chain \ntests/test_checkio_gaps.py::test_cout_cerr_misuse_in_chain \n[gw0] [ 13%] RERUN tests/test_checkautovariables_gaps.py::test_deallocation_of_auto_variable \ntests/test_checkautovariables_gaps.py::test_deallocation_of_auto_variable \n[gw3] [ 13%] RERUN tests/test_checkcondition_gaps.py::test_nested_if_else_with_opposite_in_else \ntests/test_checkcondition_gaps.py::test_nested_if_else_with_opposite_in_else \n[gw8] [ 13%] RERUN tests/test_checkother_gaps.py::test_char_bitop_sign_extension \ntests/test_checkother_gaps.py::test_char_bitop_sign_extension \n[gw7] [ 13%] RERUN tests/test_checkio_round3.py::test_sscanf_type_mismatch_int \ntests/test_checkio_round3.py::test_sscanf_type_mismatch_int \n[gw6] [ 13%] RERUN tests/test_checkio_round3.py::test_swprintf_wrong_arg_count_too_many \ntests/test_checkio_round3.py::test_swprintf_wrong_arg_count_too_many \n[gw9] [ 13%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_void \ntests/test_checksizeof_gaps.py::test_sizeof_void \n[gw2] [ 13%] RERUN tests/test_checkclass_gaps.py::test_shallow_copy_in_copy_constructor \ntests/test_checkclass_gaps.py::test_shallow_copy_in_copy_constructor \n[gw1] [ 13%] RERUN tests/test_checkbool_gaps.py::test_edge_case_comparisons \ntests/test_checkbool_gaps.py::test_edge_case_comparisons \n[gw2] [ 13%] FAILED tests/test_checkclass_gaps.py::test_shallow_copy_in_copy_constructor \ntests/test_checkclass_gaps.py::test_copy_constructor_and_destructor_without_assignment \n[gw1] [ 13%] FAILED tests/test_checkbool_gaps.py::test_edge_case_comparisons \ntests/test_checkbool_gaps.py::test_pointer_arith_complex_conditions \n[gw5] [ 13%] RERUN tests/test_checkio_gaps_round2.py::test_printf_hhu_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_hhu_modifier_int \n[gw5] [ 13%] FAILED tests/test_checkio_gaps_round2.py::test_printf_hhu_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_lld_modifier_int \n[gw4] [ 13%] RERUN tests/test_checkio_gaps.py::test_cout_cerr_misuse_in_chain \ntests/test_checkio_gaps.py::test_cout_cerr_misuse_in_chain \n[gw4] [ 13%] FAILED tests/test_checkio_gaps.py::test_cout_cerr_misuse_in_chain \ntests/test_checkio_gaps.py::test_write_to_readonly_file \n[gw0] [ 13%] RERUN tests/test_checkautovariables_gaps.py::test_deallocation_of_auto_variable \ntests/test_checkautovariables_gaps.py::test_deallocation_of_auto_variable \n[gw0] [ 13%] FAILED tests/test_checkautovariables_gaps.py::test_deallocation_of_auto_variable \ntests/test_checkautovariables_gaps.py::test_useless_assignment_pointer_parameter \n[gw0] [ 13%] PASSED tests/test_checkautovariables_gaps.py::test_useless_assignment_pointer_parameter \ntests/test_checkautovariables_gaps.py::test_useless_assignment_value_parameter \n[gw0] [ 13%] PASSED tests/test_checkautovariables_gaps.py::test_useless_assignment_value_parameter \ntests/test_checkautovariables_gaps.py::test_dangling_pointer_after_scope_exit \n[gw3] [ 13%] RERUN tests/test_checkcondition_gaps.py::test_nested_if_else_with_opposite_in_else \ntests/test_checkcondition_gaps.py::test_nested_if_else_with_opposite_in_else \n[gw8] [ 13%] RERUN tests/test_checkother_gaps.py::test_char_bitop_sign_extension \ntests/test_checkother_gaps.py::test_char_bitop_sign_extension \n[gw3] [ 13%] FAILED tests/test_checkcondition_gaps.py::test_nested_if_else_with_opposite_in_else \ntests/test_checkcondition_gaps.py::test_signed_modulo_with_negative_range \n[gw8] [ 13%] FAILED tests/test_checkother_gaps.py::test_char_bitop_sign_extension \ntests/test_checkother_gaps.py::test_zerodiv_literal_and_constant \n[gw8] [ 13%] PASSED tests/test_checkother_gaps.py::test_zerodiv_literal_and_constant \n[gw7] [ 13%] RERUN tests/test_checkio_round3.py::test_sscanf_type_mismatch_int \ntests/test_checkio_round3.py::test_sscanf_type_mismatch_int \ntests/test_checkother_gaps.py::test_duplicate_expression_same_sides \n[gw7] [ 13%] FAILED tests/test_checkio_round3.py::test_sscanf_type_mismatch_int \ntests/test_checkio_round3.py::test_sscanf_type_mismatch_string \n[gw8] [ 13%] PASSED tests/test_checkother_gaps.py::test_duplicate_expression_same_sides \n[gw6] [ 13%] RERUN tests/test_checkio_round3.py::test_swprintf_wrong_arg_count_too_many \ntests/test_checkio_round3.py::test_swprintf_wrong_arg_count_too_many \ntests/test_checkother_gaps.py::test_comparison_function_always_true_false \n[gw6] [ 13%] FAILED tests/test_checkio_round3.py::test_swprintf_wrong_arg_count_too_many \ntests/test_checkio_round3.py::test_swprintf_type_mismatch_int_wchar_ptr \n[gw9] [ 13%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_void \ntests/test_checksizeof_gaps.py::test_sizeof_void \n[gw9] [ 13%] FAILED tests/test_checksizeof_gaps.py::test_sizeof_void \ntests/test_checksizeof_gaps.py::test_sizeof_dereferenced_void_pointer \n[gw2] [ 13%] RERUN tests/test_checkclass_gaps.py::test_copy_constructor_and_destructor_without_assignment \ntests/test_checkclass_gaps.py::test_copy_constructor_and_destructor_without_assignment \n[gw1] [ 13%] RERUN tests/test_checkbool_gaps.py::test_pointer_arith_complex_conditions \ntests/test_checkbool_gaps.py::test_pointer_arith_complex_conditions \n[gw5] [ 13%] RERUN tests/test_checkio_gaps_round2.py::test_printf_lld_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_lld_modifier_int \n[gw4] [ 13%] RERUN tests/test_checkio_gaps.py::test_write_to_readonly_file \ntests/test_checkio_gaps.py::test_write_to_readonly_file \n[gw0] [ 13%] RERUN tests/test_checkautovariables_gaps.py::test_dangling_pointer_after_scope_exit \ntests/test_checkautovariables_gaps.py::test_dangling_pointer_after_scope_exit \n[gw3] [ 13%] RERUN tests/test_checkcondition_gaps.py::test_signed_modulo_with_negative_range \ntests/test_checkcondition_gaps.py::test_signed_modulo_with_negative_range \n[gw7] [ 14%] RERUN tests/test_checkio_round3.py::test_sscanf_type_mismatch_string \ntests/test_checkio_round3.py::test_sscanf_type_mismatch_string \n[gw8] [ 14%] RERUN tests/test_checkother_gaps.py::test_comparison_function_always_true_false \ntests/test_checkother_gaps.py::test_comparison_function_always_true_false \n[gw6] [ 14%] RERUN tests/test_checkio_round3.py::test_swprintf_type_mismatch_int_wchar_ptr \ntests/test_checkio_round3.py::test_swprintf_type_mismatch_int_wchar_ptr \n[gw9] [ 14%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_dereferenced_void_pointer \ntests/test_checksizeof_gaps.py::test_sizeof_dereferenced_void_pointer \n[gw2] [ 14%] RERUN tests/test_checkclass_gaps.py::test_copy_constructor_and_destructor_without_assignment \ntests/test_checkclass_gaps.py::test_copy_constructor_and_destructor_without_assignment \n[gw1] [ 14%] RERUN tests/test_checkbool_gaps.py::test_pointer_arith_complex_conditions \ntests/test_checkbool_gaps.py::test_pointer_arith_complex_conditions \n[gw2] [ 14%] FAILED tests/test_checkclass_gaps.py::test_copy_constructor_and_destructor_without_assignment \ntests/test_checkclass_gaps_round2.py::test_const_function_detection \n[gw2] [ 14%] PASSED tests/test_checkclass_gaps_round2.py::test_const_function_detection \n[gw1] [ 14%] FAILED tests/test_checkbool_gaps.py::test_pointer_arith_complex_conditions \ntests/test_checkbool_gaps.py::test_casts_and_function_calls \ntests/test_checkclass_gaps_round2.py::test_operator_eq_missing_return_statement \n[gw5] [ 14%] RERUN tests/test_checkio_gaps_round2.py::test_printf_lld_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_lld_modifier_int \n[gw5] [ 14%] FAILED tests/test_checkio_gaps_round2.py::test_printf_lld_modifier_int \ntests/test_checkio_gaps_round2.py::test_printf_lld_modifier_long \n[gw4] [ 14%] RERUN tests/test_checkio_gaps.py::test_write_to_readonly_file \ntests/test_checkio_gaps.py::test_write_to_readonly_file \n[gw4] [ 14%] FAILED tests/test_checkio_gaps.py::test_write_to_readonly_file \ntests/test_checkio_gaps.py::test_read_from_writeonly_file \n[gw0] [ 14%] RERUN tests/test_checkautovariables_gaps.py::test_dangling_pointer_after_scope_exit \ntests/test_checkautovariables_gaps.py::test_dangling_pointer_after_scope_exit \n[gw0] [ 14%] FAILED tests/test_checkautovariables_gaps.py::test_dangling_pointer_after_scope_exit \ntests/test_checkautovariables_gaps.py::test_return_pointer_to_temporary_object_member \n[gw3] [ 14%] RERUN tests/test_checkcondition_gaps.py::test_signed_modulo_with_negative_range \ntests/test_checkcondition_gaps.py::test_signed_modulo_with_negative_range \n[gw3] [ 14%] FAILED tests/test_checkcondition_gaps.py::test_signed_modulo_with_negative_range \ntests/test_checkcondition_gaps.py::test_complex_nested_conditions_three_levels \n[gw7] [ 14%] RERUN tests/test_checkio_round3.py::test_sscanf_type_mismatch_string \ntests/test_checkio_round3.py::test_sscanf_type_mismatch_string \n[gw7] [ 14%] FAILED tests/test_checkio_round3.py::test_sscanf_type_mismatch_string \ntests/test_checkio_round3.py::test_sscanf_width_too_large \n[gw8] [ 14%] RERUN tests/test_checkother_gaps.py::test_comparison_function_always_true_false \ntests/test_checkother_gaps.py::test_comparison_function_always_true_false \n[gw6] [ 14%] RERUN tests/test_checkio_round3.py::test_swprintf_type_mismatch_int_wchar_ptr \ntests/test_checkio_round3.py::test_swprintf_type_mismatch_int_wchar_ptr \n[gw8] [ 14%] FAILED tests/test_checkother_gaps.py::test_comparison_function_always_true_false \ntests/test_checkother_gaps.py::test_unsigned_sign_checks \n[gw8] [ 14%] PASSED tests/test_checkother_gaps.py::test_unsigned_sign_checks \n[gw6] [ 14%] FAILED tests/test_checkio_round3.py::test_swprintf_type_mismatch_int_wchar_ptr \ntests/test_checkio_round3.py::test_swprintf_type_mismatch_wchar_ptr_int \ntests/test_checkother_part1.py::test_int_to_pointer_cast_decimal \n[gw9] [ 14%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_dereferenced_void_pointer \ntests/test_checksizeof_gaps.py::test_sizeof_dereferenced_void_pointer \n[gw9] [ 14%] FAILED tests/test_checksizeof_gaps.py::test_sizeof_dereferenced_void_pointer \ntests/test_checksizeof_gaps.py::test_multiply_sizeof_error \n[gw1] [ 14%] RERUN tests/test_checkbool_gaps.py::test_casts_and_function_calls \ntests/test_checkbool_gaps.py::test_casts_and_function_calls \n[gw2] [ 14%] RERUN tests/test_checkclass_gaps_round2.py::test_operator_eq_missing_return_statement \ntests/test_checkclass_gaps_round2.py::test_operator_eq_missing_return_statement \n[gw5] [ 14%] RERUN tests/test_checkio_gaps_round2.py::test_printf_lld_modifier_long \ntests/test_checkio_gaps_round2.py::test_printf_lld_modifier_long \n[gw4] [ 14%] RERUN tests/test_checkio_gaps.py::test_read_from_writeonly_file \ntests/test_checkio_gaps.py::test_read_from_writeonly_file \n[gw0] [ 14%] RERUN tests/test_checkautovariables_gaps.py::test_return_pointer_to_temporary_object_member \ntests/test_checkautovariables_gaps.py::test_return_pointer_to_temporary_object_member \n[gw3] [ 14%] RERUN tests/test_checkcondition_gaps.py::test_complex_nested_conditions_three_levels \ntests/test_checkcondition_gaps.py::test_complex_nested_conditions_three_levels \n[gw7] [ 14%] RERUN tests/test_checkio_round3.py::test_sscanf_width_too_large \ntests/test_checkio_round3.py::test_sscanf_width_too_large \n[gw6] [ 14%] RERUN tests/test_checkio_round3.py::test_swprintf_type_mismatch_wchar_ptr_int \ntests/test_checkio_round3.py::test_swprintf_type_mismatch_wchar_ptr_int \n[gw8] [ 14%] RERUN tests/test_checkother_part1.py::test_int_to_pointer_cast_decimal \ntests/test_checkother_part1.py::test_int_to_pointer_cast_decimal \n[gw9] [ 14%] RERUN tests/test_checksizeof_gaps.py::test_multiply_sizeof_error \ntests/test_checksizeof_gaps.py::test_multiply_sizeof_error \n[gw1] [ 14%] RERUN tests/test_checkbool_gaps.py::test_casts_and_function_calls \ntests/test_checkbool_gaps.py::test_casts_and_function_calls \n[gw1] [ 14%] FAILED tests/test_checkbool_gaps.py::test_casts_and_function_calls \ntests/test_checkbufferoverrun_gaps.py::test_array_index_out_of_bounds_simple \n[gw1] [ 14%] PASSED tests/test_checkbufferoverrun_gaps.py::test_array_index_out_of_bounds_simple \n[gw2] [ 14%] RERUN tests/test_checkclass_gaps_round2.py::test_operator_eq_missing_return_statement \ntests/test_checkclass_gaps_round2.py::test_operator_eq_missing_return_statement \n[gw2] [ 14%] FAILED tests/test_checkclass_gaps_round2.py::test_operator_eq_missing_return_statement \ntests/test_checkclass_gaps_round2.py::test_operator_eq_returns_wrong_reference \ntests/test_checkbufferoverrun_gaps.py::test_negative_array_index \n[gw1] [ 14%] PASSED tests/test_checkbufferoverrun_gaps.py::test_negative_array_index \n[gw5] [ 14%] RERUN tests/test_checkio_gaps_round2.py::test_printf_lld_modifier_long \ntests/test_checkio_gaps_round2.py::test_printf_lld_modifier_long \n[gw5] [ 14%] FAILED tests/test_checkio_gaps_round2.py::test_printf_lld_modifier_long \ntests/test_checkio_gaps_round2.py::test_printf_Lf_modifier_double \ntests/test_checkbufferoverrun_gaps.py::test_strcpy_buffer_overrun \n[gw4] [ 14%] RERUN tests/test_checkio_gaps.py::test_read_from_writeonly_file \ntests/test_checkio_gaps.py::test_read_from_writeonly_file \n[gw4] [ 14%] FAILED tests/test_checkio_gaps.py::test_read_from_writeonly_file \ntests/test_checkio_gaps.py::test_use_closed_file \n[gw0] [ 14%] RERUN tests/test_checkautovariables_gaps.py::test_return_pointer_to_temporary_object_member \ntests/test_checkautovariables_gaps.py::test_return_pointer_to_temporary_object_member \n[gw3] [ 14%] RERUN tests/test_checkcondition_gaps.py::test_complex_nested_conditions_three_levels \ntests/test_checkcondition_gaps.py::test_complex_nested_conditions_three_levels \n[gw0] [ 14%] FAILED tests/test_checkautovariables_gaps.py::test_return_pointer_to_temporary_object_member \ntests/test_checkautovariables_gaps.py::test_delete_auto_variable \n[gw3] [ 14%] FAILED tests/test_checkcondition_gaps.py::test_complex_nested_conditions_three_levels \ntests/test_checkcondition_gaps.py::test_overflow_check_with_unsigned_wrapping \n[gw3] [ 15%] PASSED tests/test_checkcondition_gaps.py::test_overflow_check_with_unsigned_wrapping \ntests/test_checkfunctions_gaps.py::test_log_negative_argument \n[gw7] [ 15%] RERUN tests/test_checkio_round3.py::test_sscanf_width_too_large \ntests/test_checkio_round3.py::test_sscanf_width_too_large \n[gw7] [ 15%] FAILED tests/test_checkio_round3.py::test_sscanf_width_too_large \ntests/test_checkmemoryleak_gaps.py::test_realloc_direct_assignment_leak \n[gw6] [ 15%] RERUN tests/test_checkio_round3.py::test_swprintf_type_mismatch_wchar_ptr_int \ntests/test_checkio_round3.py::test_swprintf_type_mismatch_wchar_ptr_int \n[gw8] [ 15%] RERUN tests/test_checkother_part1.py::test_int_to_pointer_cast_decimal \ntests/test_checkother_part1.py::test_int_to_pointer_cast_decimal \n[gw6] [ 15%] FAILED tests/test_checkio_round3.py::test_swprintf_type_mismatch_wchar_ptr_int \ntests/test_checkio_round3.py::test_printf_positional_param_missing_arg \n[gw8] [ 15%] FAILED tests/test_checkother_part1.py::test_int_to_pointer_cast_decimal \ntests/test_checkother_part1.py::test_const_statement_string_and_numeric \n[gw9] [ 15%] RERUN tests/test_checksizeof_gaps.py::test_multiply_sizeof_error \ntests/test_checksizeof_gaps.py::test_multiply_sizeof_error \n[gw9] [ 15%] FAILED tests/test_checksizeof_gaps.py::test_multiply_sizeof_error \ntests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_addition \n[gw2] [ 15%] RERUN tests/test_checkclass_gaps_round2.py::test_operator_eq_returns_wrong_reference \ntests/test_checkclass_gaps_round2.py::test_operator_eq_returns_wrong_reference \n[gw5] [ 15%] RERUN tests/test_checkio_gaps_round2.py::test_printf_Lf_modifier_double \ntests/test_checkio_gaps_round2.py::test_printf_Lf_modifier_double \n[gw1] [ 15%] RERUN tests/test_checkbufferoverrun_gaps.py::test_strcpy_buffer_overrun \ntests/test_checkbufferoverrun_gaps.py::test_strcpy_buffer_overrun \n[gw4] [ 15%] RERUN tests/test_checkio_gaps.py::test_use_closed_file \ntests/test_checkio_gaps.py::test_use_closed_file \n[gw0] [ 15%] RERUN tests/test_checkautovariables_gaps.py::test_delete_auto_variable \ntests/test_checkautovariables_gaps.py::test_delete_auto_variable \n[gw3] [ 15%] RERUN tests/test_checkfunctions_gaps.py::test_log_negative_argument \ntests/test_checkfunctions_gaps.py::test_log_negative_argument \n[gw7] [ 15%] RERUN tests/test_checkmemoryleak_gaps.py::test_realloc_direct_assignment_leak \ntests/test_checkmemoryleak_gaps.py::test_realloc_direct_assignment_leak \n[gw6] [ 15%] RERUN tests/test_checkio_round3.py::test_printf_positional_param_missing_arg \ntests/test_checkio_round3.py::test_printf_positional_param_missing_arg \n[gw8] [ 15%] RERUN tests/test_checkother_part1.py::test_const_statement_string_and_numeric \ntests/test_checkother_part1.py::test_const_statement_string_and_numeric \n[gw9] [ 15%] RERUN tests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_addition \ntests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_addition \n[gw2] [ 15%] RERUN tests/test_checkclass_gaps_round2.py::test_operator_eq_returns_wrong_reference \ntests/test_checkclass_gaps_round2.py::test_operator_eq_returns_wrong_reference \n[gw2] [ 15%] FAILED tests/test_checkclass_gaps_round2.py::test_operator_eq_returns_wrong_reference \ntests/test_checkclass_gaps_round2.py::test_initializer_list_wrong_order \n[gw5] [ 15%] RERUN tests/test_checkio_gaps_round2.py::test_printf_Lf_modifier_double \ntests/test_checkio_gaps_round2.py::test_printf_Lf_modifier_double \n[gw1] [ 15%] RERUN tests/test_checkbufferoverrun_gaps.py::test_strcpy_buffer_overrun \ntests/test_checkbufferoverrun_gaps.py::test_strcpy_buffer_overrun \n[gw5] [ 15%] FAILED tests/test_checkio_gaps_round2.py::test_printf_Lf_modifier_double \ntests/test_checkio_gaps_round2.py::test_scanf_jd_modifier_int \n[gw1] [ 15%] FAILED tests/test_checkbufferoverrun_gaps.py::test_strcpy_buffer_overrun \ntests/test_checkbufferoverrun_gaps.py::test_sprintf_buffer_overrun \n[gw4] [ 15%] RERUN tests/test_checkio_gaps.py::test_use_closed_file \ntests/test_checkio_gaps.py::test_use_closed_file \n[gw4] [ 15%] FAILED tests/test_checkio_gaps.py::test_use_closed_file \ntests/test_checkio_gaps.py::test_io_without_positioning \n[gw0] [ 15%] RERUN tests/test_checkautovariables_gaps.py::test_delete_auto_variable \ntests/test_checkautovariables_gaps.py::test_delete_auto_variable \n[gw0] [ 15%] FAILED tests/test_checkautovariables_gaps.py::test_delete_auto_variable \ntests/test_checkautovariables_gaps.py::test_delete_array_auto_variable \n[gw3] [ 15%] RERUN tests/test_checkfunctions_gaps.py::test_log_negative_argument \ntests/test_checkfunctions_gaps.py::test_log_negative_argument \n[gw3] [ 15%] FAILED tests/test_checkfunctions_gaps.py::test_log_negative_argument \ntests/test_checkfunctions_gaps.py::test_atan2_both_zeros \n[gw7] [ 15%] RERUN tests/test_checkmemoryleak_gaps.py::test_realloc_direct_assignment_leak \ntests/test_checkmemoryleak_gaps.py::test_realloc_direct_assignment_leak \n[gw7] [ 15%] FAILED tests/test_checkmemoryleak_gaps.py::test_realloc_direct_assignment_leak \ntests/test_checkmemoryleak_gaps.py::test_realloc_with_temp_variable_correct \n[gw7] [ 15%] PASSED tests/test_checkmemoryleak_gaps.py::test_realloc_with_temp_variable_correct \n[gw6] [ 15%] RERUN tests/test_checkio_round3.py::test_printf_positional_param_missing_arg \ntests/test_checkio_round3.py::test_printf_positional_param_missing_arg \n[gw8] [ 15%] RERUN tests/test_checkother_part1.py::test_const_statement_string_and_numeric \ntests/test_checkother_part1.py::test_const_statement_string_and_numeric \ntests/test_checkmemoryleak_gaps.py::test_new_delete_mismatch_array \n[gw6] [ 15%] FAILED tests/test_checkio_round3.py::test_printf_positional_param_missing_arg \ntests/test_checkio_round3.py::test_printf_positional_param_out_of_range \n[gw7] [ 15%] PASSED tests/test_checkmemoryleak_gaps.py::test_new_delete_mismatch_array \n[gw8] [ 15%] FAILED tests/test_checkother_part1.py::test_const_statement_string_and_numeric \ntests/test_checkother_part1.py::test_zero_division_detection \n[gw8] [ 15%] PASSED tests/test_checkother_part1.py::test_zero_division_detection \ntests/test_checkmemoryleak_gaps.py::test_delete_array_mismatch_scalar \n[gw7] [ 15%] PASSED tests/test_checkmemoryleak_gaps.py::test_delete_array_mismatch_scalar \ntests/test_checkother_part1.py::test_nan_in_arithmetic_expression \ntests/test_checkmemoryleak_gaps.py::test_malloc_delete_mismatch \n[gw9] [ 15%] RERUN tests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_addition \ntests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_addition \n[gw9] [ 15%] FAILED tests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_addition \ntests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_subtraction \n[gw2] [ 15%] RERUN tests/test_checkclass_gaps_round2.py::test_initializer_list_wrong_order \ntests/test_checkclass_gaps_round2.py::test_initializer_list_wrong_order \n[gw5] [ 15%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_jd_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_jd_modifier_int \n[gw1] [ 15%] RERUN tests/test_checkbufferoverrun_gaps.py::test_sprintf_buffer_overrun \ntests/test_checkbufferoverrun_gaps.py::test_sprintf_buffer_overrun \n[gw4] [ 16%] RERUN tests/test_checkio_gaps.py::test_io_without_positioning \ntests/test_checkio_gaps.py::test_io_without_positioning \n[gw0] [ 16%] RERUN tests/test_checkautovariables_gaps.py::test_delete_array_auto_variable \ntests/test_checkautovariables_gaps.py::test_delete_array_auto_variable \n[gw3] [ 16%] RERUN tests/test_checkfunctions_gaps.py::test_atan2_both_zeros \ntests/test_checkfunctions_gaps.py::test_atan2_both_zeros \n[gw6] [ 16%] RERUN tests/test_checkio_round3.py::test_printf_positional_param_out_of_range \ntests/test_checkio_round3.py::test_printf_positional_param_out_of_range \n[gw8] [ 16%] RERUN tests/test_checkother_part1.py::test_nan_in_arithmetic_expression \ntests/test_checkother_part1.py::test_nan_in_arithmetic_expression \n[gw7] [ 16%] RERUN tests/test_checkmemoryleak_gaps.py::test_malloc_delete_mismatch \ntests/test_checkmemoryleak_gaps.py::test_malloc_delete_mismatch \n[gw9] [ 16%] RERUN tests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_subtraction \ntests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_subtraction \n[gw2] [ 16%] RERUN tests/test_checkclass_gaps_round2.py::test_initializer_list_wrong_order \ntests/test_checkclass_gaps_round2.py::test_initializer_list_wrong_order \n[gw2] [ 16%] FAILED tests/test_checkclass_gaps_round2.py::test_initializer_list_wrong_order \ntests/test_checkclass_gaps_round2.py::test_self_initialization_in_initializer_list \n[gw1] [ 16%] RERUN tests/test_checkbufferoverrun_gaps.py::test_sprintf_buffer_overrun \ntests/test_checkbufferoverrun_gaps.py::test_sprintf_buffer_overrun \n[gw5] [ 16%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_jd_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_jd_modifier_int \n[gw1] [ 16%] FAILED tests/test_checkbufferoverrun_gaps.py::test_sprintf_buffer_overrun \n[gw5] [ 16%] FAILED tests/test_checkio_gaps_round2.py::test_scanf_jd_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_ju_modifier_int \ntests/test_checkbufferoverrun_gaps.py::test_multidimensional_array_out_of_bounds \n[gw4] [ 16%] RERUN tests/test_checkio_gaps.py::test_io_without_positioning \ntests/test_checkio_gaps.py::test_io_without_positioning \n[gw4] [ 16%] FAILED tests/test_checkio_gaps.py::test_io_without_positioning \ntests/test_checkio_gaps.py::test_seek_on_append_mode \n[gw0] [ 16%] RERUN tests/test_checkautovariables_gaps.py::test_delete_array_auto_variable \ntests/test_checkautovariables_gaps.py::test_delete_array_auto_variable \n[gw0] [ 16%] FAILED tests/test_checkautovariables_gaps.py::test_delete_array_auto_variable \ntests/test_checkautovariables_gaps.py::test_nested_scope_dangling_pointer \n[gw3] [ 16%] RERUN tests/test_checkfunctions_gaps.py::test_atan2_both_zeros \ntests/test_checkfunctions_gaps.py::test_atan2_both_zeros \n[gw3] [ 16%] FAILED tests/test_checkfunctions_gaps.py::test_atan2_both_zeros \ntests/test_checkfunctions_gaps.py::test_fmod_zero_divisor \n[gw6] [ 16%] RERUN tests/test_checkio_round3.py::test_printf_positional_param_out_of_range \ntests/test_checkio_round3.py::test_printf_positional_param_out_of_range \n[gw6] [ 16%] FAILED tests/test_checkio_round3.py::test_printf_positional_param_out_of_range \ntests/test_checkio_round3.py::test_printf_positional_param_type_mismatch \n[gw8] [ 16%] RERUN tests/test_checkother_part1.py::test_nan_in_arithmetic_expression \ntests/test_checkother_part1.py::test_nan_in_arithmetic_expression \n[gw8] [ 16%] FAILED tests/test_checkother_part1.py::test_nan_in_arithmetic_expression \ntests/test_checkother_part1.py::test_variadic_func_null_ub \n[gw7] [ 16%] RERUN tests/test_checkmemoryleak_gaps.py::test_malloc_delete_mismatch \ntests/test_checkmemoryleak_gaps.py::test_malloc_delete_mismatch \n[gw7] [ 16%] FAILED tests/test_checkmemoryleak_gaps.py::test_malloc_delete_mismatch \ntests/test_checkmemoryleak_gaps.py::test_new_free_mismatch \n[gw9] [ 16%] RERUN tests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_subtraction \ntests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_subtraction \n[gw9] [ 16%] FAILED tests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_subtraction \ntests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_increment \n[gw2] [ 16%] RERUN tests/test_checkclass_gaps_round2.py::test_self_initialization_in_initializer_list \ntests/test_checkclass_gaps_round2.py::test_self_initialization_in_initializer_list \n[gw1] [ 16%] RERUN tests/test_checkbufferoverrun_gaps.py::test_multidimensional_array_out_of_bounds \ntests/test_checkbufferoverrun_gaps.py::test_multidimensional_array_out_of_bounds \n[gw5] [ 16%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_ju_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_ju_modifier_int \n[gw4] [ 16%] RERUN tests/test_checkio_gaps.py::test_seek_on_append_mode \ntests/test_checkio_gaps.py::test_seek_on_append_mode \n[gw0] [ 16%] RERUN tests/test_checkautovariables_gaps.py::test_nested_scope_dangling_pointer \ntests/test_checkautovariables_gaps.py::test_nested_scope_dangling_pointer \n[gw3] [ 16%] RERUN tests/test_checkfunctions_gaps.py::test_fmod_zero_divisor \ntests/test_checkfunctions_gaps.py::test_fmod_zero_divisor \n[gw6] [ 16%] RERUN tests/test_checkio_round3.py::test_printf_positional_param_type_mismatch \ntests/test_checkio_round3.py::test_printf_positional_param_type_mismatch \n[gw8] [ 16%] RERUN tests/test_checkother_part1.py::test_variadic_func_null_ub \ntests/test_checkother_part1.py::test_variadic_func_null_ub \n[gw7] [ 16%] RERUN tests/test_checkmemoryleak_gaps.py::test_new_free_mismatch \ntests/test_checkmemoryleak_gaps.py::test_new_free_mismatch \n[gw9] [ 16%] RERUN tests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_increment \ntests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_increment \n[gw2] [ 16%] RERUN tests/test_checkclass_gaps_round2.py::test_self_initialization_in_initializer_list \ntests/test_checkclass_gaps_round2.py::test_self_initialization_in_initializer_list \n[gw2] [ 16%] FAILED tests/test_checkclass_gaps_round2.py::test_self_initialization_in_initializer_list \ntests/test_checkclass_gaps_round2.py::test_virtual_function_call_in_constructor_indirect \n[gw1] [ 16%] RERUN tests/test_checkbufferoverrun_gaps.py::test_multidimensional_array_out_of_bounds \ntests/test_checkbufferoverrun_gaps.py::test_multidimensional_array_out_of_bounds \n[gw5] [ 16%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_ju_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_ju_modifier_int \n[gw1] [ 16%] FAILED tests/test_checkbufferoverrun_gaps.py::test_multidimensional_array_out_of_bounds \ntests/test_checkbufferoverrun_gaps.py::test_pointer_arithmetic_out_of_bounds \n[gw5] [ 16%] FAILED tests/test_checkio_gaps_round2.py::test_scanf_ju_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_zu_modifier_int \n[gw4] [ 16%] RERUN tests/test_checkio_gaps.py::test_seek_on_append_mode \ntests/test_checkio_gaps.py::test_seek_on_append_mode \n[gw4] [ 16%] FAILED tests/test_checkio_gaps.py::test_seek_on_append_mode \ntests/test_checkio_gaps.py::test_format_specifier_unsigned_with_signed \n[gw0] [ 16%] RERUN tests/test_checkautovariables_gaps.py::test_nested_scope_dangling_pointer \ntests/test_checkautovariables_gaps.py::test_nested_scope_dangling_pointer \n[gw0] [ 16%] FAILED tests/test_checkautovariables_gaps.py::test_nested_scope_dangling_pointer \ntests/test_checkautovariables_gaps.py::test_return_pointer_to_array_element \n[gw3] [ 16%] RERUN tests/test_checkfunctions_gaps.py::test_fmod_zero_divisor \ntests/test_checkfunctions_gaps.py::test_fmod_zero_divisor \n[gw3] [ 16%] FAILED tests/test_checkfunctions_gaps.py::test_fmod_zero_divisor \ntests/test_checkfunctions_gaps.py::test_pow_zero_base_negative_exponent \n[gw6] [ 16%] RERUN tests/test_checkio_round3.py::test_printf_positional_param_type_mismatch \ntests/test_checkio_round3.py::test_printf_positional_param_type_mismatch \n[gw6] [ 16%] FAILED tests/test_checkio_round3.py::test_printf_positional_param_type_mismatch \ntests/test_checkio_round3.py::test_printf_positional_param_string_type_mismatch \n[gw8] [ 16%] RERUN tests/test_checkother_part1.py::test_variadic_func_null_ub \ntests/test_checkother_part1.py::test_variadic_func_null_ub \n[gw8] [ 16%] FAILED tests/test_checkother_part1.py::test_variadic_func_null_ub \ntests/test_checkother_part1.py::test_incomplete_array_fill \n[gw7] [ 16%] RERUN tests/test_checkmemoryleak_gaps.py::test_new_free_mismatch \ntests/test_checkmemoryleak_gaps.py::test_new_free_mismatch \n[gw7] [ 16%] FAILED tests/test_checkmemoryleak_gaps.py::test_new_free_mismatch \ntests/test_checkmemoryleak_gaps.py::test_memory_leak_return_path \n[gw9] [ 16%] RERUN tests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_increment \ntests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_increment \n[gw9] [ 16%] FAILED tests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_increment \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_with_dereference \n[gw9] [ 16%] PASSED tests/test_checksizeof_gaps.py::test_sizeof_pointer_with_dereference \ntests/test_checksizeof_gaps.py::test_sizeof_calculation_with_shift \n[gw9] [ 17%] PASSED tests/test_checksizeof_gaps.py::test_sizeof_calculation_with_shift \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_memmove \n[gw2] [ 17%] RERUN tests/test_checkclass_gaps_round2.py::test_virtual_function_call_in_constructor_indirect \ntests/test_checkclass_gaps_round2.py::test_virtual_function_call_in_constructor_indirect \n[gw5] [ 17%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_zu_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_zu_modifier_int \n[gw1] [ 17%] RERUN tests/test_checkbufferoverrun_gaps.py::test_pointer_arithmetic_out_of_bounds \ntests/test_checkbufferoverrun_gaps.py::test_pointer_arithmetic_out_of_bounds \n[gw4] [ 17%] RERUN tests/test_checkio_gaps.py::test_format_specifier_unsigned_with_signed \ntests/test_checkio_gaps.py::test_format_specifier_unsigned_with_signed \n[gw0] [ 17%] RERUN tests/test_checkautovariables_gaps.py::test_return_pointer_to_array_element \ntests/test_checkautovariables_gaps.py::test_return_pointer_to_array_element \n[gw3] [ 17%] RERUN tests/test_checkfunctions_gaps.py::test_pow_zero_base_negative_exponent \ntests/test_checkfunctions_gaps.py::test_pow_zero_base_negative_exponent \n[gw6] [ 17%] RERUN tests/test_checkio_round3.py::test_printf_positional_param_string_type_mismatch \ntests/test_checkio_round3.py::test_printf_positional_param_string_type_mismatch \n[gw8] [ 17%] RERUN tests/test_checkother_part1.py::test_incomplete_array_fill \ntests/test_checkother_part1.py::test_incomplete_array_fill \n[gw7] [ 17%] RERUN tests/test_checkmemoryleak_gaps.py::test_memory_leak_return_path \ntests/test_checkmemoryleak_gaps.py::test_memory_leak_return_path \n[gw9] [ 17%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_pointer_memmove \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_memmove \n[gw2] [ 17%] RERUN tests/test_checkclass_gaps_round2.py::test_virtual_function_call_in_constructor_indirect \ntests/test_checkclass_gaps_round2.py::test_virtual_function_call_in_constructor_indirect \n[gw2] [ 17%] FAILED tests/test_checkclass_gaps_round2.py::test_virtual_function_call_in_constructor_indirect \ntests/test_checkclass_gaps_round2.py::test_memset_on_class_with_reference_member \n[gw5] [ 17%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_zu_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_zu_modifier_int \n[gw1] [ 17%] RERUN tests/test_checkbufferoverrun_gaps.py::test_pointer_arithmetic_out_of_bounds \ntests/test_checkbufferoverrun_gaps.py::test_pointer_arithmetic_out_of_bounds \n[gw4] [ 17%] RERUN tests/test_checkio_gaps.py::test_format_specifier_unsigned_with_signed \ntests/test_checkio_gaps.py::test_format_specifier_unsigned_with_signed \n[gw5] [ 17%] FAILED tests/test_checkio_gaps_round2.py::test_scanf_zu_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_td_modifier_int \n[gw1] [ 17%] FAILED tests/test_checkbufferoverrun_gaps.py::test_pointer_arithmetic_out_of_bounds \ntests/test_checkbufferoverrun_gaps.py::test_array_index_then_check \n[gw4] [ 17%] FAILED tests/test_checkio_gaps.py::test_format_specifier_unsigned_with_signed \ntests/test_checkio_gaps.py::test_format_specifier_float_with_int \n[gw0] [ 17%] RERUN tests/test_checkautovariables_gaps.py::test_return_pointer_to_array_element \ntests/test_checkautovariables_gaps.py::test_return_pointer_to_array_element \n[gw0] [ 17%] FAILED tests/test_checkautovariables_gaps.py::test_return_pointer_to_array_element \ntests/test_checkautovariables_gaps.py::test_conditional_return_local_pointers \n[gw0] [ 17%] PASSED tests/test_checkautovariables_gaps.py::test_conditional_return_local_pointers \n[gw3] [ 17%] RERUN tests/test_checkfunctions_gaps.py::test_pow_zero_base_negative_exponent \ntests/test_checkfunctions_gaps.py::test_pow_zero_base_negative_exponent \n[gw3] [ 17%] FAILED tests/test_checkfunctions_gaps.py::test_pow_zero_base_negative_exponent \ntests/test_checkfunctions_gaps.py::test_log1p_invalid_argument \ntests/test_checkautovariables_gaps.py::test_return_pointer_to_struct_member \n[gw6] [ 17%] RERUN tests/test_checkio_round3.py::test_printf_positional_param_string_type_mismatch \ntests/test_checkio_round3.py::test_printf_positional_param_string_type_mismatch \n[gw6] [ 17%] FAILED tests/test_checkio_round3.py::test_printf_positional_param_string_type_mismatch \ntests/test_checkio_round3.py::test_scanf_scanset_width_too_large \n[gw8] [ 17%] RERUN tests/test_checkother_part1.py::test_incomplete_array_fill \ntests/test_checkother_part1.py::test_incomplete_array_fill \n[gw8] [ 17%] FAILED tests/test_checkother_part1.py::test_incomplete_array_fill \ntests/test_checkother_part1.py::test_modulo_of_one \n[gw8] [ 17%] PASSED tests/test_checkother_part1.py::test_modulo_of_one \n[gw7] [ 17%] RERUN tests/test_checkmemoryleak_gaps.py::test_memory_leak_return_path \ntests/test_checkmemoryleak_gaps.py::test_memory_leak_return_path \n[gw7] [ 17%] FAILED tests/test_checkmemoryleak_gaps.py::test_memory_leak_return_path \ntests/test_checkmemoryleak_gaps.py::test_file_handle_leak \ntests/test_checkother_part1.py::test_clarify_calculation_precedence \n[gw9] [ 17%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_pointer_memmove \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_memmove \n[gw9] [ 17%] FAILED tests/test_checksizeof_gaps.py::test_sizeof_pointer_memmove \ntests/test_checksizeof_gaps.py::test_sizeof_numeric_zero \n[gw9] [ 17%] PASSED tests/test_checksizeof_gaps.py::test_sizeof_numeric_zero \ntests/test_checkstl_gaps.py::test_vector_clear_invalidates_all \n[gw2] [ 17%] RERUN tests/test_checkclass_gaps_round2.py::test_memset_on_class_with_reference_member \ntests/test_checkclass_gaps_round2.py::test_memset_on_class_with_reference_member \n[gw5] [ 17%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_td_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_td_modifier_int \n[gw1] [ 17%] RERUN tests/test_checkbufferoverrun_gaps.py::test_array_index_then_check \ntests/test_checkbufferoverrun_gaps.py::test_array_index_then_check \n[gw4] [ 17%] RERUN tests/test_checkio_gaps.py::test_format_specifier_float_with_int \ntests/test_checkio_gaps.py::test_format_specifier_float_with_int \n[gw0] [ 18%] RERUN tests/test_checkautovariables_gaps.py::test_return_pointer_to_struct_member \ntests/test_checkautovariables_gaps.py::test_return_pointer_to_struct_member \n[gw3] [ 18%] RERUN tests/test_checkfunctions_gaps.py::test_log1p_invalid_argument \ntests/test_checkfunctions_gaps.py::test_log1p_invalid_argument \n[gw6] [ 18%] RERUN tests/test_checkio_round3.py::test_scanf_scanset_width_too_large \ntests/test_checkio_round3.py::test_scanf_scanset_width_too_large \n[gw7] [ 18%] RERUN tests/test_checkmemoryleak_gaps.py::test_file_handle_leak \ntests/test_checkmemoryleak_gaps.py::test_file_handle_leak \n[gw8] [ 18%] RERUN tests/test_checkother_part1.py::test_clarify_calculation_precedence \ntests/test_checkother_part1.py::test_clarify_calculation_precedence \n[gw9] [ 18%] RERUN tests/test_checkstl_gaps.py::test_vector_clear_invalidates_all \ntests/test_checkstl_gaps.py::test_vector_clear_invalidates_all \n[gw2] [ 18%] RERUN tests/test_checkclass_gaps_round2.py::test_memset_on_class_with_reference_member \ntests/test_checkclass_gaps_round2.py::test_memset_on_class_with_reference_member \n[gw2] [ 18%] FAILED tests/test_checkclass_gaps_round2.py::test_memset_on_class_with_reference_member \ntests/test_checkclass_gaps_round2.py::test_this_subtraction_error \n[gw5] [ 18%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_td_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_td_modifier_int \n[gw1] [ 18%] RERUN tests/test_checkbufferoverrun_gaps.py::test_array_index_then_check \ntests/test_checkbufferoverrun_gaps.py::test_array_index_then_check \n[gw4] [ 18%] RERUN tests/test_checkio_gaps.py::test_format_specifier_float_with_int \ntests/test_checkio_gaps.py::test_format_specifier_float_with_int \n[gw1] [ 18%] FAILED tests/test_checkbufferoverrun_gaps.py::test_array_index_then_check \n[gw5] [ 18%] FAILED tests/test_checkio_gaps_round2.py::test_scanf_td_modifier_int \ntests/test_checkbufferoverrun_gaps.py::test_strncpy_not_null_terminated \ntests/test_checkio_gaps_round2.py::test_scanf_I64d_modifier_int \n[gw4] [ 18%] FAILED tests/test_checkio_gaps.py::test_format_specifier_float_with_int \ntests/test_checkio_gaps.py::test_format_specifier_pointer_with_int \n[gw0] [ 18%] RERUN tests/test_checkautovariables_gaps.py::test_return_pointer_to_struct_member \n[gw3] [ 18%] RERUN tests/test_checkfunctions_gaps.py::test_log1p_invalid_argument \ntests/test_checkfunctions_gaps.py::test_log1p_invalid_argument \ntests/test_checkautovariables_gaps.py::test_return_pointer_to_struct_member \n[gw3] [ 18%] FAILED tests/test_checkfunctions_gaps.py::test_log1p_invalid_argument \n[gw0] [ 18%] FAILED tests/test_checkautovariables_gaps.py::test_return_pointer_to_struct_member \ntests/test_checkfunctions_gaps.py::test_memset_zero_bytes \ntests/test_checkautovariables_gaps.py::test_return_static_variable_is_safe \n[gw0] [ 18%] PASSED tests/test_checkautovariables_gaps.py::test_return_static_variable_is_safe \ntests/test_checkautovariables_gaps.py::test_switch_statement_returns_local_pointers \n[gw0] [ 18%] PASSED tests/test_checkautovariables_gaps.py::test_switch_statement_returns_local_pointers \ntests/test_checkautovariables_gaps.py::test_pointer_arithmetic_on_local_array \n[gw6] [ 18%] RERUN tests/test_checkio_round3.py::test_scanf_scanset_width_too_large \ntests/test_checkio_round3.py::test_scanf_scanset_width_too_large \n[gw6] [ 18%] FAILED tests/test_checkio_round3.py::test_scanf_scanset_width_too_large \ntests/test_checkio_round3.py::test_scanf_scanset_exact_width_boundary \n[gw7] [ 18%] RERUN tests/test_checkmemoryleak_gaps.py::test_file_handle_leak \ntests/test_checkmemoryleak_gaps.py::test_file_handle_leak \n[gw7] [ 18%] FAILED tests/test_checkmemoryleak_gaps.py::test_file_handle_leak \n[gw8] [ 18%] RERUN tests/test_checkother_part1.py::test_clarify_calculation_precedence \ntests/test_checkother_part1.py::test_clarify_calculation_precedence \ntests/test_checkmemoryleak_gaps.py::test_file_handle_leak_early_return \n[gw8] [ 18%] FAILED tests/test_checkother_part1.py::test_clarify_calculation_precedence \ntests/test_checkother_part1.py::test_redundant_pointer_operations \n[gw9] [ 18%] RERUN tests/test_checkstl_gaps.py::test_vector_clear_invalidates_all \ntests/test_checkstl_gaps.py::test_vector_clear_invalidates_all \n[gw9] [ 18%] FAILED tests/test_checkstl_gaps.py::test_vector_clear_invalidates_all \ntests/test_checkstl_gaps.py::test_list_erase_returns_valid_iterator \n[gw9] [ 18%] PASSED tests/test_checkstl_gaps.py::test_list_erase_returns_valid_iterator \n[gw2] [ 18%] RERUN tests/test_checkclass_gaps_round2.py::test_this_subtraction_error \ntests/test_checkclass_gaps_round2.py::test_this_subtraction_error \ntests/test_checkstl_gaps.py::test_vector_at_with_loop_index \n[gw1] [ 18%] RERUN tests/test_checkbufferoverrun_gaps.py::test_strncpy_not_null_terminated \ntests/test_checkbufferoverrun_gaps.py::test_strncpy_not_null_terminated \n[gw4] [ 18%] RERUN tests/test_checkio_gaps.py::test_format_specifier_pointer_with_int \ntests/test_checkio_gaps.py::test_format_specifier_pointer_with_int \n[gw5] [ 18%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_I64d_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_I64d_modifier_int \n[gw3] [ 18%] RERUN tests/test_checkfunctions_gaps.py::test_memset_zero_bytes \ntests/test_checkfunctions_gaps.py::test_memset_zero_bytes \n[gw0] [ 18%] RERUN tests/test_checkautovariables_gaps.py::test_pointer_arithmetic_on_local_array \ntests/test_checkautovariables_gaps.py::test_pointer_arithmetic_on_local_array \n[gw6] [ 18%] RERUN tests/test_checkio_round3.py::test_scanf_scanset_exact_width_boundary \ntests/test_checkio_round3.py::test_scanf_scanset_exact_width_boundary \n[gw7] [ 18%] RERUN tests/test_checkmemoryleak_gaps.py::test_file_handle_leak_early_return \ntests/test_checkmemoryleak_gaps.py::test_file_handle_leak_early_return \n[gw8] [ 18%] RERUN tests/test_checkother_part1.py::test_redundant_pointer_operations \ntests/test_checkother_part1.py::test_redundant_pointer_operations \n[gw2] [ 18%] RERUN tests/test_checkclass_gaps_round2.py::test_this_subtraction_error \ntests/test_checkclass_gaps_round2.py::test_this_subtraction_error \n[gw2] [ 18%] FAILED tests/test_checkclass_gaps_round2.py::test_this_subtraction_error \ntests/test_checkclass_gaps_round2.py::test_missing_destructor_with_copy_and_operator_eq \n[gw9] [ 18%] RERUN tests/test_checkstl_gaps.py::test_vector_at_with_loop_index \ntests/test_checkstl_gaps.py::test_vector_at_with_loop_index \n[gw1] [ 18%] RERUN tests/test_checkbufferoverrun_gaps.py::test_strncpy_not_null_terminated \ntests/test_checkbufferoverrun_gaps.py::test_strncpy_not_null_terminated \n[gw4] [ 18%] RERUN tests/test_checkio_gaps.py::test_format_specifier_pointer_with_int \ntests/test_checkio_gaps.py::test_format_specifier_pointer_with_int \n[gw5] [ 18%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_I64d_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_I64d_modifier_int \n[gw1] [ 18%] FAILED tests/test_checkbufferoverrun_gaps.py::test_strncpy_not_null_terminated \ntests/test_checkbufferoverrun_gaps.py::test_negative_array_size_vla \n[gw4] [ 18%] FAILED tests/test_checkio_gaps.py::test_format_specifier_pointer_with_int \ntests/test_checkio_gaps.py::test_format_specifier_n_without_pointer \n[gw5] [ 18%] FAILED tests/test_checkio_gaps_round2.py::test_scanf_I64d_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_I64u_modifier_int \n[gw3] [ 18%] RERUN tests/test_checkfunctions_gaps.py::test_memset_zero_bytes \ntests/test_checkfunctions_gaps.py::test_memset_zero_bytes \n[gw3] [ 18%] FAILED tests/test_checkfunctions_gaps.py::test_memset_zero_bytes \ntests/test_checkfunctions_gaps.py::test_memset_value_out_of_range \n[gw0] [ 18%] RERUN tests/test_checkautovariables_gaps.py::test_pointer_arithmetic_on_local_array \ntests/test_checkautovariables_gaps.py::test_pointer_arithmetic_on_local_array \n[gw0] [ 18%] FAILED tests/test_checkautovariables_gaps.py::test_pointer_arithmetic_on_local_array \ntests/test_checkautovariables_gaps.py::test_assign_local_to_reference_parameter \n[gw6] [ 18%] RERUN tests/test_checkio_round3.py::test_scanf_scanset_exact_width_boundary \ntests/test_checkio_round3.py::test_scanf_scanset_exact_width_boundary \n[gw6] [ 18%] FAILED tests/test_checkio_round3.py::test_scanf_scanset_exact_width_boundary \ntests/test_checkio_round3.py::test_scanf_scanset_no_width_warning \n[gw7] [ 18%] RERUN tests/test_checkmemoryleak_gaps.py::test_file_handle_leak_early_return \ntests/test_checkmemoryleak_gaps.py::test_file_handle_leak_early_return \n[gw7] [ 18%] FAILED tests/test_checkmemoryleak_gaps.py::test_file_handle_leak_early_return \ntests/test_checkmemoryleak_gaps.py::test_double_free_same_variable \n[gw8] [ 18%] RERUN tests/test_checkother_part1.py::test_redundant_pointer_operations \ntests/test_checkother_part1.py::test_redundant_pointer_operations \n[gw8] [ 18%] FAILED tests/test_checkother_part1.py::test_redundant_pointer_operations \ntests/test_checkother_part1.py::test_shadow_variable_detection \n[gw2] [ 19%] RERUN tests/test_checkclass_gaps_round2.py::test_missing_destructor_with_copy_and_operator_eq \ntests/test_checkclass_gaps_round2.py::test_missing_destructor_with_copy_and_operator_eq \n[gw9] [ 19%] RERUN tests/test_checkstl_gaps.py::test_vector_at_with_loop_index \ntests/test_checkstl_gaps.py::test_vector_at_with_loop_index \n[gw9] [ 19%] FAILED tests/test_checkstl_gaps.py::test_vector_at_with_loop_index \ntests/test_checkstl_gaps.py::test_string_cstr_throw_error \n[gw1] [ 19%] RERUN tests/test_checkbufferoverrun_gaps.py::test_negative_array_size_vla \ntests/test_checkbufferoverrun_gaps.py::test_negative_array_size_vla \n[gw4] [ 19%] RERUN tests/test_checkio_gaps.py::test_format_specifier_n_without_pointer \ntests/test_checkio_gaps.py::test_format_specifier_n_without_pointer \n[gw5] [ 19%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_I64u_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_I64u_modifier_int \n[gw3] [ 19%] RERUN tests/test_checkfunctions_gaps.py::test_memset_value_out_of_range \ntests/test_checkfunctions_gaps.py::test_memset_value_out_of_range \n[gw0] [ 19%] RERUN tests/test_checkautovariables_gaps.py::test_assign_local_to_reference_parameter \ntests/test_checkautovariables_gaps.py::test_assign_local_to_reference_parameter \n[gw6] [ 19%] RERUN tests/test_checkio_round3.py::test_scanf_scanset_no_width_warning \ntests/test_checkio_round3.py::test_scanf_scanset_no_width_warning \n[gw7] [ 19%] RERUN tests/test_checkmemoryleak_gaps.py::test_double_free_same_variable \ntests/test_checkmemoryleak_gaps.py::test_double_free_same_variable \n[gw8] [ 19%] RERUN tests/test_checkother_part1.py::test_shadow_variable_detection \ntests/test_checkother_part1.py::test_shadow_variable_detection \n[gw2] [ 19%] RERUN tests/test_checkclass_gaps_round2.py::test_missing_destructor_with_copy_and_operator_eq \ntests/test_checkclass_gaps_round2.py::test_missing_destructor_with_copy_and_operator_eq \n[gw2] [ 19%] FAILED tests/test_checkclass_gaps_round2.py::test_missing_destructor_with_copy_and_operator_eq \ntests/test_checkclass_gaps_round2.py::test_function_could_be_static \n[gw2] [ 19%] PASSED tests/test_checkclass_gaps_round2.py::test_function_could_be_static \ntests/test_checkclass_gaps_round2.py::test_virtual_destructor_inconclusive_warning \n[gw9] [ 19%] RERUN tests/test_checkstl_gaps.py::test_string_cstr_throw_error \ntests/test_checkstl_gaps.py::test_string_cstr_throw_error \n[gw1] [ 19%] RERUN tests/test_checkbufferoverrun_gaps.py::test_negative_array_size_vla \ntests/test_checkbufferoverrun_gaps.py::test_negative_array_size_vla \n[gw4] [ 19%] RERUN tests/test_checkio_gaps.py::test_format_specifier_n_without_pointer \ntests/test_checkio_gaps.py::test_format_specifier_n_without_pointer \n[gw5] [ 19%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_I64u_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_I64u_modifier_int \n[gw1] [ 19%] FAILED tests/test_checkbufferoverrun_gaps.py::test_negative_array_size_vla \ntests/test_checkbufferoverrun_gaps.py::test_negative_memory_allocation_new \n[gw4] [ 19%] FAILED tests/test_checkio_gaps.py::test_format_specifier_n_without_pointer \ntests/test_checkio_gaps.py::test_format_specifier_long_modifiers \n[gw5] [ 19%] FAILED tests/test_checkio_gaps_round2.py::test_scanf_I64u_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_I32d_modifier_short \n[gw3] [ 19%] RERUN tests/test_checkfunctions_gaps.py::test_memset_value_out_of_range \ntests/test_checkfunctions_gaps.py::test_memset_value_out_of_range \n[gw3] [ 19%] FAILED tests/test_checkfunctions_gaps.py::test_memset_value_out_of_range \ntests/test_checkfunctions_gaps.py::test_memset_float_portability \n[gw0] [ 19%] RERUN tests/test_checkautovariables_gaps.py::test_assign_local_to_reference_parameter \ntests/test_checkautovariables_gaps.py::test_assign_local_to_reference_parameter \n[gw0] [ 19%] FAILED tests/test_checkautovariables_gaps.py::test_assign_local_to_reference_parameter \ntests/test_checkautovariables_gaps.py::test_class_method_returns_local_pointer \n[gw0] [ 19%] PASSED tests/test_checkautovariables_gaps.py::test_class_method_returns_local_pointer \n[gw6] [ 19%] RERUN tests/test_checkio_round3.py::test_scanf_scanset_no_width_warning \ntests/test_checkio_round3.py::test_scanf_scanset_no_width_warning \n[gw6] [ 19%] FAILED tests/test_checkio_round3.py::test_scanf_scanset_no_width_warning \ntests/test_checkio_round3.py::test_printf_n_specifier_missing_address \ntests/test_checkautovariables_gaps.py::test_return_reference_through_binding \n[gw7] [ 19%] RERUN tests/test_checkmemoryleak_gaps.py::test_double_free_same_variable \ntests/test_checkmemoryleak_gaps.py::test_double_free_same_variable \n[gw7] [ 19%] FAILED tests/test_checkmemoryleak_gaps.py::test_double_free_same_variable \ntests/test_checkmemoryleak_gaps.py::test_use_after_free \n[gw8] [ 19%] RERUN tests/test_checkother_part1.py::test_shadow_variable_detection \ntests/test_checkother_part1.py::test_shadow_variable_detection \n[gw8] [ 19%] FAILED tests/test_checkother_part1.py::test_shadow_variable_detection \ntests/test_checkother_part1.py::test_unused_label_detection \n[gw8] [ 19%] PASSED tests/test_checkother_part1.py::test_unused_label_detection \ntests/test_checkother_part1.py::test_unreachable_code_after_return \n[gw2] [ 19%] RERUN tests/test_checkclass_gaps_round2.py::test_virtual_destructor_inconclusive_warning \ntests/test_checkclass_gaps_round2.py::test_virtual_destructor_inconclusive_warning \n[gw9] [ 19%] RERUN tests/test_checkstl_gaps.py::test_string_cstr_throw_error \ntests/test_checkstl_gaps.py::test_string_cstr_throw_error \n[gw9] [ 19%] FAILED tests/test_checkstl_gaps.py::test_string_cstr_throw_error \ntests/test_checkstl_gaps.py::test_string_cstr_stringstream_pointer_assignment \n[gw4] [ 19%] RERUN tests/test_checkio_gaps.py::test_format_specifier_long_modifiers \ntests/test_checkio_gaps.py::test_format_specifier_long_modifiers \n[gw1] [ 19%] RERUN tests/test_checkbufferoverrun_gaps.py::test_negative_memory_allocation_new \ntests/test_checkbufferoverrun_gaps.py::test_negative_memory_allocation_new \n[gw5] [ 19%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_I32d_modifier_short \ntests/test_checkio_gaps_round2.py::test_scanf_I32d_modifier_short \n[gw3] [ 19%] RERUN tests/test_checkfunctions_gaps.py::test_memset_float_portability \ntests/test_checkfunctions_gaps.py::test_memset_float_portability \n[gw6] [ 20%] RERUN tests/test_checkio_round3.py::test_printf_n_specifier_missing_address \ntests/test_checkio_round3.py::test_printf_n_specifier_missing_address \n[gw0] [ 20%] RERUN tests/test_checkautovariables_gaps.py::test_return_reference_through_binding \ntests/test_checkautovariables_gaps.py::test_return_reference_through_binding \n[gw7] [ 20%] RERUN tests/test_checkmemoryleak_gaps.py::test_use_after_free \ntests/test_checkmemoryleak_gaps.py::test_use_after_free \n[gw8] [ 20%] RERUN tests/test_checkother_part1.py::test_unreachable_code_after_return \ntests/test_checkother_part1.py::test_unreachable_code_after_return \n[gw2] [ 20%] RERUN tests/test_checkclass_gaps_round2.py::test_virtual_destructor_inconclusive_warning \ntests/test_checkclass_gaps_round2.py::test_virtual_destructor_inconclusive_warning \n[gw2] [ 20%] FAILED tests/test_checkclass_gaps_round2.py::test_virtual_destructor_inconclusive_warning \ntests/test_checkclass_gaps_round2.py::test_memset_on_class_with_vtable \n[gw9] [ 20%] RERUN tests/test_checkstl_gaps.py::test_string_cstr_stringstream_pointer_assignment \ntests/test_checkstl_gaps.py::test_string_cstr_stringstream_pointer_assignment \n[gw4] [ 20%] RERUN tests/test_checkio_gaps.py::test_format_specifier_long_modifiers \ntests/test_checkio_gaps.py::test_format_specifier_long_modifiers \n[gw1] [ 20%] RERUN tests/test_checkbufferoverrun_gaps.py::test_negative_memory_allocation_new \ntests/test_checkbufferoverrun_gaps.py::test_negative_memory_allocation_new \n[gw4] [ 20%] FAILED tests/test_checkio_gaps.py::test_format_specifier_long_modifiers \n[gw1] [ 20%] FAILED tests/test_checkbufferoverrun_gaps.py::test_negative_memory_allocation_new \ntests/test_checkbufferoverrun_gaps.py::test_object_index_non_zero \ntests/test_checkio_gaps.py::test_format_specifier_size_t \n[gw5] [ 20%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_I32d_modifier_short \ntests/test_checkio_gaps_round2.py::test_scanf_I32d_modifier_short \n[gw5] [ 20%] FAILED tests/test_checkio_gaps_round2.py::test_scanf_I32d_modifier_short \ntests/test_checkio_gaps_round2.py::test_scanf_I32d_modifier_long \n[gw3] [ 20%] RERUN tests/test_checkfunctions_gaps.py::test_memset_float_portability \ntests/test_checkfunctions_gaps.py::test_memset_float_portability \n[gw3] [ 20%] FAILED tests/test_checkfunctions_gaps.py::test_memset_float_portability \ntests/test_checkfunctions_gaps.py::test_c99_math_precision_suggestions \n[gw0] [ 20%] RERUN tests/test_checkautovariables_gaps.py::test_return_reference_through_binding \ntests/test_checkautovariables_gaps.py::test_return_reference_through_binding \n[gw6] [ 20%] RERUN tests/test_checkio_round3.py::test_printf_n_specifier_missing_address \ntests/test_checkio_round3.py::test_printf_n_specifier_missing_address \n[gw6] [ 20%] FAILED tests/test_checkio_round3.py::test_printf_n_specifier_missing_address \n[gw0] [ 20%] FAILED tests/test_checkautovariables_gaps.py::test_return_reference_through_binding \ntests/test_checkio_round3.py::test_printf_n_specifier_multiple_args_missing_address \ntests/test_checkautovariables_gaps.py::test_lambda_by_value_capture_is_safe \n[gw0] [ 20%] PASSED tests/test_checkautovariables_gaps.py::test_lambda_by_value_capture_is_safe \n[gw7] [ 20%] RERUN tests/test_checkmemoryleak_gaps.py::test_use_after_free \ntests/test_checkmemoryleak_gaps.py::test_use_after_free \n[gw7] [ 20%] FAILED tests/test_checkmemoryleak_gaps.py::test_use_after_free \ntests/test_checkmemoryleak_gaps.py::test_conditional_allocation_leak \ntests/test_checkautovariables_gaps.py::test_assign_local_array_to_parameter \n[gw8] [ 20%] RERUN tests/test_checkother_part1.py::test_unreachable_code_after_return \ntests/test_checkother_part1.py::test_unreachable_code_after_return \n[gw8] [ 20%] FAILED tests/test_checkother_part1.py::test_unreachable_code_after_return \ntests/test_checkother_part1.py::test_comparison_function_identical_variables \n[gw2] [ 20%] RERUN tests/test_checkclass_gaps_round2.py::test_memset_on_class_with_vtable \ntests/test_checkclass_gaps_round2.py::test_memset_on_class_with_vtable \n[gw9] [ 20%] RERUN tests/test_checkstl_gaps.py::test_string_cstr_stringstream_pointer_assignment \ntests/test_checkstl_gaps.py::test_string_cstr_stringstream_pointer_assignment \n[gw9] [ 20%] FAILED tests/test_checkstl_gaps.py::test_string_cstr_stringstream_pointer_assignment \ntests/test_checkstl_gaps.py::test_string_cstr_assignment_performance_string \n[gw4] [ 20%] RERUN tests/test_checkio_gaps.py::test_format_specifier_size_t \ntests/test_checkio_gaps.py::test_format_specifier_size_t \n[gw1] [ 20%] RERUN tests/test_checkbufferoverrun_gaps.py::test_object_index_non_zero \ntests/test_checkbufferoverrun_gaps.py::test_object_index_non_zero \n[gw5] [ 20%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_I32d_modifier_long \ntests/test_checkio_gaps_round2.py::test_scanf_I32d_modifier_long \n[gw3] [ 20%] RERUN tests/test_checkfunctions_gaps.py::test_c99_math_precision_suggestions \ntests/test_checkfunctions_gaps.py::test_c99_math_precision_suggestions \n[gw6] [ 20%] RERUN tests/test_checkio_round3.py::test_printf_n_specifier_multiple_args_missing_address \ntests/test_checkio_round3.py::test_printf_n_specifier_multiple_args_missing_address \n[gw7] [ 20%] RERUN tests/test_checkmemoryleak_gaps.py::test_conditional_allocation_leak \ntests/test_checkmemoryleak_gaps.py::test_conditional_allocation_leak \n[gw0] [ 20%] RERUN tests/test_checkautovariables_gaps.py::test_assign_local_array_to_parameter \ntests/test_checkautovariables_gaps.py::test_assign_local_array_to_parameter \n[gw8] [ 20%] RERUN tests/test_checkother_part1.py::test_comparison_function_identical_variables \ntests/test_checkother_part1.py::test_comparison_function_identical_variables \n[gw2] [ 20%] RERUN tests/test_checkclass_gaps_round2.py::test_memset_on_class_with_vtable \ntests/test_checkclass_gaps_round2.py::test_memset_on_class_with_vtable \n[gw2] [ 20%] FAILED tests/test_checkclass_gaps_round2.py::test_memset_on_class_with_vtable \ntests/test_checkclass_gaps_round2.py::test_memset_on_std_string_member \n[gw9] [ 20%] RERUN tests/test_checkstl_gaps.py::test_string_cstr_assignment_performance_string \ntests/test_checkstl_gaps.py::test_string_cstr_assignment_performance_string \n[gw4] [ 20%] RERUN tests/test_checkio_gaps.py::test_format_specifier_size_t \ntests/test_checkio_gaps.py::test_format_specifier_size_t \n[gw1] [ 20%] RERUN tests/test_checkbufferoverrun_gaps.py::test_object_index_non_zero \ntests/test_checkbufferoverrun_gaps.py::test_object_index_non_zero \n[gw4] [ 20%] FAILED tests/test_checkio_gaps.py::test_format_specifier_size_t \ntests/test_checkio_gaps.py::test_format_specifier_char_with_pointer \n[gw1] [ 20%] FAILED tests/test_checkbufferoverrun_gaps.py::test_object_index_non_zero \ntests/test_checkbufferoverrun_gaps.py::test_array_loop_off_by_one \n[gw1] [ 20%] PASSED tests/test_checkbufferoverrun_gaps.py::test_array_loop_off_by_one \n[gw5] [ 20%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_I32d_modifier_long \ntests/test_checkio_gaps_round2.py::test_scanf_I32d_modifier_long \n[gw5] [ 20%] FAILED tests/test_checkio_gaps_round2.py::test_scanf_I32d_modifier_long \ntests/test_checkio_gaps_round2.py::test_scanf_hhd_modifier_int \ntests/test_checkbufferoverrun_gaps.py::test_snprintf_buffer_size_mismatch \n[gw3] [ 20%] RERUN tests/test_checkfunctions_gaps.py::test_c99_math_precision_suggestions \ntests/test_checkfunctions_gaps.py::test_c99_math_precision_suggestions \n[gw3] [ 20%] FAILED tests/test_checkfunctions_gaps.py::test_c99_math_precision_suggestions \ntests/test_checkfunctions_gaps.py::test_sqrt_acos_asin_domain_errors \n[gw6] [ 20%] RERUN tests/test_checkio_round3.py::test_printf_n_specifier_multiple_args_missing_address \ntests/test_checkio_round3.py::test_printf_n_specifier_multiple_args_missing_address \n[gw6] [ 20%] FAILED tests/test_checkio_round3.py::test_printf_n_specifier_multiple_args_missing_address \ntests/test_checkio_round3.py::test_printf_p_specifier_non_pointer_int \n[gw7] [ 20%] RERUN tests/test_checkmemoryleak_gaps.py::test_conditional_allocation_leak \ntests/test_checkmemoryleak_gaps.py::test_conditional_allocation_leak \n[gw0] [ 20%] RERUN tests/test_checkautovariables_gaps.py::test_assign_local_array_to_parameter \ntests/test_checkautovariables_gaps.py::test_assign_local_array_to_parameter \n[gw7] [ 20%] FAILED tests/test_checkmemoryleak_gaps.py::test_conditional_allocation_leak \ntests/test_checkmemoryleak_gaps.py::test_calloc_allocation \n[gw0] [ 20%] FAILED tests/test_checkautovariables_gaps.py::test_assign_local_array_to_parameter \ntests/test_checkautovariables_gaps.py::test_string_literal_return_is_safe \n[gw0] [ 20%] PASSED tests/test_checkautovariables_gaps.py::test_string_literal_return_is_safe \n[gw8] [ 20%] RERUN tests/test_checkother_part1.py::test_comparison_function_identical_variables \ntests/test_checkother_part1.py::test_comparison_function_identical_variables \ntests/test_checkautovariables_gaps.py::test_return_void_pointer_to_local \n[gw8] [ 20%] FAILED tests/test_checkother_part1.py::test_comparison_function_identical_variables \n[gw0] [ 21%] PASSED tests/test_checkautovariables_gaps.py::test_return_void_pointer_to_local \ntests/test_checkother_part1.py::test_unsigned_variable_sign_check \ntests/test_checkuninitvar_gaps.py::test_pointer_to_pointer_uninit \n[gw2] [ 21%] RERUN tests/test_checkclass_gaps_round2.py::test_memset_on_std_string_member \ntests/test_checkclass_gaps_round2.py::test_memset_on_std_string_member \n[gw9] [ 21%] RERUN tests/test_checkstl_gaps.py::test_string_cstr_assignment_performance_string \ntests/test_checkstl_gaps.py::test_string_cstr_assignment_performance_string \n[gw9] [ 21%] FAILED tests/test_checkstl_gaps.py::test_string_cstr_assignment_performance_string \ntests/test_checkstl_gaps.py::test_string_cstr_parameter_passing_performance \n[gw4] [ 21%] RERUN tests/test_checkio_gaps.py::test_format_specifier_char_with_pointer \ntests/test_checkio_gaps.py::test_format_specifier_char_with_pointer \n[gw5] [ 21%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_hhd_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_hhd_modifier_int \n[gw1] [ 21%] RERUN tests/test_checkbufferoverrun_gaps.py::test_snprintf_buffer_size_mismatch \ntests/test_checkbufferoverrun_gaps.py::test_snprintf_buffer_size_mismatch \n[gw3] [ 21%] RERUN tests/test_checkfunctions_gaps.py::test_sqrt_acos_asin_domain_errors \ntests/test_checkfunctions_gaps.py::test_sqrt_acos_asin_domain_errors \n[gw6] [ 21%] RERUN tests/test_checkio_round3.py::test_printf_p_specifier_non_pointer_int \ntests/test_checkio_round3.py::test_printf_p_specifier_non_pointer_int \n[gw7] [ 21%] RERUN tests/test_checkmemoryleak_gaps.py::test_calloc_allocation \ntests/test_checkmemoryleak_gaps.py::test_calloc_allocation \n[gw8] [ 21%] RERUN tests/test_checkother_part1.py::test_unsigned_variable_sign_check \ntests/test_checkother_part1.py::test_unsigned_variable_sign_check \n[gw0] [ 21%] RERUN tests/test_checkuninitvar_gaps.py::test_pointer_to_pointer_uninit \ntests/test_checkuninitvar_gaps.py::test_pointer_to_pointer_uninit \n[gw2] [ 21%] RERUN tests/test_checkclass_gaps_round2.py::test_memset_on_std_string_member \ntests/test_checkclass_gaps_round2.py::test_memset_on_std_string_member \n[gw2] [ 21%] FAILED tests/test_checkclass_gaps_round2.py::test_memset_on_std_string_member \ntests/test_checkclass_gaps_round2.py::test_copy_constructor_with_deleted_operator_eq \n[gw2] [ 21%] PASSED tests/test_checkclass_gaps_round2.py::test_copy_constructor_with_deleted_operator_eq \ntests/test_checkclass_gaps_round2.py::test_private_copy_constructor_pattern \n[gw2] [ 21%] PASSED tests/test_checkclass_gaps_round2.py::test_private_copy_constructor_pattern \n[gw9] [ 21%] RERUN tests/test_checkstl_gaps.py::test_string_cstr_parameter_passing_performance \ntests/test_checkstl_gaps.py::test_string_cstr_parameter_passing_performance \n[gw4] [ 21%] RERUN tests/test_checkio_gaps.py::test_format_specifier_char_with_pointer \ntests/test_checkio_gaps.py::test_format_specifier_char_with_pointer \ntests/test_checkclass_gaps_round2.py::test_operator_eq_self_check_without_allocation \n[gw2] [ 21%] PASSED tests/test_checkclass_gaps_round2.py::test_operator_eq_self_check_without_allocation \n[gw4] [ 21%] FAILED tests/test_checkio_gaps.py::test_format_specifier_char_with_pointer \ntests/test_checkio_gaps.py::test_sprintf_missing_args \n[gw4] [ 21%] PASSED tests/test_checkio_gaps.py::test_sprintf_missing_args \n[gw5] [ 21%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_hhd_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_hhd_modifier_int \n[gw1] [ 21%] RERUN tests/test_checkbufferoverrun_gaps.py::test_snprintf_buffer_size_mismatch \ntests/test_checkbufferoverrun_gaps.py::test_snprintf_buffer_size_mismatch \n[gw5] [ 21%] FAILED tests/test_checkio_gaps_round2.py::test_scanf_hhd_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_hhd_modifier_short \n[gw1] [ 21%] FAILED tests/test_checkbufferoverrun_gaps.py::test_snprintf_buffer_size_mismatch \ntests/test_checkbufferoverrun_gaps.py::test_memcpy_buffer_overrun \ntests/test_checkclass_gaps_round2.py::test_constructor_variable_assignment_performance \ntests/test_checkio_gaps.py::test_snprintf_missing_args \n[gw4] [ 21%] PASSED tests/test_checkio_gaps.py::test_snprintf_missing_args \ntests/test_checkio_gaps.py::test_fprintf_missing_args \n[gw4] [ 21%] PASSED tests/test_checkio_gaps.py::test_fprintf_missing_args \ntests/test_checkio_gaps.py::test_asterisk_width_missing_arg \n[gw4] [ 21%] PASSED tests/test_checkio_gaps.py::test_asterisk_width_missing_arg \ntests/test_checkio_gaps.py::test_width_and_precision_type_mismatch \n[gw3] [ 21%] RERUN tests/test_checkfunctions_gaps.py::test_sqrt_acos_asin_domain_errors \ntests/test_checkfunctions_gaps.py::test_sqrt_acos_asin_domain_errors \n[gw3] [ 21%] FAILED tests/test_checkfunctions_gaps.py::test_sqrt_acos_asin_domain_errors \ntests/test_checkfunctions_gaps.py::test_alloca_obsolete_c99 \n[gw6] [ 21%] RERUN tests/test_checkio_round3.py::test_printf_p_specifier_non_pointer_int \ntests/test_checkio_round3.py::test_printf_p_specifier_non_pointer_int \n[gw6] [ 21%] FAILED tests/test_checkio_round3.py::test_printf_p_specifier_non_pointer_int \ntests/test_checkio_round3.py::test_printf_p_specifier_non_pointer_literal \n[gw7] [ 21%] RERUN tests/test_checkmemoryleak_gaps.py::test_calloc_allocation \ntests/test_checkmemoryleak_gaps.py::test_calloc_allocation \n[gw7] [ 21%] FAILED tests/test_checkmemoryleak_gaps.py::test_calloc_allocation \ntests/test_checkmemoryleak_gaps.py::test_strdup_allocation \n[gw8] [ 21%] RERUN tests/test_checkother_part1.py::test_unsigned_variable_sign_check \ntests/test_checkother_part1.py::test_unsigned_variable_sign_check \n[gw8] [ 21%] FAILED tests/test_checkother_part1.py::test_unsigned_variable_sign_check \ntests/test_checksizeof_gaps.py::test_sizeof_calculation_modulo \n[gw8] [ 22%] PASSED tests/test_checksizeof_gaps.py::test_sizeof_calculation_modulo \n[gw0] [ 22%] RERUN tests/test_checkuninitvar_gaps.py::test_pointer_to_pointer_uninit \ntests/test_checkuninitvar_gaps.py::test_pointer_to_pointer_uninit \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_strncpy \n[gw0] [ 22%] FAILED tests/test_checkuninitvar_gaps.py::test_pointer_to_pointer_uninit \ntests/test_checkuninitvar_gaps.py::test_cast_does_not_initialize \n[gw0] [ 22%] PASSED tests/test_checkuninitvar_gaps.py::test_cast_does_not_initialize \ntests/test_checkuninitvar_gaps.py::test_comma_operator_with_uninit \n[gw0] [ 22%] PASSED tests/test_checkuninitvar_gaps.py::test_comma_operator_with_uninit \ntests/test_checkvaarg_gaps.py::test_va_start_wrong_parameter_first_arg \n[gw9] [ 22%] RERUN tests/test_checkstl_gaps.py::test_string_cstr_parameter_passing_performance \ntests/test_checkstl_gaps.py::test_string_cstr_parameter_passing_performance \n[gw9] [ 22%] FAILED tests/test_checkstl_gaps.py::test_string_cstr_parameter_passing_performance \ntests/test_checkstl_gaps.py::test_string_cstr_return_performance \n[gw5] [ 22%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_hhd_modifier_short \ntests/test_checkio_gaps_round2.py::test_scanf_hhd_modifier_short \n[gw1] [ 22%] RERUN tests/test_checkbufferoverrun_gaps.py::test_memcpy_buffer_overrun \ntests/test_checkbufferoverrun_gaps.py::test_memcpy_buffer_overrun \n[gw2] [ 22%] RERUN tests/test_checkclass_gaps_round2.py::test_constructor_variable_assignment_performance \ntests/test_checkclass_gaps_round2.py::test_constructor_variable_assignment_performance \n[gw4] [ 22%] RERUN tests/test_checkio_gaps.py::test_width_and_precision_type_mismatch \ntests/test_checkio_gaps.py::test_width_and_precision_type_mismatch \n[gw3] [ 22%] RERUN tests/test_checkfunctions_gaps.py::test_alloca_obsolete_c99 \ntests/test_checkfunctions_gaps.py::test_alloca_obsolete_c99 \n[gw6] [ 22%] RERUN tests/test_checkio_round3.py::test_printf_p_specifier_non_pointer_literal \ntests/test_checkio_round3.py::test_printf_p_specifier_non_pointer_literal \n[gw7] [ 22%] RERUN tests/test_checkmemoryleak_gaps.py::test_strdup_allocation \ntests/test_checkmemoryleak_gaps.py::test_strdup_allocation \n[gw8] [ 22%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_pointer_strncpy \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_strncpy \n[gw0] [ 22%] RERUN tests/test_checkvaarg_gaps.py::test_va_start_wrong_parameter_first_arg \ntests/test_checkvaarg_gaps.py::test_va_start_wrong_parameter_first_arg \n[gw9] [ 22%] RERUN tests/test_checkstl_gaps.py::test_string_cstr_return_performance \ntests/test_checkstl_gaps.py::test_string_cstr_return_performance \n[gw5] [ 22%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_hhd_modifier_short \ntests/test_checkio_gaps_round2.py::test_scanf_hhd_modifier_short \n[gw1] [ 22%] RERUN tests/test_checkbufferoverrun_gaps.py::test_memcpy_buffer_overrun \ntests/test_checkbufferoverrun_gaps.py::test_memcpy_buffer_overrun \n[gw2] [ 22%] RERUN tests/test_checkclass_gaps_round2.py::test_constructor_variable_assignment_performance \ntests/test_checkclass_gaps_round2.py::test_constructor_variable_assignment_performance \n[gw5] [ 22%] FAILED tests/test_checkio_gaps_round2.py::test_scanf_hhd_modifier_short \ntests/test_checkio_gaps_round2.py::test_scanf_hhu_modifier_int \n[gw1] [ 22%] FAILED tests/test_checkbufferoverrun_gaps.py::test_memcpy_buffer_overrun \ntests/test_checkbufferoverrun_gaps.py::test_array_argument_size_mismatch \n[gw2] [ 22%] FAILED tests/test_checkclass_gaps_round2.py::test_constructor_variable_assignment_performance \ntests/test_checkclass_gaps_round2.py::test_uninitialized_member_pointer \n[gw2] [ 22%] PASSED tests/test_checkclass_gaps_round2.py::test_uninitialized_member_pointer \ntests/test_checkclass_gaps_round2.py::test_multiple_constructors_inconsistent_initialization \n[gw2] [ 22%] PASSED tests/test_checkclass_gaps_round2.py::test_multiple_constructors_inconsistent_initialization \ntests/test_checkclass_gaps_round2.py::test_operator_eq_throws_to_prevent_assignment \n[gw4] [ 22%] RERUN tests/test_checkio_gaps.py::test_width_and_precision_type_mismatch \ntests/test_checkio_gaps.py::test_width_and_precision_type_mismatch \n[gw4] [ 22%] FAILED tests/test_checkio_gaps.py::test_width_and_precision_type_mismatch \ntests/test_checkio_gaps.py::test_scanf_length_modifier_short \n[gw3] [ 22%] RERUN tests/test_checkfunctions_gaps.py::test_alloca_obsolete_c99 \ntests/test_checkfunctions_gaps.py::test_alloca_obsolete_c99 \n[gw3] [ 22%] FAILED tests/test_checkfunctions_gaps.py::test_alloca_obsolete_c99 \ntests/test_checkfunctions_gaps.py::test_combined_math_domain_errors \n[gw6] [ 22%] RERUN tests/test_checkio_round3.py::test_printf_p_specifier_non_pointer_literal \ntests/test_checkio_round3.py::test_printf_p_specifier_non_pointer_literal \n[gw6] [ 22%] FAILED tests/test_checkio_round3.py::test_printf_p_specifier_non_pointer_literal \ntests/test_checkio_round3.py::test_printf_hh_modifier_short_not_char \n[gw7] [ 22%] RERUN tests/test_checkmemoryleak_gaps.py::test_strdup_allocation \ntests/test_checkmemoryleak_gaps.py::test_strdup_allocation \n[gw7] [ 22%] FAILED tests/test_checkmemoryleak_gaps.py::test_strdup_allocation \ntests/test_checkmemoryleak_gaps.py::test_realloc_to_null_size \n[gw7] [ 22%] PASSED tests/test_checkmemoryleak_gaps.py::test_realloc_to_null_size \ntests/test_checkmemoryleak_gaps.py::test_class_member_not_freed_in_destructor \n[gw8] [ 22%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_pointer_strncpy \ntests/test_checksizeof_gaps.py::test_sizeof_pointer_strncpy \n[gw8] [ 22%] FAILED tests/test_checksizeof_gaps.py::test_sizeof_pointer_strncpy \ntests/test_checksizeof_gaps.py::test_sizeof_calculation_division \n[gw8] [ 22%] PASSED tests/test_checksizeof_gaps.py::test_sizeof_calculation_division \ntests/test_checksizeof_gaps.py::test_sizeof_calculation_bitwise_xor \n[gw0] [ 22%] RERUN tests/test_checkvaarg_gaps.py::test_va_start_wrong_parameter_first_arg \ntests/test_checkvaarg_gaps.py::test_va_start_wrong_parameter_first_arg \n[gw0] [ 22%] FAILED tests/test_checkvaarg_gaps.py::test_va_start_wrong_parameter_first_arg \ntests/test_checkvaarg_gaps.py::test_va_start_reference_parameter \n[gw9] [ 22%] RERUN tests/test_checkstl_gaps.py::test_string_cstr_return_performance \ntests/test_checkstl_gaps.py::test_string_cstr_return_performance \n[gw9] [ 22%] FAILED tests/test_checkstl_gaps.py::test_string_cstr_return_performance \ntests/test_checkstl_gaps.py::test_string_find_inefficient_comparison \n[gw5] [ 22%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_hhu_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_hhu_modifier_int \n[gw1] [ 23%] RERUN tests/test_checkbufferoverrun_gaps.py::test_array_argument_size_mismatch \ntests/test_checkbufferoverrun_gaps.py::test_array_argument_size_mismatch \n[gw2] [ 23%] RERUN tests/test_checkclass_gaps_round2.py::test_operator_eq_throws_to_prevent_assignment \ntests/test_checkclass_gaps_round2.py::test_operator_eq_throws_to_prevent_assignment \n[gw4] [ 23%] RERUN tests/test_checkio_gaps.py::test_scanf_length_modifier_short \ntests/test_checkio_gaps.py::test_scanf_length_modifier_short \n[gw3] [ 23%] RERUN tests/test_checkfunctions_gaps.py::test_combined_math_domain_errors \ntests/test_checkfunctions_gaps.py::test_combined_math_domain_errors \n[gw6] [ 23%] RERUN tests/test_checkio_round3.py::test_printf_hh_modifier_short_not_char \ntests/test_checkio_round3.py::test_printf_hh_modifier_short_not_char \n[gw7] [ 23%] RERUN tests/test_checkmemoryleak_gaps.py::test_class_member_not_freed_in_destructor \ntests/test_checkmemoryleak_gaps.py::test_class_member_not_freed_in_destructor \n[gw8] [ 23%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_calculation_bitwise_xor \ntests/test_checksizeof_gaps.py::test_sizeof_calculation_bitwise_xor \n[gw0] [ 23%] RERUN tests/test_checkvaarg_gaps.py::test_va_start_reference_parameter \ntests/test_checkvaarg_gaps.py::test_va_start_reference_parameter \n[gw9] [ 23%] RERUN tests/test_checkstl_gaps.py::test_string_find_inefficient_comparison \ntests/test_checkstl_gaps.py::test_string_find_inefficient_comparison \n[gw1] [ 23%] RERUN tests/test_checkbufferoverrun_gaps.py::test_array_argument_size_mismatch \ntests/test_checkbufferoverrun_gaps.py::test_array_argument_size_mismatch \n[gw5] [ 23%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_hhu_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_hhu_modifier_int \n[gw1] [ 23%] FAILED tests/test_checkbufferoverrun_gaps.py::test_array_argument_size_mismatch \ntests/test_checkbufferoverrun_gaps.py::test_string_literal_out_of_bounds \n[gw5] [ 23%] FAILED tests/test_checkio_gaps_round2.py::test_scanf_hhu_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_lld_modifier_int \n[gw2] [ 23%] RERUN tests/test_checkclass_gaps_round2.py::test_operator_eq_throws_to_prevent_assignment \ntests/test_checkclass_gaps_round2.py::test_operator_eq_throws_to_prevent_assignment \n[gw2] [ 23%] FAILED tests/test_checkclass_gaps_round2.py::test_operator_eq_throws_to_prevent_assignment \ntests/test_checkclass_gaps_round2.py::test_const_member_not_initialized \n[gw2] [ 23%] PASSED tests/test_checkclass_gaps_round2.py::test_const_member_not_initialized \ntests/test_checkclass_gaps_round2.py::test_virtual_destructor_with_actual_deletion \n[gw4] [ 23%] RERUN tests/test_checkio_gaps.py::test_scanf_length_modifier_short \ntests/test_checkio_gaps.py::test_scanf_length_modifier_short \n[gw4] [ 23%] FAILED tests/test_checkio_gaps.py::test_scanf_length_modifier_short \ntests/test_checkio_gaps.py::test_scanf_length_modifier_long \n[gw3] [ 23%] RERUN tests/test_checkfunctions_gaps.py::test_combined_math_domain_errors \ntests/test_checkfunctions_gaps.py::test_combined_math_domain_errors \n[gw3] [ 23%] FAILED tests/test_checkfunctions_gaps.py::test_combined_math_domain_errors \ntests/test_checkfunctions_gaps.py::test_memset_boundary_values \n[gw6] [ 23%] RERUN tests/test_checkio_round3.py::test_printf_hh_modifier_short_not_char \ntests/test_checkio_round3.py::test_printf_hh_modifier_short_not_char \n[gw6] [ 23%] FAILED tests/test_checkio_round3.py::test_printf_hh_modifier_short_not_char \ntests/test_checkio_round3.py::test_printf_hh_modifier_int_not_char \n[gw7] [ 23%] RERUN tests/test_checkmemoryleak_gaps.py::test_class_member_not_freed_in_destructor \ntests/test_checkmemoryleak_gaps.py::test_class_member_not_freed_in_destructor \n[gw7] [ 23%] FAILED tests/test_checkmemoryleak_gaps.py::test_class_member_not_freed_in_destructor \ntests/test_checkmemoryleak_gaps.py::test_class_member_allocated_in_public_function \n[gw8] [ 23%] RERUN tests/test_checksizeof_gaps.py::test_sizeof_calculation_bitwise_xor \ntests/test_checksizeof_gaps.py::test_sizeof_calculation_bitwise_xor \n[gw8] [ 23%] FAILED tests/test_checksizeof_gaps.py::test_sizeof_calculation_bitwise_xor \ntests/test_checkstl_gaps.py::test_iterator_erase_invalidation_map \n[gw0] [ 23%] RERUN tests/test_checkvaarg_gaps.py::test_va_start_reference_parameter \ntests/test_checkvaarg_gaps.py::test_va_start_reference_parameter \n[gw0] [ 23%] FAILED tests/test_checkvaarg_gaps.py::test_va_start_reference_parameter \ntests/test_checkvaarg_gaps.py::test_va_end_missing_basic \n[gw9] [ 23%] RERUN tests/test_checkstl_gaps.py::test_string_find_inefficient_comparison \ntests/test_checkstl_gaps.py::test_string_find_inefficient_comparison \n[gw9] [ 23%] FAILED tests/test_checkstl_gaps.py::test_string_find_inefficient_comparison \ntests/test_checkstl_gaps.py::test_use_stl_algorithm_any_of_pattern \n[gw5] [ 23%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_lld_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_lld_modifier_int \n[gw1] [ 23%] RERUN tests/test_checkbufferoverrun_gaps.py::test_string_literal_out_of_bounds \ntests/test_checkbufferoverrun_gaps.py::test_string_literal_out_of_bounds \n[gw2] [ 23%] RERUN tests/test_checkclass_gaps_round2.py::test_virtual_destructor_with_actual_deletion \ntests/test_checkclass_gaps_round2.py::test_virtual_destructor_with_actual_deletion \n[gw4] [ 23%] RERUN tests/test_checkio_gaps.py::test_scanf_length_modifier_long \ntests/test_checkio_gaps.py::test_scanf_length_modifier_long \n[gw3] [ 23%] RERUN tests/test_checkfunctions_gaps.py::test_memset_boundary_values \ntests/test_checkfunctions_gaps.py::test_memset_boundary_values \n[gw6] [ 23%] RERUN tests/test_checkio_round3.py::test_printf_hh_modifier_int_not_char \ntests/test_checkio_round3.py::test_printf_hh_modifier_int_not_char \n[gw7] [ 23%] RERUN tests/test_checkmemoryleak_gaps.py::test_class_member_allocated_in_public_function \ntests/test_checkmemoryleak_gaps.py::test_class_member_allocated_in_public_function \n[gw8] [ 23%] RERUN tests/test_checkstl_gaps.py::test_iterator_erase_invalidation_map \ntests/test_checkstl_gaps.py::test_iterator_erase_invalidation_map \n[gw0] [ 24%] RERUN tests/test_checkvaarg_gaps.py::test_va_end_missing_basic \ntests/test_checkvaarg_gaps.py::test_va_end_missing_basic \n[gw9] [ 24%] RERUN tests/test_checkstl_gaps.py::test_use_stl_algorithm_any_of_pattern \ntests/test_checkstl_gaps.py::test_use_stl_algorithm_any_of_pattern \n[gw5] [ 24%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_lld_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_lld_modifier_int \n[gw1] [ 24%] RERUN tests/test_checkbufferoverrun_gaps.py::test_string_literal_out_of_bounds \ntests/test_checkbufferoverrun_gaps.py::test_string_literal_out_of_bounds \n[gw5] [ 24%] FAILED tests/test_checkio_gaps_round2.py::test_scanf_lld_modifier_int \ntests/test_checkio_gaps_round2.py::test_scanf_lld_modifier_long \n[gw1] [ 24%] FAILED tests/test_checkbufferoverrun_gaps.py::test_string_literal_out_of_bounds \ntests/test_checkbufferoverrun_gaps.py::test_struct_array_member_out_of_bounds \n[gw2] [ 24%] RERUN tests/test_checkclass_gaps_round2.py::test_virtual_destructor_with_actual_deletion \ntests/test_checkclass_gaps_round2.py::test_virtual_destructor_with_actual_deletion \n[gw2] [ 24%] FAILED tests/test_checkclass_gaps_round2.py::test_virtual_destructor_with_actual_deletion \ntests/test_checkclass_gaps_round2.py::test_delegating_constructor_valid_pattern \n[gw2] [ 24%] PASSED tests/test_checkclass_gaps_round2.py::test_delegating_constructor_valid_pattern \n[gw4] [ 24%] RERUN tests/test_checkio_gaps.py::test_scanf_length_modifier_long \ntests/test_checkio_gaps.py::test_scanf_length_modifier_long \n[gw4] [ 24%] FAILED tests/test_checkio_gaps.py::test_scanf_length_modifier_long \ntests/test_checkio_gaps.py::test_scanf_length_modifier_long_long \ntests/test_checkclass_gaps_round2.py::test_array_member_not_initialized \n[gw2] [ 24%] PASSED tests/test_checkclass_gaps_round2.py::test_array_member_not_initialized \n[gw3] [ 24%] RERUN tests/test_checkfunctions_gaps.py::test_memset_boundary_values \ntests/test_checkfunctions_gaps.py::test_memset_boundary_values \n[gw3] [ 24%] FAILED tests/test_checkfunctions_gaps.py::test_memset_boundary_values \ntests/test_checkfunctions_gaps.py::test_math_with_const_variables \ntests/test_clangimport_error_handling.py::test_clangimport_extern_variables \n[gw6] [ 24%] RERUN tests/test_checkio_round3.py::test_printf_hh_modifier_int_not_char \ntests/test_checkio_round3.py::test_printf_hh_modifier_int_not_char \n[gw6] [ 24%] FAILED tests/test_checkio_round3.py::test_printf_hh_modifier_int_not_char \ntests/test_checkio_round3.py::test_printf_hh_modifier_unsigned_int_not_uchar \n[gw7] [ 24%] RERUN tests/test_checkmemoryleak_gaps.py::test_class_member_allocated_in_public_function \ntests/test_checkmemoryleak_gaps.py::test_class_member_allocated_in_public_function \n[gw7] [ 24%] FAILED tests/test_checkmemoryleak_gaps.py::test_class_member_allocated_in_public_function \ntests/test_checkmemoryleak_gaps.py::test_socket_fd_leak \n[gw7] [ 24%] SKIPPED tests/test_checkmemoryleak_gaps.py::test_socket_fd_leak \ntests/test_clangimport_advanced.py::test_clangimport_do_while \n[gw8] [ 24%] RERUN tests/test_checkstl_gaps.py::test_iterator_erase_invalidation_map \ntests/test_checkstl_gaps.py::test_iterator_erase_invalidation_map \n[gw8] [ 24%] FAILED tests/test_checkstl_gaps.py::test_iterator_erase_invalidation_map \ntests/test_checkstl_gaps.py::test_iterator_erase_invalidation_vector \n[gw0] [ 24%] RERUN tests/test_checkvaarg_gaps.py::test_va_end_missing_basic \ntests/test_checkvaarg_gaps.py::test_va_end_missing_basic \n[gw0] [ 24%] FAILED tests/test_checkvaarg_gaps.py::test_va_end_missing_basic \ntests/test_checkvaarg_gaps.py::test_va_list_used_before_started \n[gw9] [ 24%] RERUN tests/test_checkstl_gaps.py::test_use_stl_algorithm_any_of_pattern \ntests/test_checkstl_gaps.py::test_use_stl_algorithm_any_of_pattern \n[gw9] [ 24%] FAILED tests/test_checkstl_gaps.py::test_use_stl_algorithm_any_of_pattern \ntests/test_checkstl_gaps.py::test_use_stl_algorithm_accumulate_pattern \n[gw5] [ 24%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_lld_modifier_long \ntests/test_checkio_gaps_round2.py::test_scanf_lld_modifier_long \n[gw1] [ 24%] RERUN tests/test_checkbufferoverrun_gaps.py::test_struct_array_member_out_of_bounds \ntests/test_checkbufferoverrun_gaps.py::test_struct_array_member_out_of_bounds \n[gw4] [ 24%] RERUN tests/test_checkio_gaps.py::test_scanf_length_modifier_long_long \ntests/test_checkio_gaps.py::test_scanf_length_modifier_long_long \n[gw3] [ 24%] RERUN tests/test_checkfunctions_gaps.py::test_math_with_const_variables \ntests/test_checkfunctions_gaps.py::test_math_with_const_variables \n[gw2] [ 24%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_extern_variables \ntests/test_clangimport_error_handling.py::test_clangimport_extern_variables \n[gw6] [ 24%] RERUN tests/test_checkio_round3.py::test_printf_hh_modifier_unsigned_int_not_uchar \ntests/test_checkio_round3.py::test_printf_hh_modifier_unsigned_int_not_uchar \n[gw7] [ 24%] RERUN tests/test_clangimport_advanced.py::test_clangimport_do_while \ntests/test_clangimport_advanced.py::test_clangimport_do_while \n[gw8] [ 24%] RERUN tests/test_checkstl_gaps.py::test_iterator_erase_invalidation_vector \ntests/test_checkstl_gaps.py::test_iterator_erase_invalidation_vector \n[gw0] [ 24%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_used_before_started \ntests/test_checkvaarg_gaps.py::test_va_list_used_before_started \n[gw9] [ 24%] RERUN tests/test_checkstl_gaps.py::test_use_stl_algorithm_accumulate_pattern \ntests/test_checkstl_gaps.py::test_use_stl_algorithm_accumulate_pattern \n[gw1] [ 24%] RERUN tests/test_checkbufferoverrun_gaps.py::test_struct_array_member_out_of_bounds \ntests/test_checkbufferoverrun_gaps.py::test_struct_array_member_out_of_bounds \n[gw1] [ 24%] FAILED tests/test_checkbufferoverrun_gaps.py::test_struct_array_member_out_of_bounds \ntests/test_checkbufferoverrun_gaps.py::test_strcat_buffer_overrun \n[gw5] [ 24%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_lld_modifier_long \ntests/test_checkio_gaps_round2.py::test_scanf_lld_modifier_long \n[gw5] [ 24%] FAILED tests/test_checkio_gaps_round2.py::test_scanf_lld_modifier_long \ntests/test_checkio_gaps_round2.py::test_scanf_Lf_modifier_double \n[gw4] [ 24%] RERUN tests/test_checkio_gaps.py::test_scanf_length_modifier_long_long \ntests/test_checkio_gaps.py::test_scanf_length_modifier_long_long \n[gw4] [ 24%] FAILED tests/test_checkio_gaps.py::test_scanf_length_modifier_long_long \ntests/test_checkio_gaps.py::test_scanf_length_modifier_size_t \n[gw3] [ 24%] RERUN tests/test_checkfunctions_gaps.py::test_math_with_const_variables \ntests/test_checkfunctions_gaps.py::test_math_with_const_variables \n[gw3] [ 24%] FAILED tests/test_checkfunctions_gaps.py::test_math_with_const_variables \ntests/test_checkfunctions_gaps.py::test_ignored_return_values \n[gw2] [ 24%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_extern_variables \ntests/test_clangimport_error_handling.py::test_clangimport_extern_variables \n[gw2] [ 24%] FAILED tests/test_clangimport_error_handling.py::test_clangimport_extern_variables \ntests/test_clangimport_error_handling.py::test_clangimport_const_variables \n[gw6] [ 24%] RERUN tests/test_checkio_round3.py::test_printf_hh_modifier_unsigned_int_not_uchar \ntests/test_checkio_round3.py::test_printf_hh_modifier_unsigned_int_not_uchar \n[gw6] [ 24%] FAILED tests/test_checkio_round3.py::test_printf_hh_modifier_unsigned_int_not_uchar \ntests/test_checkio_round3.py::test_printf_ll_modifier_long_not_long_long \n[gw7] [ 24%] RERUN tests/test_clangimport_advanced.py::test_clangimport_do_while \ntests/test_clangimport_advanced.py::test_clangimport_do_while \n[gw7] [ 24%] FAILED tests/test_clangimport_advanced.py::test_clangimport_do_while \ntests/test_clangimport_advanced.py::test_clangimport_break_continue \n[gw8] [ 24%] RERUN tests/test_checkstl_gaps.py::test_iterator_erase_invalidation_vector \ntests/test_checkstl_gaps.py::test_iterator_erase_invalidation_vector \n[gw8] [ 24%] FAILED tests/test_checkstl_gaps.py::test_iterator_erase_invalidation_vector \ntests/test_checkstl_gaps.py::test_vector_out_of_bounds_index \n[gw0] [ 24%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_used_before_started \ntests/test_checkvaarg_gaps.py::test_va_list_used_before_started \n[gw0] [ 24%] FAILED tests/test_checkvaarg_gaps.py::test_va_list_used_before_started \ntests/test_checkvaarg_gaps.py::test_va_start_subsequent_calls \n[gw9] [ 24%] RERUN tests/test_checkstl_gaps.py::test_use_stl_algorithm_accumulate_pattern \ntests/test_checkstl_gaps.py::test_use_stl_algorithm_accumulate_pattern \n[gw9] [ 24%] FAILED tests/test_checkstl_gaps.py::test_use_stl_algorithm_accumulate_pattern \ntests/test_checkstl_gaps.py::test_use_stl_algorithm_max_element_pattern \n[gw1] [ 24%] RERUN tests/test_checkbufferoverrun_gaps.py::test_strcat_buffer_overrun \ntests/test_checkbufferoverrun_gaps.py::test_strcat_buffer_overrun \n[gw5] [ 24%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_Lf_modifier_double \ntests/test_checkio_gaps_round2.py::test_scanf_Lf_modifier_double \n[gw4] [ 24%] RERUN tests/test_checkio_gaps.py::test_scanf_length_modifier_size_t \ntests/test_checkio_gaps.py::test_scanf_length_modifier_size_t \n[gw3] [ 25%] RERUN tests/test_checkfunctions_gaps.py::test_ignored_return_values \ntests/test_checkfunctions_gaps.py::test_ignored_return_values \n[gw2] [ 25%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_const_variables \ntests/test_clangimport_error_handling.py::test_clangimport_const_variables \n[gw6] [ 25%] RERUN tests/test_checkio_round3.py::test_printf_ll_modifier_long_not_long_long \ntests/test_checkio_round3.py::test_printf_ll_modifier_long_not_long_long \n[gw8] [ 25%] RERUN tests/test_checkstl_gaps.py::test_vector_out_of_bounds_index \ntests/test_checkstl_gaps.py::test_vector_out_of_bounds_index \n[gw7] [ 25%] RERUN tests/test_clangimport_advanced.py::test_clangimport_break_continue \ntests/test_clangimport_advanced.py::test_clangimport_break_continue \n[gw0] [ 25%] RERUN tests/test_checkvaarg_gaps.py::test_va_start_subsequent_calls \ntests/test_checkvaarg_gaps.py::test_va_start_subsequent_calls \n[gw9] [ 25%] RERUN tests/test_checkstl_gaps.py::test_use_stl_algorithm_max_element_pattern \ntests/test_checkstl_gaps.py::test_use_stl_algorithm_max_element_pattern \n[gw1] [ 25%] RERUN tests/test_checkbufferoverrun_gaps.py::test_strcat_buffer_overrun \ntests/test_checkbufferoverrun_gaps.py::test_strcat_buffer_overrun \n[gw1] [ 25%] FAILED tests/test_checkbufferoverrun_gaps.py::test_strcat_buffer_overrun \ntests/test_checkbufferoverrun_gaps.py::test_conditional_negative_index \n[gw5] [ 25%] RERUN tests/test_checkio_gaps_round2.py::test_scanf_Lf_modifier_double \ntests/test_checkio_gaps_round2.py::test_scanf_Lf_modifier_double \n[gw5] [ 25%] FAILED tests/test_checkio_gaps_round2.py::test_scanf_Lf_modifier_double \ntests/test_checkio_gaps_round2.py::test_ftell_on_closed_file \n[gw4] [ 25%] RERUN tests/test_checkio_gaps.py::test_scanf_length_modifier_size_t \ntests/test_checkio_gaps.py::test_scanf_length_modifier_size_t \n[gw4] [ 25%] FAILED tests/test_checkio_gaps.py::test_scanf_length_modifier_size_t \ntests/test_checkio_gaps.py::test_scanf_unsigned_length_modifiers \n[gw3] [ 25%] RERUN tests/test_checkfunctions_gaps.py::test_ignored_return_values \ntests/test_checkfunctions_gaps.py::test_ignored_return_values \n[gw3] [ 25%] FAILED tests/test_checkfunctions_gaps.py::test_ignored_return_values \ntests/test_checktype_gaps.py::test_shift_longlong_type \n[gw2] [ 25%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_const_variables \ntests/test_clangimport_error_handling.py::test_clangimport_const_variables \n[gw6] [ 25%] RERUN tests/test_checkio_round3.py::test_printf_ll_modifier_long_not_long_long \ntests/test_checkio_round3.py::test_printf_ll_modifier_long_not_long_long \n[gw6] [ 25%] FAILED tests/test_checkio_round3.py::test_printf_ll_modifier_long_not_long_long \ntests/test_checkio_round3.py::test_printf_ll_modifier_int_not_long_long \n[gw2] [ 25%] FAILED tests/test_clangimport_error_handling.py::test_clangimport_const_variables \ntests/test_clangimport_error_handling.py::test_clangimport_volatile \n[gw8] [ 25%] RERUN tests/test_checkstl_gaps.py::test_vector_out_of_bounds_index \ntests/test_checkstl_gaps.py::test_vector_out_of_bounds_index \n[gw8] [ 25%] FAILED tests/test_checkstl_gaps.py::test_vector_out_of_bounds_index \ntests/test_checkstl_gaps.py::test_vector_out_of_bounds_at \n[gw7] [ 25%] RERUN tests/test_clangimport_advanced.py::test_clangimport_break_continue \ntests/test_clangimport_advanced.py::test_clangimport_break_continue \n[gw0] [ 25%] RERUN tests/test_checkvaarg_gaps.py::test_va_start_subsequent_calls \ntests/test_checkvaarg_gaps.py::test_va_start_subsequent_calls \n[gw0] [ 25%] FAILED tests/test_checkvaarg_gaps.py::test_va_start_subsequent_calls \ntests/test_checkvaarg_gaps.py::test_va_copy_source_not_started \n[gw7] [ 25%] FAILED tests/test_clangimport_advanced.py::test_clangimport_break_continue \ntests/test_clangimport_advanced.py::test_clangimport_cpp_new_delete \n[gw9] [ 25%] RERUN tests/test_checkstl_gaps.py::test_use_stl_algorithm_max_element_pattern \ntests/test_checkstl_gaps.py::test_use_stl_algorithm_max_element_pattern \n[gw9] [ 25%] FAILED tests/test_checkstl_gaps.py::test_use_stl_algorithm_max_element_pattern \ntests/test_checkstl_gaps.py::test_find_insert_optimization \n[gw1] [ 25%] RERUN tests/test_checkbufferoverrun_gaps.py::test_conditional_negative_index \ntests/test_checkbufferoverrun_gaps.py::test_conditional_negative_index \n[gw5] [ 25%] RERUN tests/test_checkio_gaps_round2.py::test_ftell_on_closed_file \ntests/test_checkio_gaps_round2.py::test_ftell_on_closed_file \n[gw4] [ 25%] RERUN tests/test_checkio_gaps.py::test_scanf_unsigned_length_modifiers \ntests/test_checkio_gaps.py::test_scanf_unsigned_length_modifiers \n[gw3] [ 25%] RERUN tests/test_checktype_gaps.py::test_shift_longlong_type \ntests/test_checktype_gaps.py::test_shift_longlong_type \n[gw6] [ 25%] RERUN tests/test_checkio_round3.py::test_printf_ll_modifier_int_not_long_long \ntests/test_checkio_round3.py::test_printf_ll_modifier_int_not_long_long \n[gw2] [ 25%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_volatile \ntests/test_clangimport_error_handling.py::test_clangimport_volatile \n[gw8] [ 25%] RERUN tests/test_checkstl_gaps.py::test_vector_out_of_bounds_at \ntests/test_checkstl_gaps.py::test_vector_out_of_bounds_at \n[gw0] [ 25%] RERUN tests/test_checkvaarg_gaps.py::test_va_copy_source_not_started \ntests/test_checkvaarg_gaps.py::test_va_copy_source_not_started \n[gw7] [ 25%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_new_delete \ntests/test_clangimport_advanced.py::test_clangimport_cpp_new_delete \n[gw9] [ 25%] RERUN tests/test_checkstl_gaps.py::test_find_insert_optimization \ntests/test_checkstl_gaps.py::test_find_insert_optimization \n[gw1] [ 25%] RERUN tests/test_checkbufferoverrun_gaps.py::test_conditional_negative_index \ntests/test_checkbufferoverrun_gaps.py::test_conditional_negative_index \n[gw1] [ 25%] FAILED tests/test_checkbufferoverrun_gaps.py::test_conditional_negative_index \ntests/test_checkbufferoverrun_gaps.py::test_sprintf_integer_overflow \n[gw5] [ 25%] RERUN tests/test_checkio_gaps_round2.py::test_ftell_on_closed_file \ntests/test_checkio_gaps_round2.py::test_ftell_on_closed_file \n[gw5] [ 25%] FAILED tests/test_checkio_gaps_round2.py::test_ftell_on_closed_file \ntests/test_checkio_gaps_round2.py::test_fseek_on_append_mode \n[gw4] [ 25%] RERUN tests/test_checkio_gaps.py::test_scanf_unsigned_length_modifiers \ntests/test_checkio_gaps.py::test_scanf_unsigned_length_modifiers \n[gw4] [ 25%] FAILED tests/test_checkio_gaps.py::test_scanf_unsigned_length_modifiers \ntests/test_checkio_gaps_round2.py::test_fread_without_positioning \n[gw3] [ 25%] RERUN tests/test_checktype_gaps.py::test_shift_longlong_type \ntests/test_checktype_gaps.py::test_shift_longlong_type \n[gw3] [ 25%] FAILED tests/test_checktype_gaps.py::test_shift_longlong_type \ntests/test_checktype_gaps.py::test_shift_bool_type \n[gw6] [ 25%] RERUN tests/test_checkio_round3.py::test_printf_ll_modifier_int_not_long_long \ntests/test_checkio_round3.py::test_printf_ll_modifier_int_not_long_long \n[gw6] [ 25%] FAILED tests/test_checkio_round3.py::test_printf_ll_modifier_int_not_long_long \ntests/test_checkio_round3.py::test_printf_ll_modifier_unsigned_int_not_ullong \n[gw2] [ 25%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_volatile \ntests/test_clangimport_error_handling.py::test_clangimport_volatile \n[gw2] [ 25%] FAILED tests/test_clangimport_error_handling.py::test_clangimport_volatile \ntests/test_clangimport_error_handling.py::test_clangimport_inline_function \n[gw8] [ 25%] RERUN tests/test_checkstl_gaps.py::test_vector_out_of_bounds_at \ntests/test_checkstl_gaps.py::test_vector_out_of_bounds_at \n[gw8] [ 25%] FAILED tests/test_checkstl_gaps.py::test_vector_out_of_bounds_at \ntests/test_checkstl_gaps.py::test_string_out_of_bounds \n[gw0] [ 25%] RERUN tests/test_checkvaarg_gaps.py::test_va_copy_source_not_started \ntests/test_checkvaarg_gaps.py::test_va_copy_source_not_started \n[gw0] [ 25%] FAILED tests/test_checkvaarg_gaps.py::test_va_copy_source_not_started \ntests/test_checkvaarg_gaps.py::test_va_list_as_function_argument \n[gw7] [ 25%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_new_delete \ntests/test_clangimport_advanced.py::test_clangimport_cpp_new_delete \n[gw7] [ 25%] FAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_new_delete \ntests/test_clangimport_advanced.py::test_clangimport_cpp_throw_catch \n[gw9] [ 25%] RERUN tests/test_checkstl_gaps.py::test_find_insert_optimization \ntests/test_checkstl_gaps.py::test_find_insert_optimization \n[gw9] [ 25%] FAILED tests/test_checkstl_gaps.py::test_find_insert_optimization \ntests/test_checkstl_gaps.py::test_negative_container_index_literal \n[gw1] [ 25%] RERUN tests/test_checkbufferoverrun_gaps.py::test_sprintf_integer_overflow \ntests/test_checkbufferoverrun_gaps.py::test_sprintf_integer_overflow \n[gw5] [ 25%] RERUN tests/test_checkio_gaps_round2.py::test_fseek_on_append_mode \ntests/test_checkio_gaps_round2.py::test_fseek_on_append_mode \n[gw4] [ 26%] RERUN tests/test_checkio_gaps_round2.py::test_fread_without_positioning \ntests/test_checkio_gaps_round2.py::test_fread_without_positioning \n[gw3] [ 26%] RERUN tests/test_checktype_gaps.py::test_shift_bool_type \ntests/test_checktype_gaps.py::test_shift_bool_type \n[gw6] [ 26%] RERUN tests/test_checkio_round3.py::test_printf_ll_modifier_unsigned_int_not_ullong \ntests/test_checkio_round3.py::test_printf_ll_modifier_unsigned_int_not_ullong \n[gw2] [ 26%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_inline_function \ntests/test_clangimport_error_handling.py::test_clangimport_inline_function \n[gw8] [ 26%] RERUN tests/test_checkstl_gaps.py::test_string_out_of_bounds \ntests/test_checkstl_gaps.py::test_string_out_of_bounds \n[gw0] [ 26%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_as_function_argument \ntests/test_checkvaarg_gaps.py::test_va_list_as_function_argument \n[gw7] [ 26%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_throw_catch \ntests/test_clangimport_advanced.py::test_clangimport_cpp_throw_catch \n[gw9] [ 26%] RERUN tests/test_checkstl_gaps.py::test_negative_container_index_literal \ntests/test_checkstl_gaps.py::test_negative_container_index_literal \n[gw1] [ 26%] RERUN tests/test_checkbufferoverrun_gaps.py::test_sprintf_integer_overflow \ntests/test_checkbufferoverrun_gaps.py::test_sprintf_integer_overflow \n[gw1] [ 26%] FAILED tests/test_checkbufferoverrun_gaps.py::test_sprintf_integer_overflow \ntests/test_checkbufferoverrun_gaps.py::test_strncat_buffer_overrun \n[gw5] [ 26%] RERUN tests/test_checkio_gaps_round2.py::test_fseek_on_append_mode \ntests/test_checkio_gaps_round2.py::test_fseek_on_append_mode \n[gw5] [ 26%] FAILED tests/test_checkio_gaps_round2.py::test_fseek_on_append_mode \ntests/test_checkio_gaps_round2.py::test_fseek_on_closed_file \n[gw4] [ 26%] RERUN tests/test_checkio_gaps_round2.py::test_fread_without_positioning \ntests/test_checkio_gaps_round2.py::test_fread_without_positioning \n[gw4] [ 26%] FAILED tests/test_checkio_gaps_round2.py::test_fread_without_positioning \ntests/test_checkio_gaps_round2.py::test_fwrite_without_positioning \n[gw3] [ 26%] RERUN tests/test_checktype_gaps.py::test_shift_bool_type \ntests/test_checktype_gaps.py::test_shift_bool_type \n[gw3] [ 26%] FAILED tests/test_checktype_gaps.py::test_shift_bool_type \ntests/test_checkuninitvar_gaps.py::test_basic_uninitialized_variable \n[gw3] [ 26%] PASSED tests/test_checkuninitvar_gaps.py::test_basic_uninitialized_variable \ntests/test_checkuninitvar_gaps.py::test_pointer_dereference_uninitialized \n[gw3] [ 26%] PASSED tests/test_checkuninitvar_gaps.py::test_pointer_dereference_uninitialized \ntests/test_checkuninitvar_gaps.py::test_array_element_uninitialized \n[gw6] [ 26%] RERUN tests/test_checkio_round3.py::test_printf_ll_modifier_unsigned_int_not_ullong \ntests/test_checkio_round3.py::test_printf_ll_modifier_unsigned_int_not_ullong \n[gw6] [ 26%] FAILED tests/test_checkio_round3.py::test_printf_ll_modifier_unsigned_int_not_ullong \ntests/test_checkstring_gaps.py::test_wide_character_string_compare \n[gw2] [ 26%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_inline_function \ntests/test_clangimport_error_handling.py::test_clangimport_inline_function \n[gw8] [ 26%] RERUN tests/test_checkstl_gaps.py::test_string_out_of_bounds \ntests/test_checkstl_gaps.py::test_string_out_of_bounds \n[gw2] [ 26%] FAILED tests/test_clangimport_error_handling.py::test_clangimport_inline_function \ntests/test_clangimport_error_handling.py::test_clangimport_restrict_pointer \n[gw8] [ 26%] FAILED tests/test_checkstl_gaps.py::test_string_out_of_bounds \ntests/test_checkstl_gaps.py::test_array_out_of_bounds \n[gw0] [ 26%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_as_function_argument \ntests/test_checkvaarg_gaps.py::test_va_list_as_function_argument \n[gw0] [ 26%] FAILED tests/test_checkvaarg_gaps.py::test_va_list_as_function_argument \ntests/test_checkvaarg_gaps.py::test_va_list_with_goto \n[gw7] [ 26%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_throw_catch \ntests/test_clangimport_advanced.py::test_clangimport_cpp_throw_catch \n[gw7] [ 26%] FAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_throw_catch \ntests/test_clangimport_advanced.py::test_clangimport_cpp_this_pointer \n[gw9] [ 26%] RERUN tests/test_checkstl_gaps.py::test_negative_container_index_literal \ntests/test_checkstl_gaps.py::test_negative_container_index_literal \n[gw9] [ 26%] FAILED tests/test_checkstl_gaps.py::test_negative_container_index_literal \ntests/test_checkstl_gaps.py::test_negative_container_index_variable \n[gw1] [ 26%] RERUN tests/test_checkbufferoverrun_gaps.py::test_strncat_buffer_overrun \ntests/test_checkbufferoverrun_gaps.py::test_strncat_buffer_overrun \n[gw5] [ 26%] RERUN tests/test_checkio_gaps_round2.py::test_fseek_on_closed_file \ntests/test_checkio_gaps_round2.py::test_fseek_on_closed_file \n[gw4] [ 26%] RERUN tests/test_checkio_gaps_round2.py::test_fwrite_without_positioning \ntests/test_checkio_gaps_round2.py::test_fwrite_without_positioning \n[gw3] [ 26%] RERUN tests/test_checkuninitvar_gaps.py::test_array_element_uninitialized \ntests/test_checkuninitvar_gaps.py::test_array_element_uninitialized \n[gw6] [ 26%] RERUN tests/test_checkstring_gaps.py::test_wide_character_string_compare \ntests/test_checkstring_gaps.py::test_wide_character_string_compare \n[gw8] [ 26%] RERUN tests/test_checkstl_gaps.py::test_array_out_of_bounds \ntests/test_checkstl_gaps.py::test_array_out_of_bounds \n[gw2] [ 26%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_restrict_pointer \ntests/test_clangimport_error_handling.py::test_clangimport_restrict_pointer \n[gw0] [ 26%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_with_goto \ntests/test_checkvaarg_gaps.py::test_va_list_with_goto \n[gw7] [ 27%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_this_pointer \ntests/test_clangimport_advanced.py::test_clangimport_cpp_this_pointer \n[gw9] [ 27%] RERUN tests/test_checkstl_gaps.py::test_negative_container_index_variable \ntests/test_checkstl_gaps.py::test_negative_container_index_variable \n[gw1] [ 27%] RERUN tests/test_checkbufferoverrun_gaps.py::test_strncat_buffer_overrun \ntests/test_checkbufferoverrun_gaps.py::test_strncat_buffer_overrun \n[gw1] [ 27%] FAILED tests/test_checkbufferoverrun_gaps.py::test_strncat_buffer_overrun \ntests/test_checkbufferoverrun_gaps.py::test_fgets_size_exceeds_buffer \n[gw5] [ 27%] RERUN tests/test_checkio_gaps_round2.py::test_fseek_on_closed_file \ntests/test_checkio_gaps_round2.py::test_fseek_on_closed_file \n[gw5] [ 27%] FAILED tests/test_checkio_gaps_round2.py::test_fseek_on_closed_file \ntests/test_checkio_gaps_round2.py::test_fflush_on_stdin \n[gw4] [ 27%] RERUN tests/test_checkio_gaps_round2.py::test_fwrite_without_positioning \ntests/test_checkio_gaps_round2.py::test_fwrite_without_positioning \n[gw4] [ 27%] FAILED tests/test_checkio_gaps_round2.py::test_fwrite_without_positioning \ntests/test_cppcheck_core.py::test_many_configurations_limited \n[gw4] [ 27%] PASSED tests/test_cppcheck_core.py::test_many_configurations_limited \ntests/test_cppcheck_core.py::test_platform_specification \n[gw4] [ 27%] PASSED tests/test_cppcheck_core.py::test_platform_specification \ntests/test_cppcheck_core.py::test_checkers_report_generation \n[gw4] [ 27%] PASSED tests/test_cppcheck_core.py::test_checkers_report_generation \n[gw3] [ 27%] RERUN tests/test_checkuninitvar_gaps.py::test_array_element_uninitialized \ntests/test_checkuninitvar_gaps.py::test_array_element_uninitialized \n[gw3] [ 27%] FAILED tests/test_checkuninitvar_gaps.py::test_array_element_uninitialized \ntests/test_checkuninitvar_gaps.py::test_struct_member_uninitialized \ntests/test_cppcheck_core.py::test_language_specification \n[gw3] [ 27%] PASSED tests/test_checkuninitvar_gaps.py::test_struct_member_uninitialized \n[gw4] [ 27%] PASSED tests/test_cppcheck_core.py::test_language_specification \ntests/test_checkuninitvar_gaps.py::test_conditional_initialization_always_taken \ntests/test_cppcheck_core.py::test_undefine_preprocessor_symbol \n[gw4] [ 27%] PASSED tests/test_cppcheck_core.py::test_undefine_preprocessor_symbol \n[gw6] [ 27%] RERUN tests/test_checkstring_gaps.py::test_wide_character_string_compare \ntests/test_checkstring_gaps.py::test_wide_character_string_compare \n[gw6] [ 27%] FAILED tests/test_checkstring_gaps.py::test_wide_character_string_compare \ntests/test_checkstring_gaps.py::test_memcmp_and_wmemcmp_literals \ntests/test_cppcheck_core.py::test_xml_version2_format \n[gw4] [ 27%] PASSED tests/test_cppcheck_core.py::test_xml_version2_format \ntests/test_cppcheck_core.py::test_inline_suppression_parsing \n[gw4] [ 27%] PASSED tests/test_cppcheck_core.py::test_inline_suppression_parsing \ntests/test_cppcheck_core.py::test_relative_paths_output \n[gw4] [ 27%] PASSED tests/test_cppcheck_core.py::test_relative_paths_output \n[gw8] [ 27%] RERUN tests/test_checkstl_gaps.py::test_array_out_of_bounds \ntests/test_checkstl_gaps.py::test_array_out_of_bounds \ntests/test_cppcheck_core.py::test_information_severity \n[gw8] [ 27%] FAILED tests/test_checkstl_gaps.py::test_array_out_of_bounds \n[gw4] [ 27%] PASSED tests/test_cppcheck_core.py::test_information_severity \ntests/test_checkstl_gaps.py::test_negative_container_index \n[gw2] [ 27%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_restrict_pointer \ntests/test_clangimport_error_handling.py::test_clangimport_restrict_pointer \n[gw0] [ 27%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_with_goto \ntests/test_checkvaarg_gaps.py::test_va_list_with_goto \n[gw0] [ 27%] FAILED tests/test_checkvaarg_gaps.py::test_va_list_with_goto \ntests/test_checkvaarg_gaps.py::test_va_list_with_break_in_loop \ntests/test_errorlogger.py::test_xmlv2_output_single_error \n[gw4] [ 27%] PASSED tests/test_errorlogger.py::test_xmlv2_output_single_error \n[gw2] [ 27%] FAILED tests/test_clangimport_error_handling.py::test_clangimport_restrict_pointer \ntests/test_cmdlineparser.py::test_missing_argument_to_d_flag \n[gw2] [ 27%] PASSED tests/test_cmdlineparser.py::test_missing_argument_to_d_flag \ntests/test_errorlogger.py::test_xmlv2_output_multiple_errors \n[gw4] [ 27%] PASSED tests/test_errorlogger.py::test_xmlv2_output_multiple_errors \ntests/test_cmdlineparser.py::test_missing_argument_to_i_flag \n[gw2] [ 27%] PASSED tests/test_cmdlineparser.py::test_missing_argument_to_i_flag \ntests/test_errorlogger.py::test_sarif_output_format \n[gw4] [ 27%] PASSED tests/test_errorlogger.py::test_sarif_output_format \ntests/test_cmdlineparser.py::test_missing_argument_to_u_flag \n[gw2] [ 27%] PASSED tests/test_cmdlineparser.py::test_missing_argument_to_u_flag \ntests/test_errorlogger.py::test_template_custom_format \n[gw4] [ 28%] PASSED tests/test_errorlogger.py::test_template_custom_format \ntests/test_cmdlineparser.py::test_invalid_debug_lookup_value \n[gw2] [ 28%] PASSED tests/test_cmdlineparser.py::test_invalid_debug_lookup_value \ntests/test_errorlogger.py::test_template_predefined_gcc \n[gw7] [ 28%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_this_pointer \ntests/test_clangimport_advanced.py::test_clangimport_cpp_this_pointer \ntests/test_cmdlineparser.py::test_version_flag \n[gw2] [ 28%] PASSED tests/test_cmdlineparser.py::test_version_flag \n[gw7] [ 28%] FAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_this_pointer \ntests/test_clangimport_advanced.py::test_clangimport_cpp_constructors \ntests/test_cmdlineparser.py::test_errorlist_flag_xml_structure \n[gw2] [ 28%] PASSED tests/test_cmdlineparser.py::test_errorlist_flag_xml_structure \n[gw9] [ 28%] RERUN tests/test_checkstl_gaps.py::test_negative_container_index_variable \ntests/test_checkstl_gaps.py::test_negative_container_index_variable \n[gw9] [ 28%] FAILED tests/test_checkstl_gaps.py::test_negative_container_index_variable \ntests/test_checkstl_gaps.py::test_dereference_end_iterator \n[gw1] [ 28%] RERUN tests/test_checkbufferoverrun_gaps.py::test_fgets_size_exceeds_buffer \ntests/test_checkbufferoverrun_gaps.py::test_fgets_size_exceeds_buffer \ntests/test_cmdlineparser.py::test_doc_flag_checker_documentation \n[gw2] [ 28%] PASSED tests/test_cmdlineparser.py::test_doc_flag_checker_documentation \n[gw5] [ 28%] RERUN tests/test_checkio_gaps_round2.py::test_fflush_on_stdin \ntests/test_checkio_gaps_round2.py::test_fflush_on_stdin \ntests/test_cmdlineparser.py::test_file_list_from_stdin \n[gw2] [ 28%] PASSED tests/test_cmdlineparser.py::test_file_list_from_stdin \ntests/test_cmdlineparser.py::test_file_list_nonexistent_file \n[gw2] [ 28%] PASSED tests/test_cmdlineparser.py::test_file_list_nonexistent_file \ntests/test_cmdlineparser.py::test_includes_file_nonexistent \n[gw2] [ 28%] PASSED tests/test_cmdlineparser.py::test_includes_file_nonexistent \ntests/test_cmdlineparser.py::test_invalid_check_level \n[gw2] [ 28%] PASSED tests/test_cmdlineparser.py::test_invalid_check_level \ntests/test_cmdlineparser.py::test_check_version_mismatch \n[gw3] [ 28%] RERUN tests/test_checkuninitvar_gaps.py::test_conditional_initialization_always_taken \ntests/test_checkuninitvar_gaps.py::test_conditional_initialization_always_taken \n[gw6] [ 28%] RERUN tests/test_checkstring_gaps.py::test_memcmp_and_wmemcmp_literals \ntests/test_checkstring_gaps.py::test_memcmp_and_wmemcmp_literals \n[gw8] [ 28%] RERUN tests/test_checkstl_gaps.py::test_negative_container_index \ntests/test_checkstl_gaps.py::test_negative_container_index \n[gw0] [ 28%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_with_break_in_loop \ntests/test_checkvaarg_gaps.py::test_va_list_with_break_in_loop \n[gw4] [ 28%] RERUN tests/test_errorlogger.py::test_template_predefined_gcc \ntests/test_errorlogger.py::test_template_predefined_gcc \n[gw7] [ 28%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_constructors \ntests/test_clangimport_advanced.py::test_clangimport_cpp_constructors \n[gw9] [ 28%] RERUN tests/test_checkstl_gaps.py::test_dereference_end_iterator \ntests/test_checkstl_gaps.py::test_dereference_end_iterator \n[gw1] [ 28%] RERUN tests/test_checkbufferoverrun_gaps.py::test_fgets_size_exceeds_buffer \ntests/test_checkbufferoverrun_gaps.py::test_fgets_size_exceeds_buffer \n[gw1] [ 28%] FAILED tests/test_checkbufferoverrun_gaps.py::test_fgets_size_exceeds_buffer \ntests/test_checkbufferoverrun_gaps.py::test_multidimensional_second_dimension_overflow \n[gw5] [ 28%] RERUN tests/test_checkio_gaps_round2.py::test_fflush_on_stdin \ntests/test_checkio_gaps_round2.py::test_fflush_on_stdin \n[gw5] [ 28%] FAILED tests/test_checkio_gaps_round2.py::test_fflush_on_stdin \ntests/test_checkio_gaps_round2.py::test_fflush_on_read_mode_file \n[gw2] [ 29%] RERUN tests/test_cmdlineparser.py::test_check_version_mismatch \ntests/test_cmdlineparser.py::test_check_version_mismatch \n[gw3] [ 29%] RERUN tests/test_checkuninitvar_gaps.py::test_conditional_initialization_always_taken \ntests/test_checkuninitvar_gaps.py::test_conditional_initialization_always_taken \n[gw3] [ 29%] FAILED tests/test_checkuninitvar_gaps.py::test_conditional_initialization_always_taken \ntests/test_checkuninitvar_gaps.py::test_loop_guaranteed_initialization \n[gw3] [ 29%] PASSED tests/test_checkuninitvar_gaps.py::test_loop_guaranteed_initialization \n[gw6] [ 29%] RERUN tests/test_checkstring_gaps.py::test_memcmp_and_wmemcmp_literals \ntests/test_checkstring_gaps.py::test_memcmp_and_wmemcmp_literals \n[gw6] [ 29%] FAILED tests/test_checkstring_gaps.py::test_memcmp_and_wmemcmp_literals \ntests/test_checkstring_gaps.py::test_case_insensitive_string_compare \n[gw6] [ 29%] PASSED tests/test_checkstring_gaps.py::test_case_insensitive_string_compare \ntests/test_checkuninitvar_gaps.py::test_malloc_uninitialized_data \ntests/test_checkstring_gaps.py::test_snprintf_overlapping_buffers \n[gw8] [ 29%] RERUN tests/test_checkstl_gaps.py::test_negative_container_index \ntests/test_checkstl_gaps.py::test_negative_container_index \n[gw8] [ 29%] FAILED tests/test_checkstl_gaps.py::test_negative_container_index \ntests/test_checkstl_gaps.py::test_cstr_on_temporary_string \n[gw0] [ 29%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_with_break_in_loop \ntests/test_checkvaarg_gaps.py::test_va_list_with_break_in_loop \n[gw0] [ 29%] FAILED tests/test_checkvaarg_gaps.py::test_va_list_with_break_in_loop \ntests/test_checkvaarg_gaps.py::test_va_list_with_throw_statement \n[gw4] [ 29%] RERUN tests/test_errorlogger.py::test_template_predefined_gcc \ntests/test_errorlogger.py::test_template_predefined_gcc \n[gw4] [ 29%] FAILED tests/test_errorlogger.py::test_template_predefined_gcc \ntests/test_errorlogger.py::test_template_predefined_vs \n[gw4] [ 29%] PASSED tests/test_errorlogger.py::test_template_predefined_vs \ntests/test_errorlogger.py::test_template_predefined_cppcheck1 \n[gw4] [ 29%] PASSED tests/test_errorlogger.py::test_template_predefined_cppcheck1 \n[gw9] [ 29%] RERUN tests/test_checkstl_gaps.py::test_dereference_end_iterator \ntests/test_checkstl_gaps.py::test_dereference_end_iterator \n[gw7] [ 29%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_constructors \ntests/test_clangimport_advanced.py::test_clangimport_cpp_constructors \n[gw9] [ 29%] FAILED tests/test_checkstl_gaps.py::test_dereference_end_iterator \ntests/test_errorlogger.py::test_error_suppression_by_id \ntests/test_checkstl_gaps.py::test_iterator_invalidated_by_clear \n[gw4] [ 29%] PASSED tests/test_errorlogger.py::test_error_suppression_by_id \n[gw1] [ 29%] RERUN tests/test_checkbufferoverrun_gaps.py::test_multidimensional_second_dimension_overflow \ntests/test_checkbufferoverrun_gaps.py::test_multidimensional_second_dimension_overflow \n[gw7] [ 29%] FAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_constructors \ntests/test_clangimport_advanced.py::test_clangimport_cpp_nullptr \ntests/test_errorlogger.py::test_inline_suppression \n[gw5] [ 29%] RERUN tests/test_checkio_gaps_round2.py::test_fflush_on_read_mode_file \n[gw4] [ 29%] PASSED tests/test_errorlogger.py::test_inline_suppression \ntests/test_checkio_gaps_round2.py::test_fflush_on_read_mode_file \ntests/test_errorlogger.py::test_verbose_output_format \n[gw4] [ 29%] PASSED tests/test_errorlogger.py::test_verbose_output_format \ntests/test_errorlogger.py::test_relative_paths_in_output \n[gw4] [ 29%] PASSED tests/test_errorlogger.py::test_relative_paths_in_output \ntests/test_errorlogger.py::test_xmlv3_output_format \n[gw4] [ 29%] PASSED tests/test_errorlogger.py::test_xmlv3_output_format \ntests/test_errorlogger.py::test_template_edit_format \n[gw2] [ 29%] RERUN tests/test_cmdlineparser.py::test_check_version_mismatch \ntests/test_cmdlineparser.py::test_check_version_mismatch \n[gw4] [ 29%] PASSED tests/test_errorlogger.py::test_template_edit_format \n[gw2] [ 29%] FAILED tests/test_cmdlineparser.py::test_check_version_mismatch \ntests/test_cmdlineparser.py::test_invalid_executor_type \n[gw2] [ 29%] PASSED tests/test_cmdlineparser.py::test_invalid_executor_type \ntests/test_errorlogger.py::test_xmlv2_with_symbol_names \n[gw4] [ 29%] PASSED tests/test_errorlogger.py::test_xmlv2_with_symbol_names \ntests/test_cmdlineparser.py::test_missing_argument_to_i_ignore_flag \n[gw2] [ 29%] PASSED tests/test_cmdlineparser.py::test_missing_argument_to_i_ignore_flag \ntests/test_errorlogger.py::test_severity_levels_in_xml \n[gw4] [ 29%] PASSED tests/test_errorlogger.py::test_severity_levels_in_xml \ntests/test_cmdlineparser.py::test_missing_argument_to_j_flag \n[gw2] [ 29%] PASSED tests/test_cmdlineparser.py::test_missing_argument_to_j_flag \ntests/test_errorlogger.py::test_cwe_codes_in_xml \n[gw4] [ 30%] PASSED tests/test_errorlogger.py::test_cwe_codes_in_xml \ntests/test_cmdlineparser.py::test_j_flag_zero_value \n[gw2] [ 30%] PASSED tests/test_cmdlineparser.py::test_j_flag_zero_value \n[gw3] [ 30%] RERUN tests/test_checkuninitvar_gaps.py::test_malloc_uninitialized_data \ntests/test_checkuninitvar_gaps.py::test_malloc_uninitialized_data \ntests/test_errorlogger.py::test_inconclusive_errors \n[gw4] [ 30%] PASSED tests/test_errorlogger.py::test_inconclusive_errors \ntests/test_cmdlineparser.py::test_j_flag_too_large \n[gw2] [ 30%] PASSED tests/test_cmdlineparser.py::test_j_flag_too_large \n[gw6] [ 30%] RERUN tests/test_checkstring_gaps.py::test_snprintf_overlapping_buffers \ntests/test_checkstring_gaps.py::test_snprintf_overlapping_buffers \ntests/test_errorlogger.py::test_error_id_filtering_by_suppression \n[gw4] [ 30%] PASSED tests/test_errorlogger.py::test_error_id_filtering_by_suppression \ntests/test_cmdlineparser.py::test_j_flag_invalid_number \n[gw2] [ 30%] PASSED tests/test_cmdlineparser.py::test_j_flag_invalid_number \ntests/test_errorlogger.py::test_multiple_locations_in_error \n[gw4] [ 30%] PASSED tests/test_errorlogger.py::test_multiple_locations_in_error \ntests/test_cmdlineparser.py::test_exitcode_suppressions_file_not_found \n[gw2] [ 30%] PASSED tests/test_cmdlineparser.py::test_exitcode_suppressions_file_not_found \ntests/test_errorlogger.py::test_sarif_rules_metadata \n[gw4] [ 30%] PASSED tests/test_errorlogger.py::test_sarif_rules_metadata \ntests/test_cmdlineparser.py::test_missing_argument_to_x_language_flag \ntests/test_errorlogger.py::test_template_callstack_formatting \n[gw2] [ 30%] PASSED tests/test_cmdlineparser.py::test_missing_argument_to_x_language_flag \n[gw8] [ 30%] RERUN tests/test_checkstl_gaps.py::test_cstr_on_temporary_string \ntests/test_checkstl_gaps.py::test_cstr_on_temporary_string \n[gw4] [ 30%] PASSED tests/test_errorlogger.py::test_template_callstack_formatting \n[gw0] [ 30%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_with_throw_statement \ntests/test_checkvaarg_gaps.py::test_va_list_with_throw_statement \ntests/test_errorlogger.py::test_error_without_file_location \ntests/test_cmdlineparser.py::test_unknown_language \n[gw2] [ 30%] PASSED tests/test_cmdlineparser.py::test_unknown_language \n[gw4] [ 30%] PASSED tests/test_errorlogger.py::test_error_without_file_location \ntests/test_cmdlineparser.py::test_empty_library_name \ntests/test_errorlogger.py::test_xml_special_char_escaping \n[gw2] [ 30%] PASSED tests/test_cmdlineparser.py::test_empty_library_name \n[gw4] [ 31%] PASSED tests/test_errorlogger.py::test_xml_special_char_escaping \ntests/test_errorlogger.py::test_output_file_option \ntests/test_cmdlineparser.py::test_max_configs_zero \n[gw2] [ 31%] PASSED tests/test_cmdlineparser.py::test_max_configs_zero \n[gw4] [ 31%] PASSED tests/test_errorlogger.py::test_output_file_option \ntests/test_errorlogger.py::test_suppression_list_file \ntests/test_cmdlineparser.py::test_empty_platform \n[gw4] [ 31%] PASSED tests/test_errorlogger.py::test_suppression_list_file \ntests/test_errorlogger.py::test_error_with_column_information \n[gw4] [ 31%] PASSED tests/test_errorlogger.py::test_error_with_column_information \ntests/test_errorlogger.py::test_error_message_verbose_vs_short \n[gw4] [ 31%] PASSED tests/test_errorlogger.py::test_error_message_verbose_vs_short \ntests/test_errorlogger.py::test_multiple_error_types_in_sarif \n[gw4] [ 31%] PASSED tests/test_errorlogger.py::test_multiple_error_types_in_sarif \n[gw1] [ 31%] RERUN tests/test_checkbufferoverrun_gaps.py::test_multidimensional_second_dimension_overflow \ntests/test_checkbufferoverrun_gaps.py::test_multidimensional_second_dimension_overflow \n[gw9] [ 31%] RERUN tests/test_checkstl_gaps.py::test_iterator_invalidated_by_clear \ntests/test_checkstl_gaps.py::test_iterator_invalidated_by_clear \n[gw1] [ 31%] FAILED tests/test_checkbufferoverrun_gaps.py::test_multidimensional_second_dimension_overflow \ntests/test_cmdlineparser.py::test_showtime_mode_empty \ntests/test_errorlogger.py::test_template_with_id_placeholder \n[gw4] [ 31%] PASSED tests/test_errorlogger.py::test_template_with_id_placeholder \n[gw7] [ 31%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_nullptr \ntests/test_clangimport_advanced.py::test_clangimport_cpp_nullptr \n[gw5] [ 31%] RERUN tests/test_checkio_gaps_round2.py::test_fflush_on_read_mode_file \ntests/test_checkio_gaps_round2.py::test_fflush_on_read_mode_file \n[gw5] [ 31%] FAILED tests/test_checkio_gaps_round2.py::test_fflush_on_read_mode_file \ntests/test_checkio_gaps_round2.py::test_rewind_on_closed_file \ntests/test_errorlogger.py::test_plist_output_format \n[gw3] [ 31%] RERUN tests/test_checkuninitvar_gaps.py::test_malloc_uninitialized_data \ntests/test_checkuninitvar_gaps.py::test_malloc_uninitialized_data \n[gw3] [ 31%] FAILED tests/test_checkuninitvar_gaps.py::test_malloc_uninitialized_data \ntests/test_checkuninitvar_gaps.py::test_switch_without_default_may_leave_uninit \n[gw3] [ 31%] PASSED tests/test_checkuninitvar_gaps.py::test_switch_without_default_may_leave_uninit \n[gw6] [ 31%] RERUN tests/test_checkstring_gaps.py::test_snprintf_overlapping_buffers \ntests/test_checkstring_gaps.py::test_snprintf_overlapping_buffers \n[gw6] [ 31%] FAILED tests/test_checkstring_gaps.py::test_snprintf_overlapping_buffers \ntests/test_checkstring_gaps.py::test_swprintf_overlapping_buffers \ntests/test_checkuninitvar_gaps.py::test_switch_with_default_ensures_init \n[gw3] [ 31%] PASSED tests/test_checkuninitvar_gaps.py::test_switch_with_default_ensures_init \ntests/test_checkuninitvar_gaps.py::test_function_call_initializes_pointer_param \n[gw3] [ 31%] PASSED tests/test_checkuninitvar_gaps.py::test_function_call_initializes_pointer_param \ntests/test_checkuninitvar_gaps.py::test_function_call_with_uninit_argument \n[gw3] [ 31%] PASSED tests/test_checkuninitvar_gaps.py::test_function_call_with_uninit_argument \ntests/test_checkuninitvar_gaps.py::test_ternary_with_initialization_in_branch \n[gw8] [ 31%] RERUN tests/test_checkstl_gaps.py::test_cstr_on_temporary_string \ntests/test_checkstl_gaps.py::test_cstr_on_temporary_string \n[gw3] [ 31%] PASSED tests/test_checkuninitvar_gaps.py::test_ternary_with_initialization_in_branch \n[gw0] [ 31%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_with_throw_statement \ntests/test_checkvaarg_gaps.py::test_va_list_with_throw_statement \n[gw8] [ 31%] FAILED tests/test_checkstl_gaps.py::test_cstr_on_temporary_string \ntests/test_checkstl_gaps.py::test_cstr_after_string_modification \n[gw0] [ 31%] FAILED tests/test_checkvaarg_gaps.py::test_va_list_with_throw_statement \ntests/test_checkvaarg_gaps.py::test_va_list_complex_control_flow \ntests/test_checkuninitvar_gaps.py::test_ternary_operator_with_uninit_branch \n[gw2] [ 31%] RERUN tests/test_cmdlineparser.py::test_empty_platform \ntests/test_cmdlineparser.py::test_empty_platform \n[gw9] [ 31%] RERUN tests/test_checkstl_gaps.py::test_iterator_invalidated_by_clear \ntests/test_checkstl_gaps.py::test_iterator_invalidated_by_clear \n[gw1] [ 31%] RERUN tests/test_cmdlineparser.py::test_showtime_mode_empty \ntests/test_cmdlineparser.py::test_showtime_mode_empty \n[gw9] [ 31%] FAILED tests/test_checkstl_gaps.py::test_iterator_invalidated_by_clear \ntests/test_checkstl_gaps.py::test_erase_dereference_same_statement \n[gw5] [ 31%] RERUN tests/test_checkio_gaps_round2.py::test_rewind_on_closed_file \ntests/test_checkio_gaps_round2.py::test_rewind_on_closed_file \n[gw7] [ 31%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_nullptr \ntests/test_clangimport_advanced.py::test_clangimport_cpp_nullptr \n[gw4] [ 31%] RERUN tests/test_errorlogger.py::test_plist_output_format \ntests/test_errorlogger.py::test_plist_output_format \n[gw7] [ 31%] FAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_nullptr \ntests/test_clangimport_advanced.py::test_clangimport_cpp_range_based_for \n[gw6] [ 32%] RERUN tests/test_checkstring_gaps.py::test_swprintf_overlapping_buffers \ntests/test_checkstring_gaps.py::test_swprintf_overlapping_buffers \n[gw8] [ 32%] RERUN tests/test_checkstl_gaps.py::test_cstr_after_string_modification \ntests/test_checkstl_gaps.py::test_cstr_after_string_modification \n[gw0] [ 32%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_complex_control_flow \ntests/test_checkvaarg_gaps.py::test_va_list_complex_control_flow \n[gw3] [ 32%] RERUN tests/test_checkuninitvar_gaps.py::test_ternary_operator_with_uninit_branch \ntests/test_checkuninitvar_gaps.py::test_ternary_operator_with_uninit_branch \n[gw2] [ 32%] RERUN tests/test_cmdlineparser.py::test_empty_platform \ntests/test_cmdlineparser.py::test_empty_platform \n[gw2] [ 32%] FAILED tests/test_cmdlineparser.py::test_empty_platform \ntests/test_cmdlineparser.py::test_invalid_output_format \n[gw2] [ 32%] PASSED tests/test_cmdlineparser.py::test_invalid_output_format \ntests/test_cmdlineparser.py::test_plist_output_directory_not_exists \n[gw2] [ 32%] PASSED tests/test_cmdlineparser.py::test_plist_output_directory_not_exists \ntests/test_cmdlineparser.py::test_project_file_not_found \n[gw2] [ 32%] PASSED tests/test_cmdlineparser.py::test_project_file_not_found \ntests/test_cmdlineparser.py::test_project_configuration_empty \n[gw1] [ 32%] RERUN tests/test_cmdlineparser.py::test_showtime_mode_empty \ntests/test_cmdlineparser.py::test_showtime_mode_empty \n[gw9] [ 32%] RERUN tests/test_checkstl_gaps.py::test_erase_dereference_same_statement \ntests/test_checkstl_gaps.py::test_erase_dereference_same_statement \n[gw1] [ 32%] FAILED tests/test_cmdlineparser.py::test_showtime_mode_empty \ntests/test_cmdlineparser.py::test_showtime_mode_invalid \n[gw1] [ 32%] PASSED tests/test_cmdlineparser.py::test_showtime_mode_invalid \n[gw5] [ 32%] RERUN tests/test_checkio_gaps_round2.py::test_rewind_on_closed_file \ntests/test_checkio_gaps_round2.py::test_rewind_on_closed_file \n[gw5] [ 32%] FAILED tests/test_checkio_gaps_round2.py::test_rewind_on_closed_file \ntests/test_checkio_gaps_round2.py::test_tmpfile_without_positioning \n[gw4] [ 32%] RERUN tests/test_errorlogger.py::test_plist_output_format \ntests/test_errorlogger.py::test_plist_output_format \ntests/test_cmdlineparser.py::test_std_value_invalid \n[gw1] [ 32%] PASSED tests/test_cmdlineparser.py::test_std_value_invalid \n[gw4] [ 32%] FAILED tests/test_errorlogger.py::test_plist_output_format \ntests/test_errorlogger.py::test_guideline_and_classification_attributes \ntests/test_cmdlineparser.py::test_suppressions_list_file_not_found \n[gw1] [ 32%] PASSED tests/test_cmdlineparser.py::test_suppressions_list_file_not_found \n[gw7] [ 32%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_range_based_for \ntests/test_clangimport_advanced.py::test_clangimport_cpp_range_based_for \ntests/test_cmdlineparser.py::test_xml_version_invalid \n[gw1] [ 32%] PASSED tests/test_cmdlineparser.py::test_xml_version_invalid \ntests/test_cmdlineparser.py::test_unrecognized_command_line_option \n[gw1] [ 32%] PASSED tests/test_cmdlineparser.py::test_unrecognized_command_line_option \ntests/test_cmdlineparser.py::test_build_dir_not_exist \n[gw1] [ 32%] PASSED tests/test_cmdlineparser.py::test_build_dir_not_exist \ntests/test_cmdlineparser.py::test_project_with_source_files \n[gw6] [ 32%] RERUN tests/test_checkstring_gaps.py::test_swprintf_overlapping_buffers \ntests/test_checkstring_gaps.py::test_swprintf_overlapping_buffers \n[gw6] [ 32%] FAILED tests/test_checkstring_gaps.py::test_swprintf_overlapping_buffers \ntests/test_checkstring_gaps.py::test_wide_char_plus_char \n[gw8] [ 32%] RERUN tests/test_checkstl_gaps.py::test_cstr_after_string_modification \ntests/test_checkstl_gaps.py::test_cstr_after_string_modification \n[gw0] [ 32%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_complex_control_flow \ntests/test_checkvaarg_gaps.py::test_va_list_complex_control_flow \n[gw8] [ 32%] FAILED tests/test_checkstl_gaps.py::test_cstr_after_string_modification \ntests/test_checkstl_gaps.py::test_cstr_return_local_variable \n[gw3] [ 32%] RERUN tests/test_checkuninitvar_gaps.py::test_ternary_operator_with_uninit_branch \ntests/test_checkuninitvar_gaps.py::test_ternary_operator_with_uninit_branch \n[gw0] [ 32%] FAILED tests/test_checkvaarg_gaps.py::test_va_list_complex_control_flow \ntests/test_checkvaarg_gaps.py::test_va_list_conditional_paths \n[gw3] [ 32%] FAILED tests/test_checkuninitvar_gaps.py::test_ternary_operator_with_uninit_branch \ntests/test_checkuninitvar_gaps.py::test_while_loop_may_not_execute \n[gw2] [ 32%] RERUN tests/test_cmdlineparser.py::test_project_configuration_empty \ntests/test_cmdlineparser.py::test_project_configuration_empty \n[gw9] [ 32%] RERUN tests/test_checkstl_gaps.py::test_erase_dereference_same_statement \ntests/test_checkstl_gaps.py::test_erase_dereference_same_statement \n[gw9] [ 32%] FAILED tests/test_checkstl_gaps.py::test_erase_dereference_same_statement \ntests/test_checkstl_gaps.py::test_mismatching_container_iterator_in_erase \n[gw5] [ 32%] RERUN tests/test_checkio_gaps_round2.py::test_tmpfile_without_positioning \ntests/test_checkio_gaps_round2.py::test_tmpfile_without_positioning \n[gw4] [ 32%] RERUN tests/test_errorlogger.py::test_guideline_and_classification_attributes \ntests/test_errorlogger.py::test_guideline_and_classification_attributes \n[gw7] [ 32%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_range_based_for \ntests/test_clangimport_advanced.py::test_clangimport_cpp_range_based_for \n[gw7] [ 32%] FAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_range_based_for \ntests/test_clangimport_advanced.py::test_clangimport_cpp_static_cast \n[gw1] [ 33%] RERUN tests/test_cmdlineparser.py::test_project_with_source_files \ntests/test_cmdlineparser.py::test_project_with_source_files \n[gw6] [ 33%] RERUN tests/test_checkstring_gaps.py::test_wide_char_plus_char \ntests/test_checkstring_gaps.py::test_wide_char_plus_char \n[gw8] [ 33%] RERUN tests/test_checkstl_gaps.py::test_cstr_return_local_variable \ntests/test_checkstl_gaps.py::test_cstr_return_local_variable \n[gw0] [ 33%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_conditional_paths \ntests/test_checkvaarg_gaps.py::test_va_list_conditional_paths \n[gw3] [ 33%] RERUN tests/test_checkuninitvar_gaps.py::test_while_loop_may_not_execute \ntests/test_checkuninitvar_gaps.py::test_while_loop_may_not_execute \n[gw2] [ 33%] RERUN tests/test_cmdlineparser.py::test_project_configuration_empty \ntests/test_cmdlineparser.py::test_project_configuration_empty \n[gw2] [ 33%] FAILED tests/test_cmdlineparser.py::test_project_configuration_empty \ntests/test_cmdlineparser.py::test_invalid_report_type \n[gw2] [ 33%] PASSED tests/test_cmdlineparser.py::test_invalid_report_type \ntests/test_cmdlineparser.py::test_relative_paths_empty \n[gw9] [ 33%] RERUN tests/test_checkstl_gaps.py::test_mismatching_container_iterator_in_erase \ntests/test_checkstl_gaps.py::test_mismatching_container_iterator_in_erase \n[gw5] [ 33%] RERUN tests/test_checkio_gaps_round2.py::test_tmpfile_without_positioning \ntests/test_checkio_gaps_round2.py::test_tmpfile_without_positioning \n[gw5] [ 33%] FAILED tests/test_checkio_gaps_round2.py::test_tmpfile_without_positioning \ntests/test_checkio_gaps_round2.py::test_ungetc_after_read_before_write \n[gw4] [ 33%] RERUN tests/test_errorlogger.py::test_guideline_and_classification_attributes \ntests/test_errorlogger.py::test_guideline_and_classification_attributes \n[gw4] [ 33%] FAILED tests/test_errorlogger.py::test_guideline_and_classification_attributes \ntests/test_errorlogger.py::test_multiple_report_types \n[gw7] [ 33%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_static_cast \ntests/test_clangimport_advanced.py::test_clangimport_cpp_static_cast \n[gw1] [ 33%] RERUN tests/test_cmdlineparser.py::test_project_with_source_files \ntests/test_cmdlineparser.py::test_project_with_source_files \n[gw1] [ 33%] FAILED tests/test_cmdlineparser.py::test_project_with_source_files \ntests/test_cmdlineparser.py::test_enable_all_flag \n[gw1] [ 33%] PASSED tests/test_cmdlineparser.py::test_enable_all_flag \ntests/test_cmdlineparser.py::test_xml_output_format \n[gw1] [ 33%] PASSED tests/test_cmdlineparser.py::test_xml_output_format \ntests/test_cmdlineparser.py::test_define_preprocessor_symbol \n[gw1] [ 33%] PASSED tests/test_cmdlineparser.py::test_define_preprocessor_symbol \n[gw6] [ 33%] RERUN tests/test_checkstring_gaps.py::test_wide_char_plus_char \ntests/test_checkstring_gaps.py::test_wide_char_plus_char \n[gw6] [ 33%] FAILED tests/test_checkstring_gaps.py::test_wide_char_plus_char \ntests/test_checkstring_gaps.py::test_strcmp_not_operator_overlap \ntests/test_cmdlineparser.py::test_std_flag_cpp17 \n[gw1] [ 33%] PASSED tests/test_cmdlineparser.py::test_std_flag_cpp17 \ntests/test_cmdlineparser.py::test_template_custom_format \n[gw1] [ 33%] PASSED tests/test_cmdlineparser.py::test_template_custom_format \ntests/test_cmdlineparser.py::test_quiet_flag_suppresses_progress \n[gw1] [ 33%] PASSED tests/test_cmdlineparser.py::test_quiet_flag_suppresses_progress \ntests/test_cppcheck_core.py::test_multiple_files_analysis \n[gw8] [ 33%] RERUN tests/test_checkstl_gaps.py::test_cstr_return_local_variable \ntests/test_checkstl_gaps.py::test_cstr_return_local_variable \n[gw0] [ 33%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_conditional_paths \ntests/test_checkvaarg_gaps.py::test_va_list_conditional_paths \n[gw8] [ 33%] FAILED tests/test_checkstl_gaps.py::test_cstr_return_local_variable \ntests/test_checkstl_gaps.py::test_mismatching_container_iterators \n[gw0] [ 33%] FAILED tests/test_checkvaarg_gaps.py::test_va_list_conditional_paths \ntests/test_checkvaarg_gaps.py::test_va_list_pointer_and_array_types \n[gw3] [ 33%] RERUN tests/test_checkuninitvar_gaps.py::test_while_loop_may_not_execute \ntests/test_checkuninitvar_gaps.py::test_while_loop_may_not_execute \n[gw3] [ 33%] FAILED tests/test_checkuninitvar_gaps.py::test_while_loop_may_not_execute \ntests/test_checkuninitvar_gaps.py::test_array_partial_initialization_zeros_rest \n[gw3] [ 33%] PASSED tests/test_checkuninitvar_gaps.py::test_array_partial_initialization_zeros_rest \ntests/test_checkuninitvar_gaps.py::test_multiple_variable_declaration \n[gw3] [ 33%] PASSED tests/test_checkuninitvar_gaps.py::test_multiple_variable_declaration \ntests/test_checkuninitvar_gaps.py::test_bitwise_operation_with_uninit \n[gw3] [ 33%] PASSED tests/test_checkuninitvar_gaps.py::test_bitwise_operation_with_uninit \ntests/test_checkuninitvar_gaps.py::test_nested_struct_member_uninit \n[gw2] [ 33%] RERUN tests/test_cmdlineparser.py::test_relative_paths_empty \ntests/test_cmdlineparser.py::test_relative_paths_empty \n[gw9] [ 33%] RERUN tests/test_checkstl_gaps.py::test_mismatching_container_iterator_in_erase \ntests/test_checkstl_gaps.py::test_mismatching_container_iterator_in_erase \n[gw9] [ 33%] FAILED tests/test_checkstl_gaps.py::test_mismatching_container_iterator_in_erase \ntests/test_checkstl_gaps.py::test_mismatching_containers_in_comparison \n[gw5] [ 34%] RERUN tests/test_checkio_gaps_round2.py::test_ungetc_after_read_before_write \ntests/test_checkio_gaps_round2.py::test_ungetc_after_read_before_write \n[gw4] [ 34%] RERUN tests/test_errorlogger.py::test_multiple_report_types \ntests/test_errorlogger.py::test_multiple_report_types \n[gw7] [ 34%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_static_cast \ntests/test_clangimport_advanced.py::test_clangimport_cpp_static_cast \n[gw7] [ 34%] FAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_static_cast \ntests/test_clangimport_advanced.py::test_clangimport_cpp_operator_overload \n[gw6] [ 34%] RERUN tests/test_checkstring_gaps.py::test_strcmp_not_operator_overlap \ntests/test_checkstring_gaps.py::test_strcmp_not_operator_overlap \n[gw1] [ 34%] RERUN tests/test_cppcheck_core.py::test_multiple_files_analysis \ntests/test_cppcheck_core.py::test_multiple_files_analysis \n[gw8] [ 34%] RERUN tests/test_checkstl_gaps.py::test_mismatching_container_iterators \ntests/test_checkstl_gaps.py::test_mismatching_container_iterators \n[gw0] [ 34%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_pointer_and_array_types \ntests/test_checkvaarg_gaps.py::test_va_list_pointer_and_array_types \n[gw3] [ 34%] RERUN tests/test_checkuninitvar_gaps.py::test_nested_struct_member_uninit \ntests/test_checkuninitvar_gaps.py::test_nested_struct_member_uninit \n[gw2] [ 34%] RERUN tests/test_cmdlineparser.py::test_relative_paths_empty \ntests/test_cmdlineparser.py::test_relative_paths_empty \n[gw2] [ 34%] FAILED tests/test_cmdlineparser.py::test_relative_paths_empty \ntests/test_errorlogger.py::test_template_location_formatting \n[gw9] [ 34%] RERUN tests/test_checkstl_gaps.py::test_mismatching_containers_in_comparison \ntests/test_checkstl_gaps.py::test_mismatching_containers_in_comparison \n[gw2] [ 34%] PASSED tests/test_errorlogger.py::test_template_location_formatting \ntests/test_errorlogger.py::test_xmlv2_with_multiple_cwe_codes \n[gw2] [ 34%] PASSED tests/test_errorlogger.py::test_xmlv2_with_multiple_cwe_codes \n[gw5] [ 34%] RERUN tests/test_checkio_gaps_round2.py::test_ungetc_after_read_before_write \ntests/test_checkio_gaps_round2.py::test_ungetc_after_read_before_write \n[gw5] [ 34%] FAILED tests/test_checkio_gaps_round2.py::test_ungetc_after_read_before_write \ntests/test_checkio_gaps_round2.py::test_clearerr_on_closed_file \ntests/test_errorlogger.py::test_sarif_multiple_files \n[gw2] [ 34%] PASSED tests/test_errorlogger.py::test_sarif_multiple_files \ntests/test_errorlogger.py::test_error_list_mode \n[gw2] [ 34%] PASSED tests/test_errorlogger.py::test_error_list_mode \n[gw4] [ 34%] RERUN tests/test_errorlogger.py::test_multiple_report_types \ntests/test_errorlogger.py::test_multiple_report_types \ntests/test_errorlogger.py::test_xml_version_attribute \n[gw4] [ 34%] FAILED tests/test_errorlogger.py::test_multiple_report_types \ntests/test_errorlogger.py::test_deep_callstack_multiple_locations \n[gw2] [ 34%] PASSED tests/test_errorlogger.py::test_xml_version_attribute \n[gw4] [ 34%] PASSED tests/test_errorlogger.py::test_deep_callstack_multiple_locations \ntests/test_errorlogger.py::test_error_filtering_by_severity \ntests/test_errorlogger.py::test_empty_file_no_errors \n[gw2] [ 34%] PASSED tests/test_errorlogger.py::test_empty_file_no_errors \n[gw4] [ 34%] PASSED tests/test_errorlogger.py::test_error_filtering_by_severity \ntests/test_errorlogger.py::test_sarif_with_inconclusive \ntests/test_exceptionsafety_gaps.py::test_rethrow_multiple_catches \n[gw2] [ 34%] PASSED tests/test_errorlogger.py::test_sarif_with_inconclusive \n[gw7] [ 34%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_operator_overload \ntests/test_clangimport_advanced.py::test_clangimport_cpp_operator_overload \ntests/test_errorlogger.py::test_xml_with_no_column_info \n[gw2] [ 35%] PASSED tests/test_errorlogger.py::test_xml_with_no_column_info \ntests/test_errorlogger.py::test_template_with_all_placeholders \n[gw2] [ 35%] PASSED tests/test_errorlogger.py::test_template_with_all_placeholders \n[gw6] [ 35%] RERUN tests/test_checkstring_gaps.py::test_strcmp_not_operator_overlap \ntests/test_checkstring_gaps.py::test_strcmp_not_operator_overlap \ntests/test_errorlogger.py::test_plist_with_multiple_errors \n[gw6] [ 35%] FAILED tests/test_checkstring_gaps.py::test_strcmp_not_operator_overlap \ntests/test_checkstring_gaps.py::test_unequal_string_literal_comparisons \n[gw1] [ 35%] RERUN tests/test_cppcheck_core.py::test_multiple_files_analysis \ntests/test_cppcheck_core.py::test_multiple_files_analysis \n[gw1] [ 35%] FAILED tests/test_cppcheck_core.py::test_multiple_files_analysis \ntests/test_cppcheck_core.py::test_missing_file_handling \n[gw8] [ 35%] RERUN tests/test_checkstl_gaps.py::test_mismatching_container_iterators \ntests/test_checkstl_gaps.py::test_mismatching_container_iterators \n[gw1] [ 35%] PASSED tests/test_cppcheck_core.py::test_missing_file_handling \n[gw8] [ 35%] FAILED tests/test_checkstl_gaps.py::test_mismatching_container_iterators \ntests/test_checkstl_gaps.py::test_mismatching_iterators_in_algorithm \n[gw0] [ 35%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_pointer_and_array_types \ntests/test_checkvaarg_gaps.py::test_va_list_pointer_and_array_types \n[gw0] [ 35%] FAILED tests/test_checkvaarg_gaps.py::test_va_list_pointer_and_array_types \ntests/test_checkvaarg_gaps.py::test_va_list_with_lambda_expressions \ntests/test_cppcheck_core.py::test_xml_output_format \n[gw1] [ 35%] PASSED tests/test_cppcheck_core.py::test_xml_output_format \ntests/test_cppcheck_core.py::test_quiet_mode \n[gw1] [ 35%] PASSED tests/test_cppcheck_core.py::test_quiet_mode \ntests/test_cppcheck_core.py::test_progress_reporting \n[gw1] [ 35%] PASSED tests/test_cppcheck_core.py::test_progress_reporting \n[gw3] [ 35%] RERUN tests/test_checkuninitvar_gaps.py::test_nested_struct_member_uninit \ntests/test_checkuninitvar_gaps.py::test_nested_struct_member_uninit \n[gw3] [ 35%] FAILED tests/test_checkuninitvar_gaps.py::test_nested_struct_member_uninit \ntests/test_checkuninitvar_gaps.py::test_pointer_to_uninitialized_array \ntests/test_cppcheck_core.py::test_dump_file_generation \n[gw9] [ 35%] RERUN tests/test_checkstl_gaps.py::test_mismatching_containers_in_comparison \ntests/test_checkstl_gaps.py::test_mismatching_containers_in_comparison \n[gw9] [ 35%] FAILED tests/test_checkstl_gaps.py::test_mismatching_containers_in_comparison \ntests/test_checkstl_gaps.py::test_invalid_iterator_after_erase_in_loop \n[gw5] [ 35%] RERUN tests/test_checkio_gaps_round2.py::test_clearerr_on_closed_file \ntests/test_checkio_gaps_round2.py::test_clearerr_on_closed_file \n[gw4] [ 35%] RERUN tests/test_exceptionsafety_gaps.py::test_rethrow_multiple_catches \ntests/test_exceptionsafety_gaps.py::test_rethrow_multiple_catches \n[gw7] [ 35%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_operator_overload \ntests/test_clangimport_advanced.py::test_clangimport_cpp_operator_overload \n[gw7] [ 35%] FAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_operator_overload \ntests/test_clangimport_advanced.py::test_clangimport_cpp_template_function \n[gw2] [ 35%] RERUN tests/test_errorlogger.py::test_plist_with_multiple_errors \ntests/test_errorlogger.py::test_plist_with_multiple_errors \n[gw6] [ 35%] RERUN tests/test_checkstring_gaps.py::test_unequal_string_literal_comparisons \ntests/test_checkstring_gaps.py::test_unequal_string_literal_comparisons \n[gw8] [ 35%] RERUN tests/test_checkstl_gaps.py::test_mismatching_iterators_in_algorithm \ntests/test_checkstl_gaps.py::test_mismatching_iterators_in_algorithm \n[gw0] [ 35%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_with_lambda_expressions \ntests/test_checkvaarg_gaps.py::test_va_list_with_lambda_expressions \n[gw3] [ 35%] RERUN tests/test_checkuninitvar_gaps.py::test_pointer_to_uninitialized_array \ntests/test_checkuninitvar_gaps.py::test_pointer_to_uninitialized_array \n[gw1] [ 35%] RERUN tests/test_cppcheck_core.py::test_dump_file_generation \ntests/test_cppcheck_core.py::test_dump_file_generation \n[gw9] [ 35%] RERUN tests/test_checkstl_gaps.py::test_invalid_iterator_after_erase_in_loop \ntests/test_checkstl_gaps.py::test_invalid_iterator_after_erase_in_loop \n[gw5] [ 35%] RERUN tests/test_checkio_gaps_round2.py::test_clearerr_on_closed_file \ntests/test_checkio_gaps_round2.py::test_clearerr_on_closed_file \n[gw5] [ 35%] FAILED tests/test_checkio_gaps_round2.py::test_clearerr_on_closed_file \ntests/test_checkio_gaps_round2.py::test_feof_on_closed_file \n[gw4] [ 35%] RERUN tests/test_exceptionsafety_gaps.py::test_rethrow_multiple_catches \ntests/test_exceptionsafety_gaps.py::test_rethrow_multiple_catches \n[gw4] [ 35%] FAILED tests/test_exceptionsafety_gaps.py::test_rethrow_multiple_catches \ntests/test_fwdanalysis.py::test_unused_assignment_before_return \n[gw4] [ 35%] PASSED tests/test_fwdanalysis.py::test_unused_assignment_before_return \ntests/test_fwdanalysis.py::test_unused_assignment_in_if_block \n[gw4] [ 35%] PASSED tests/test_fwdanalysis.py::test_unused_assignment_in_if_block \n[gw7] [ 35%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_template_function \ntests/test_clangimport_advanced.py::test_clangimport_cpp_template_function \ntests/test_fwdanalysis.py::test_used_assignment_with_return_value \n[gw6] [ 35%] RERUN tests/test_checkstring_gaps.py::test_unequal_string_literal_comparisons \ntests/test_checkstring_gaps.py::test_unequal_string_literal_comparisons \n[gw2] [ 35%] RERUN tests/test_errorlogger.py::test_plist_with_multiple_errors \ntests/test_errorlogger.py::test_plist_with_multiple_errors \n[gw6] [ 35%] FAILED tests/test_checkstring_gaps.py::test_unequal_string_literal_comparisons \ntests/test_checkstring_gaps.py::test_sprintf_with_cast_overlap \n[gw2] [ 35%] FAILED tests/test_errorlogger.py::test_plist_with_multiple_errors \ntests/test_errorlogger.py::test_xml_cppcheck_version_element \n[gw2] [ 36%] PASSED tests/test_errorlogger.py::test_xml_cppcheck_version_element \ntests/test_exceptionsafety_gaps.py::test_destructor_throw_noexcept \n[gw8] [ 36%] RERUN tests/test_checkstl_gaps.py::test_mismatching_iterators_in_algorithm \ntests/test_checkstl_gaps.py::test_mismatching_iterators_in_algorithm \n[gw0] [ 36%] RERUN tests/test_checkvaarg_gaps.py::test_va_list_with_lambda_expressions \ntests/test_checkvaarg_gaps.py::test_va_list_with_lambda_expressions \n[gw8] [ 36%] FAILED tests/test_checkstl_gaps.py::test_mismatching_iterators_in_algorithm \ntests/test_checkstl_gaps.py::test_iterator_from_wrong_container \n[gw0] [ 36%] FAILED tests/test_checkvaarg_gaps.py::test_va_list_with_lambda_expressions \ntests/test_clangimport.py::test_clangimport_basic_function \n[gw3] [ 36%] RERUN tests/test_checkuninitvar_gaps.py::test_pointer_to_uninitialized_array \ntests/test_checkuninitvar_gaps.py::test_pointer_to_uninitialized_array \n[gw3] [ 36%] FAILED tests/test_checkuninitvar_gaps.py::test_pointer_to_uninitialized_array \ntests/test_checkuninitvar_gaps.py::test_cpp_reference_to_uninit \n[gw1] [ 36%] RERUN tests/test_cppcheck_core.py::test_dump_file_generation \ntests/test_cppcheck_core.py::test_dump_file_generation \n[gw1] [ 36%] FAILED tests/test_cppcheck_core.py::test_dump_file_generation \ntests/test_cppcheck_core.py::test_preprocessor_defines \n[gw1] [ 36%] PASSED tests/test_cppcheck_core.py::test_preprocessor_defines \ntests/test_cppcheck_core.py::test_check_config_mode \n[gw1] [ 36%] PASSED tests/test_cppcheck_core.py::test_check_config_mode \ntests/test_cppcheck_core.py::test_max_configs_limit \n[gw1] [ 36%] PASSED tests/test_cppcheck_core.py::test_max_configs_limit \ntests/test_cppcheck_core.py::test_syntax_error_handling \n[gw9] [ 36%] RERUN tests/test_checkstl_gaps.py::test_invalid_iterator_after_erase_in_loop \ntests/test_checkstl_gaps.py::test_invalid_iterator_after_erase_in_loop \n[gw9] [ 36%] FAILED tests/test_checkstl_gaps.py::test_invalid_iterator_after_erase_in_loop \ntests/test_checkstl_gaps.py::test_same_iterator_expression_in_algorithm \n[gw5] [ 36%] RERUN tests/test_checkio_gaps_round2.py::test_feof_on_closed_file \ntests/test_checkio_gaps_round2.py::test_feof_on_closed_file \n[gw4] [ 36%] RERUN tests/test_fwdanalysis.py::test_used_assignment_with_return_value \ntests/test_fwdanalysis.py::test_used_assignment_with_return_value \n[gw7] [ 36%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_template_function \ntests/test_clangimport_advanced.py::test_clangimport_cpp_template_function \n[gw6] [ 36%] RERUN tests/test_checkstring_gaps.py::test_sprintf_with_cast_overlap \ntests/test_checkstring_gaps.py::test_sprintf_with_cast_overlap \n[gw7] [ 36%] FAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_template_function \ntests/test_clangimport_advanced.py::test_clangimport_cpp_initializer_list \n[gw2] [ 36%] RERUN tests/test_exceptionsafety_gaps.py::test_destructor_throw_noexcept \ntests/test_exceptionsafety_gaps.py::test_destructor_throw_noexcept \n[gw8] [ 36%] RERUN tests/test_checkstl_gaps.py::test_iterator_from_wrong_container \ntests/test_checkstl_gaps.py::test_iterator_from_wrong_container \n[gw0] [ 36%] RERUN tests/test_clangimport.py::test_clangimport_basic_function \ntests/test_clangimport.py::test_clangimport_basic_function \n[gw3] [ 36%] RERUN tests/test_checkuninitvar_gaps.py::test_cpp_reference_to_uninit \ntests/test_checkuninitvar_gaps.py::test_cpp_reference_to_uninit \n[gw1] [ 36%] RERUN tests/test_cppcheck_core.py::test_syntax_error_handling \ntests/test_cppcheck_core.py::test_syntax_error_handling \n[gw9] [ 36%] RERUN tests/test_checkstl_gaps.py::test_same_iterator_expression_in_algorithm \ntests/test_checkstl_gaps.py::test_same_iterator_expression_in_algorithm \n[gw5] [ 36%] RERUN tests/test_checkio_gaps_round2.py::test_feof_on_closed_file \ntests/test_checkio_gaps_round2.py::test_feof_on_closed_file \n[gw5] [ 36%] FAILED tests/test_checkio_gaps_round2.py::test_feof_on_closed_file \ntests/test_checkio_gaps_round2.py::test_ferror_on_closed_file \n[gw4] [ 36%] RERUN tests/test_fwdanalysis.py::test_used_assignment_with_return_value \ntests/test_fwdanalysis.py::test_used_assignment_with_return_value \n[gw4] [ 36%] FAILED tests/test_fwdanalysis.py::test_used_assignment_with_return_value \ntests/test_fwdanalysis.py::test_assignment_with_self_reference \n[gw4] [ 36%] PASSED tests/test_fwdanalysis.py::test_assignment_with_self_reference \n[gw6] [ 36%] RERUN tests/test_checkstring_gaps.py::test_sprintf_with_cast_overlap \ntests/test_checkstring_gaps.py::test_sprintf_with_cast_overlap \n[gw6] [ 36%] FAILED tests/test_checkstring_gaps.py::test_sprintf_with_cast_overlap \ntests/test_checkstring_gaps.py::test_sprintf_multiple_format_params \ntests/test_fwdanalysis.py::test_loop_with_unused_assignment \n[gw4] [ 36%] PASSED tests/test_fwdanalysis.py::test_loop_with_unused_assignment \n[gw7] [ 36%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_initializer_list \ntests/test_clangimport_advanced.py::test_clangimport_cpp_initializer_list \ntests/test_fwdanalysis.py::test_multiple_assignments_sequential \n[gw2] [ 36%] RERUN tests/test_exceptionsafety_gaps.py::test_destructor_throw_noexcept \ntests/test_exceptionsafety_gaps.py::test_destructor_throw_noexcept \n[gw4] [ 36%] PASSED tests/test_fwdanalysis.py::test_multiple_assignments_sequential \n[gw2] [ 36%] FAILED tests/test_exceptionsafety_gaps.py::test_destructor_throw_noexcept \ntests/test_exceptionsafety_gaps.py::test_dealloc_throw_inconclusive \ntests/test_fwdanalysis.py::test_assignment_before_break \n[gw4] [ 36%] PASSED tests/test_fwdanalysis.py::test_assignment_before_break \ntests/test_fwdanalysis.py::test_assignment_before_continue \n[gw4] [ 37%] PASSED tests/test_fwdanalysis.py::test_assignment_before_continue \ntests/test_fwdanalysis.py::test_struct_member_assignment \n[gw8] [ 37%] RERUN tests/test_checkstl_gaps.py::test_iterator_from_wrong_container \ntests/test_checkstl_gaps.py::test_iterator_from_wrong_container \n[gw8] [ 37%] FAILED tests/test_checkstl_gaps.py::test_iterator_from_wrong_container \ntests/test_checkstl_gaps.py::test_find_result_used_as_bool \n[gw0] [ 37%] RERUN tests/test_clangimport.py::test_clangimport_basic_function \ntests/test_clangimport.py::test_clangimport_basic_function \n[gw0] [ 37%] FAILED tests/test_clangimport.py::test_clangimport_basic_function \ntests/test_clangimport.py::test_clangimport_syntax_error \n[gw3] [ 37%] RERUN tests/test_checkuninitvar_gaps.py::test_cpp_reference_to_uninit \ntests/test_checkuninitvar_gaps.py::test_cpp_reference_to_uninit \n[gw3] [ 37%] FAILED tests/test_checkuninitvar_gaps.py::test_cpp_reference_to_uninit \ntests/test_checkuninitvar_gaps.py::test_logical_and_short_circuit \n[gw1] [ 37%] RERUN tests/test_cppcheck_core.py::test_syntax_error_handling \ntests/test_cppcheck_core.py::test_syntax_error_handling \n[gw1] [ 37%] FAILED tests/test_cppcheck_core.py::test_syntax_error_handling \ntests/test_cppcheck_core.py::test_include_path_handling \n[gw1] [ 37%] PASSED tests/test_cppcheck_core.py::test_include_path_handling \ntests/test_cppcheck_core.py::test_suppressions_file \n[gw9] [ 37%] RERUN tests/test_checkstl_gaps.py::test_same_iterator_expression_in_algorithm \ntests/test_checkstl_gaps.py::test_same_iterator_expression_in_algorithm \n[gw9] [ 37%] FAILED tests/test_checkstl_gaps.py::test_same_iterator_expression_in_algorithm \ntests/test_checkstring_gaps.py::test_strcmp_string_literals \n[gw9] [ 37%] PASSED tests/test_checkstring_gaps.py::test_strcmp_string_literals \n[gw5] [ 37%] RERUN tests/test_checkio_gaps_round2.py::test_ferror_on_closed_file \ntests/test_checkio_gaps_round2.py::test_ferror_on_closed_file \ntests/test_checkstring_gaps.py::test_strcmp_same_variable \n[gw9] [ 37%] PASSED tests/test_checkstring_gaps.py::test_strcmp_same_variable \ntests/test_checkstring_gaps.py::test_cstr_same_variable_compare \n[gw6] [ 37%] RERUN tests/test_checkstring_gaps.py::test_sprintf_multiple_format_params \ntests/test_checkstring_gaps.py::test_sprintf_multiple_format_params \n[gw7] [ 37%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_initializer_list \ntests/test_clangimport_advanced.py::test_clangimport_cpp_initializer_list \n[gw2] [ 37%] RERUN tests/test_exceptionsafety_gaps.py::test_dealloc_throw_inconclusive \ntests/test_exceptionsafety_gaps.py::test_dealloc_throw_inconclusive \n[gw7] [ 37%] FAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_initializer_list \ntests/test_clangimport_advanced.py::test_clangimport_cpp_member_call \n[gw4] [ 37%] RERUN tests/test_fwdanalysis.py::test_struct_member_assignment \ntests/test_fwdanalysis.py::test_struct_member_assignment \n[gw8] [ 37%] RERUN tests/test_checkstl_gaps.py::test_find_result_used_as_bool \ntests/test_checkstl_gaps.py::test_find_result_used_as_bool \n[gw0] [ 37%] RERUN tests/test_clangimport.py::test_clangimport_syntax_error \ntests/test_clangimport.py::test_clangimport_syntax_error \n[gw3] [ 37%] RERUN tests/test_checkuninitvar_gaps.py::test_logical_and_short_circuit \ntests/test_checkuninitvar_gaps.py::test_logical_and_short_circuit \n[gw1] [ 37%] RERUN tests/test_cppcheck_core.py::test_suppressions_file \ntests/test_cppcheck_core.py::test_suppressions_file \n[gw5] [ 37%] RERUN tests/test_checkio_gaps_round2.py::test_ferror_on_closed_file \ntests/test_checkio_gaps_round2.py::test_ferror_on_closed_file \n[gw5] [ 37%] FAILED tests/test_checkio_gaps_round2.py::test_ferror_on_closed_file \ntests/test_harvest_helloworld.py::test_basepath_relative_path \n[gw9] [ 37%] RERUN tests/test_checkstring_gaps.py::test_cstr_same_variable_compare \ntests/test_checkstring_gaps.py::test_cstr_same_variable_compare \n[gw6] [ 37%] RERUN tests/test_checkstring_gaps.py::test_sprintf_multiple_format_params \ntests/test_checkstring_gaps.py::test_sprintf_multiple_format_params \n[gw6] [ 37%] FAILED tests/test_checkstring_gaps.py::test_sprintf_multiple_format_params \ntests/test_checktype_gaps.py::test_shift_too_many_bits \n[gw6] [ 37%] PASSED tests/test_checktype_gaps.py::test_shift_too_many_bits \ntests/test_checktype_gaps.py::test_shift_signed_bits_c \n[gw2] [ 37%] RERUN tests/test_exceptionsafety_gaps.py::test_dealloc_throw_inconclusive \ntests/test_exceptionsafety_gaps.py::test_dealloc_throw_inconclusive \n[gw2] [ 37%] FAILED tests/test_exceptionsafety_gaps.py::test_dealloc_throw_inconclusive \ntests/test_exceptionsafety_gaps.py::test_rethrow_copy \n[gw7] [ 37%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_member_call \ntests/test_clangimport_advanced.py::test_clangimport_cpp_member_call \n[gw4] [ 37%] RERUN tests/test_fwdanalysis.py::test_struct_member_assignment \ntests/test_fwdanalysis.py::test_struct_member_assignment \n[gw4] [ 37%] FAILED tests/test_fwdanalysis.py::test_struct_member_assignment \ntests/test_fwdanalysis.py::test_array_element_assignment \n[gw8] [ 37%] RERUN tests/test_checkstl_gaps.py::test_find_result_used_as_bool \ntests/test_checkstl_gaps.py::test_find_result_used_as_bool \n[gw8] [ 37%] FAILED tests/test_checkstl_gaps.py::test_find_result_used_as_bool \ntests/test_checkstl_gaps.py::test_string_find_inefficient_check \n[gw0] [ 37%] RERUN tests/test_clangimport.py::test_clangimport_syntax_error \ntests/test_clangimport.py::test_clangimport_syntax_error \n[gw3] [ 37%] RERUN tests/test_checkuninitvar_gaps.py::test_logical_and_short_circuit \ntests/test_checkuninitvar_gaps.py::test_logical_and_short_circuit \n[gw3] [ 37%] FAILED tests/test_checkuninitvar_gaps.py::test_logical_and_short_circuit \ntests/test_checkuninitvar_gaps.py::test_return_uninitialized_value \n[gw3] [ 37%] PASSED tests/test_checkuninitvar_gaps.py::test_return_uninitialized_value \n[gw0] [ 37%] FAILED tests/test_clangimport.py::test_clangimport_syntax_error \ntests/test_clangimport.py::test_clangimport_cpp_features \ntests/test_checkuninitvar_gaps.py::test_do_while_always_executes_once \n[gw3] [ 37%] PASSED tests/test_checkuninitvar_gaps.py::test_do_while_always_executes_once \ntests/test_checkuninitvar_gaps.py::test_goto_skips_initialization \n[gw3] [ 37%] PASSED tests/test_checkuninitvar_gaps.py::test_goto_skips_initialization \ntests/test_checkuninitvar_gaps.py::test_enum_uninitialized \n[gw3] [ 37%] PASSED tests/test_checkuninitvar_gaps.py::test_enum_uninitialized \n[gw1] [ 37%] RERUN tests/test_cppcheck_core.py::test_suppressions_file \ntests/test_cppcheck_core.py::test_suppressions_file \n[gw1] [ 37%] FAILED tests/test_cppcheck_core.py::test_suppressions_file \ntests/test_cppcheck_core.py::test_error_exitcode \ntests/test_checkuninitvar_gaps.py::test_bool_uninitialized \n[gw1] [ 38%] PASSED tests/test_cppcheck_core.py::test_error_exitcode \n[gw3] [ 38%] PASSED tests/test_checkuninitvar_gaps.py::test_bool_uninitialized \ntests/test_cppcheck_core.py::test_error_exitcode_no_errors \n[gw1] [ 38%] PASSED tests/test_cppcheck_core.py::test_error_exitcode_no_errors \ntests/test_checkuninitvar_gaps.py::test_self_assignment_with_uninit \ntests/test_cppcheck_core.py::test_template_gcc_format \n[gw9] [ 38%] RERUN tests/test_checkstring_gaps.py::test_cstr_same_variable_compare \ntests/test_checkstring_gaps.py::test_cstr_same_variable_compare \n[gw5] [ 38%] RERUN tests/test_harvest_helloworld.py::test_basepath_relative_path \ntests/test_harvest_helloworld.py::test_basepath_relative_path \n[gw9] [ 38%] FAILED tests/test_checkstring_gaps.py::test_cstr_same_variable_compare \ntests/test_checkstring_gaps.py::test_qt_string_compare \n[gw6] [ 38%] RERUN tests/test_checktype_gaps.py::test_shift_signed_bits_c \ntests/test_checktype_gaps.py::test_shift_signed_bits_c \n[gw2] [ 38%] RERUN tests/test_exceptionsafety_gaps.py::test_rethrow_copy \ntests/test_exceptionsafety_gaps.py::test_rethrow_copy \n[gw7] [ 38%] RERUN tests/test_clangimport_advanced.py::test_clangimport_cpp_member_call \ntests/test_clangimport_advanced.py::test_clangimport_cpp_member_call \n[gw7] [ 38%] FAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_member_call \ntests/test_clangimport_advanced.py::test_clangimport_character_literals \n[gw4] [ 38%] RERUN tests/test_fwdanalysis.py::test_array_element_assignment \ntests/test_fwdanalysis.py::test_array_element_assignment \n[gw8] [ 38%] RERUN tests/test_checkstl_gaps.py::test_string_find_inefficient_check \ntests/test_checkstl_gaps.py::test_string_find_inefficient_check \n[gw0] [ 38%] RERUN tests/test_clangimport.py::test_clangimport_cpp_features \ntests/test_clangimport.py::test_clangimport_cpp_features \n[gw3] [ 38%] RERUN tests/test_checkuninitvar_gaps.py::test_self_assignment_with_uninit \ntests/test_checkuninitvar_gaps.py::test_self_assignment_with_uninit \n[gw1] [ 38%] RERUN tests/test_cppcheck_core.py::test_template_gcc_format \ntests/test_cppcheck_core.py::test_template_gcc_format \n[gw9] [ 38%] RERUN tests/test_checkstring_gaps.py::test_qt_string_compare \ntests/test_checkstring_gaps.py::test_qt_string_compare \n[gw5] [ 38%] RERUN tests/test_harvest_helloworld.py::test_basepath_relative_path \ntests/test_harvest_helloworld.py::test_basepath_relative_path \n[gw5] [ 38%] FAILED tests/test_harvest_helloworld.py::test_basepath_relative_path \ntests/test_harvest_helloworld.py::test_basepath_absolute_path \n[gw6] [ 38%] RERUN tests/test_checktype_gaps.py::test_shift_signed_bits_c \ntests/test_checktype_gaps.py::test_shift_signed_bits_c \n[gw6] [ 38%] FAILED tests/test_checktype_gaps.py::test_shift_signed_bits_c \ntests/test_checktype_gaps.py::test_shift_signed_bits_cpp14 \n[gw2] [ 38%] RERUN tests/test_exceptionsafety_gaps.py::test_rethrow_copy \ntests/test_exceptionsafety_gaps.py::test_rethrow_copy \n[gw6] [ 38%] PASSED tests/test_checktype_gaps.py::test_shift_signed_bits_cpp14 \n[gw2] [ 38%] FAILED tests/test_exceptionsafety_gaps.py::test_rethrow_copy \ntests/test_exceptionsafety_gaps.py::test_catch_exception_by_value \ntests/test_checktype_gaps.py::test_sign_conversion_negative_value \n[gw4] [ 38%] RERUN tests/test_fwdanalysis.py::test_array_element_assignment \ntests/test_fwdanalysis.py::test_array_element_assignment \n[gw4] [ 38%] FAILED tests/test_fwdanalysis.py::test_array_element_assignment \ntests/test_fwdanalysis.py::test_nested_if_with_dead_store \n[gw4] [ 38%] PASSED tests/test_fwdanalysis.py::test_nested_if_with_dead_store \n[gw7] [ 38%] RERUN tests/test_clangimport_advanced.py::test_clangimport_character_literals \ntests/test_clangimport_advanced.py::test_clangimport_character_literals \n[gw8] [ 38%] RERUN tests/test_checkstl_gaps.py::test_string_find_inefficient_check \ntests/test_checkstl_gaps.py::test_string_find_inefficient_check \ntests/test_fwdanalysis.py::test_while_loop_dead_store \n[gw8] [ 38%] FAILED tests/test_checkstl_gaps.py::test_string_find_inefficient_check \n[gw4] [ 38%] PASSED tests/test_fwdanalysis.py::test_while_loop_dead_store \ntests/test_checkstl_gaps.py::test_map_find_result_as_bool \ntests/test_fwdanalysis.py::test_do_while_dead_store \n[gw0] [ 38%] RERUN tests/test_clangimport.py::test_clangimport_cpp_features \ntests/test_clangimport.py::test_clangimport_cpp_features \n[gw0] [ 38%] FAILED tests/test_clangimport.py::test_clangimport_cpp_features \ntests/test_clangimport.py::test_clangimport_with_include \n[gw3] [ 38%] RERUN tests/test_checkuninitvar_gaps.py::test_self_assignment_with_uninit \ntests/test_checkuninitvar_gaps.py::test_self_assignment_with_uninit \n[gw3] [ 38%] FAILED tests/test_checkuninitvar_gaps.py::test_self_assignment_with_uninit \ntests/test_checkuninitvar_gaps.py::test_compound_assignment_uninit \n[gw1] [ 38%] RERUN tests/test_cppcheck_core.py::test_template_gcc_format \ntests/test_cppcheck_core.py::test_template_gcc_format \n[gw1] [ 38%] FAILED tests/test_cppcheck_core.py::test_template_gcc_format \ntests/test_cppcheck_core.py::test_parallel_jobs \n[gw9] [ 38%] RERUN tests/test_checkstring_gaps.py::test_qt_string_compare \ntests/test_checkstring_gaps.py::test_qt_string_compare \n[gw9] [ 38%] FAILED tests/test_checkstring_gaps.py::test_qt_string_compare \ntests/test_checkstring_gaps.py::test_string_pointer_comparison \n[gw5] [ 38%] RERUN tests/test_harvest_helloworld.py::test_basepath_absolute_path \ntests/test_harvest_helloworld.py::test_basepath_absolute_path \n[gw2] [ 38%] RERUN tests/test_exceptionsafety_gaps.py::test_catch_exception_by_value \ntests/test_exceptionsafety_gaps.py::test_catch_exception_by_value \n[gw6] [ 39%] RERUN tests/test_checktype_gaps.py::test_sign_conversion_negative_value \ntests/test_checktype_gaps.py::test_sign_conversion_negative_value \n[gw7] [ 39%] RERUN tests/test_clangimport_advanced.py::test_clangimport_character_literals \ntests/test_clangimport_advanced.py::test_clangimport_character_literals \n[gw8] [ 39%] RERUN tests/test_checkstl_gaps.py::test_map_find_result_as_bool \ntests/test_checkstl_gaps.py::test_map_find_result_as_bool \n[gw7] [ 39%] FAILED tests/test_clangimport_advanced.py::test_clangimport_character_literals \ntests/test_clangimport_advanced.py::test_clangimport_floating_point \n[gw4] [ 39%] RERUN tests/test_fwdanalysis.py::test_do_while_dead_store \ntests/test_fwdanalysis.py::test_do_while_dead_store \n[gw0] [ 39%] RERUN tests/test_clangimport.py::test_clangimport_with_include \ntests/test_clangimport.py::test_clangimport_with_include \n[gw3] [ 39%] RERUN tests/test_checkuninitvar_gaps.py::test_compound_assignment_uninit \ntests/test_checkuninitvar_gaps.py::test_compound_assignment_uninit \n[gw1] [ 39%] RERUN tests/test_cppcheck_core.py::test_parallel_jobs \ntests/test_cppcheck_core.py::test_parallel_jobs \n[gw9] [ 39%] RERUN tests/test_checkstring_gaps.py::test_string_pointer_comparison \ntests/test_checkstring_gaps.py::test_string_pointer_comparison \n[gw5] [ 39%] RERUN tests/test_harvest_helloworld.py::test_basepath_absolute_path \ntests/test_harvest_helloworld.py::test_basepath_absolute_path \n[gw5] [ 39%] FAILED tests/test_harvest_helloworld.py::test_basepath_absolute_path \ntests/test_harvest_helloworld.py::test_vs_project_local_path \n[gw2] [ 39%] RERUN tests/test_exceptionsafety_gaps.py::test_catch_exception_by_value \ntests/test_exceptionsafety_gaps.py::test_catch_exception_by_value \n[gw2] [ 39%] FAILED tests/test_exceptionsafety_gaps.py::test_catch_exception_by_value \ntests/test_exceptionsafety_gaps.py::test_nothrow_throws \n[gw6] [ 39%] RERUN tests/test_checktype_gaps.py::test_sign_conversion_negative_value \ntests/test_checktype_gaps.py::test_sign_conversion_negative_value \n[gw6] [ 39%] FAILED tests/test_checktype_gaps.py::test_sign_conversion_negative_value \ntests/test_checktype_gaps.py::test_long_cast_assignment \n[gw8] [ 39%] RERUN tests/test_checkstl_gaps.py::test_map_find_result_as_bool \ntests/test_checkstl_gaps.py::test_map_find_result_as_bool \n[gw8] [ 39%] FAILED tests/test_checkstl_gaps.py::test_map_find_result_as_bool \ntests/test_checkstl_gaps.py::test_find_then_insert_inefficient \n[gw4] [ 39%] RERUN tests/test_fwdanalysis.py::test_do_while_dead_store \ntests/test_fwdanalysis.py::test_do_while_dead_store \n[gw4] [ 39%] FAILED tests/test_fwdanalysis.py::test_do_while_dead_store \ntests/test_fwdanalysis.py::test_switch_case_dead_store \n[gw7] [ 39%] RERUN tests/test_clangimport_advanced.py::test_clangimport_floating_point \ntests/test_clangimport_advanced.py::test_clangimport_floating_point \n[gw4] [ 39%] PASSED tests/test_fwdanalysis.py::test_switch_case_dead_store \ntests/test_fwdanalysis.py::test_ternary_operator_assignment \n[gw4] [ 39%] PASSED tests/test_fwdanalysis.py::test_ternary_operator_assignment \ntests/test_fwdanalysis.py::test_compound_assignment_dead_store \n[gw0] [ 39%] RERUN tests/test_clangimport.py::test_clangimport_with_include \ntests/test_clangimport.py::test_clangimport_with_include \n[gw0] [ 39%] FAILED tests/test_clangimport.py::test_clangimport_with_include \ntests/test_clangimport.py::test_clangimport_operators \n[gw3] [ 39%] RERUN tests/test_checkuninitvar_gaps.py::test_compound_assignment_uninit \ntests/test_checkuninitvar_gaps.py::test_compound_assignment_uninit \n[gw3] [ 39%] FAILED tests/test_checkuninitvar_gaps.py::test_compound_assignment_uninit \ntests/test_checkuninitvar_gaps.py::test_increment_operator_uninit \n[gw3] [ 39%] PASSED tests/test_checkuninitvar_gaps.py::test_increment_operator_uninit \n[gw1] [ 39%] RERUN tests/test_cppcheck_core.py::test_parallel_jobs \ntests/test_cppcheck_core.py::test_parallel_jobs \n[gw1] [ 39%] FAILED tests/test_cppcheck_core.py::test_parallel_jobs \ntests/test_cppcheck_core.py::test_enable_disable_checkers \ntests/test_checkuninitvar_gaps.py::test_mixed_pointer_scenarios \n[gw1] [ 39%] PASSED tests/test_cppcheck_core.py::test_enable_disable_checkers \n[gw3] [ 39%] PASSED tests/test_checkuninitvar_gaps.py::test_mixed_pointer_scenarios \n[gw9] [ 39%] RERUN tests/test_checkstring_gaps.py::test_string_pointer_comparison \ntests/test_checkstring_gaps.py::test_string_pointer_comparison \n[gw9] [ 39%] FAILED tests/test_checkstring_gaps.py::test_string_pointer_comparison \ntests/test_checkstring_gaps.py::test_char_pointer_comparison \ntests/test_cppcheck_core.py::test_verbose_output \n[gw1] [ 39%] PASSED tests/test_cppcheck_core.py::test_verbose_output \ntests/test_checkuninitvar_gaps.py::test_multidimensional_array_uninit \ntests/test_cppcheck_core.py::test_force_analysis_all_configs \n[gw1] [ 39%] PASSED tests/test_cppcheck_core.py::test_force_analysis_all_configs \n[gw5] [ 39%] RERUN tests/test_harvest_helloworld.py::test_vs_project_local_path \ntests/test_harvest_helloworld.py::test_vs_project_local_path \ntests/test_cppcheck_core.py::test_std_cpp_version \n[gw1] [ 39%] PASSED tests/test_cppcheck_core.py::test_std_cpp_version \ntests/test_harvest_clang_import.py::test_ast_control_flow \n[gw1] [ 39%] SKIPPED tests/test_harvest_clang_import.py::test_ast_control_flow \ntests/test_harvest_clang_import.py::test_ast \n[gw1] [ 40%] SKIPPED tests/test_harvest_clang_import.py::test_ast \ntests/test_harvest_clang_import.py::test_log \n[gw1] [ 40%] SKIPPED tests/test_harvest_clang_import.py::test_log \ntests/test_harvest_clang_import.py::test_warning \n[gw1] [ 40%] SKIPPED tests/test_harvest_clang_import.py::test_warning \n[gw2] [ 40%] RERUN tests/test_exceptionsafety_gaps.py::test_nothrow_throws \ntests/test_exceptionsafety_gaps.py::test_nothrow_throws \ntests/test_harvest_clang_import.py::test_cmd_c \n[gw1] [ 40%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_c \n[gw6] [ 40%] RERUN tests/test_checktype_gaps.py::test_long_cast_assignment \ntests/test_checktype_gaps.py::test_long_cast_assignment \ntests/test_harvest_clang_import.py::test_cmd_cpp \n[gw1] [ 40%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_cpp \ntests/test_harvest_clang_import.py::test_cmd_unk \n[gw1] [ 40%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_unk \ntests/test_harvest_clang_import.py::test_cmd_hdr \n[gw1] [ 40%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_hdr \n[gw8] [ 40%] RERUN tests/test_checkstl_gaps.py::test_find_then_insert_inefficient \ntests/test_checkstl_gaps.py::test_find_then_insert_inefficient \ntests/test_harvest_clang_import.py::test_cmd_hdr_probe \n[gw1] [ 40%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_hdr_probe \ntests/test_harvest_clang_import.py::test_cmd_inc \n[gw1] [ 40%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_inc \n[gw7] [ 40%] RERUN tests/test_clangimport_advanced.py::test_clangimport_floating_point \ntests/test_clangimport_advanced.py::test_clangimport_floating_point \ntests/test_harvest_clang_import.py::test_cmd_def \n[gw1] [ 40%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_def \n[gw7] [ 40%] FAILED tests/test_clangimport_advanced.py::test_clangimport_floating_point \ntests/test_clangimport_advanced.py::test_clangimport_typedef \n[gw4] [ 40%] RERUN tests/test_fwdanalysis.py::test_compound_assignment_dead_store \ntests/test_fwdanalysis.py::test_compound_assignment_dead_store \ntests/test_harvest_clang_import.py::test_cmd_include \n[gw1] [ 40%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_include \ntests/test_harvest_clang_import.py::test_cmd_enforce_c \n[gw1] [ 40%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_enforce_c \ntests/test_harvest_clang_import.py::test_cmd_enforce_cpp \n[gw1] [ 40%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_enforce_cpp \ntests/test_harvest_clang_import.py::test_cmd_std_c \n[gw1] [ 40%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_std_c \ntests/test_harvest_clang_import.py::test_cmd_std_c_builddir \n[gw1] [ 41%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_std_c_builddir \n[gw0] [ 41%] RERUN tests/test_clangimport.py::test_clangimport_operators \ntests/test_clangimport.py::test_clangimport_operators \ntests/test_harvest_clang_import.py::test_cmd_std_cpp \n[gw1] [ 41%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_std_cpp \n[gw9] [ 41%] RERUN tests/test_checkstring_gaps.py::test_char_pointer_comparison \ntests/test_checkstring_gaps.py::test_char_pointer_comparison \ntests/test_harvest_clang_import.py::test_cmd_std_c_enforce \n[gw1] [ 41%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_std_c_enforce \n[gw3] [ 41%] RERUN tests/test_checkuninitvar_gaps.py::test_multidimensional_array_uninit \ntests/test_checkuninitvar_gaps.py::test_multidimensional_array_uninit \ntests/test_harvest_clang_import.py::test_cmd_std_cpp_enforce \n[gw1] [ 41%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_std_cpp_enforce \ntests/test_harvest_clang_import.py::test_cmd_std_c_enforce_alias \n[gw1] [ 41%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_std_c_enforce_alias \n[gw5] [ 41%] RERUN tests/test_harvest_helloworld.py::test_vs_project_local_path \ntests/test_harvest_helloworld.py::test_vs_project_local_path \ntests/test_harvest_clang_import.py::test_cmd_std_c_enforce_alias_2 \n[gw1] [ 41%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_std_c_enforce_alias_2 \n[gw5] [ 41%] FAILED tests/test_harvest_helloworld.py::test_vs_project_local_path \ntests/test_harvest_helloworld.py::test_vs_project_local_path_select_one \ntests/test_harvest_clang_import.py::test_cmd_std_cpp_enforce_alias \n[gw1] [ 41%] SKIPPED tests/test_harvest_clang_import.py::test_cmd_std_cpp_enforce_alias \ntests/test_harvest_clang_import.py::test_debug_clang_output \n[gw1] [ 41%] SKIPPED tests/test_harvest_clang_import.py::test_debug_clang_output \ntests/test_harvest_clang_import.py::test_debug_clang_output_failure_exitcode \n[gw1] [ 41%] SKIPPED tests/test_harvest_clang_import.py::test_debug_clang_output_failure_exitcode \n[gw2] [ 41%] RERUN tests/test_exceptionsafety_gaps.py::test_nothrow_throws \ntests/test_exceptionsafety_gaps.py::test_nothrow_throws \ntests/test_harvest_dumpfile.py::test_libraries \n[gw2] [ 41%] FAILED tests/test_exceptionsafety_gaps.py::test_nothrow_throws \ntests/test_exceptionsafety_gaps.py::test_rethrow_no_current_exception \n[gw6] [ 41%] RERUN tests/test_checktype_gaps.py::test_long_cast_assignment \ntests/test_checktype_gaps.py::test_long_cast_assignment \n[gw6] [ 41%] FAILED tests/test_checktype_gaps.py::test_long_cast_assignment \ntests/test_checktype_gaps.py::test_long_cast_return \n[gw8] [ 41%] RERUN tests/test_checkstl_gaps.py::test_find_then_insert_inefficient \ntests/test_checkstl_gaps.py::test_find_then_insert_inefficient \n[gw8] [ 41%] FAILED tests/test_checkstl_gaps.py::test_find_then_insert_inefficient \ntests/test_checkstl_gaps.py::test_useless_substr_entire_string \n[gw7] [ 41%] RERUN tests/test_clangimport_advanced.py::test_clangimport_typedef \ntests/test_clangimport_advanced.py::test_clangimport_typedef \n[gw4] [ 41%] RERUN tests/test_fwdanalysis.py::test_compound_assignment_dead_store \ntests/test_fwdanalysis.py::test_compound_assignment_dead_store \n[gw4] [ 41%] FAILED tests/test_fwdanalysis.py::test_compound_assignment_dead_store \ntests/test_fwdanalysis.py::test_increment_decrement_dead_store \n[gw0] [ 41%] RERUN tests/test_clangimport.py::test_clangimport_operators \ntests/test_clangimport.py::test_clangimport_operators \n[gw9] [ 41%] RERUN tests/test_checkstring_gaps.py::test_char_pointer_comparison \ntests/test_checkstring_gaps.py::test_char_pointer_comparison \n[gw0] [ 41%] FAILED tests/test_clangimport.py::test_clangimport_operators \ntests/test_clangimport.py::test_clangimport_control_flow \n[gw9] [ 41%] FAILED tests/test_checkstring_gaps.py::test_char_pointer_comparison \ntests/test_checkstring_gaps.py::test_string_plus_char \n[gw9] [ 41%] PASSED tests/test_checkstring_gaps.py::test_string_plus_char \n[gw3] [ 41%] RERUN tests/test_checkuninitvar_gaps.py::test_multidimensional_array_uninit \ntests/test_checkuninitvar_gaps.py::test_multidimensional_array_uninit \n[gw3] [ 41%] FAILED tests/test_checkuninitvar_gaps.py::test_multidimensional_array_uninit \ntests/test_checkuninitvar_gaps.py::test_sizeof_does_not_read_value \n[gw3] [ 41%] PASSED tests/test_checkuninitvar_gaps.py::test_sizeof_does_not_read_value \ntests/test_checkstring_gaps.py::test_string_literal_as_boolean \ntests/test_checkuninitvar_gaps.py::test_address_of_then_deref_uninit \n[gw5] [ 41%] RERUN tests/test_harvest_helloworld.py::test_vs_project_local_path_select_one \ntests/test_harvest_helloworld.py::test_vs_project_local_path_select_one \n[gw1] [ 41%] RERUN tests/test_harvest_dumpfile.py::test_libraries \ntests/test_harvest_dumpfile.py::test_libraries \n[gw2] [ 41%] RERUN tests/test_exceptionsafety_gaps.py::test_rethrow_no_current_exception \ntests/test_exceptionsafety_gaps.py::test_rethrow_no_current_exception \n[gw6] [ 42%] RERUN tests/test_checktype_gaps.py::test_long_cast_return \ntests/test_checktype_gaps.py::test_long_cast_return \n[gw8] [ 42%] RERUN tests/test_checkstl_gaps.py::test_useless_substr_entire_string \ntests/test_checkstl_gaps.py::test_useless_substr_entire_string \n[gw4] [ 42%] RERUN tests/test_fwdanalysis.py::test_increment_decrement_dead_store \ntests/test_fwdanalysis.py::test_increment_decrement_dead_store \n[gw7] [ 42%] RERUN tests/test_clangimport_advanced.py::test_clangimport_typedef \ntests/test_clangimport_advanced.py::test_clangimport_typedef \n[gw7] [ 42%] FAILED tests/test_clangimport_advanced.py::test_clangimport_typedef \ntests/test_clangimport_advanced.py::test_clangimport_sizeof \n[gw0] [ 42%] RERUN tests/test_clangimport.py::test_clangimport_control_flow \ntests/test_clangimport.py::test_clangimport_control_flow \n[gw9] [ 42%] RERUN tests/test_checkstring_gaps.py::test_string_literal_as_boolean \ntests/test_checkstring_gaps.py::test_string_literal_as_boolean \n[gw3] [ 42%] RERUN tests/test_checkuninitvar_gaps.py::test_address_of_then_deref_uninit \ntests/test_checkuninitvar_gaps.py::test_address_of_then_deref_uninit \n[gw5] [ 42%] RERUN tests/test_harvest_helloworld.py::test_vs_project_local_path_select_one \ntests/test_harvest_helloworld.py::test_vs_project_local_path_select_one \n[gw5] [ 42%] FAILED tests/test_harvest_helloworld.py::test_vs_project_local_path_select_one \ntests/test_harvest_helloworld.py::test_vs_project_local_path_select_one_multiple \n[gw2] [ 42%] RERUN tests/test_exceptionsafety_gaps.py::test_rethrow_no_current_exception \ntests/test_exceptionsafety_gaps.py::test_rethrow_no_current_exception \n[gw1] [ 42%] RERUN tests/test_harvest_dumpfile.py::test_libraries \ntests/test_harvest_dumpfile.py::test_libraries \n[gw2] [ 42%] FAILED tests/test_exceptionsafety_gaps.py::test_rethrow_no_current_exception \ntests/test_exceptionsafety_gaps.py::test_unhandled_exception_specification \n[gw1] [ 42%] FAILED tests/test_harvest_dumpfile.py::test_libraries \ntests/test_harvest_lookup.py::test_addon_lookup_invalid \n[gw1] [ 42%] PASSED tests/test_harvest_lookup.py::test_addon_lookup_invalid \n[gw6] [ 42%] RERUN tests/test_checktype_gaps.py::test_long_cast_return \ntests/test_checktype_gaps.py::test_long_cast_return \n[gw6] [ 42%] FAILED tests/test_checktype_gaps.py::test_long_cast_return \ntests/test_checktype_gaps.py::test_float_to_integer_overflow \ntests/test_harvest_lookup.py::test_config_lookup \n[gw1] [ 42%] PASSED tests/test_harvest_lookup.py::test_config_lookup \ntests/test_harvest_lookup.py::test_config_lookup_notfound \n[gw1] [ 42%] PASSED tests/test_harvest_lookup.py::test_config_lookup_notfound \ntests/test_harvest_lookup.py::test_config_invalid \n[gw8] [ 42%] RERUN tests/test_checkstl_gaps.py::test_useless_substr_entire_string \ntests/test_checkstl_gaps.py::test_useless_substr_entire_string \n[gw8] [ 42%] FAILED tests/test_checkstl_gaps.py::test_useless_substr_entire_string \ntests/test_checkstl_gaps.py::test_useless_swap_with_itself \n[gw4] [ 42%] RERUN tests/test_fwdanalysis.py::test_increment_decrement_dead_store \ntests/test_fwdanalysis.py::test_increment_decrement_dead_store \n[gw4] [ 42%] FAILED tests/test_fwdanalysis.py::test_increment_decrement_dead_store \ntests/test_fwdanalysis.py::test_volatile_prevents_optimization \n[gw7] [ 42%] RERUN tests/test_clangimport_advanced.py::test_clangimport_sizeof \ntests/test_clangimport_advanced.py::test_clangimport_sizeof \n[gw9] [ 42%] RERUN tests/test_checkstring_gaps.py::test_string_literal_as_boolean \ntests/test_checkstring_gaps.py::test_string_literal_as_boolean \n[gw9] [ 42%] FAILED tests/test_checkstring_gaps.py::test_string_literal_as_boolean \ntests/test_checkstring_gaps.py::test_substr_length_mismatch \n[gw0] [ 42%] RERUN tests/test_clangimport.py::test_clangimport_control_flow \ntests/test_clangimport.py::test_clangimport_control_flow \n[gw3] [ 42%] RERUN tests/test_checkuninitvar_gaps.py::test_address_of_then_deref_uninit \ntests/test_checkuninitvar_gaps.py::test_address_of_then_deref_uninit \n[gw3] [ 42%] FAILED tests/test_checkuninitvar_gaps.py::test_address_of_then_deref_uninit \ntests/test_fwdanalysis.py::test_conditional_assignment_both_branches \n[gw3] [ 42%] PASSED tests/test_fwdanalysis.py::test_conditional_assignment_both_branches \n[gw0] [ 42%] FAILED tests/test_clangimport.py::test_clangimport_control_flow \ntests/test_clangimport.py::test_clangimport_switch_statement \ntests/test_fwdanalysis.py::test_assignment_in_expression \n[gw3] [ 42%] PASSED tests/test_fwdanalysis.py::test_assignment_in_expression \ntests/test_fwdanalysis.py::test_comma_operator_assignment \n[gw3] [ 42%] PASSED tests/test_fwdanalysis.py::test_comma_operator_assignment \ntests/test_fwdanalysis.py::test_nested_struct_member_assignment \n[gw5] [ 42%] RERUN tests/test_harvest_helloworld.py::test_vs_project_local_path_select_one_multiple \ntests/test_harvest_helloworld.py::test_vs_project_local_path_select_one_multiple \n[gw2] [ 42%] RERUN tests/test_exceptionsafety_gaps.py::test_unhandled_exception_specification \ntests/test_exceptionsafety_gaps.py::test_unhandled_exception_specification \n[gw6] [ 42%] RERUN tests/test_checktype_gaps.py::test_float_to_integer_overflow \ntests/test_checktype_gaps.py::test_float_to_integer_overflow \n[gw1] [ 42%] RERUN tests/test_harvest_lookup.py::test_config_invalid \ntests/test_harvest_lookup.py::test_config_invalid \n[gw8] [ 42%] RERUN tests/test_checkstl_gaps.py::test_useless_swap_with_itself \ntests/test_checkstl_gaps.py::test_useless_swap_with_itself \n[gw4] [ 43%] RERUN tests/test_fwdanalysis.py::test_volatile_prevents_optimization \ntests/test_fwdanalysis.py::test_volatile_prevents_optimization \n[gw7] [ 43%] RERUN tests/test_clangimport_advanced.py::test_clangimport_sizeof \ntests/test_clangimport_advanced.py::test_clangimport_sizeof \n[gw7] [ 43%] FAILED tests/test_clangimport_advanced.py::test_clangimport_sizeof \ntests/test_clangimport_advanced.py::test_clangimport_compound_assignment \n[gw9] [ 43%] RERUN tests/test_checkstring_gaps.py::test_substr_length_mismatch \ntests/test_checkstring_gaps.py::test_substr_length_mismatch \n[gw0] [ 43%] RERUN tests/test_clangimport.py::test_clangimport_switch_statement \ntests/test_clangimport.py::test_clangimport_switch_statement \n[gw3] [ 43%] RERUN tests/test_fwdanalysis.py::test_nested_struct_member_assignment \ntests/test_fwdanalysis.py::test_nested_struct_member_assignment \n[gw2] [ 43%] RERUN tests/test_exceptionsafety_gaps.py::test_unhandled_exception_specification \ntests/test_exceptionsafety_gaps.py::test_unhandled_exception_specification \n[gw2] [ 43%] FAILED tests/test_exceptionsafety_gaps.py::test_unhandled_exception_specification \ntests/test_exceptionsafety_gaps.py::test_destructor_try_blocks_and_uncaught_exception \n[gw5] [ 43%] RERUN tests/test_harvest_helloworld.py::test_vs_project_local_path_select_one_multiple \ntests/test_harvest_helloworld.py::test_vs_project_local_path_select_one_multiple \n[gw6] [ 43%] RERUN tests/test_checktype_gaps.py::test_float_to_integer_overflow \ntests/test_checktype_gaps.py::test_float_to_integer_overflow \n[gw6] [ 43%] FAILED tests/test_checktype_gaps.py::test_float_to_integer_overflow \ntests/test_checktype_gaps.py::test_shift_conditional_value \n[gw5] [ 43%] FAILED tests/test_harvest_helloworld.py::test_vs_project_local_path_select_one_multiple \ntests/test_harvest_helloworld.py::test_vs_project_local_path_no_analyze_all \n[gw1] [ 43%] RERUN tests/test_harvest_lookup.py::test_config_invalid \ntests/test_harvest_lookup.py::test_config_invalid \n[gw8] [ 43%] RERUN tests/test_checkstl_gaps.py::test_useless_swap_with_itself \ntests/test_checkstl_gaps.py::test_useless_swap_with_itself \n[gw1] [ 43%] FAILED tests/test_harvest_lookup.py::test_config_invalid \ntests/test_harvest_lookup.py::test_lookup_path[addon-misra.py] \n[gw8] [ 43%] FAILED tests/test_checkstl_gaps.py::test_useless_swap_with_itself \ntests/test_checkstl_gaps.py::test_useless_remove_without_erase \n[gw1] [ 43%] PASSED tests/test_harvest_lookup.py::test_lookup_path[addon-misra.py] \ntests/test_harvest_lookup.py::test_lookup_path[config-cppcheck.cfg] \n[gw1] [ 43%] PASSED tests/test_harvest_lookup.py::test_lookup_path[config-cppcheck.cfg] \ntests/test_harvest_lookup.py::test_lookup_path[library-gnu.cfg] \n[gw1] [ 43%] PASSED tests/test_harvest_lookup.py::test_lookup_path[library-gnu.cfg] \n[gw4] [ 43%] RERUN tests/test_fwdanalysis.py::test_volatile_prevents_optimization \ntests/test_fwdanalysis.py::test_volatile_prevents_optimization \n[gw4] [ 43%] FAILED tests/test_fwdanalysis.py::test_volatile_prevents_optimization \ntests/test_fwdanalysis.py::test_static_variable_assignment \ntests/test_harvest_lookup.py::test_lookup_path[platform-avr8.xml] \n[gw4] [ 43%] PASSED tests/test_fwdanalysis.py::test_static_variable_assignment \ntests/test_fwdanalysis.py::test_global_variable_assignment \n[gw4] [ 43%] PASSED tests/test_fwdanalysis.py::test_global_variable_assignment \ntests/test_fwdanalysis.py::test_multiple_return_paths \n[gw4] [ 43%] PASSED tests/test_fwdanalysis.py::test_multiple_return_paths \n[gw7] [ 43%] RERUN tests/test_clangimport_advanced.py::test_clangimport_compound_assignment \ntests/test_clangimport_advanced.py::test_clangimport_compound_assignment \ntests/test_fwdanalysis.py::test_dead_store_after_early_return \n[gw4] [ 43%] PASSED tests/test_fwdanalysis.py::test_dead_store_after_early_return \ntests/test_fwdanalysis.py::test_union_member_assignment \n[gw9] [ 43%] RERUN tests/test_checkstring_gaps.py::test_substr_length_mismatch \ntests/test_checkstring_gaps.py::test_substr_length_mismatch \n[gw9] [ 43%] FAILED tests/test_checkstring_gaps.py::test_substr_length_mismatch \ntests/test_checkstring_gaps.py::test_sprintf_overlapping_buffers \n[gw0] [ 43%] RERUN tests/test_clangimport.py::test_clangimport_switch_statement \ntests/test_clangimport.py::test_clangimport_switch_statement \n[gw0] [ 43%] FAILED tests/test_clangimport.py::test_clangimport_switch_statement \ntests/test_clangimport.py::test_clangimport_arrays_pointers \n[gw3] [ 43%] RERUN tests/test_fwdanalysis.py::test_nested_struct_member_assignment \ntests/test_fwdanalysis.py::test_nested_struct_member_assignment \n[gw3] [ 43%] FAILED tests/test_fwdanalysis.py::test_nested_struct_member_assignment \ntests/test_fwdanalysis.py::test_array_in_struct_assignment \n[gw2] [ 43%] RERUN tests/test_exceptionsafety_gaps.py::test_destructor_try_blocks_and_uncaught_exception \ntests/test_exceptionsafety_gaps.py::test_destructor_try_blocks_and_uncaught_exception \n[gw6] [ 43%] RERUN tests/test_checktype_gaps.py::test_shift_conditional_value \ntests/test_checktype_gaps.py::test_shift_conditional_value \n[gw5] [ 43%] RERUN tests/test_harvest_helloworld.py::test_vs_project_local_path_no_analyze_all \ntests/test_harvest_helloworld.py::test_vs_project_local_path_no_analyze_all \n[gw8] [ 43%] RERUN tests/test_checkstl_gaps.py::test_useless_remove_without_erase \ntests/test_checkstl_gaps.py::test_useless_remove_without_erase \n[gw1] [ 43%] RERUN tests/test_harvest_lookup.py::test_lookup_path[platform-avr8.xml] \ntests/test_harvest_lookup.py::test_lookup_path[platform-avr8.xml] \n[gw7] [ 43%] RERUN tests/test_clangimport_advanced.py::test_clangimport_compound_assignment \ntests/test_clangimport_advanced.py::test_clangimport_compound_assignment \n[gw4] [ 43%] RERUN tests/test_fwdanalysis.py::test_union_member_assignment \ntests/test_fwdanalysis.py::test_union_member_assignment \n[gw7] [ 43%] FAILED tests/test_clangimport_advanced.py::test_clangimport_compound_assignment \ntests/test_clangimport_advanced.py::test_clangimport_unary_operators \n[gw9] [ 43%] RERUN tests/test_checkstring_gaps.py::test_sprintf_overlapping_buffers \ntests/test_checkstring_gaps.py::test_sprintf_overlapping_buffers \n[gw0] [ 44%] RERUN tests/test_clangimport.py::test_clangimport_arrays_pointers \ntests/test_clangimport.py::test_clangimport_arrays_pointers \n[gw3] [ 44%] RERUN tests/test_fwdanalysis.py::test_array_in_struct_assignment \ntests/test_fwdanalysis.py::test_array_in_struct_assignment \n[gw2] [ 44%] RERUN tests/test_exceptionsafety_gaps.py::test_destructor_try_blocks_and_uncaught_exception \ntests/test_exceptionsafety_gaps.py::test_destructor_try_blocks_and_uncaught_exception \n[gw2] [ 44%] FAILED tests/test_exceptionsafety_gaps.py::test_destructor_try_blocks_and_uncaught_exception \ntests/test_exceptionsafety_gaps.py::test_dealloc_throw_reassignment \n[gw6] [ 44%] RERUN tests/test_checktype_gaps.py::test_shift_conditional_value \ntests/test_checktype_gaps.py::test_shift_conditional_value \n[gw2] [ 44%] PASSED tests/test_exceptionsafety_gaps.py::test_dealloc_throw_reassignment \n[gw6] [ 44%] FAILED tests/test_checktype_gaps.py::test_shift_conditional_value \ntests/test_checktype_gaps.py::test_integer_overflow_multiplication \ntests/test_exceptionsafety_gaps.py::test_rethrow_copy_nested_and_member_access \n[gw5] [ 44%] RERUN tests/test_harvest_helloworld.py::test_vs_project_local_path_no_analyze_all \ntests/test_harvest_helloworld.py::test_vs_project_local_path_no_analyze_all \n[gw5] [ 44%] FAILED tests/test_harvest_helloworld.py::test_vs_project_local_path_no_analyze_all \ntests/test_harvest_helloworld.py::test_vs_project_relative_path \n[gw8] [ 44%] RERUN tests/test_checkstl_gaps.py::test_useless_remove_without_erase \ntests/test_checkstl_gaps.py::test_useless_remove_without_erase \n[gw8] [ 44%] FAILED tests/test_checkstl_gaps.py::test_useless_remove_without_erase \ntests/test_checkstl_gaps.py::test_redundant_if_before_remove \n[gw1] [ 44%] RERUN tests/test_harvest_lookup.py::test_lookup_path[platform-avr8.xml] \ntests/test_harvest_lookup.py::test_lookup_path[platform-avr8.xml] \n[gw1] [ 44%] FAILED tests/test_harvest_lookup.py::test_lookup_path[platform-avr8.xml] \ntests/test_harvest_metrics.py::test_dummy_metrics_xml_report \n[gw4] [ 44%] RERUN tests/test_fwdanalysis.py::test_union_member_assignment \ntests/test_fwdanalysis.py::test_union_member_assignment \n[gw4] [ 44%] FAILED tests/test_fwdanalysis.py::test_union_member_assignment \ntests/test_fwdanalysis.py::test_for_range_loop_dead_store \n[gw4] [ 44%] PASSED tests/test_fwdanalysis.py::test_for_range_loop_dead_store \n[gw7] [ 44%] RERUN tests/test_clangimport_advanced.py::test_clangimport_unary_operators \ntests/test_clangimport_advanced.py::test_clangimport_unary_operators \ntests/test_fwdanalysis.py::test_pointer_dereference_assignment \n[gw4] [ 44%] PASSED tests/test_fwdanalysis.py::test_pointer_dereference_assignment \n[gw9] [ 44%] RERUN tests/test_checkstring_gaps.py::test_sprintf_overlapping_buffers \ntests/test_checkstring_gaps.py::test_sprintf_overlapping_buffers \n[gw9] [ 44%] FAILED tests/test_checkstring_gaps.py::test_sprintf_overlapping_buffers \ntests/test_checkstring_gaps.py::test_overlapping_strcmp_conditions \ntests/test_fwdanalysis.py::test_reference_parameter_prevents_dead_store \n[gw4] [ 44%] PASSED tests/test_fwdanalysis.py::test_reference_parameter_prevents_dead_store \ntests/test_harvest_inline_suppress.py::test_unmatched_suppression_ifdef_0 \n[gw4] [ 44%] PASSED tests/test_harvest_inline_suppress.py::test_unmatched_suppression_ifdef_0 \ntests/test_harvest_inline_suppress.py::test_build_dir \n[gw4] [ 44%] PASSED tests/test_harvest_inline_suppress.py::test_build_dir \n[gw3] [ 44%] RERUN tests/test_fwdanalysis.py::test_array_in_struct_assignment \ntests/test_fwdanalysis.py::test_array_in_struct_assignment \ntests/test_harvest_inline_suppress.py::test_build_dir_jobs_suppressions \n[gw3] [ 44%] FAILED tests/test_fwdanalysis.py::test_array_in_struct_assignment \ntests/test_fwdanalysis.py::test_assignment_in_loop_condition \n[gw3] [ 44%] PASSED tests/test_fwdanalysis.py::test_assignment_in_loop_condition \n[gw0] [ 44%] RERUN tests/test_clangimport.py::test_clangimport_arrays_pointers \ntests/test_clangimport.py::test_clangimport_arrays_pointers \ntests/test_fwdanalysis.py::test_multiple_pointers_same_variable \n[gw3] [ 44%] PASSED tests/test_fwdanalysis.py::test_multiple_pointers_same_variable \n[gw0] [ 44%] FAILED tests/test_clangimport.py::test_clangimport_arrays_pointers \ntests/test_clangimport.py::test_clangimport_structs \ntests/test_fwdanalysis.py::test_assignment_after_function_call_with_pointer \n[gw3] [ 44%] PASSED tests/test_fwdanalysis.py::test_assignment_after_function_call_with_pointer \ntests/test_fwdanalysis.py::test_goto_statement_dead_store \n[gw3] [ 44%] PASSED tests/test_fwdanalysis.py::test_goto_statement_dead_store \n[gw6] [ 44%] RERUN tests/test_checktype_gaps.py::test_integer_overflow_multiplication \ntests/test_checktype_gaps.py::test_integer_overflow_multiplication \n[gw2] [ 44%] RERUN tests/test_exceptionsafety_gaps.py::test_rethrow_copy_nested_and_member_access \ntests/test_exceptionsafety_gaps.py::test_rethrow_copy_nested_and_member_access \ntests/test_fwdanalysis.py::test_assignment_before_throw \n[gw3] [ 44%] PASSED tests/test_fwdanalysis.py::test_assignment_before_throw \ntests/test_fwdanalysis.py::test_assignment_with_cast \n[gw3] [ 44%] PASSED tests/test_fwdanalysis.py::test_assignment_with_cast \ntests/test_fwdanalysis.py::test_bitwise_compound_assignment \n[gw5] [ 44%] RERUN tests/test_harvest_helloworld.py::test_vs_project_relative_path \ntests/test_harvest_helloworld.py::test_vs_project_relative_path \n[gw8] [ 45%] RERUN tests/test_checkstl_gaps.py::test_redundant_if_before_remove \ntests/test_checkstl_gaps.py::test_redundant_if_before_remove \n[gw1] [ 45%] RERUN tests/test_harvest_metrics.py::test_dummy_metrics_xml_report \ntests/test_harvest_metrics.py::test_dummy_metrics_xml_report \n[gw7] [ 45%] RERUN tests/test_clangimport_advanced.py::test_clangimport_unary_operators \ntests/test_clangimport_advanced.py::test_clangimport_unary_operators \n[gw9] [ 45%] RERUN tests/test_checkstring_gaps.py::test_overlapping_strcmp_conditions \ntests/test_checkstring_gaps.py::test_overlapping_strcmp_conditions \n[gw7] [ 45%] FAILED tests/test_clangimport_advanced.py::test_clangimport_unary_operators \ntests/test_clangimport_advanced.py::test_clangimport_namespace \n[gw4] [ 45%] RERUN tests/test_harvest_inline_suppress.py::test_build_dir_jobs_suppressions \ntests/test_harvest_inline_suppress.py::test_build_dir_jobs_suppressions \n[gw0] [ 45%] RERUN tests/test_clangimport.py::test_clangimport_structs \ntests/test_clangimport.py::test_clangimport_structs \n[gw6] [ 45%] RERUN tests/test_checktype_gaps.py::test_integer_overflow_multiplication \ntests/test_checktype_gaps.py::test_integer_overflow_multiplication \n[gw6] [ 45%] FAILED tests/test_checktype_gaps.py::test_integer_overflow_multiplication \ntests/test_checktype_gaps.py::test_long_cast_float_to_double \n[gw2] [ 45%] RERUN tests/test_exceptionsafety_gaps.py::test_rethrow_copy_nested_and_member_access \ntests/test_exceptionsafety_gaps.py::test_rethrow_copy_nested_and_member_access \n[gw2] [ 45%] FAILED tests/test_exceptionsafety_gaps.py::test_rethrow_copy_nested_and_member_access \ntests/test_exceptionsafety_gaps.py::test_noexcept_calls_throwing_functions \n[gw3] [ 45%] RERUN tests/test_fwdanalysis.py::test_bitwise_compound_assignment \ntests/test_fwdanalysis.py::test_bitwise_compound_assignment \n[gw5] [ 45%] RERUN tests/test_harvest_helloworld.py::test_vs_project_relative_path \ntests/test_harvest_helloworld.py::test_vs_project_relative_path \n[gw8] [ 45%] RERUN tests/test_checkstl_gaps.py::test_redundant_if_before_remove \ntests/test_checkstl_gaps.py::test_redundant_if_before_remove \n[gw8] [ 45%] FAILED tests/test_checkstl_gaps.py::test_redundant_if_before_remove \ntests/test_checkstl_gaps.py::test_stl_boundaries_less_than_comparison \n[gw5] [ 45%] FAILED tests/test_harvest_helloworld.py::test_vs_project_relative_path \ntests/test_harvest_helloworld.py::test_vs_project_absolute_path \n[gw1] [ 45%] RERUN tests/test_harvest_metrics.py::test_dummy_metrics_xml_report \ntests/test_harvest_metrics.py::test_dummy_metrics_xml_report \n[gw1] [ 45%] FAILED tests/test_harvest_metrics.py::test_dummy_metrics_xml_report \ntests/test_harvest_metrics.py::test_dummy_metrics_stdout \n[gw9] [ 45%] RERUN tests/test_checkstring_gaps.py::test_overlapping_strcmp_conditions \ntests/test_checkstring_gaps.py::test_overlapping_strcmp_conditions \n[gw9] [ 45%] FAILED tests/test_checkstring_gaps.py::test_overlapping_strcmp_conditions \ntests/test_checkstring_gaps.py::test_string_literal_write_error \n[gw7] [ 45%] RERUN tests/test_clangimport_advanced.py::test_clangimport_namespace \ntests/test_clangimport_advanced.py::test_clangimport_namespace \n[gw4] [ 45%] RERUN tests/test_harvest_inline_suppress.py::test_build_dir_jobs_suppressions \ntests/test_harvest_inline_suppress.py::test_build_dir_jobs_suppressions \n[gw4] [ 45%] FAILED tests/test_harvest_inline_suppress.py::test_build_dir_jobs_suppressions \ntests/test_harvest_inline_suppress.py::test_build_dir_unused_template \n[gw0] [ 45%] RERUN tests/test_clangimport.py::test_clangimport_structs \ntests/test_clangimport.py::test_clangimport_structs \n[gw0] [ 45%] FAILED tests/test_clangimport.py::test_clangimport_structs \ntests/test_clangimport.py::test_clangimport_enums \n[gw6] [ 45%] RERUN tests/test_checktype_gaps.py::test_long_cast_float_to_double \ntests/test_checktype_gaps.py::test_long_cast_float_to_double \n[gw2] [ 45%] RERUN tests/test_exceptionsafety_gaps.py::test_noexcept_calls_throwing_functions \ntests/test_exceptionsafety_gaps.py::test_noexcept_calls_throwing_functions \n[gw3] [ 45%] RERUN tests/test_fwdanalysis.py::test_bitwise_compound_assignment \ntests/test_fwdanalysis.py::test_bitwise_compound_assignment \n[gw3] [ 45%] FAILED tests/test_fwdanalysis.py::test_bitwise_compound_assignment \ntests/test_fwdanalysis.py::test_shift_compound_assignment \n[gw8] [ 45%] RERUN tests/test_checkstl_gaps.py::test_stl_boundaries_less_than_comparison \ntests/test_checkstl_gaps.py::test_stl_boundaries_less_than_comparison \n[gw5] [ 45%] RERUN tests/test_harvest_helloworld.py::test_vs_project_absolute_path \ntests/test_harvest_helloworld.py::test_vs_project_absolute_path \n[gw1] [ 45%] RERUN tests/test_harvest_metrics.py::test_dummy_metrics_stdout \ntests/test_harvest_metrics.py::test_dummy_metrics_stdout \n[gw9] [ 45%] RERUN tests/test_checkstring_gaps.py::test_string_literal_write_error \ntests/test_checkstring_gaps.py::test_string_literal_write_error \n[gw7] [ 45%] RERUN tests/test_clangimport_advanced.py::test_clangimport_namespace \ntests/test_clangimport_advanced.py::test_clangimport_namespace \n[gw7] [ 45%] FAILED tests/test_clangimport_advanced.py::test_clangimport_namespace \ntests/test_clangimport_advanced.py::test_clangimport_access_specifiers \n[gw4] [ 45%] RERUN tests/test_harvest_inline_suppress.py::test_build_dir_unused_template \ntests/test_harvest_inline_suppress.py::test_build_dir_unused_template \n[gw6] [ 45%] RERUN tests/test_checktype_gaps.py::test_long_cast_float_to_double \ntests/test_checktype_gaps.py::test_long_cast_float_to_double \n[gw6] [ 45%] FAILED tests/test_checktype_gaps.py::test_long_cast_float_to_double \ntests/test_checktype_gaps.py::test_shift_right_too_many_bits \n[gw6] [ 45%] PASSED tests/test_checktype_gaps.py::test_shift_right_too_many_bits \n[gw0] [ 45%] RERUN tests/test_clangimport.py::test_clangimport_enums \ntests/test_clangimport.py::test_clangimport_enums \n[gw2] [ 45%] RERUN tests/test_exceptionsafety_gaps.py::test_noexcept_calls_throwing_functions \ntests/test_exceptionsafety_gaps.py::test_noexcept_calls_throwing_functions \n[gw2] [ 45%] FAILED tests/test_exceptionsafety_gaps.py::test_noexcept_calls_throwing_functions \ntests/test_exceptionsafety_gaps.py::test_attribute_nothrow \ntests/test_checktype_gaps.py::test_shift_assign_operator \n[gw6] [ 45%] PASSED tests/test_checktype_gaps.py::test_shift_assign_operator \ntests/test_checktype_gaps.py::test_shift_long_64bit \n[gw3] [ 45%] RERUN tests/test_fwdanalysis.py::test_shift_compound_assignment \ntests/test_fwdanalysis.py::test_shift_compound_assignment \n[gw8] [ 45%] RERUN tests/test_checkstl_gaps.py::test_stl_boundaries_less_than_comparison \ntests/test_checkstl_gaps.py::test_stl_boundaries_less_than_comparison \n[gw5] [ 45%] RERUN tests/test_harvest_helloworld.py::test_vs_project_absolute_path \ntests/test_harvest_helloworld.py::test_vs_project_absolute_path \n[gw5] [ 45%] FAILED tests/test_harvest_helloworld.py::test_vs_project_absolute_path \ntests/test_harvest_helloworld.py::test_cppcheck_project_local_path \n[gw8] [ 45%] FAILED tests/test_checkstl_gaps.py::test_stl_boundaries_less_than_comparison \ntests/test_checkstl_gaps.py::test_missing_comparison_extra_increment \n[gw1] [ 45%] RERUN tests/test_harvest_metrics.py::test_dummy_metrics_stdout \ntests/test_harvest_metrics.py::test_dummy_metrics_stdout \n[gw1] [ 45%] FAILED tests/test_harvest_metrics.py::test_dummy_metrics_stdout \ntests/test_harvest_more_projects.py::test_project_force_U \n[gw9] [ 45%] RERUN tests/test_checkstring_gaps.py::test_string_literal_write_error \ntests/test_checkstring_gaps.py::test_string_literal_write_error \n[gw9] [ 45%] FAILED tests/test_checkstring_gaps.py::test_string_literal_write_error \ntests/test_harvest_lookup.py::test_lib_lookup_relative_noext_notfound \n[gw9] [ 46%] PASSED tests/test_harvest_lookup.py::test_lib_lookup_relative_noext_notfound \ntests/test_harvest_lookup.py::test_lib_lookup_absolute \n[gw9] [ 46%] PASSED tests/test_harvest_lookup.py::test_lib_lookup_absolute \ntests/test_harvest_lookup.py::test_lib_lookup_absolute_notfound \n[gw7] [ 46%] RERUN tests/test_clangimport_advanced.py::test_clangimport_access_specifiers \ntests/test_clangimport_advanced.py::test_clangimport_access_specifiers \n[gw9] [ 46%] PASSED tests/test_harvest_lookup.py::test_lib_lookup_absolute_notfound \ntests/test_harvest_lookup.py::test_lib_lookup_nofile \n[gw9] [ 46%] PASSED tests/test_harvest_lookup.py::test_lib_lookup_nofile \n[gw4] [ 46%] RERUN tests/test_harvest_inline_suppress.py::test_build_dir_unused_template \ntests/test_harvest_inline_suppress.py::test_build_dir_unused_template \n[gw4] [ 46%] FAILED tests/test_harvest_inline_suppress.py::test_build_dir_unused_template \ntests/test_harvest_inline_suppress.py::test_build_dir_unused_template_j_thread \n[gw4] [ 46%] PASSED tests/test_harvest_inline_suppress.py::test_build_dir_unused_template_j_thread \ntests/test_harvest_lookup.py::test_lib_lookup_invalid \n[gw9] [ 46%] PASSED tests/test_harvest_lookup.py::test_lib_lookup_invalid \ntests/test_harvest_inline_suppress.py::test_build_dir_unused_template_j_process \n[gw4] [ 46%] PASSED tests/test_harvest_inline_suppress.py::test_build_dir_unused_template_j_process \ntests/test_harvest_lookup.py::test_lib_lookup_multi \n[gw9] [ 46%] PASSED tests/test_harvest_lookup.py::test_lib_lookup_multi \ntests/test_harvest_inline_suppress.py::test_suppress_unmatched_inline_suppression \n[gw4] [ 46%] PASSED tests/test_harvest_inline_suppress.py::test_suppress_unmatched_inline_suppression \ntests/test_harvest_lookup.py::test_platform_lookup_builtin \n[gw9] [ 46%] PASSED tests/test_harvest_lookup.py::test_platform_lookup_builtin \ntests/test_harvest_inline_suppress.py::test_duplicate \n[gw4] [ 46%] SKIPPED tests/test_harvest_inline_suppress.py::test_duplicate \ntests/test_harvest_lookup.py::test_platform_lookup \n[gw9] [ 46%] SKIPPED tests/test_harvest_lookup.py::test_platform_lookup \n[gw2] [ 46%] RERUN tests/test_exceptionsafety_gaps.py::test_attribute_nothrow \ntests/test_exceptionsafety_gaps.py::test_attribute_nothrow \ntests/test_harvest_inline_suppress.py::test_duplicate_cmd \n[gw4] [ 46%] SKIPPED tests/test_harvest_inline_suppress.py::test_duplicate_cmd \n[gw0] [ 46%] RERUN tests/test_clangimport.py::test_clangimport_enums \ntests/test_clangimport.py::test_clangimport_enums \ntests/test_harvest_lookup.py::test_platform_lookup_ext \n[gw9] [ 46%] SKIPPED tests/test_harvest_lookup.py::test_platform_lookup_ext \ntests/test_harvest_inline_suppress.py::test_duplicate_cmd_j \n[gw4] [ 46%] SKIPPED tests/test_harvest_inline_suppress.py::test_duplicate_cmd_j \n[gw6] [ 46%] RERUN tests/test_checktype_gaps.py::test_shift_long_64bit \ntests/test_checktype_gaps.py::test_shift_long_64bit \n[gw0] [ 46%] FAILED tests/test_clangimport.py::test_clangimport_enums \ntests/test_clangimport.py::test_clangimport_function_pointers \ntests/test_harvest_lookup.py::test_platform_lookup_path \n[gw3] [ 46%] RERUN tests/test_fwdanalysis.py::test_shift_compound_assignment \ntests/test_fwdanalysis.py::test_shift_compound_assignment \ntests/test_harvest_inline_suppress.py::test_duplicate_file \n[gw4] [ 47%] SKIPPED tests/test_harvest_inline_suppress.py::test_duplicate_file \n[gw3] [ 47%] FAILED tests/test_fwdanalysis.py::test_shift_compound_assignment \ntests/test_harvest_clang_import.py::test_symbol_database_1 \n[gw3] [ 47%] SKIPPED tests/test_harvest_clang_import.py::test_symbol_database_1 \ntests/test_harvest_inline_suppress.py::test_duplicate_file_j \ntests/test_harvest_clang_import.py::test_symbol_database_2 \n[gw4] [ 47%] SKIPPED tests/test_harvest_inline_suppress.py::test_duplicate_file_j \n[gw3] [ 47%] SKIPPED tests/test_harvest_clang_import.py::test_symbol_database_2 \ntests/test_harvest_clang_import.py::test_symbol_database_3 \ntests/test_harvest_inline_suppress_polyspace.py::test_unmatched_polyspace_suppression \n[gw3] [ 47%] SKIPPED tests/test_harvest_clang_import.py::test_symbol_database_3 \n[gw8] [ 47%] RERUN tests/test_checkstl_gaps.py::test_missing_comparison_extra_increment \ntests/test_checkstl_gaps.py::test_missing_comparison_extra_increment \n[gw5] [ 47%] RERUN tests/test_harvest_helloworld.py::test_cppcheck_project_local_path \ntests/test_harvest_helloworld.py::test_cppcheck_project_local_path \ntests/test_harvest_clang_import.py::test_symbol_database_4 \n[gw3] [ 47%] SKIPPED tests/test_harvest_clang_import.py::test_symbol_database_4 \ntests/test_harvest_clang_import.py::test_symbol_database_5 \n[gw3] [ 47%] SKIPPED tests/test_harvest_clang_import.py::test_symbol_database_5 \n[gw1] [ 47%] RERUN tests/test_harvest_more_projects.py::test_project_force_U \ntests/test_harvest_more_projects.py::test_project_force_U \ntests/test_harvest_clang_import.py::test_symbol_database_6 \n[gw3] [ 47%] SKIPPED tests/test_harvest_clang_import.py::test_symbol_database_6 \ntests/test_harvest_clang_import.py::test_symbol_database_7 \n[gw3] [ 47%] SKIPPED tests/test_harvest_clang_import.py::test_symbol_database_7 \ntests/test_harvest_clang_import.py::test_symbol_database_class_access_1 \n[gw3] [ 47%] SKIPPED tests/test_harvest_clang_import.py::test_symbol_database_class_access_1 \ntests/test_harvest_clang_import.py::test_symbol_database_class_access_2 \n[gw3] [ 47%] SKIPPED tests/test_harvest_clang_import.py::test_symbol_database_class_access_2 \ntests/test_harvest_clang_import.py::test_symbol_database_class_access_3 \n[gw3] [ 47%] SKIPPED tests/test_harvest_clang_import.py::test_symbol_database_class_access_3 \ntests/test_harvest_clang_import.py::test_symbol_database_operator \n[gw3] [ 47%] SKIPPED tests/test_harvest_clang_import.py::test_symbol_database_operator \ntests/test_harvest_clang_import.py::test_symbol_database_struct_1 \n[gw3] [ 47%] SKIPPED tests/test_harvest_clang_import.py::test_symbol_database_struct_1 \ntests/test_harvest_clang_import.py::test_ast_calculations \n[gw3] [ 47%] SKIPPED tests/test_harvest_clang_import.py::test_ast_calculations \ntests/test_harvest_more_projects.py::test_shared_items_project \n[gw7] [ 47%] RERUN tests/test_clangimport_advanced.py::test_clangimport_access_specifiers \ntests/test_clangimport_advanced.py::test_clangimport_access_specifiers \n[gw7] [ 47%] FAILED tests/test_clangimport_advanced.py::test_clangimport_access_specifiers \ntests/test_clangimport_error_handling.py::test_clangimport_nonexistent_file \n[gw2] [ 47%] RERUN tests/test_exceptionsafety_gaps.py::test_attribute_nothrow \ntests/test_exceptionsafety_gaps.py::test_attribute_nothrow \n[gw2] [ 47%] FAILED tests/test_exceptionsafety_gaps.py::test_attribute_nothrow \ntests/test_exceptionsafety_gaps.py::test_entrypoint_throws \n[gw6] [ 47%] RERUN tests/test_checktype_gaps.py::test_shift_long_64bit \ntests/test_checktype_gaps.py::test_shift_long_64bit \n[gw6] [ 47%] FAILED tests/test_checktype_gaps.py::test_shift_long_64bit \ntests/test_checktype_gaps.py::test_float_assign_overflow \n[gw9] [ 48%] RERUN tests/test_harvest_lookup.py::test_platform_lookup_path \ntests/test_harvest_lookup.py::test_platform_lookup_path \n[gw0] [ 48%] RERUN tests/test_clangimport.py::test_clangimport_function_pointers \ntests/test_clangimport.py::test_clangimport_function_pointers \n[gw4] [ 48%] RERUN tests/test_harvest_inline_suppress_polyspace.py::test_unmatched_polyspace_suppression \ntests/test_harvest_inline_suppress_polyspace.py::test_unmatched_polyspace_suppression \n[gw8] [ 48%] RERUN tests/test_checkstl_gaps.py::test_missing_comparison_extra_increment \ntests/test_checkstl_gaps.py::test_missing_comparison_extra_increment \n[gw8] [ 48%] FAILED tests/test_checkstl_gaps.py::test_missing_comparison_extra_increment \ntests/test_checkstl_gaps.py::test_deref_invalid_iterator_after_push_back \n[gw5] [ 48%] RERUN tests/test_harvest_helloworld.py::test_cppcheck_project_local_path \ntests/test_harvest_helloworld.py::test_cppcheck_project_local_path \n[gw5] [ 48%] FAILED tests/test_harvest_helloworld.py::test_cppcheck_project_local_path \ntests/test_harvest_helloworld.py::test_cppcheck_project_local_path_select_one \n[gw1] [ 48%] RERUN tests/test_harvest_more_projects.py::test_project_force_U \ntests/test_harvest_more_projects.py::test_project_force_U \n[gw1] [ 48%] FAILED tests/test_harvest_more_projects.py::test_project_force_U \ntests/test_harvest_more_projects.py::test_project_custom_platform \n[gw5] [ 48%] XFAIL tests/test_harvest_helloworld.py::test_cppcheck_project_local_path_select_one \ntests/test_harvest_helloworld.py::test_cppcheck_project_local_path_select_one_multiple \n[gw5] [ 48%] XFAIL tests/test_harvest_helloworld.py::test_cppcheck_project_local_path_select_one_multiple \ntests/test_harvest_helloworld.py::test_cppcheck_project_local_path_analyze_all \n[gw3] [ 48%] RERUN tests/test_harvest_more_projects.py::test_shared_items_project \ntests/test_harvest_more_projects.py::test_shared_items_project \n[gw7] [ 48%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_nonexistent_file \ntests/test_clangimport_error_handling.py::test_clangimport_nonexistent_file \n[gw2] [ 48%] RERUN tests/test_exceptionsafety_gaps.py::test_entrypoint_throws \ntests/test_exceptionsafety_gaps.py::test_entrypoint_throws \n[gw6] [ 48%] RERUN tests/test_checktype_gaps.py::test_float_assign_overflow \ntests/test_checktype_gaps.py::test_float_assign_overflow \n[gw9] [ 48%] RERUN tests/test_harvest_lookup.py::test_platform_lookup_path \ntests/test_harvest_lookup.py::test_platform_lookup_path \n[gw9] [ 48%] FAILED tests/test_harvest_lookup.py::test_platform_lookup_path \ntests/test_harvest_lookup.py::test_platform_lookup_notfound \n[gw9] [ 48%] PASSED tests/test_harvest_lookup.py::test_platform_lookup_notfound \n[gw0] [ 48%] RERUN tests/test_clangimport.py::test_clangimport_function_pointers \ntests/test_clangimport.py::test_clangimport_function_pointers \ntests/test_harvest_lookup.py::test_platform_lookup_notfound_project \n[gw9] [ 48%] PASSED tests/test_harvest_lookup.py::test_platform_lookup_notfound_project \n[gw0] [ 48%] FAILED tests/test_clangimport.py::test_clangimport_function_pointers \ntests/test_clangimport.py::test_clangimport_with_clang_path \n[gw4] [ 48%] RERUN tests/test_harvest_inline_suppress_polyspace.py::test_unmatched_polyspace_suppression \ntests/test_harvest_inline_suppress_polyspace.py::test_unmatched_polyspace_suppression \n[gw4] [ 48%] FAILED tests/test_harvest_inline_suppress_polyspace.py::test_unmatched_polyspace_suppression \ntests/test_harvest_inline_suppress_polyspace.py::test_1 \ntests/test_harvest_lookup.py::test_platform_lookup_notfound_compdb \n[gw9] [ 48%] PASSED tests/test_harvest_lookup.py::test_platform_lookup_notfound_compdb \n[gw4] [ 48%] PASSED tests/test_harvest_inline_suppress_polyspace.py::test_1 \n[gw8] [ 48%] RERUN tests/test_checkstl_gaps.py::test_deref_invalid_iterator_after_push_back \ntests/test_checkstl_gaps.py::test_deref_invalid_iterator_after_push_back \ntests/test_harvest_inline_suppress_polyspace.py::test_block \ntests/test_harvest_lookup.py::test_platform_lookup_ext_notfound \n[gw9] [ 48%] PASSED tests/test_harvest_lookup.py::test_platform_lookup_ext_notfound \ntests/test_harvest_lookup.py::test_platform_lookup_relative_notfound \n[gw9] [ 48%] PASSED tests/test_harvest_lookup.py::test_platform_lookup_relative_notfound \n[gw1] [ 48%] RERUN tests/test_harvest_more_projects.py::test_project_custom_platform \ntests/test_harvest_more_projects.py::test_project_custom_platform \ntests/test_harvest_lookup.py::test_platform_lookup_relative_noext_notfound \n[gw9] [ 48%] PASSED tests/test_harvest_lookup.py::test_platform_lookup_relative_noext_notfound \ntests/test_harvest_lookup.py::test_platform_lookup_absolute \n[gw5] [ 49%] RERUN tests/test_harvest_helloworld.py::test_cppcheck_project_local_path_analyze_all \ntests/test_harvest_helloworld.py::test_cppcheck_project_local_path_analyze_all \n[gw3] [ 49%] RERUN tests/test_harvest_more_projects.py::test_shared_items_project \ntests/test_harvest_more_projects.py::test_shared_items_project \n[gw7] [ 49%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_nonexistent_file \ntests/test_clangimport_error_handling.py::test_clangimport_nonexistent_file \n[gw3] [ 49%] FAILED tests/test_harvest_more_projects.py::test_shared_items_project \ntests/test_harvest_more_projects.py::test_project_file_nested \n[gw7] [ 49%] FAILED tests/test_clangimport_error_handling.py::test_clangimport_nonexistent_file \ntests/test_clangimport_error_handling.py::test_clangimport_file_with_warnings \n[gw2] [ 49%] RERUN tests/test_exceptionsafety_gaps.py::test_entrypoint_throws \ntests/test_exceptionsafety_gaps.py::test_entrypoint_throws \n[gw2] [ 49%] FAILED tests/test_exceptionsafety_gaps.py::test_entrypoint_throws \ntests/test_exceptionsafety_gaps.py::test_dealloc_throw_static_pointer \n[gw6] [ 49%] RERUN tests/test_checktype_gaps.py::test_float_assign_overflow \ntests/test_checktype_gaps.py::test_float_assign_overflow \n[gw6] [ 49%] FAILED tests/test_checktype_gaps.py::test_float_assign_overflow \ntests/test_checktype_gaps.py::test_float_return_overflow \n[gw0] [ 49%] RERUN tests/test_clangimport.py::test_clangimport_with_clang_path \ntests/test_clangimport.py::test_clangimport_with_clang_path \n[gw8] [ 49%] RERUN tests/test_checkstl_gaps.py::test_deref_invalid_iterator_after_push_back \ntests/test_checkstl_gaps.py::test_deref_invalid_iterator_after_push_back \n[gw4] [ 49%] RERUN tests/test_harvest_inline_suppress_polyspace.py::test_block \ntests/test_harvest_inline_suppress_polyspace.py::test_block \n[gw8] [ 49%] FAILED tests/test_checkstl_gaps.py::test_deref_invalid_iterator_after_push_back \ntests/test_checkstl_gaps.py::test_iterator_arithmetic_out_of_bounds \n[gw1] [ 49%] RERUN tests/test_harvest_more_projects.py::test_project_custom_platform \ntests/test_harvest_more_projects.py::test_project_custom_platform \n[gw1] [ 49%] FAILED tests/test_harvest_more_projects.py::test_project_custom_platform \ntests/test_harvest_more_projects.py::test_project_empty_platform \n[gw9] [ 49%] RERUN tests/test_harvest_lookup.py::test_platform_lookup_absolute \ntests/test_harvest_lookup.py::test_platform_lookup_absolute \n[gw5] [ 49%] RERUN tests/test_harvest_helloworld.py::test_cppcheck_project_local_path_analyze_all \ntests/test_harvest_helloworld.py::test_cppcheck_project_local_path_analyze_all \n[gw5] [ 49%] FAILED tests/test_harvest_helloworld.py::test_cppcheck_project_local_path_analyze_all \ntests/test_harvest_helloworld.py::test_cppcheck_project_relative_path \n[gw3] [ 49%] RERUN tests/test_harvest_more_projects.py::test_project_file_nested \ntests/test_harvest_more_projects.py::test_project_file_nested \n[gw7] [ 49%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_file_with_warnings \ntests/test_clangimport_error_handling.py::test_clangimport_file_with_warnings \n[gw2] [ 49%] RERUN tests/test_exceptionsafety_gaps.py::test_dealloc_throw_static_pointer \ntests/test_exceptionsafety_gaps.py::test_dealloc_throw_static_pointer \n[gw6] [ 49%] RERUN tests/test_checktype_gaps.py::test_float_return_overflow \ntests/test_checktype_gaps.py::test_float_return_overflow \n[gw4] [ 49%] RERUN tests/test_harvest_inline_suppress_polyspace.py::test_block \ntests/test_harvest_inline_suppress_polyspace.py::test_block \n[gw0] [ 49%] RERUN tests/test_clangimport.py::test_clangimport_with_clang_path \ntests/test_clangimport.py::test_clangimport_with_clang_path \n[gw4] [ 49%] FAILED tests/test_harvest_inline_suppress_polyspace.py::test_block \ntests/test_harvest_inline_suppress_polyspace.py::test_begin_end \n[gw4] [ 49%] PASSED tests/test_harvest_inline_suppress_polyspace.py::test_begin_end \n[gw8] [ 49%] RERUN tests/test_checkstl_gaps.py::test_iterator_arithmetic_out_of_bounds \ntests/test_checkstl_gaps.py::test_iterator_arithmetic_out_of_bounds \n[gw0] [ 49%] FAILED tests/test_clangimport.py::test_clangimport_with_clang_path \ntests/test_clangimport.py::test_clangimport_empty_file \ntests/test_harvest_lookup.py::test_lib_lookup \n[gw4] [ 49%] PASSED tests/test_harvest_lookup.py::test_lib_lookup \n[gw1] [ 49%] RERUN tests/test_harvest_more_projects.py::test_project_empty_platform \ntests/test_harvest_more_projects.py::test_project_empty_platform \ntests/test_harvest_lookup.py::test_lib_lookup_ext \n[gw4] [ 49%] PASSED tests/test_harvest_lookup.py::test_lib_lookup_ext \ntests/test_harvest_lookup.py::test_lib_lookup_notfound \n[gw9] [ 49%] RERUN tests/test_harvest_lookup.py::test_platform_lookup_absolute \ntests/test_harvest_lookup.py::test_platform_lookup_absolute \n[gw4] [ 49%] PASSED tests/test_harvest_lookup.py::test_lib_lookup_notfound \n[gw9] [ 49%] FAILED tests/test_harvest_lookup.py::test_platform_lookup_absolute \ntests/test_harvest_lookup.py::test_platform_lookup_absolute_notfound \n[gw9] [ 49%] PASSED tests/test_harvest_lookup.py::test_platform_lookup_absolute_notfound \ntests/test_harvest_lookup.py::test_lib_lookup_notfound_project \ntests/test_harvest_lookup.py::test_platform_lookup_nofile \n[gw9] [ 49%] SKIPPED tests/test_harvest_lookup.py::test_platform_lookup_nofile \ntests/test_harvest_lookup.py::test_platform_lookup_invalid \n[gw9] [ 49%] PASSED tests/test_harvest_lookup.py::test_platform_lookup_invalid \n[gw5] [ 49%] RERUN tests/test_harvest_helloworld.py::test_cppcheck_project_relative_path \ntests/test_harvest_helloworld.py::test_cppcheck_project_relative_path \ntests/test_harvest_lookup.py::test_addon_lookup \n[gw9] [ 50%] PASSED tests/test_harvest_lookup.py::test_addon_lookup \ntests/test_harvest_lookup.py::test_addon_lookup_ext \n[gw9] [ 50%] PASSED tests/test_harvest_lookup.py::test_addon_lookup_ext \ntests/test_harvest_lookup.py::test_addon_lookup_notfound \n[gw9] [ 50%] PASSED tests/test_harvest_lookup.py::test_addon_lookup_notfound \ntests/test_harvest_lookup.py::test_addon_lookup_notfound_project \n[gw3] [ 50%] RERUN tests/test_harvest_more_projects.py::test_project_file_nested \ntests/test_harvest_more_projects.py::test_project_file_nested \n[gw3] [ 50%] FAILED tests/test_harvest_more_projects.py::test_project_file_nested \ntests/test_harvest_more_projects.py::test_project_file_no_analyze_all_vs_configs \n[gw7] [ 50%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_file_with_warnings \ntests/test_clangimport_error_handling.py::test_clangimport_file_with_warnings \n[gw7] [ 50%] FAILED tests/test_clangimport_error_handling.py::test_clangimport_file_with_warnings \ntests/test_clangimport_error_handling.py::test_clangimport_complex_expressions \n[gw2] [ 50%] RERUN tests/test_exceptionsafety_gaps.py::test_dealloc_throw_static_pointer \ntests/test_exceptionsafety_gaps.py::test_dealloc_throw_static_pointer \n[gw2] [ 50%] FAILED tests/test_exceptionsafety_gaps.py::test_dealloc_throw_static_pointer \ntests/test_exceptionsafety_gaps.py::test_dealloc_throw_array_delete \n[gw6] [ 50%] RERUN tests/test_checktype_gaps.py::test_float_return_overflow \ntests/test_checktype_gaps.py::test_float_return_overflow \n[gw6] [ 50%] FAILED tests/test_checktype_gaps.py::test_float_return_overflow \ntests/test_checktype_gaps.py::test_float_negative_overflow \n[gw8] [ 50%] RERUN tests/test_checkstl_gaps.py::test_iterator_arithmetic_out_of_bounds \ntests/test_checkstl_gaps.py::test_iterator_arithmetic_out_of_bounds \n[gw8] [ 50%] FAILED tests/test_checkstl_gaps.py::test_iterator_arithmetic_out_of_bounds \ntests/test_checkstl_gaps.py::test_known_empty_container_in_algorithm \n[gw0] [ 50%] RERUN tests/test_clangimport.py::test_clangimport_empty_file \ntests/test_clangimport.py::test_clangimport_empty_file \n[gw1] [ 50%] RERUN tests/test_harvest_more_projects.py::test_project_empty_platform \ntests/test_harvest_more_projects.py::test_project_empty_platform \n[gw1] [ 50%] FAILED tests/test_harvest_more_projects.py::test_project_empty_platform \ntests/test_harvest_more_projects.py::test_project_unspecified_platform \n[gw4] [ 50%] RERUN tests/test_harvest_lookup.py::test_lib_lookup_notfound_project \ntests/test_harvest_lookup.py::test_lib_lookup_notfound_project \n[gw5] [ 50%] RERUN tests/test_harvest_helloworld.py::test_cppcheck_project_relative_path \ntests/test_harvest_helloworld.py::test_cppcheck_project_relative_path \n[gw5] [ 50%] FAILED tests/test_harvest_helloworld.py::test_cppcheck_project_relative_path \ntests/test_harvest_helloworld.py::test_cppcheck_project_absolute_path \n[gw9] [ 50%] RERUN tests/test_harvest_lookup.py::test_addon_lookup_notfound_project \ntests/test_harvest_lookup.py::test_addon_lookup_notfound_project \n[gw3] [ 50%] RERUN tests/test_harvest_more_projects.py::test_project_file_no_analyze_all_vs_configs \ntests/test_harvest_more_projects.py::test_project_file_no_analyze_all_vs_configs \n[gw2] [ 50%] RERUN tests/test_exceptionsafety_gaps.py::test_dealloc_throw_array_delete \ntests/test_exceptionsafety_gaps.py::test_dealloc_throw_array_delete \n[gw7] [ 50%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_complex_expressions \ntests/test_clangimport_error_handling.py::test_clangimport_complex_expressions \n[gw6] [ 50%] RERUN tests/test_checktype_gaps.py::test_float_negative_overflow \ntests/test_checktype_gaps.py::test_float_negative_overflow \n[gw8] [ 50%] RERUN tests/test_checkstl_gaps.py::test_known_empty_container_in_algorithm \ntests/test_checkstl_gaps.py::test_known_empty_container_in_algorithm \n[gw0] [ 50%] RERUN tests/test_clangimport.py::test_clangimport_empty_file \ntests/test_clangimport.py::test_clangimport_empty_file \n[gw1] [ 50%] RERUN tests/test_harvest_more_projects.py::test_project_unspecified_platform \ntests/test_harvest_more_projects.py::test_project_unspecified_platform \n[gw0] [ 50%] FAILED tests/test_clangimport.py::test_clangimport_empty_file \ntests/test_clangimport.py::test_clangimport_preprocessor_directives \n[gw4] [ 50%] RERUN tests/test_harvest_lookup.py::test_lib_lookup_notfound_project \ntests/test_harvest_lookup.py::test_lib_lookup_notfound_project \n[gw4] [ 50%] FAILED tests/test_harvest_lookup.py::test_lib_lookup_notfound_project \ntests/test_harvest_lookup.py::test_lib_lookup_notfound_compdb \n[gw5] [ 50%] RERUN tests/test_harvest_helloworld.py::test_cppcheck_project_absolute_path \ntests/test_harvest_helloworld.py::test_cppcheck_project_absolute_path \n[gw9] [ 50%] RERUN tests/test_harvest_lookup.py::test_addon_lookup_notfound_project \ntests/test_harvest_lookup.py::test_addon_lookup_notfound_project \n[gw9] [ 50%] FAILED tests/test_harvest_lookup.py::test_addon_lookup_notfound_project \ntests/test_harvest_lookup.py::test_addon_lookup_notfound_compdb \n[gw3] [ 50%] RERUN tests/test_harvest_more_projects.py::test_project_file_no_analyze_all_vs_configs \ntests/test_harvest_more_projects.py::test_project_file_no_analyze_all_vs_configs \n[gw3] [ 50%] FAILED tests/test_harvest_more_projects.py::test_project_file_no_analyze_all_vs_configs \ntests/test_harvest_more_projects.py::test_project_progress[1-thread] \n[gw2] [ 50%] RERUN tests/test_exceptionsafety_gaps.py::test_dealloc_throw_array_delete \ntests/test_exceptionsafety_gaps.py::test_dealloc_throw_array_delete \n[gw2] [ 50%] FAILED tests/test_exceptionsafety_gaps.py::test_dealloc_throw_array_delete \ntests/test_exceptionsafety_gaps.py::test_dealloc_throw_passed_to_function \n[gw2] [ 50%] PASSED tests/test_exceptionsafety_gaps.py::test_dealloc_throw_passed_to_function \n[gw7] [ 50%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_complex_expressions \ntests/test_clangimport_error_handling.py::test_clangimport_complex_expressions \ntests/test_harvest_dumpfile.py::test_language_c \n[gw6] [ 50%] RERUN tests/test_checktype_gaps.py::test_float_negative_overflow \ntests/test_checktype_gaps.py::test_float_negative_overflow \n[gw6] [ 50%] FAILED tests/test_checktype_gaps.py::test_float_negative_overflow \ntests/test_checktype_gaps.py::test_float_to_char_overflow \n[gw7] [ 50%] FAILED tests/test_clangimport_error_handling.py::test_clangimport_complex_expressions \ntests/test_clangimport_error_handling.py::test_clangimport_nested_structures \n[gw8] [ 50%] RERUN tests/test_checkstl_gaps.py::test_known_empty_container_in_algorithm \ntests/test_checkstl_gaps.py::test_known_empty_container_in_algorithm \n[gw8] [ 50%] FAILED tests/test_checkstl_gaps.py::test_known_empty_container_in_algorithm \ntests/test_checkstl_gaps.py::test_known_empty_container_range_for \n[gw1] [ 50%] RERUN tests/test_harvest_more_projects.py::test_project_unspecified_platform \ntests/test_harvest_more_projects.py::test_project_unspecified_platform \n[gw1] [ 50%] FAILED tests/test_harvest_more_projects.py::test_project_unspecified_platform \ntests/test_harvest_more_projects.py::test_project_unknown_platform \n[gw0] [ 50%] RERUN tests/test_clangimport.py::test_clangimport_preprocessor_directives \ntests/test_clangimport.py::test_clangimport_preprocessor_directives \n[gw4] [ 50%] RERUN tests/test_harvest_lookup.py::test_lib_lookup_notfound_compdb \ntests/test_harvest_lookup.py::test_lib_lookup_notfound_compdb \n[gw5] [ 50%] RERUN tests/test_harvest_helloworld.py::test_cppcheck_project_absolute_path \ntests/test_harvest_helloworld.py::test_cppcheck_project_absolute_path \n[gw5] [ 50%] FAILED tests/test_harvest_helloworld.py::test_cppcheck_project_absolute_path \ntests/test_harvest_helloworld.py::test_suppress_command_line_related \n[gw9] [ 50%] RERUN tests/test_harvest_lookup.py::test_addon_lookup_notfound_compdb \ntests/test_harvest_lookup.py::test_addon_lookup_notfound_compdb \n[gw3] [ 50%] RERUN tests/test_harvest_more_projects.py::test_project_progress[1-thread] \ntests/test_harvest_more_projects.py::test_project_progress[1-thread] \n[gw6] [ 50%] RERUN tests/test_checktype_gaps.py::test_float_to_char_overflow \ntests/test_checktype_gaps.py::test_float_to_char_overflow \n[gw2] [ 51%] RERUN tests/test_harvest_dumpfile.py::test_language_c \ntests/test_harvest_dumpfile.py::test_language_c \n[gw7] [ 51%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_nested_structures \ntests/test_clangimport_error_handling.py::test_clangimport_nested_structures \n[gw8] [ 51%] RERUN tests/test_checkstl_gaps.py::test_known_empty_container_range_for \ntests/test_checkstl_gaps.py::test_known_empty_container_range_for \n[gw1] [ 51%] RERUN tests/test_harvest_more_projects.py::test_project_unknown_platform \ntests/test_harvest_more_projects.py::test_project_unknown_platform \n[gw0] [ 51%] RERUN tests/test_clangimport.py::test_clangimport_preprocessor_directives \ntests/test_clangimport.py::test_clangimport_preprocessor_directives \n[gw4] [ 51%] RERUN tests/test_harvest_lookup.py::test_lib_lookup_notfound_compdb \ntests/test_harvest_lookup.py::test_lib_lookup_notfound_compdb \n[gw0] [ 51%] FAILED tests/test_clangimport.py::test_clangimport_preprocessor_directives \ntests/test_clangimport_advanced.py::test_clangimport_goto_label \n[gw4] [ 51%] FAILED tests/test_harvest_lookup.py::test_lib_lookup_notfound_compdb \ntests/test_harvest_lookup.py::test_lib_lookup_ext_notfound \n[gw4] [ 51%] PASSED tests/test_harvest_lookup.py::test_lib_lookup_ext_notfound \ntests/test_harvest_lookup.py::test_lib_lookup_relative_notfound \n[gw4] [ 51%] PASSED tests/test_harvest_lookup.py::test_lib_lookup_relative_notfound \ntests/test_harvest_other.py::test_file_order \n[gw5] [ 51%] RERUN tests/test_harvest_helloworld.py::test_suppress_command_line_related \ntests/test_harvest_helloworld.py::test_suppress_command_line_related \n[gw9] [ 51%] RERUN tests/test_harvest_lookup.py::test_addon_lookup_notfound_compdb \ntests/test_harvest_lookup.py::test_addon_lookup_notfound_compdb \n[gw9] [ 51%] FAILED tests/test_harvest_lookup.py::test_addon_lookup_notfound_compdb \ntests/test_harvest_lookup.py::test_addon_lookup_ext_notfound \n[gw9] [ 51%] PASSED tests/test_harvest_lookup.py::test_addon_lookup_ext_notfound \ntests/test_harvest_lookup.py::test_addon_lookup_relative_notfound \n[gw9] [ 51%] PASSED tests/test_harvest_lookup.py::test_addon_lookup_relative_notfound \ntests/test_harvest_lookup.py::test_addon_lookup_relative_noext_notfound \n[gw9] [ 51%] PASSED tests/test_harvest_lookup.py::test_addon_lookup_relative_noext_notfound \n[gw3] [ 51%] RERUN tests/test_harvest_more_projects.py::test_project_progress[1-thread] \ntests/test_harvest_more_projects.py::test_project_progress[1-thread] \ntests/test_harvest_lookup.py::test_addon_lookup_absolute \n[gw9] [ 51%] PASSED tests/test_harvest_lookup.py::test_addon_lookup_absolute \n[gw3] [ 51%] FAILED tests/test_harvest_more_projects.py::test_project_progress[1-thread] \ntests/test_harvest_more_projects.py::test_project_progress[2-thread] \ntests/test_harvest_lookup.py::test_addon_lookup_absolute_notfound \n[gw9] [ 51%] PASSED tests/test_harvest_lookup.py::test_addon_lookup_absolute_notfound \ntests/test_harvest_lookup.py::test_addon_lookup_nofile \n[gw9] [ 51%] PASSED tests/test_harvest_lookup.py::test_addon_lookup_nofile \ntests/test_harvest_other.py::test_rule_file_define_multiple \n[gw9] [ 51%] SKIPPED tests/test_harvest_other.py::test_rule_file_define_multiple \n[gw6] [ 51%] RERUN tests/test_checktype_gaps.py::test_float_to_char_overflow \ntests/test_checktype_gaps.py::test_float_to_char_overflow \n[gw6] [ 51%] FAILED tests/test_checktype_gaps.py::test_float_to_char_overflow \ntests/test_checktype_gaps.py::test_float_to_short_overflow \n[gw2] [ 51%] RERUN tests/test_harvest_dumpfile.py::test_language_c \ntests/test_harvest_dumpfile.py::test_language_c \ntests/test_harvest_other.py::test_rule_file_define \n[gw9] [ 51%] SKIPPED tests/test_harvest_other.py::test_rule_file_define \n[gw2] [ 51%] FAILED tests/test_harvest_dumpfile.py::test_language_c \ntests/test_harvest_dumpfile.py::test_language_c_force_c \n[gw7] [ 51%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_nested_structures \ntests/test_clangimport_error_handling.py::test_clangimport_nested_structures \ntests/test_harvest_other.py::test_rule_file_normal \n[gw9] [ 51%] SKIPPED tests/test_harvest_other.py::test_rule_file_normal \n[gw7] [ 51%] FAILED tests/test_clangimport_error_handling.py::test_clangimport_nested_structures \ntests/test_clangimport_error_handling.py::test_clangimport_function_with_many_params \ntests/test_harvest_other.py::test_rule_file_raw \n[gw9] [ 51%] SKIPPED tests/test_harvest_other.py::test_rule_file_raw \ntests/test_harvest_other.py::test_rule \n[gw9] [ 51%] SKIPPED tests/test_harvest_other.py::test_rule \ntests/test_harvest_other.py::test_rule_multiple_files \n[gw9] [ 52%] SKIPPED tests/test_harvest_other.py::test_rule_multiple_files \n[gw8] [ 52%] RERUN tests/test_checkstl_gaps.py::test_known_empty_container_range_for \ntests/test_checkstl_gaps.py::test_known_empty_container_range_for \n[gw8] [ 52%] FAILED tests/test_checkstl_gaps.py::test_known_empty_container_range_for \ntests/test_checkstl_gaps.py::test_erase_iterator_out_of_bounds \n[gw8] [ 52%] PASSED tests/test_checkstl_gaps.py::test_erase_iterator_out_of_bounds \ntests/test_harvest_other.py::test_filelist \n[gw1] [ 52%] RERUN tests/test_harvest_more_projects.py::test_project_unknown_platform \ntests/test_harvest_more_projects.py::test_project_unknown_platform \ntests/test_checkstl_gaps.py::test_vector_insert_invalidates_iterators \n[gw1] [ 52%] FAILED tests/test_harvest_more_projects.py::test_project_unknown_platform \ntests/test_harvest_more_projects.py::test_project_empty_fields \n[gw0] [ 52%] RERUN tests/test_clangimport_advanced.py::test_clangimport_goto_label \ntests/test_clangimport_advanced.py::test_clangimport_goto_label \n[gw4] [ 52%] RERUN tests/test_harvest_other.py::test_file_order \ntests/test_harvest_other.py::test_file_order \n[gw5] [ 52%] RERUN tests/test_harvest_helloworld.py::test_suppress_command_line_related \ntests/test_harvest_helloworld.py::test_suppress_command_line_related \n[gw5] [ 52%] FAILED tests/test_harvest_helloworld.py::test_suppress_command_line_related \ntests/test_harvest_helloworld.py::test_suppress_command_line_absolute \n[gw3] [ 52%] RERUN tests/test_harvest_more_projects.py::test_project_progress[2-thread] \ntests/test_harvest_more_projects.py::test_project_progress[2-thread] \n[gw6] [ 52%] RERUN tests/test_checktype_gaps.py::test_float_to_short_overflow \ntests/test_checktype_gaps.py::test_float_to_short_overflow \n[gw2] [ 52%] RERUN tests/test_harvest_dumpfile.py::test_language_c_force_c \ntests/test_harvest_dumpfile.py::test_language_c_force_c \n[gw7] [ 52%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_function_with_many_params \ntests/test_clangimport_error_handling.py::test_clangimport_function_with_many_params \n[gw8] [ 52%] RERUN tests/test_checkstl_gaps.py::test_vector_insert_invalidates_iterators \ntests/test_checkstl_gaps.py::test_vector_insert_invalidates_iterators \n[gw1] [ 52%] RERUN tests/test_harvest_more_projects.py::test_project_empty_fields \ntests/test_harvest_more_projects.py::test_project_empty_fields \n[gw9] [ 52%] RERUN tests/test_harvest_other.py::test_filelist \ntests/test_harvest_other.py::test_filelist \n[gw0] [ 52%] RERUN tests/test_clangimport_advanced.py::test_clangimport_goto_label \ntests/test_clangimport_advanced.py::test_clangimport_goto_label \n[gw0] [ 52%] FAILED tests/test_clangimport_advanced.py::test_clangimport_goto_label \ntests/test_harvest_other.py::test_ignore_file_relative \n[gw0] [ 52%] PASSED tests/test_harvest_other.py::test_ignore_file_relative \ntests/test_harvest_other.py::test_ignore_file_relative_backslash \n[gw4] [ 52%] RERUN tests/test_harvest_other.py::test_file_order \ntests/test_harvest_other.py::test_file_order \n[gw4] [ 52%] FAILED tests/test_harvest_other.py::test_file_order \ntests/test_harvest_other.py::test_markup \n[gw5] [ 52%] RERUN tests/test_harvest_helloworld.py::test_suppress_command_line_absolute \ntests/test_harvest_helloworld.py::test_suppress_command_line_absolute \n[gw3] [ 52%] RERUN tests/test_harvest_more_projects.py::test_project_progress[2-thread] \ntests/test_harvest_more_projects.py::test_project_progress[2-thread] \n[gw3] [ 52%] FAILED tests/test_harvest_more_projects.py::test_project_progress[2-thread] \ntests/test_harvest_more_projects.py::test_project_progress[2-process] \n[gw6] [ 52%] RERUN tests/test_checktype_gaps.py::test_float_to_short_overflow \ntests/test_checktype_gaps.py::test_float_to_short_overflow \n[gw6] [ 52%] FAILED tests/test_checktype_gaps.py::test_float_to_short_overflow \ntests/test_checktype_gaps.py::test_sign_conversion_constant \n[gw2] [ 52%] RERUN tests/test_harvest_dumpfile.py::test_language_c_force_c \ntests/test_harvest_dumpfile.py::test_language_c_force_c \n[gw2] [ 52%] FAILED tests/test_harvest_dumpfile.py::test_language_c_force_c \ntests/test_harvest_dumpfile.py::test_language_c_force_cpp \n[gw7] [ 52%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_function_with_many_params \ntests/test_clangimport_error_handling.py::test_clangimport_function_with_many_params \n[gw7] [ 52%] FAILED tests/test_clangimport_error_handling.py::test_clangimport_function_with_many_params \ntests/test_clangimport_error_handling.py::test_clangimport_variadic_function \n[gw8] [ 52%] RERUN tests/test_checkstl_gaps.py::test_vector_insert_invalidates_iterators \ntests/test_checkstl_gaps.py::test_vector_insert_invalidates_iterators \n[gw1] [ 52%] RERUN tests/test_harvest_more_projects.py::test_project_empty_fields \ntests/test_harvest_more_projects.py::test_project_empty_fields \n[gw8] [ 52%] FAILED tests/test_checkstl_gaps.py::test_vector_insert_invalidates_iterators \ntests/test_checkstl_gaps.py::test_string_iterator_after_reserve \n[gw1] [ 52%] FAILED tests/test_harvest_more_projects.py::test_project_empty_fields \ntests/test_harvest_more_projects.py::test_project_missing_subproject \n[gw9] [ 52%] RERUN tests/test_harvest_other.py::test_filelist \ntests/test_harvest_other.py::test_filelist \n[gw9] [ 52%] FAILED tests/test_harvest_other.py::test_filelist \ntests/test_harvest_other.py::test_markup_lang \n[gw9] [ 52%] PASSED tests/test_harvest_other.py::test_markup_lang \ntests/test_harvest_other.py::test_cpp_probe \n[gw0] [ 52%] RERUN tests/test_harvest_other.py::test_ignore_file_relative_backslash \ntests/test_harvest_other.py::test_ignore_file_relative_backslash \n[gw5] [ 52%] RERUN tests/test_harvest_helloworld.py::test_suppress_command_line_absolute \ntests/test_harvest_helloworld.py::test_suppress_command_line_absolute \n[gw5] [ 52%] FAILED tests/test_harvest_helloworld.py::test_suppress_command_line_absolute \ntests/test_harvest_helloworld.py::test_suppress_project_relative \n[gw4] [ 52%] RERUN tests/test_harvest_other.py::test_markup \ntests/test_harvest_other.py::test_markup \n[gw3] [ 52%] RERUN tests/test_harvest_more_projects.py::test_project_progress[2-process] \ntests/test_harvest_more_projects.py::test_project_progress[2-process] \n[gw6] [ 52%] RERUN tests/test_checktype_gaps.py::test_sign_conversion_constant \ntests/test_checktype_gaps.py::test_sign_conversion_constant \n[gw2] [ 53%] RERUN tests/test_harvest_dumpfile.py::test_language_c_force_cpp \ntests/test_harvest_dumpfile.py::test_language_c_force_cpp \n[gw7] [ 53%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_variadic_function \ntests/test_clangimport_error_handling.py::test_clangimport_variadic_function \n[gw8] [ 53%] RERUN tests/test_checkstl_gaps.py::test_string_iterator_after_reserve \ntests/test_checkstl_gaps.py::test_string_iterator_after_reserve \n[gw1] [ 53%] RERUN tests/test_harvest_more_projects.py::test_project_missing_subproject \ntests/test_harvest_more_projects.py::test_project_missing_subproject \n[gw9] [ 53%] RERUN tests/test_harvest_other.py::test_cpp_probe \ntests/test_harvest_other.py::test_cpp_probe \n[gw0] [ 53%] RERUN tests/test_harvest_other.py::test_ignore_file_relative_backslash \ntests/test_harvest_other.py::test_ignore_file_relative_backslash \n[gw5] [ 53%] RERUN tests/test_harvest_helloworld.py::test_suppress_project_relative \ntests/test_harvest_helloworld.py::test_suppress_project_relative \n[gw0] [ 53%] FAILED tests/test_harvest_other.py::test_ignore_file_relative_backslash \ntests/test_harvest_other.py::test_ignore_file_relative_wildcard \n[gw0] [ 53%] PASSED tests/test_harvest_other.py::test_ignore_file_relative_wildcard \n[gw4] [ 53%] RERUN tests/test_harvest_other.py::test_markup \ntests/test_harvest_other.py::test_markup \ntests/test_harvest_other.py::test_ignore_file_relative_wildcard_backslash \n[gw3] [ 53%] RERUN tests/test_harvest_more_projects.py::test_project_progress[2-process] \ntests/test_harvest_more_projects.py::test_project_progress[2-process] \n[gw3] [ 53%] FAILED tests/test_harvest_more_projects.py::test_project_progress[2-process] \ntests/test_harvest_other.py::test_missing_include \n[gw4] [ 53%] FAILED tests/test_harvest_other.py::test_markup \ntests/test_harvest_other.py::test_markup_j \n[gw3] [ 53%] PASSED tests/test_harvest_other.py::test_missing_include \ntests/test_harvest_other.py::test_missing_include_check_config \n[gw3] [ 53%] PASSED tests/test_harvest_other.py::test_missing_include_check_config \ntests/test_harvest_other.py::test_missing_include_check_config_j \n[gw3] [ 53%] PASSED tests/test_harvest_other.py::test_missing_include_check_config_j \n[gw6] [ 53%] RERUN tests/test_checktype_gaps.py::test_sign_conversion_constant \ntests/test_checktype_gaps.py::test_sign_conversion_constant \ntests/test_harvest_other.py::test_missing_include_inline_suppr \n[gw6] [ 53%] FAILED tests/test_checktype_gaps.py::test_sign_conversion_constant \n[gw3] [ 53%] PASSED tests/test_harvest_other.py::test_missing_include_inline_suppr \ntests/test_checktype_gaps.py::test_integer_underflow \ntests/test_harvest_other.py::test_preprocessor_error \n[gw3] [ 53%] PASSED tests/test_harvest_other.py::test_preprocessor_error \ntests/test_harvest_other.py::test_color_non_tty[env0-True] \n[gw2] [ 53%] RERUN tests/test_harvest_dumpfile.py::test_language_c_force_cpp \ntests/test_harvest_dumpfile.py::test_language_c_force_cpp \n[gw2] [ 53%] FAILED tests/test_harvest_dumpfile.py::test_language_c_force_cpp \ntests/test_harvest_dumpfile.py::test_language_cpp \n[gw7] [ 53%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_variadic_function \ntests/test_clangimport_error_handling.py::test_clangimport_variadic_function \n[gw7] [ 53%] FAILED tests/test_clangimport_error_handling.py::test_clangimport_variadic_function \ntests/test_clangimport_error_handling.py::test_clangimport_bitfields \n[gw8] [ 53%] RERUN tests/test_checkstl_gaps.py::test_string_iterator_after_reserve \ntests/test_checkstl_gaps.py::test_string_iterator_after_reserve \n[gw1] [ 53%] RERUN tests/test_harvest_more_projects.py::test_project_missing_subproject \ntests/test_harvest_more_projects.py::test_project_missing_subproject \n[gw8] [ 53%] FAILED tests/test_checkstl_gaps.py::test_string_iterator_after_reserve \ntests/test_checkstl_gaps.py::test_map_iterator_stable_across_insert \n[gw8] [ 53%] PASSED tests/test_checkstl_gaps.py::test_map_iterator_stable_across_insert \n[gw1] [ 53%] FAILED tests/test_harvest_more_projects.py::test_project_missing_subproject \ntests/test_harvest_more_projects.py::test_project_std \ntests/test_harvest_other.py::test_xml_output \n[gw9] [ 53%] RERUN tests/test_harvest_other.py::test_cpp_probe \ntests/test_harvest_other.py::test_cpp_probe \n[gw9] [ 53%] FAILED tests/test_harvest_other.py::test_cpp_probe \ntests/test_harvest_other.py::test_cpp_probe_2 \n[gw9] [ 53%] PASSED tests/test_harvest_other.py::test_cpp_probe_2 \ntests/test_harvest_other.py::test_config_invalid \n[gw5] [ 53%] RERUN tests/test_harvest_helloworld.py::test_suppress_project_relative \ntests/test_harvest_helloworld.py::test_suppress_project_relative \n[gw5] [ 53%] FAILED tests/test_harvest_helloworld.py::test_suppress_project_relative \ntests/test_harvest_helloworld.py::test_suppress_project_absolute \n[gw0] [ 53%] RERUN tests/test_harvest_other.py::test_ignore_file_relative_wildcard_backslash \ntests/test_harvest_other.py::test_ignore_file_relative_wildcard_backslash \n[gw4] [ 53%] RERUN tests/test_harvest_other.py::test_markup_j \ntests/test_harvest_other.py::test_markup_j \n[gw6] [ 53%] RERUN tests/test_checktype_gaps.py::test_integer_underflow \ntests/test_checktype_gaps.py::test_integer_underflow \n[gw2] [ 53%] RERUN tests/test_harvest_dumpfile.py::test_language_cpp \ntests/test_harvest_dumpfile.py::test_language_cpp \n[gw3] [ 54%] RERUN tests/test_harvest_other.py::test_color_non_tty[env0-True] \ntests/test_harvest_other.py::test_color_non_tty[env0-True] \n[gw7] [ 54%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_bitfields \ntests/test_clangimport_error_handling.py::test_clangimport_bitfields \n[gw1] [ 54%] RERUN tests/test_harvest_more_projects.py::test_project_std \ntests/test_harvest_more_projects.py::test_project_std \n[gw8] [ 54%] RERUN tests/test_harvest_other.py::test_xml_output \ntests/test_harvest_other.py::test_xml_output \n[gw9] [ 54%] RERUN tests/test_harvest_other.py::test_config_invalid \ntests/test_harvest_other.py::test_config_invalid \n[gw5] [ 54%] RERUN tests/test_harvest_helloworld.py::test_suppress_project_absolute \ntests/test_harvest_helloworld.py::test_suppress_project_absolute \n[gw0] [ 54%] RERUN tests/test_harvest_other.py::test_ignore_file_relative_wildcard_backslash \ntests/test_harvest_other.py::test_ignore_file_relative_wildcard_backslash \n[gw4] [ 54%] RERUN tests/test_harvest_other.py::test_markup_j \ntests/test_harvest_other.py::test_markup_j \n[gw6] [ 54%] RERUN tests/test_checktype_gaps.py::test_integer_underflow \ntests/test_checktype_gaps.py::test_integer_underflow \n[gw4] [ 54%] FAILED tests/test_harvest_other.py::test_markup_j \n[gw0] [ 54%] FAILED tests/test_harvest_other.py::test_ignore_file_relative_wildcard_backslash \ntests/test_harvest_other.py::test_ignore_path_relative \ntests/test_harvest_other.py::test_valueflow_debug \n[gw0] [ 54%] PASSED tests/test_harvest_other.py::test_ignore_path_relative \n[gw6] [ 54%] FAILED tests/test_checktype_gaps.py::test_integer_underflow \ntests/test_checktype_gaps.py::test_sign_conversion_division \ntests/test_harvest_other.py::test_ignore_path_relative_backslash \n[gw2] [ 54%] RERUN tests/test_harvest_dumpfile.py::test_language_cpp \ntests/test_harvest_dumpfile.py::test_language_cpp \n[gw3] [ 54%] RERUN tests/test_harvest_other.py::test_color_non_tty[env0-True] \ntests/test_harvest_other.py::test_color_non_tty[env0-True] \n[gw2] [ 54%] FAILED tests/test_harvest_dumpfile.py::test_language_cpp \ntests/test_harvest_dumpfile.py::test_language_cpp_force_cpp \n[gw3] [ 54%] FAILED tests/test_harvest_other.py::test_color_non_tty[env0-True] \ntests/test_harvest_other.py::test_color_non_tty[env1-False] \n[gw3] [ 54%] PASSED tests/test_harvest_other.py::test_color_non_tty[env1-False] \ntests/test_harvest_other.py::test_color_tty[env0-True] \n[gw7] [ 54%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_bitfields \ntests/test_clangimport_error_handling.py::test_clangimport_bitfields \n[gw3] [ 54%] PASSED tests/test_harvest_other.py::test_color_tty[env0-True] \n[gw1] [ 54%] RERUN tests/test_harvest_more_projects.py::test_project_std \ntests/test_harvest_more_projects.py::test_project_std \n[gw1] [ 54%] FAILED tests/test_harvest_more_projects.py::test_project_std \ntests/test_harvest_more_projects.py::test_clang_tidy \n[gw1] [ 54%] SKIPPED tests/test_harvest_more_projects.py::test_clang_tidy \n[gw7] [ 54%] FAILED tests/test_clangimport_error_handling.py::test_clangimport_bitfields \ntests/test_clangimport_error_handling.py::test_clangimport_union \ntests/test_harvest_other.py::test_color_tty[env1-False] \ntests/test_harvest_more_projects.py::test_project_file_filter[file_filter0] \n[gw8] [ 54%] RERUN tests/test_harvest_other.py::test_xml_output \ntests/test_harvest_other.py::test_xml_output \n[gw8] [ 54%] FAILED tests/test_harvest_other.py::test_xml_output \ntests/test_harvest_other.py::test_outputfile \n[gw8] [ 54%] PASSED tests/test_harvest_other.py::test_outputfile \ntests/test_harvest_other.py::test_internal_error_loc_int \n[gw9] [ 54%] RERUN tests/test_harvest_other.py::test_config_invalid \ntests/test_harvest_other.py::test_config_invalid \n[gw5] [ 54%] RERUN tests/test_harvest_helloworld.py::test_suppress_project_absolute \ntests/test_harvest_helloworld.py::test_suppress_project_absolute \n[gw5] [ 54%] FAILED tests/test_harvest_helloworld.py::test_suppress_project_absolute \ntests/test_harvest_helloworld.py::test_exclude \n[gw9] [ 54%] FAILED tests/test_harvest_other.py::test_config_invalid \ntests/test_harvest_other.py::test_config_override \n[gw9] [ 54%] PASSED tests/test_harvest_other.py::test_config_override \ntests/test_harvest_other.py::test_checkers_report \n[gw9] [ 54%] PASSED tests/test_harvest_other.py::test_checkers_report \ntests/test_harvest_other.py::test_checkers_report_misra_json \n[gw6] [ 54%] RERUN tests/test_checktype_gaps.py::test_sign_conversion_division \ntests/test_checktype_gaps.py::test_sign_conversion_division \n[gw4] [ 54%] RERUN tests/test_harvest_other.py::test_valueflow_debug \ntests/test_harvest_other.py::test_valueflow_debug \n[gw0] [ 54%] RERUN tests/test_harvest_other.py::test_ignore_path_relative_backslash \ntests/test_harvest_other.py::test_ignore_path_relative_backslash \n[gw2] [ 54%] RERUN tests/test_harvest_dumpfile.py::test_language_cpp_force_cpp \ntests/test_harvest_dumpfile.py::test_language_cpp_force_cpp \n[gw7] [ 54%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_union \ntests/test_clangimport_error_handling.py::test_clangimport_union \n[gw3] [ 55%] RERUN tests/test_harvest_other.py::test_color_tty[env1-False] \ntests/test_harvest_other.py::test_color_tty[env1-False] \n[gw1] [ 55%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter[file_filter0] \ntests/test_harvest_more_projects.py::test_project_file_filter[file_filter0] \n[gw8] [ 55%] RERUN tests/test_harvest_other.py::test_internal_error_loc_int \ntests/test_harvest_other.py::test_internal_error_loc_int \n[gw5] [ 55%] RERUN tests/test_harvest_helloworld.py::test_exclude \ntests/test_harvest_helloworld.py::test_exclude \n[gw9] [ 55%] RERUN tests/test_harvest_other.py::test_checkers_report_misra_json \ntests/test_harvest_other.py::test_checkers_report_misra_json \n[gw6] [ 55%] RERUN tests/test_checktype_gaps.py::test_sign_conversion_division \ntests/test_checktype_gaps.py::test_sign_conversion_division \n[gw6] [ 55%] FAILED tests/test_checktype_gaps.py::test_sign_conversion_division \ntests/test_checktype_gaps.py::test_long_cast_shift_operator \n[gw4] [ 55%] RERUN tests/test_harvest_other.py::test_valueflow_debug \ntests/test_harvest_other.py::test_valueflow_debug \n[gw4] [ 55%] FAILED tests/test_harvest_other.py::test_valueflow_debug \ntests/test_harvest_other.py::test_file_duplicate \n[gw4] [ 55%] PASSED tests/test_harvest_other.py::test_file_duplicate \n[gw0] [ 55%] RERUN tests/test_harvest_other.py::test_ignore_path_relative_backslash \ntests/test_harvest_other.py::test_ignore_path_relative_backslash \ntests/test_harvest_other.py::test_file_duplicate_2 \n[gw0] [ 55%] FAILED tests/test_harvest_other.py::test_ignore_path_relative_backslash \ntests/test_harvest_other.py::test_ignore_path_relative_wildcard \n[gw0] [ 55%] PASSED tests/test_harvest_other.py::test_ignore_path_relative_wildcard \n[gw2] [ 55%] RERUN tests/test_harvest_dumpfile.py::test_language_cpp_force_cpp \ntests/test_harvest_dumpfile.py::test_language_cpp_force_cpp \ntests/test_harvest_other.py::test_ignore_path_relative_wildcard_backslash \n[gw2] [ 55%] FAILED tests/test_harvest_dumpfile.py::test_language_cpp_force_cpp \ntests/test_harvest_dumpfile.py::test_language_cpp_force_c \n[gw7] [ 55%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_union \ntests/test_clangimport_error_handling.py::test_clangimport_union \n[gw1] [ 55%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter[file_filter0] \ntests/test_harvest_more_projects.py::test_project_file_filter[file_filter0] \n[gw1] [ 55%] FAILED tests/test_harvest_more_projects.py::test_project_file_filter[file_filter0] \ntests/test_harvest_more_projects.py::test_project_file_filter[file_filter1] \n[gw3] [ 55%] RERUN tests/test_harvest_other.py::test_color_tty[env1-False] \ntests/test_harvest_other.py::test_color_tty[env1-False] \n[gw7] [ 55%] FAILED tests/test_clangimport_error_handling.py::test_clangimport_union \ntests/test_clangimport_error_handling.py::test_clangimport_multidimensional_arrays \n[gw3] [ 55%] FAILED tests/test_harvest_other.py::test_color_tty[env1-False] \ntests/test_harvest_other.py::test_invalid_library \n[gw3] [ 55%] PASSED tests/test_harvest_other.py::test_invalid_library \ntests/test_harvest_other.py::test_message_j \n[gw3] [ 55%] PASSED tests/test_harvest_other.py::test_message_j \ntests/test_harvest_other.py::test_progress \n[gw8] [ 55%] RERUN tests/test_harvest_other.py::test_internal_error_loc_int \ntests/test_harvest_other.py::test_internal_error_loc_int \n[gw8] [ 55%] FAILED tests/test_harvest_other.py::test_internal_error_loc_int \ntests/test_harvest_other.py::test_addon_suppr_inline \n[gw5] [ 55%] RERUN tests/test_harvest_helloworld.py::test_exclude \ntests/test_harvest_helloworld.py::test_exclude \n[gw5] [ 55%] FAILED tests/test_harvest_helloworld.py::test_exclude \ntests/test_harvest_helloworld.py::test_build_dir_dump_output \n[gw9] [ 55%] RERUN tests/test_harvest_other.py::test_checkers_report_misra_json \ntests/test_harvest_other.py::test_checkers_report_misra_json \n[gw9] [ 55%] FAILED tests/test_harvest_other.py::test_checkers_report_misra_json \ntests/test_harvest_other.py::test_ignore_file \n[gw9] [ 55%] PASSED tests/test_harvest_other.py::test_ignore_file \n[gw6] [ 55%] RERUN tests/test_checktype_gaps.py::test_long_cast_shift_operator \ntests/test_checktype_gaps.py::test_long_cast_shift_operator \ntests/test_harvest_other.py::test_ignore_file_append \n[gw9] [ 55%] PASSED tests/test_harvest_other.py::test_ignore_file_append \ntests/test_harvest_other.py::test_ignore_file_wildcard_back \n[gw9] [ 55%] PASSED tests/test_harvest_other.py::test_ignore_file_wildcard_back \ntests/test_harvest_other.py::test_ignore_file_wildcard_front \n[gw9] [ 55%] PASSED tests/test_harvest_other.py::test_ignore_file_wildcard_front \ntests/test_harvest_other.py::test_ignore_file_placeholder \n[gw9] [ 55%] PASSED tests/test_harvest_other.py::test_ignore_file_placeholder \n[gw4] [ 55%] RERUN tests/test_harvest_other.py::test_file_duplicate_2 \ntests/test_harvest_other.py::test_file_duplicate_2 \ntests/test_harvest_other.py::test_ignore_project_2_abspath \n[gw2] [ 55%] RERUN tests/test_harvest_dumpfile.py::test_language_cpp_force_c \ntests/test_harvest_dumpfile.py::test_language_cpp_force_c \n[gw0] [ 55%] RERUN tests/test_harvest_other.py::test_ignore_path_relative_wildcard_backslash \ntests/test_harvest_other.py::test_ignore_path_relative_wildcard_backslash \n[gw1] [ 56%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter[file_filter1] \ntests/test_harvest_more_projects.py::test_project_file_filter[file_filter1] \n[gw7] [ 56%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_multidimensional_arrays \ntests/test_clangimport_error_handling.py::test_clangimport_multidimensional_arrays \n[gw3] [ 56%] RERUN tests/test_harvest_other.py::test_progress \ntests/test_harvest_other.py::test_progress \n[gw8] [ 56%] RERUN tests/test_harvest_other.py::test_addon_suppr_inline \ntests/test_harvest_other.py::test_addon_suppr_inline \n[gw5] [ 56%] RERUN tests/test_harvest_helloworld.py::test_build_dir_dump_output \ntests/test_harvest_helloworld.py::test_build_dir_dump_output \n[gw6] [ 56%] RERUN tests/test_checktype_gaps.py::test_long_cast_shift_operator \ntests/test_checktype_gaps.py::test_long_cast_shift_operator \n[gw6] [ 56%] FAILED tests/test_checktype_gaps.py::test_long_cast_shift_operator \ntests/test_checktype_gaps.py::test_shift_win64_long_32bit \n[gw4] [ 56%] RERUN tests/test_harvest_other.py::test_file_duplicate_2 \ntests/test_harvest_other.py::test_file_duplicate_2 \n[gw9] [ 56%] RERUN tests/test_harvest_other.py::test_ignore_project_2_abspath \ntests/test_harvest_other.py::test_ignore_project_2_abspath \n[gw2] [ 56%] RERUN tests/test_harvest_dumpfile.py::test_language_cpp_force_c \ntests/test_harvest_dumpfile.py::test_language_cpp_force_c \n[gw4] [ 56%] FAILED tests/test_harvest_other.py::test_file_duplicate_2 \ntests/test_harvest_other.py::test_file_duplicate_3 \n[gw2] [ 56%] FAILED tests/test_harvest_dumpfile.py::test_language_cpp_force_c \ntests/test_harvest_dumpfile.py::test_language_h \n[gw0] [ 56%] RERUN tests/test_harvest_other.py::test_ignore_path_relative_wildcard_backslash \ntests/test_harvest_other.py::test_ignore_path_relative_wildcard_backslash \n[gw1] [ 56%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter[file_filter1] \ntests/test_harvest_more_projects.py::test_project_file_filter[file_filter1] \n[gw1] [ 56%] FAILED tests/test_harvest_more_projects.py::test_project_file_filter[file_filter1] \ntests/test_harvest_more_projects.py::test_project_file_filter[file_filter2] \n[gw0] [ 56%] FAILED tests/test_harvest_other.py::test_ignore_path_relative_wildcard_backslash \ntests/test_harvest_other.py::test_ignore_abspath \n[gw0] [ 56%] PASSED tests/test_harvest_other.py::test_ignore_abspath \n[gw7] [ 56%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_multidimensional_arrays \ntests/test_clangimport_error_handling.py::test_clangimport_multidimensional_arrays \ntests/test_harvest_other.py::test_ignore_project_file \n[gw7] [ 56%] FAILED tests/test_clangimport_error_handling.py::test_clangimport_multidimensional_arrays \ntests/test_clangimport_error_handling.py::test_clangimport_static_local_variables \n[gw3] [ 56%] RERUN tests/test_harvest_other.py::test_progress \ntests/test_harvest_other.py::test_progress \n[gw3] [ 56%] FAILED tests/test_harvest_other.py::test_progress \ntests/test_harvest_other.py::test_progress_j \n[gw8] [ 56%] RERUN tests/test_harvest_other.py::test_addon_suppr_inline \ntests/test_harvest_other.py::test_addon_suppr_inline \n[gw8] [ 56%] FAILED tests/test_harvest_other.py::test_addon_suppr_inline \ntests/test_harvest_other.py::test_addon_suppr_inline_j \n[gw5] [ 56%] RERUN tests/test_harvest_helloworld.py::test_build_dir_dump_output \ntests/test_harvest_helloworld.py::test_build_dir_dump_output \n[gw5] [ 56%] FAILED tests/test_harvest_helloworld.py::test_build_dir_dump_output \ntests/test_harvest_helloworld.py::test_checkers_report \n[gw6] [ 56%] RERUN tests/test_checktype_gaps.py::test_shift_win64_long_32bit \ntests/test_checktype_gaps.py::test_shift_win64_long_32bit \n[gw9] [ 56%] RERUN tests/test_harvest_other.py::test_ignore_project_2_abspath \ntests/test_harvest_other.py::test_ignore_project_2_abspath \n[gw4] [ 56%] RERUN tests/test_harvest_other.py::test_file_duplicate_3 \ntests/test_harvest_other.py::test_file_duplicate_3 \n[gw2] [ 56%] RERUN tests/test_harvest_dumpfile.py::test_language_h \ntests/test_harvest_dumpfile.py::test_language_h \n[gw9] [ 56%] FAILED tests/test_harvest_other.py::test_ignore_project_2_abspath \ntests/test_harvest_other.py::test_dumpfile_platform \n[gw9] [ 56%] PASSED tests/test_harvest_other.py::test_dumpfile_platform \n[gw1] [ 56%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter[file_filter2] \ntests/test_harvest_more_projects.py::test_project_file_filter[file_filter2] \ntests/test_harvest_other.py::test_builddir_hash_check_level \n[gw0] [ 56%] RERUN tests/test_harvest_other.py::test_ignore_project_file \ntests/test_harvest_other.py::test_ignore_project_file \n[gw7] [ 56%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_static_local_variables \ntests/test_clangimport_error_handling.py::test_clangimport_static_local_variables \n[gw3] [ 56%] RERUN tests/test_harvest_other.py::test_progress_j \ntests/test_harvest_other.py::test_progress_j \n[gw8] [ 56%] RERUN tests/test_harvest_other.py::test_addon_suppr_inline_j \ntests/test_harvest_other.py::test_addon_suppr_inline_j \n[gw6] [ 56%] RERUN tests/test_checktype_gaps.py::test_shift_win64_long_32bit \ntests/test_checktype_gaps.py::test_shift_win64_long_32bit \n[gw5] [ 56%] RERUN tests/test_harvest_helloworld.py::test_checkers_report \ntests/test_harvest_helloworld.py::test_checkers_report \n[gw6] [ 56%] FAILED tests/test_checktype_gaps.py::test_shift_win64_long_32bit \ntests/test_checktype_gaps.py::test_long_cast_return_float_to_double \n[gw2] [ 56%] RERUN tests/test_harvest_dumpfile.py::test_language_h \ntests/test_harvest_dumpfile.py::test_language_h \n[gw4] [ 56%] RERUN tests/test_harvest_other.py::test_file_duplicate_3 \ntests/test_harvest_other.py::test_file_duplicate_3 \n[gw2] [ 56%] FAILED tests/test_harvest_dumpfile.py::test_language_h \ntests/test_harvest_dumpfile.py::test_language_h_force_c \n[gw4] [ 56%] FAILED tests/test_harvest_other.py::test_file_duplicate_3 \ntests/test_harvest_other.py::test_file_duplicate_4 \n[gw4] [ 56%] SKIPPED tests/test_harvest_other.py::test_file_duplicate_4 \n[gw1] [ 56%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter[file_filter2] \ntests/test_harvest_more_projects.py::test_project_file_filter[file_filter2] \n[gw9] [ 56%] RERUN tests/test_harvest_other.py::test_builddir_hash_check_level \ntests/test_harvest_other.py::test_builddir_hash_check_level \n[gw1] [ 56%] FAILED tests/test_harvest_more_projects.py::test_project_file_filter[file_filter2] \ntests/test_harvest_more_projects.py::test_project_file_filter[file_filter3] \ntests/test_harvest_other.py::test_file_ignore \n[gw4] [ 57%] PASSED tests/test_harvest_other.py::test_file_ignore \ntests/test_harvest_other.py::test_build_dir_j_memleak \n[gw4] [ 57%] PASSED tests/test_harvest_other.py::test_build_dir_j_memleak \n[gw7] [ 57%] RERUN tests/test_clangimport_error_handling.py::test_clangimport_static_local_variables \ntests/test_clangimport_error_handling.py::test_clangimport_static_local_variables \ntests/test_harvest_other.py::test_addon_json_invalid_no_obj \n[gw0] [ 57%] RERUN tests/test_harvest_other.py::test_ignore_project_file \ntests/test_harvest_other.py::test_ignore_project_file \n[gw7] [ 57%] FAILED tests/test_clangimport_error_handling.py::test_clangimport_static_local_variables \ntests/test_harvest_other.py::test_active_unusedfunction_only \n[gw0] [ 57%] FAILED tests/test_harvest_other.py::test_ignore_project_file \ntests/test_harvest_other.py::test_ignore_project_file_cli_prepend \n[gw3] [ 57%] RERUN tests/test_harvest_other.py::test_progress_j \ntests/test_harvest_other.py::test_progress_j \n[gw3] [ 57%] FAILED tests/test_harvest_other.py::test_progress_j \ntests/test_harvest_other.py::test_execute_addon_failure_py_auto \n[gw8] [ 57%] RERUN tests/test_harvest_other.py::test_addon_suppr_inline_j \ntests/test_harvest_other.py::test_addon_suppr_inline_j \n[gw6] [ 57%] RERUN tests/test_checktype_gaps.py::test_long_cast_return_float_to_double \ntests/test_checktype_gaps.py::test_long_cast_return_float_to_double \n[gw5] [ 57%] RERUN tests/test_harvest_helloworld.py::test_checkers_report \ntests/test_harvest_helloworld.py::test_checkers_report \n[gw8] [ 57%] FAILED tests/test_harvest_other.py::test_addon_suppr_inline_j \ntests/test_harvest_other.py::test_addon_suppr_cli_line \n[gw5] [ 57%] FAILED tests/test_harvest_helloworld.py::test_checkers_report \ntests/test_harvest_helloworld.py::test_missing_include_system \n[gw2] [ 57%] RERUN tests/test_harvest_dumpfile.py::test_language_h_force_c \ntests/test_harvest_dumpfile.py::test_language_h_force_c \n[gw1] [ 57%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter[file_filter3] \ntests/test_harvest_more_projects.py::test_project_file_filter[file_filter3] \n[gw9] [ 57%] RERUN tests/test_harvest_other.py::test_builddir_hash_check_level \ntests/test_harvest_other.py::test_builddir_hash_check_level \n[gw9] [ 57%] FAILED tests/test_harvest_other.py::test_builddir_hash_check_level \ntests/test_harvest_other.py::test_def_undef \n[gw4] [ 57%] RERUN tests/test_harvest_other.py::test_addon_json_invalid_no_obj \ntests/test_harvest_other.py::test_addon_json_invalid_no_obj \n[gw7] [ 57%] RERUN tests/test_harvest_other.py::test_active_unusedfunction_only \ntests/test_harvest_other.py::test_active_unusedfunction_only \n[gw0] [ 57%] RERUN tests/test_harvest_other.py::test_ignore_project_file_cli_prepend \ntests/test_harvest_other.py::test_ignore_project_file_cli_prepend \n[gw3] [ 57%] RERUN tests/test_harvest_other.py::test_execute_addon_failure_py_auto \ntests/test_harvest_other.py::test_execute_addon_failure_py_auto \n[gw6] [ 57%] RERUN tests/test_checktype_gaps.py::test_long_cast_return_float_to_double \ntests/test_checktype_gaps.py::test_long_cast_return_float_to_double \n[gw6] [ 57%] FAILED tests/test_checktype_gaps.py::test_long_cast_return_float_to_double \ntests/test_harvest_other.py::test_execute_addon_failure_json_notexist \n[gw8] [ 57%] RERUN tests/test_harvest_other.py::test_addon_suppr_cli_line \ntests/test_harvest_other.py::test_addon_suppr_cli_line \n[gw5] [ 57%] RERUN tests/test_harvest_helloworld.py::test_missing_include_system \ntests/test_harvest_helloworld.py::test_missing_include_system \n[gw2] [ 57%] RERUN tests/test_harvest_dumpfile.py::test_language_h_force_c \ntests/test_harvest_dumpfile.py::test_language_h_force_c \n[gw2] [ 57%] FAILED tests/test_harvest_dumpfile.py::test_language_h_force_c \ntests/test_harvest_dumpfile.py::test_language_h_force_cpp \n[gw1] [ 57%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter[file_filter3] \ntests/test_harvest_more_projects.py::test_project_file_filter[file_filter3] \n[gw1] [ 57%] FAILED tests/test_harvest_more_projects.py::test_project_file_filter[file_filter3] \ntests/test_harvest_more_projects.py::test_project_file_filter_cpp[file_filter0] \n[gw9] [ 57%] RERUN tests/test_harvest_other.py::test_def_undef \ntests/test_harvest_other.py::test_def_undef \n[gw4] [ 57%] RERUN tests/test_harvest_other.py::test_addon_json_invalid_no_obj \ntests/test_harvest_other.py::test_addon_json_invalid_no_obj \n[gw7] [ 57%] RERUN tests/test_harvest_other.py::test_active_unusedfunction_only \ntests/test_harvest_other.py::test_active_unusedfunction_only \n[gw0] [ 57%] RERUN tests/test_harvest_other.py::test_ignore_project_file_cli_prepend \ntests/test_harvest_other.py::test_ignore_project_file_cli_prepend \n[gw4] [ 57%] FAILED tests/test_harvest_other.py::test_addon_json_invalid_no_obj \ntests/test_harvest_other.py::test_addon_json_invalid_args_1 \n[gw7] [ 57%] FAILED tests/test_harvest_other.py::test_active_unusedfunction_only \ntests/test_harvest_other.py::test_active_unusedfunction_only_builddir \n[gw0] [ 57%] FAILED tests/test_harvest_other.py::test_ignore_project_file_cli_prepend \ntests/test_harvest_other.py::test_ignore_project_file_cli_append \n[gw3] [ 57%] RERUN tests/test_harvest_other.py::test_execute_addon_failure_py_auto \ntests/test_harvest_other.py::test_execute_addon_failure_py_auto \n[gw3] [ 57%] FAILED tests/test_harvest_other.py::test_execute_addon_failure_py_auto \ntests/test_harvest_other.py::test_execute_addon_failure_py_notexist \n[gw6] [ 57%] RERUN tests/test_harvest_other.py::test_execute_addon_failure_json_notexist \ntests/test_harvest_other.py::test_execute_addon_failure_json_notexist \n[gw8] [ 57%] RERUN tests/test_harvest_other.py::test_addon_suppr_cli_line \ntests/test_harvest_other.py::test_addon_suppr_cli_line \n[gw5] [ 57%] RERUN tests/test_harvest_helloworld.py::test_missing_include_system \ntests/test_harvest_helloworld.py::test_missing_include_system \n[gw5] [ 57%] FAILED tests/test_harvest_helloworld.py::test_missing_include_system \ntests/test_harvest_helloworld.py::test_sarif \n[gw8] [ 57%] FAILED tests/test_harvest_other.py::test_addon_suppr_cli_line \ntests/test_harvest_other.py::test_addon_suppr_cli_file_line \n[gw2] [ 57%] RERUN tests/test_harvest_dumpfile.py::test_language_h_force_cpp \ntests/test_harvest_dumpfile.py::test_language_h_force_cpp \n[gw1] [ 57%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter_cpp[file_filter0] \ntests/test_harvest_more_projects.py::test_project_file_filter_cpp[file_filter0] \n[gw9] [ 57%] RERUN tests/test_harvest_other.py::test_def_undef \ntests/test_harvest_other.py::test_def_undef \n[gw9] [ 57%] FAILED tests/test_harvest_other.py::test_def_undef \ntests/test_harvest_other.py::test_def_def \n[gw9] [ 57%] XFAIL tests/test_harvest_other.py::test_def_def \ntests/test_harvest_other.py::test_def_undef_def \n[gw9] [ 57%] XFAIL tests/test_harvest_other.py::test_def_undef_def \ntests/test_harvest_other.py::test_undef \n[gw4] [ 57%] RERUN tests/test_harvest_other.py::test_addon_json_invalid_args_1 \ntests/test_harvest_other.py::test_addon_json_invalid_args_1 \n[gw7] [ 58%] RERUN tests/test_harvest_other.py::test_active_unusedfunction_only_builddir \ntests/test_harvest_other.py::test_active_unusedfunction_only_builddir \n[gw0] [ 58%] RERUN tests/test_harvest_other.py::test_ignore_project_file_cli_append \ntests/test_harvest_other.py::test_ignore_project_file_cli_append \n[gw3] [ 58%] RERUN tests/test_harvest_other.py::test_execute_addon_failure_py_notexist \ntests/test_harvest_other.py::test_execute_addon_failure_py_notexist \n[gw6] [ 58%] RERUN tests/test_harvest_other.py::test_execute_addon_failure_json_notexist \ntests/test_harvest_other.py::test_execute_addon_failure_json_notexist \n[gw6] [ 58%] FAILED tests/test_harvest_other.py::test_execute_addon_failure_json_notexist \ntests/test_harvest_other.py::test_execute_addon_path_with_spaces \n[gw6] [ 58%] SKIPPED tests/test_harvest_other.py::test_execute_addon_path_with_spaces \ntests/test_harvest_other.py::test_execute_addon_failure_json_ctu_notexist \n[gw5] [ 58%] RERUN tests/test_harvest_helloworld.py::test_sarif \ntests/test_harvest_helloworld.py::test_sarif \n[gw8] [ 58%] RERUN tests/test_harvest_other.py::test_addon_suppr_cli_file_line \ntests/test_harvest_other.py::test_addon_suppr_cli_file_line \n[gw2] [ 58%] RERUN tests/test_harvest_dumpfile.py::test_language_h_force_cpp \ntests/test_harvest_dumpfile.py::test_language_h_force_cpp \n[gw1] [ 58%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter_cpp[file_filter0] \ntests/test_harvest_more_projects.py::test_project_file_filter_cpp[file_filter0] \n[gw2] [ 58%] FAILED tests/test_harvest_dumpfile.py::test_language_h_force_cpp \ntests/test_harvest_dumpfile.py::test_language_unk \n[gw1] [ 58%] FAILED tests/test_harvest_more_projects.py::test_project_file_filter_cpp[file_filter0] \ntests/test_harvest_more_projects.py::test_project_file_filter_cpp[file_filter1] \n[gw9] [ 58%] RERUN tests/test_harvest_other.py::test_undef \ntests/test_harvest_other.py::test_undef \n[gw7] [ 58%] RERUN tests/test_harvest_other.py::test_active_unusedfunction_only_builddir \ntests/test_harvest_other.py::test_active_unusedfunction_only_builddir \n[gw4] [ 58%] RERUN tests/test_harvest_other.py::test_addon_json_invalid_args_1 \ntests/test_harvest_other.py::test_addon_json_invalid_args_1 \n[gw0] [ 58%] RERUN tests/test_harvest_other.py::test_ignore_project_file_cli_append \ntests/test_harvest_other.py::test_ignore_project_file_cli_append \n[gw4] [ 58%] FAILED tests/test_harvest_other.py::test_addon_json_invalid_args_1 \ntests/test_harvest_other.py::test_addon_json_invalid_args_2 \n[gw7] [ 58%] FAILED tests/test_harvest_other.py::test_active_unusedfunction_only_builddir \ntests/test_harvest_other.py::test_active_unusedfunction_only_misra \n[gw3] [ 58%] RERUN tests/test_harvest_other.py::test_execute_addon_failure_py_notexist \ntests/test_harvest_other.py::test_execute_addon_failure_py_notexist \n[gw0] [ 58%] FAILED tests/test_harvest_other.py::test_ignore_project_file_cli_append \ntests/test_harvest_other.py::test_ignore_project_file_wildcard_back \n[gw3] [ 58%] FAILED tests/test_harvest_other.py::test_execute_addon_failure_py_notexist \ntests/test_harvest_other.py::test_suppress_unmatched_wildcard \n[gw6] [ 58%] RERUN tests/test_harvest_other.py::test_execute_addon_failure_json_ctu_notexist \ntests/test_harvest_other.py::test_execute_addon_failure_json_ctu_notexist \n[gw5] [ 58%] RERUN tests/test_harvest_helloworld.py::test_sarif \ntests/test_harvest_helloworld.py::test_sarif \n[gw8] [ 58%] RERUN tests/test_harvest_other.py::test_addon_suppr_cli_file_line \ntests/test_harvest_other.py::test_addon_suppr_cli_file_line \n[gw5] [ 58%] FAILED tests/test_harvest_helloworld.py::test_sarif \ntests/test_harvest_helloworld.py::test_xml_checkers_report \n[gw8] [ 58%] FAILED tests/test_harvest_other.py::test_addon_suppr_cli_file_line \ntests/test_harvest_other.py::test_addon_suppr_cli_absfile_line \n[gw1] [ 58%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter_cpp[file_filter1] \ntests/test_harvest_more_projects.py::test_project_file_filter_cpp[file_filter1] \n[gw2] [ 58%] RERUN tests/test_harvest_dumpfile.py::test_language_unk \ntests/test_harvest_dumpfile.py::test_language_unk \n[gw9] [ 58%] RERUN tests/test_harvest_other.py::test_undef \ntests/test_harvest_other.py::test_undef \n[gw9] [ 58%] FAILED tests/test_harvest_other.py::test_undef \ntests/test_harvest_other.py::test_undef_src \n[gw9] [ 58%] XFAIL tests/test_harvest_other.py::test_undef_src \ntests/test_harvest_other.py::test_dump_check_config \n[gw9] [ 58%] PASSED tests/test_harvest_other.py::test_dump_check_config \n[gw7] [ 58%] RERUN tests/test_harvest_other.py::test_active_unusedfunction_only_misra \ntests/test_harvest_other.py::test_active_unusedfunction_only_misra \n[gw4] [ 58%] RERUN tests/test_harvest_other.py::test_addon_json_invalid_args_2 \ntests/test_harvest_other.py::test_addon_json_invalid_args_2 \ntests/test_harvest_other.py::test_inline_suppr \n[gw9] [ 58%] PASSED tests/test_harvest_other.py::test_inline_suppr \n[gw0] [ 58%] RERUN tests/test_harvest_other.py::test_ignore_project_file_wildcard_back \ntests/test_harvest_other.py::test_ignore_project_file_wildcard_back \ntests/test_harvest_other.py::test_inline_suppr_j \n[gw9] [ 58%] PASSED tests/test_harvest_other.py::test_inline_suppr_j \n[gw3] [ 58%] RERUN tests/test_harvest_other.py::test_suppress_unmatched_wildcard \ntests/test_harvest_other.py::test_suppress_unmatched_wildcard \ntests/test_harvest_other.py::test_inline_suppr_builddir \n[gw9] [ 59%] PASSED tests/test_harvest_other.py::test_inline_suppr_builddir \ntests/test_harvest_other.py::test_inline_suppr_builddir_cached \n[gw6] [ 59%] RERUN tests/test_harvest_other.py::test_execute_addon_failure_json_ctu_notexist \ntests/test_harvest_other.py::test_execute_addon_failure_json_ctu_notexist \n[gw5] [ 59%] RERUN tests/test_harvest_helloworld.py::test_xml_checkers_report \ntests/test_harvest_helloworld.py::test_xml_checkers_report \n[gw6] [ 59%] FAILED tests/test_harvest_other.py::test_execute_addon_failure_json_ctu_notexist \ntests/test_harvest_other.py::test_execute_addon_file0 \n[gw8] [ 59%] RERUN tests/test_harvest_other.py::test_addon_suppr_cli_absfile_line \ntests/test_harvest_other.py::test_addon_suppr_cli_absfile_line \n[gw1] [ 59%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter_cpp[file_filter1] \ntests/test_harvest_more_projects.py::test_project_file_filter_cpp[file_filter1] \n[gw2] [ 59%] RERUN tests/test_harvest_dumpfile.py::test_language_unk \ntests/test_harvest_dumpfile.py::test_language_unk \n[gw1] [ 59%] FAILED tests/test_harvest_more_projects.py::test_project_file_filter_cpp[file_filter1] \ntests/test_harvest_more_projects.py::test_project_file_filter_c[file_filter0] \n[gw2] [ 59%] FAILED tests/test_harvest_dumpfile.py::test_language_unk \ntests/test_harvest_dumpfile.py::test_language_unk_force_c \n[gw7] [ 59%] RERUN tests/test_harvest_other.py::test_active_unusedfunction_only_misra \ntests/test_harvest_other.py::test_active_unusedfunction_only_misra \n[gw4] [ 59%] RERUN tests/test_harvest_other.py::test_addon_json_invalid_args_2 \ntests/test_harvest_other.py::test_addon_json_invalid_args_2 \n[gw7] [ 59%] FAILED tests/test_harvest_other.py::test_active_unusedfunction_only_misra \ntests/test_harvest_other.py::test_active_unusedfunction_only_misra_builddir \n[gw0] [ 59%] RERUN tests/test_harvest_other.py::test_ignore_project_file_wildcard_back \ntests/test_harvest_other.py::test_ignore_project_file_wildcard_back \n[gw4] [ 59%] FAILED tests/test_harvest_other.py::test_addon_json_invalid_args_2 \ntests/test_harvest_other.py::test_addon_json_invalid_ctu \n[gw3] [ 59%] RERUN tests/test_harvest_other.py::test_suppress_unmatched_wildcard \ntests/test_harvest_other.py::test_suppress_unmatched_wildcard \n[gw9] [ 59%] RERUN tests/test_harvest_other.py::test_inline_suppr_builddir_cached \ntests/test_harvest_other.py::test_inline_suppr_builddir_cached \n[gw0] [ 59%] FAILED tests/test_harvest_other.py::test_ignore_project_file_wildcard_back \ntests/test_harvest_other.py::test_ignore_project_file_wildcard_front \n[gw3] [ 59%] FAILED tests/test_harvest_other.py::test_suppress_unmatched_wildcard \ntests/test_harvest_other.py::test_suppress_unmatched_wildcard_unchecked \n[gw3] [ 59%] PASSED tests/test_harvest_other.py::test_suppress_unmatched_wildcard_unchecked \ntests/test_harvest_other.py::test_preprocess_enforced_c \n[gw3] [ 59%] PASSED tests/test_harvest_other.py::test_preprocess_enforced_c \n[gw5] [ 59%] RERUN tests/test_harvest_helloworld.py::test_xml_checkers_report \ntests/test_harvest_helloworld.py::test_xml_checkers_report \ntests/test_harvest_other.py::test_preprocess_enforced_cpp \n[gw5] [ 59%] FAILED tests/test_harvest_helloworld.py::test_xml_checkers_report \ntests/test_harvest_inline_suppress.py::test_1 \n[gw6] [ 59%] RERUN tests/test_harvest_other.py::test_execute_addon_file0 \ntests/test_harvest_other.py::test_execute_addon_file0 \n[gw8] [ 59%] RERUN tests/test_harvest_other.py::test_addon_suppr_cli_absfile_line \ntests/test_harvest_other.py::test_addon_suppr_cli_absfile_line \n[gw1] [ 59%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter_c[file_filter0] \ntests/test_harvest_more_projects.py::test_project_file_filter_c[file_filter0] \n[gw8] [ 59%] FAILED tests/test_harvest_other.py::test_addon_suppr_cli_absfile_line \ntests/test_harvest_other.py::test_ctu_path_builddir \n[gw2] [ 59%] RERUN tests/test_harvest_dumpfile.py::test_language_unk_force_c \ntests/test_harvest_dumpfile.py::test_language_unk_force_c \n[gw9] [ 59%] RERUN tests/test_harvest_other.py::test_inline_suppr_builddir_cached \ntests/test_harvest_other.py::test_inline_suppr_builddir_cached \n[gw7] [ 59%] RERUN tests/test_harvest_other.py::test_active_unusedfunction_only_misra_builddir \ntests/test_harvest_other.py::test_active_unusedfunction_only_misra_builddir \n[gw9] [ 59%] FAILED tests/test_harvest_other.py::test_inline_suppr_builddir_cached \ntests/test_harvest_other.py::test_inline_suppr_builddir_j \n[gw9] [ 59%] PASSED tests/test_harvest_other.py::test_inline_suppr_builddir_j \n[gw4] [ 59%] RERUN tests/test_harvest_other.py::test_addon_json_invalid_ctu \ntests/test_harvest_other.py::test_addon_json_invalid_ctu \ntests/test_harvest_other.py::test_inline_suppr_builddir_j_cached \n[gw0] [ 59%] RERUN tests/test_harvest_other.py::test_ignore_project_file_wildcard_front \ntests/test_harvest_other.py::test_ignore_project_file_wildcard_front \n[gw5] [ 59%] RERUN tests/test_harvest_inline_suppress.py::test_1 \ntests/test_harvest_inline_suppress.py::test_1 \n[gw3] [ 59%] RERUN tests/test_harvest_other.py::test_preprocess_enforced_cpp \ntests/test_harvest_other.py::test_preprocess_enforced_cpp \n[gw6] [ 59%] RERUN tests/test_harvest_other.py::test_execute_addon_file0 \ntests/test_harvest_other.py::test_execute_addon_file0 \n[gw6] [ 59%] FAILED tests/test_harvest_other.py::test_execute_addon_file0 \ntests/test_harvest_other.py::test_internal_error \n[gw6] [ 59%] SKIPPED tests/test_harvest_other.py::test_internal_error \ntests/test_harvest_other.py::test_addon_ctu_exitcode \n[gw1] [ 59%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter_c[file_filter0] \ntests/test_harvest_more_projects.py::test_project_file_filter_c[file_filter0] \n[gw1] [ 59%] FAILED tests/test_harvest_more_projects.py::test_project_file_filter_c[file_filter0] \ntests/test_harvest_more_projects.py::test_project_file_filter_c[file_filter1] \n[gw8] [ 59%] RERUN tests/test_harvest_other.py::test_ctu_path_builddir \ntests/test_harvest_other.py::test_ctu_path_builddir \n[gw2] [ 59%] RERUN tests/test_harvest_dumpfile.py::test_language_unk_force_c \ntests/test_harvest_dumpfile.py::test_language_unk_force_c \n[gw2] [ 59%] FAILED tests/test_harvest_dumpfile.py::test_language_unk_force_c \ntests/test_harvest_dumpfile.py::test_language_unk_force_cpp \n[gw7] [ 59%] RERUN tests/test_harvest_other.py::test_active_unusedfunction_only_misra_builddir \ntests/test_harvest_other.py::test_active_unusedfunction_only_misra_builddir \n[gw9] [ 59%] RERUN tests/test_harvest_other.py::test_inline_suppr_builddir_j_cached \ntests/test_harvest_other.py::test_inline_suppr_builddir_j_cached \n[gw4] [ 59%] RERUN tests/test_harvest_other.py::test_addon_json_invalid_ctu \ntests/test_harvest_other.py::test_addon_json_invalid_ctu \n[gw7] [ 59%] FAILED tests/test_harvest_other.py::test_active_unusedfunction_only_misra_builddir \ntests/test_harvest_other.py::test_analyzerinfo \n[gw0] [ 59%] RERUN tests/test_harvest_other.py::test_ignore_project_file_wildcard_front \ntests/test_harvest_other.py::test_ignore_project_file_wildcard_front \n[gw5] [ 59%] RERUN tests/test_harvest_inline_suppress.py::test_1 \ntests/test_harvest_inline_suppress.py::test_1 \n[gw4] [ 59%] FAILED tests/test_harvest_other.py::test_addon_json_invalid_ctu \ntests/test_harvest_other.py::test_addon_json_invalid_python \n[gw5] [ 59%] FAILED tests/test_harvest_inline_suppress.py::test_1 \ntests/test_harvest_inline_suppress.py::test_2 \n[gw5] [ 60%] PASSED tests/test_harvest_inline_suppress.py::test_2 \n[gw0] [ 60%] FAILED tests/test_harvest_other.py::test_ignore_project_file_wildcard_front \ntests/test_harvest_other.py::test_ignore_project_file_placeholder \ntests/test_harvest_inline_suppress.py::test_xml \n[gw3] [ 60%] RERUN tests/test_harvest_other.py::test_preprocess_enforced_cpp \ntests/test_harvest_other.py::test_preprocess_enforced_cpp \n[gw3] [ 60%] FAILED tests/test_harvest_other.py::test_preprocess_enforced_cpp \ntests/test_harvest_other.py::test_preprocess_system_include \n[gw3] [ 60%] PASSED tests/test_harvest_other.py::test_preprocess_system_include \ntests/test_harvest_other.py::test_debug_normal \n[gw6] [ 60%] RERUN tests/test_harvest_other.py::test_addon_ctu_exitcode \ntests/test_harvest_other.py::test_addon_ctu_exitcode \n[gw1] [ 60%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter_c[file_filter1] \ntests/test_harvest_more_projects.py::test_project_file_filter_c[file_filter1] \n[gw8] [ 60%] RERUN tests/test_harvest_other.py::test_ctu_path_builddir \ntests/test_harvest_other.py::test_ctu_path_builddir \n[gw2] [ 60%] RERUN tests/test_harvest_dumpfile.py::test_language_unk_force_cpp \ntests/test_harvest_dumpfile.py::test_language_unk_force_cpp \n[gw8] [ 60%] FAILED tests/test_harvest_other.py::test_ctu_path_builddir \ntests/test_harvest_other.py::test_ctu_builddir \n[gw8] [ 60%] XFAIL tests/test_harvest_other.py::test_ctu_builddir \ntests/test_harvest_other.py::test_debug \n[gw9] [ 60%] RERUN tests/test_harvest_other.py::test_inline_suppr_builddir_j_cached \ntests/test_harvest_other.py::test_inline_suppr_builddir_j_cached \n[gw9] [ 60%] FAILED tests/test_harvest_other.py::test_inline_suppr_builddir_j_cached \ntests/test_harvest_other.py::test_duplicate_suppression \n[gw7] [ 60%] RERUN tests/test_harvest_other.py::test_analyzerinfo \ntests/test_harvest_other.py::test_analyzerinfo \n[gw5] [ 60%] RERUN tests/test_harvest_inline_suppress.py::test_xml \ntests/test_harvest_inline_suppress.py::test_xml \n[gw4] [ 60%] RERUN tests/test_harvest_other.py::test_addon_json_invalid_python \ntests/test_harvest_other.py::test_addon_json_invalid_python \n[gw0] [ 60%] RERUN tests/test_harvest_other.py::test_ignore_project_file_placeholder \ntests/test_harvest_other.py::test_ignore_project_file_placeholder \n[gw3] [ 60%] RERUN tests/test_harvest_other.py::test_debug_normal \ntests/test_harvest_other.py::test_debug_normal \n[gw1] [ 60%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter_c[file_filter1] \ntests/test_harvest_more_projects.py::test_project_file_filter_c[file_filter1] \n[gw6] [ 60%] RERUN tests/test_harvest_other.py::test_addon_ctu_exitcode \ntests/test_harvest_other.py::test_addon_ctu_exitcode \n[gw1] [ 60%] FAILED tests/test_harvest_more_projects.py::test_project_file_filter_c[file_filter1] \ntests/test_harvest_more_projects.py::test_project_relpath_file_filter_abspath \n[gw6] [ 60%] FAILED tests/test_harvest_other.py::test_addon_ctu_exitcode \ntests/test_harvest_other.py::test_addon_misra \n[gw2] [ 60%] RERUN tests/test_harvest_dumpfile.py::test_language_unk_force_cpp \ntests/test_harvest_dumpfile.py::test_language_unk_force_cpp \n[gw2] [ 60%] FAILED tests/test_harvest_dumpfile.py::test_language_unk_force_cpp \ntests/test_harvest_dumpfile.py::test_duplicate_file_entries \n[gw8] [ 60%] RERUN tests/test_harvest_other.py::test_debug \ntests/test_harvest_other.py::test_debug \n[gw9] [ 60%] RERUN tests/test_harvest_other.py::test_duplicate_suppression \ntests/test_harvest_other.py::test_duplicate_suppression \n[gw5] [ 60%] RERUN tests/test_harvest_inline_suppress.py::test_xml \ntests/test_harvest_inline_suppress.py::test_xml \n[gw7] [ 60%] RERUN tests/test_harvest_other.py::test_analyzerinfo \ntests/test_harvest_other.py::test_analyzerinfo \n[gw5] [ 60%] FAILED tests/test_harvest_inline_suppress.py::test_xml \ntests/test_harvest_inline_suppress.py::test_unmatched_suppression \n[gw5] [ 60%] PASSED tests/test_harvest_inline_suppress.py::test_unmatched_suppression \n[gw4] [ 60%] RERUN tests/test_harvest_other.py::test_addon_json_invalid_python \ntests/test_harvest_other.py::test_addon_json_invalid_python \ntests/test_harvest_inline_suppress.py::test_unmatched_suppression_path_with_extra_stuff \n[gw7] [ 60%] FAILED tests/test_harvest_other.py::test_analyzerinfo \ntests/test_harvest_performance.py::test_slow_array_many_floats \n[gw5] [ 60%] PASSED tests/test_harvest_inline_suppress.py::test_unmatched_suppression_path_with_extra_stuff \n[gw0] [ 60%] RERUN tests/test_harvest_other.py::test_ignore_project_file_placeholder \ntests/test_harvest_other.py::test_ignore_project_file_placeholder \ntests/test_harvest_inline_suppress.py::test_backwards_compatibility \n[gw4] [ 60%] FAILED tests/test_harvest_other.py::test_addon_json_invalid_python \ntests/test_harvest_other.py::test_addon_json_invalid_executable \n[gw0] [ 60%] FAILED tests/test_harvest_other.py::test_ignore_project_file_placeholder \ntests/test_harvest_other.py::test_ignore_project_file_relative \n[gw7] [ 60%] PASSED tests/test_harvest_performance.py::test_slow_array_many_floats \ntests/test_harvest_performance.py::test_slow_array_many_strings \n[gw1] [ 60%] RERUN tests/test_harvest_more_projects.py::test_project_relpath_file_filter_abspath \ntests/test_harvest_more_projects.py::test_project_relpath_file_filter_abspath \n[gw3] [ 60%] RERUN tests/test_harvest_other.py::test_debug_normal \ntests/test_harvest_other.py::test_debug_normal \n[gw7] [ 60%] PASSED tests/test_harvest_performance.py::test_slow_array_many_strings \ntests/test_harvest_performance.py::test_slow_long_line \n[gw7] [ 61%] PASSED tests/test_harvest_performance.py::test_slow_long_line \n[gw6] [ 61%] RERUN tests/test_harvest_other.py::test_addon_misra \ntests/test_harvest_other.py::test_addon_misra \n[gw3] [ 61%] FAILED tests/test_harvest_other.py::test_debug_normal \ntests/test_harvest_other.py::test_debug_normal_verbose_nodiff \n[gw2] [ 61%] RERUN tests/test_harvest_dumpfile.py::test_duplicate_file_entries \ntests/test_harvest_dumpfile.py::test_duplicate_file_entries \ntests/test_harvest_performance.py::test_slow_large_constant_expression \n[gw3] [ 61%] XFAIL tests/test_harvest_other.py::test_debug_normal_verbose_nodiff \ntests/test_harvest_other.py::test_debug_simplified \n[gw8] [ 61%] RERUN tests/test_harvest_other.py::test_debug \ntests/test_harvest_other.py::test_debug \n[gw8] [ 61%] FAILED tests/test_harvest_other.py::test_debug \ntests/test_harvest_other.py::test_debug_xml \n[gw7] [ 61%] PASSED tests/test_harvest_performance.py::test_slow_large_constant_expression \ntests/test_harvest_performance.py::test_slow_exprid \n[gw9] [ 61%] RERUN tests/test_harvest_other.py::test_duplicate_suppression \ntests/test_harvest_other.py::test_duplicate_suppression \n[gw9] [ 61%] FAILED tests/test_harvest_other.py::test_duplicate_suppression \ntests/test_harvest_other.py::test_duplicate_suppressions_list \n[gw7] [ 61%] PASSED tests/test_harvest_performance.py::test_slow_exprid \ntests/test_harvest_performance.py::test_stack_overflow_AST \n[gw5] [ 61%] RERUN tests/test_harvest_inline_suppress.py::test_backwards_compatibility \ntests/test_harvest_inline_suppress.py::test_backwards_compatibility \n[gw4] [ 61%] RERUN tests/test_harvest_other.py::test_addon_json_invalid_executable \ntests/test_harvest_other.py::test_addon_json_invalid_executable \n[gw0] [ 61%] RERUN tests/test_harvest_other.py::test_ignore_project_file_relative \ntests/test_harvest_other.py::test_ignore_project_file_relative \n[gw1] [ 61%] RERUN tests/test_harvest_more_projects.py::test_project_relpath_file_filter_abspath \ntests/test_harvest_more_projects.py::test_project_relpath_file_filter_abspath \n[gw1] [ 61%] FAILED tests/test_harvest_more_projects.py::test_project_relpath_file_filter_abspath \ntests/test_harvest_more_projects.py::test_project_abspath_file_filter_relpath \n[gw2] [ 61%] RERUN tests/test_harvest_dumpfile.py::test_duplicate_file_entries \ntests/test_harvest_dumpfile.py::test_duplicate_file_entries \n[gw2] [ 61%] FAILED tests/test_harvest_dumpfile.py::test_duplicate_file_entries \ntests/test_harvest_dumpfile.py::test_container_methods \n[gw6] [ 61%] RERUN tests/test_harvest_other.py::test_addon_misra \ntests/test_harvest_other.py::test_addon_misra \n[gw6] [ 61%] FAILED tests/test_harvest_other.py::test_addon_misra \ntests/test_harvest_other.py::test_addon_y2038 \n[gw3] [ 61%] RERUN tests/test_harvest_other.py::test_debug_simplified \ntests/test_harvest_other.py::test_debug_simplified \n[gw8] [ 61%] RERUN tests/test_harvest_other.py::test_debug_xml \ntests/test_harvest_other.py::test_debug_xml \n[gw9] [ 61%] RERUN tests/test_harvest_other.py::test_duplicate_suppressions_list \ntests/test_harvest_other.py::test_duplicate_suppressions_list \n[gw5] [ 61%] RERUN tests/test_harvest_inline_suppress.py::test_backwards_compatibility \ntests/test_harvest_inline_suppress.py::test_backwards_compatibility \n[gw5] [ 61%] FAILED tests/test_harvest_inline_suppress.py::test_backwards_compatibility \ntests/test_harvest_inline_suppress.py::test_compile_commands_unused_function \n[gw1] [ 61%] RERUN tests/test_harvest_more_projects.py::test_project_abspath_file_filter_relpath \ntests/test_harvest_more_projects.py::test_project_abspath_file_filter_relpath \n[gw4] [ 61%] RERUN tests/test_harvest_other.py::test_addon_json_invalid_executable \ntests/test_harvest_other.py::test_addon_json_invalid_executable \n[gw0] [ 61%] RERUN tests/test_harvest_other.py::test_ignore_project_file_relative \ntests/test_harvest_other.py::test_ignore_project_file_relative \n[gw2] [ 61%] RERUN tests/test_harvest_dumpfile.py::test_container_methods \ntests/test_harvest_dumpfile.py::test_container_methods \n[gw4] [ 61%] FAILED tests/test_harvest_other.py::test_addon_json_invalid_executable \ntests/test_harvest_other.py::test_addon_json_invalid_script_1 \n[gw0] [ 61%] FAILED tests/test_harvest_other.py::test_ignore_project_file_relative \ntests/test_harvest_other.py::test_ignore_project_file_relative_backslash \n[gw6] [ 61%] RERUN tests/test_harvest_other.py::test_addon_y2038 \ntests/test_harvest_other.py::test_addon_y2038 \n[gw3] [ 61%] RERUN tests/test_harvest_other.py::test_debug_simplified \ntests/test_harvest_other.py::test_debug_simplified \n[gw3] [ 61%] FAILED tests/test_harvest_other.py::test_debug_simplified \ntests/test_harvest_other.py::test_debug_simplified_verbose_nodiff \n[gw8] [ 61%] RERUN tests/test_harvest_other.py::test_debug_xml \ntests/test_harvest_other.py::test_debug_xml \n[gw8] [ 61%] FAILED tests/test_harvest_other.py::test_debug_xml \ntests/test_harvest_other.py::test_debug_verbose \n[gw9] [ 61%] RERUN tests/test_harvest_other.py::test_duplicate_suppressions_list \ntests/test_harvest_other.py::test_duplicate_suppressions_list \n[gw9] [ 61%] FAILED tests/test_harvest_other.py::test_duplicate_suppressions_list \ntests/test_harvest_other.py::test_duplicate_suppressions_mixed \n[gw5] [ 61%] RERUN tests/test_harvest_inline_suppress.py::test_compile_commands_unused_function \ntests/test_harvest_inline_suppress.py::test_compile_commands_unused_function \n[gw1] [ 61%] RERUN tests/test_harvest_more_projects.py::test_project_abspath_file_filter_relpath \ntests/test_harvest_more_projects.py::test_project_abspath_file_filter_relpath \n[gw1] [ 61%] FAILED tests/test_harvest_more_projects.py::test_project_abspath_file_filter_relpath \ntests/test_harvest_more_projects.py::test_project_pathmatch_other_cwd \n[gw2] [ 61%] RERUN tests/test_harvest_dumpfile.py::test_container_methods \ntests/test_harvest_dumpfile.py::test_container_methods \n[gw2] [ 61%] FAILED tests/test_harvest_dumpfile.py::test_container_methods \ntests/test_harvest_fuzz.py::test_fuzz_crash \n[gw0] [ 61%] RERUN tests/test_harvest_other.py::test_ignore_project_file_relative_backslash \ntests/test_harvest_other.py::test_ignore_project_file_relative_backslash \n[gw4] [ 61%] RERUN tests/test_harvest_other.py::test_addon_json_invalid_script_1 \ntests/test_harvest_other.py::test_addon_json_invalid_script_1 \n[gw6] [ 61%] RERUN tests/test_harvest_other.py::test_addon_y2038 \ntests/test_harvest_other.py::test_addon_y2038 \n[gw6] [ 61%] FAILED tests/test_harvest_other.py::test_addon_y2038 \ntests/test_harvest_other.py::test_addon_threadsafety \n[gw3] [ 62%] RERUN tests/test_harvest_other.py::test_debug_simplified_verbose_nodiff \ntests/test_harvest_other.py::test_debug_simplified_verbose_nodiff \n[gw8] [ 62%] RERUN tests/test_harvest_other.py::test_debug_verbose \ntests/test_harvest_other.py::test_debug_verbose \n[gw2] [ 62%] PASSED tests/test_harvest_fuzz.py::test_fuzz_crash \ntests/test_harvest_fuzz.py::test_fuzz_crash_c \n[gw2] [ 62%] PASSED tests/test_harvest_fuzz.py::test_fuzz_crash_c \ntests/test_harvest_fuzz.py::test_fuzz_timeout \n[gw2] [ 62%] PASSED tests/test_harvest_fuzz.py::test_fuzz_timeout \ntests/test_harvest_helloworld.py::test_relative_path \n[gw9] [ 62%] RERUN tests/test_harvest_other.py::test_duplicate_suppressions_mixed \ntests/test_harvest_other.py::test_duplicate_suppressions_mixed \n[gw5] [ 62%] RERUN tests/test_harvest_inline_suppress.py::test_compile_commands_unused_function \ntests/test_harvest_inline_suppress.py::test_compile_commands_unused_function \n[gw5] [ 62%] FAILED tests/test_harvest_inline_suppress.py::test_compile_commands_unused_function \ntests/test_harvest_inline_suppress.py::test_compile_commands_unused_function_j \n[gw5] [ 62%] SKIPPED tests/test_harvest_inline_suppress.py::test_compile_commands_unused_function_j \ntests/test_harvest_inline_suppress.py::test_unused_function_unmatched \n[gw1] [ 62%] RERUN tests/test_harvest_more_projects.py::test_project_pathmatch_other_cwd \ntests/test_harvest_more_projects.py::test_project_pathmatch_other_cwd \n[gw0] [ 62%] RERUN tests/test_harvest_other.py::test_ignore_project_file_relative_backslash \ntests/test_harvest_other.py::test_ignore_project_file_relative_backslash \n[gw4] [ 62%] RERUN tests/test_harvest_other.py::test_addon_json_invalid_script_1 \ntests/test_harvest_other.py::test_addon_json_invalid_script_1 \n[gw0] [ 62%] FAILED tests/test_harvest_other.py::test_ignore_project_file_relative_backslash \ntests/test_harvest_other.py::test_ignore_project_path_relative \n[gw4] [ 62%] FAILED tests/test_harvest_other.py::test_addon_json_invalid_script_1 \ntests/test_harvest_other.py::test_addon_json_invalid_script_2 \n[gw6] [ 62%] RERUN tests/test_harvest_other.py::test_addon_threadsafety \ntests/test_harvest_other.py::test_addon_threadsafety \n[gw3] [ 62%] RERUN tests/test_harvest_other.py::test_debug_simplified_verbose_nodiff \ntests/test_harvest_other.py::test_debug_simplified_verbose_nodiff \n[gw8] [ 62%] RERUN tests/test_harvest_other.py::test_debug_verbose \ntests/test_harvest_other.py::test_debug_verbose \n[gw3] [ 62%] FAILED tests/test_harvest_other.py::test_debug_simplified_verbose_nodiff \ntests/test_harvest_other.py::test_debug_symdb \n[gw8] [ 62%] FAILED tests/test_harvest_other.py::test_debug_verbose \ntests/test_harvest_other.py::test_debug_verbose_xml \n[gw2] [ 62%] RERUN tests/test_harvest_helloworld.py::test_relative_path \ntests/test_harvest_helloworld.py::test_relative_path \n[gw9] [ 62%] RERUN tests/test_harvest_other.py::test_duplicate_suppressions_mixed \ntests/test_harvest_other.py::test_duplicate_suppressions_mixed \n[gw5] [ 62%] RERUN tests/test_harvest_inline_suppress.py::test_unused_function_unmatched \ntests/test_harvest_inline_suppress.py::test_unused_function_unmatched \n[gw9] [ 62%] FAILED tests/test_harvest_other.py::test_duplicate_suppressions_mixed \ntests/test_harvest_proj2.py::test_absolute_path \n[gw1] [ 62%] RERUN tests/test_harvest_more_projects.py::test_project_pathmatch_other_cwd \ntests/test_harvest_more_projects.py::test_project_pathmatch_other_cwd \n[gw1] [ 62%] FAILED tests/test_harvest_more_projects.py::test_project_pathmatch_other_cwd \ntests/test_harvest_more_projects.py::test_project_file_filter_no_match \n[gw0] [ 62%] RERUN tests/test_harvest_other.py::test_ignore_project_path_relative \ntests/test_harvest_other.py::test_ignore_project_path_relative \n[gw6] [ 62%] RERUN tests/test_harvest_other.py::test_addon_threadsafety \ntests/test_harvest_other.py::test_addon_threadsafety \n[gw4] [ 62%] RERUN tests/test_harvest_other.py::test_addon_json_invalid_script_2 \ntests/test_harvest_other.py::test_addon_json_invalid_script_2 \n[gw6] [ 62%] FAILED tests/test_harvest_other.py::test_addon_threadsafety \ntests/test_harvest_other.py::test_addon_naming \n[gw3] [ 62%] RERUN tests/test_harvest_other.py::test_debug_symdb \ntests/test_harvest_other.py::test_debug_symdb \n[gw8] [ 62%] RERUN tests/test_harvest_other.py::test_debug_verbose_xml \ntests/test_harvest_other.py::test_debug_verbose_xml \n[gw2] [ 62%] RERUN tests/test_harvest_helloworld.py::test_relative_path \ntests/test_harvest_helloworld.py::test_relative_path \n[gw2] [ 62%] FAILED tests/test_harvest_helloworld.py::test_relative_path \ntests/test_harvest_helloworld.py::test_local_path \n[gw5] [ 62%] RERUN tests/test_harvest_inline_suppress.py::test_unused_function_unmatched \ntests/test_harvest_inline_suppress.py::test_unused_function_unmatched \n[gw5] [ 62%] FAILED tests/test_harvest_inline_suppress.py::test_unused_function_unmatched \ntests/test_harvest_inline_suppress.py::test_unused_function_unmatched_j \n[gw5] [ 62%] XFAIL tests/test_harvest_inline_suppress.py::test_unused_function_unmatched_j \n[gw9] [ 62%] RERUN tests/test_harvest_proj2.py::test_absolute_path \ntests/test_harvest_proj2.py::test_absolute_path \ntests/test_harvest_inline_suppress.py::test_unused_function_unmatched_builddir \n[gw5] [ 62%] PASSED tests/test_harvest_inline_suppress.py::test_unused_function_unmatched_builddir \ntests/test_harvest_inline_suppress.py::test_unused_function_unmatched_builddir_j_thread \n[gw1] [ 62%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter_no_match \ntests/test_harvest_more_projects.py::test_project_file_filter_no_match \n[gw5] [ 63%] PASSED tests/test_harvest_inline_suppress.py::test_unused_function_unmatched_builddir_j_thread \ntests/test_harvest_inline_suppress.py::test_unused_function_unmatched_builddir_j_process \n[gw5] [ 63%] PASSED tests/test_harvest_inline_suppress.py::test_unused_function_unmatched_builddir_j_process \ntests/test_harvest_inline_suppress.py::test_unused_function_disabled_unmatched \n[gw5] [ 63%] PASSED tests/test_harvest_inline_suppress.py::test_unused_function_disabled_unmatched \ntests/test_harvest_inline_suppress.py::test_unmatched_cfg \n[gw5] [ 63%] PASSED tests/test_harvest_inline_suppress.py::test_unmatched_cfg \ntests/test_harvest_inline_suppress.py::test_unused_function_disabled_unmatched_j \n[gw0] [ 63%] RERUN tests/test_harvest_other.py::test_ignore_project_path_relative \ntests/test_harvest_other.py::test_ignore_project_path_relative \n[gw4] [ 63%] RERUN tests/test_harvest_other.py::test_addon_json_invalid_script_2 \ntests/test_harvest_other.py::test_addon_json_invalid_script_2 \n[gw0] [ 63%] FAILED tests/test_harvest_other.py::test_ignore_project_path_relative \ntests/test_harvest_other.py::test_ignore_project_path_relative_backslash \n[gw6] [ 63%] RERUN tests/test_harvest_other.py::test_addon_naming \ntests/test_harvest_other.py::test_addon_naming \n[gw4] [ 63%] FAILED tests/test_harvest_other.py::test_addon_json_invalid_script_2 \ntests/test_harvest_other.py::test_unknown_extension \n[gw4] [ 63%] PASSED tests/test_harvest_other.py::test_unknown_extension \ntests/test_harvest_other.py::test_ast_max_depth \n[gw3] [ 63%] RERUN tests/test_harvest_other.py::test_debug_symdb \ntests/test_harvest_other.py::test_debug_symdb \n[gw8] [ 63%] RERUN tests/test_harvest_other.py::test_debug_verbose_xml \ntests/test_harvest_other.py::test_debug_verbose_xml \n[gw8] [ 63%] FAILED tests/test_harvest_other.py::test_debug_verbose_xml \ntests/test_harvest_other.py::test_debug_template \n[gw3] [ 63%] FAILED tests/test_harvest_other.py::test_debug_symdb \ntests/test_harvest_other.py::test_debug_symdb_verbose_nodiff \n[gw3] [ 63%] SKIPPED tests/test_harvest_other.py::test_debug_symdb_verbose_nodiff \ntests/test_harvest_other.py::test_debug_ast \n[gw2] [ 63%] RERUN tests/test_harvest_helloworld.py::test_local_path \ntests/test_harvest_helloworld.py::test_local_path \n[gw9] [ 63%] RERUN tests/test_harvest_proj2.py::test_absolute_path \ntests/test_harvest_proj2.py::test_absolute_path \n[gw9] [ 63%] FAILED tests/test_harvest_proj2.py::test_absolute_path \ntests/test_harvest_proj2.py::test_gui_project_loads_compile_commands_1 \n[gw1] [ 63%] RERUN tests/test_harvest_more_projects.py::test_project_file_filter_no_match \ntests/test_harvest_more_projects.py::test_project_file_filter_no_match \n[gw1] [ 63%] FAILED tests/test_harvest_more_projects.py::test_project_file_filter_no_match \ntests/test_harvest_more_projects.py::test_project_file_order \n[gw5] [ 63%] RERUN tests/test_harvest_inline_suppress.py::test_unused_function_disabled_unmatched_j \ntests/test_harvest_inline_suppress.py::test_unused_function_disabled_unmatched_j \n[gw6] [ 63%] RERUN tests/test_harvest_other.py::test_addon_naming \ntests/test_harvest_other.py::test_addon_naming \n[gw0] [ 63%] RERUN tests/test_harvest_other.py::test_ignore_project_path_relative_backslash \ntests/test_harvest_other.py::test_ignore_project_path_relative_backslash \n[gw6] [ 63%] FAILED tests/test_harvest_other.py::test_addon_naming \ntests/test_harvest_other.py::test_addon_namingng \n[gw4] [ 63%] RERUN tests/test_harvest_other.py::test_ast_max_depth \ntests/test_harvest_other.py::test_ast_max_depth \n[gw8] [ 63%] RERUN tests/test_harvest_other.py::test_debug_template \ntests/test_harvest_other.py::test_debug_template \n[gw3] [ 63%] RERUN tests/test_harvest_other.py::test_debug_ast \ntests/test_harvest_other.py::test_debug_ast \n[gw2] [ 63%] RERUN tests/test_harvest_helloworld.py::test_local_path \ntests/test_harvest_helloworld.py::test_local_path \n[gw2] [ 63%] FAILED tests/test_harvest_helloworld.py::test_local_path \ntests/test_harvest_helloworld.py::test_absolute_path \n[gw9] [ 63%] RERUN tests/test_harvest_proj2.py::test_gui_project_loads_compile_commands_1 \ntests/test_harvest_proj2.py::test_gui_project_loads_compile_commands_1 \n[gw1] [ 63%] RERUN tests/test_harvest_more_projects.py::test_project_file_order \ntests/test_harvest_more_projects.py::test_project_file_order \n[gw5] [ 63%] RERUN tests/test_harvest_inline_suppress.py::test_unused_function_disabled_unmatched_j \ntests/test_harvest_inline_suppress.py::test_unused_function_disabled_unmatched_j \n[gw5] [ 63%] FAILED tests/test_harvest_inline_suppress.py::test_unused_function_disabled_unmatched_j \ntests/test_harvest_inline_suppress.py::test_misra_disabled_unmatched \n[gw0] [ 63%] RERUN tests/test_harvest_other.py::test_ignore_project_path_relative_backslash \ntests/test_harvest_other.py::test_ignore_project_path_relative_backslash \n[gw6] [ 63%] RERUN tests/test_harvest_other.py::test_addon_namingng \ntests/test_harvest_other.py::test_addon_namingng \n[gw0] [ 63%] FAILED tests/test_harvest_other.py::test_ignore_project_path_relative_backslash \ntests/test_harvest_other.py::test_ignore_project_abspath \n[gw4] [ 63%] RERUN tests/test_harvest_other.py::test_ast_max_depth \ntests/test_harvest_other.py::test_ast_max_depth \n[gw4] [ 63%] FAILED tests/test_harvest_other.py::test_ast_max_depth \ntests/test_harvest_other.py::test_misra_disabled_unmatched \n[gw8] [ 63%] RERUN tests/test_harvest_other.py::test_debug_template \ntests/test_harvest_other.py::test_debug_template \n[gw3] [ 63%] RERUN tests/test_harvest_other.py::test_debug_ast \ntests/test_harvest_other.py::test_debug_ast \n[gw2] [ 63%] RERUN tests/test_harvest_helloworld.py::test_absolute_path \ntests/test_harvest_helloworld.py::test_absolute_path \n[gw8] [ 63%] FAILED tests/test_harvest_other.py::test_debug_template \ntests/test_harvest_other.py::test_debug_template_verbose_nodiff \n[gw9] [ 63%] RERUN tests/test_harvest_proj2.py::test_gui_project_loads_compile_commands_1 \ntests/test_harvest_proj2.py::test_gui_project_loads_compile_commands_1 \n[gw9] [ 63%] FAILED tests/test_harvest_proj2.py::test_gui_project_loads_compile_commands_1 \ntests/test_harvest_proj2.py::test_gui_project_loads_compile_commands_2 \n[gw3] [ 63%] FAILED tests/test_harvest_other.py::test_debug_ast \ntests/test_harvest_other.py::test_debug_ast_verbose_nodiff \n[gw1] [ 63%] RERUN tests/test_harvest_more_projects.py::test_project_file_order \ntests/test_harvest_more_projects.py::test_project_file_order \n[gw1] [ 63%] FAILED tests/test_harvest_more_projects.py::test_project_file_order \ntests/test_harvest_more_projects.py::test_project_file_duplicate \n[gw5] [ 63%] RERUN tests/test_harvest_inline_suppress.py::test_misra_disabled_unmatched \ntests/test_harvest_inline_suppress.py::test_misra_disabled_unmatched \n[gw6] [ 63%] RERUN tests/test_harvest_other.py::test_addon_namingng \ntests/test_harvest_other.py::test_addon_namingng \n[gw0] [ 64%] RERUN tests/test_harvest_other.py::test_ignore_project_abspath \ntests/test_harvest_other.py::test_ignore_project_abspath \n[gw6] [ 64%] FAILED tests/test_harvest_other.py::test_addon_namingng \ntests/test_harvest_other.py::test_addon_namingng_config \n[gw4] [ 64%] RERUN tests/test_harvest_other.py::test_misra_disabled_unmatched \ntests/test_harvest_other.py::test_misra_disabled_unmatched \n[gw2] [ 64%] RERUN tests/test_harvest_helloworld.py::test_absolute_path \ntests/test_harvest_helloworld.py::test_absolute_path \n[gw2] [ 64%] FAILED tests/test_harvest_helloworld.py::test_absolute_path \ntests/test_harvest_helloworld.py::test_addon_local_path \n[gw9] [ 64%] RERUN tests/test_harvest_proj2.py::test_gui_project_loads_compile_commands_2 \ntests/test_harvest_proj2.py::test_gui_project_loads_compile_commands_2 \n[gw8] [ 64%] RERUN tests/test_harvest_other.py::test_debug_template_verbose_nodiff \ntests/test_harvest_other.py::test_debug_template_verbose_nodiff \n[gw3] [ 64%] RERUN tests/test_harvest_other.py::test_debug_ast_verbose_nodiff \ntests/test_harvest_other.py::test_debug_ast_verbose_nodiff \n[gw1] [ 64%] RERUN tests/test_harvest_more_projects.py::test_project_file_duplicate \ntests/test_harvest_more_projects.py::test_project_file_duplicate \n[gw5] [ 64%] RERUN tests/test_harvest_inline_suppress.py::test_misra_disabled_unmatched \ntests/test_harvest_inline_suppress.py::test_misra_disabled_unmatched \n[gw5] [ 64%] FAILED tests/test_harvest_inline_suppress.py::test_misra_disabled_unmatched \ntests/test_harvest_inline_suppress.py::test_premium_disabled_unmatched \n[gw6] [ 64%] RERUN tests/test_harvest_other.py::test_addon_namingng_config \ntests/test_harvest_other.py::test_addon_namingng_config \n[gw0] [ 64%] RERUN tests/test_harvest_other.py::test_ignore_project_abspath \ntests/test_harvest_other.py::test_ignore_project_abspath \n[gw4] [ 64%] RERUN tests/test_harvest_other.py::test_misra_disabled_unmatched \ntests/test_harvest_other.py::test_misra_disabled_unmatched \n[gw0] [ 64%] FAILED tests/test_harvest_other.py::test_ignore_project_abspath \ntests/test_harvest_other.py::test_ignore_project_2_file \n[gw4] [ 64%] FAILED tests/test_harvest_other.py::test_misra_disabled_unmatched \ntests/test_harvest_other.py::test_premium_disabled_unmatched \n[gw9] [ 64%] RERUN tests/test_harvest_proj2.py::test_gui_project_loads_compile_commands_2 \ntests/test_harvest_proj2.py::test_gui_project_loads_compile_commands_2 \n[gw9] [ 64%] FAILED tests/test_harvest_proj2.py::test_gui_project_loads_compile_commands_2 \ntests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution \n[gw2] [ 64%] RERUN tests/test_harvest_helloworld.py::test_addon_local_path \ntests/test_harvest_helloworld.py::test_addon_local_path \n[gw8] [ 64%] RERUN tests/test_harvest_other.py::test_debug_template_verbose_nodiff \ntests/test_harvest_other.py::test_debug_template_verbose_nodiff \n[gw1] [ 64%] RERUN tests/test_harvest_more_projects.py::test_project_file_duplicate \ntests/test_harvest_more_projects.py::test_project_file_duplicate \n[gw3] [ 64%] RERUN tests/test_harvest_other.py::test_debug_ast_verbose_nodiff \ntests/test_harvest_other.py::test_debug_ast_verbose_nodiff \n[gw1] [ 64%] FAILED tests/test_harvest_more_projects.py::test_project_file_duplicate \ntests/test_harvest_more_projects.py::test_project_file_duplicate_2 \n[gw8] [ 64%] FAILED tests/test_harvest_other.py::test_debug_template_verbose_nodiff \ntests/test_harvest_other.py::test_debug_template_debug \n[gw3] [ 64%] FAILED tests/test_harvest_other.py::test_debug_ast_verbose_nodiff \ntests/test_harvest_other.py::test_debug_valueflow \n[gw5] [ 64%] RERUN tests/test_harvest_inline_suppress.py::test_premium_disabled_unmatched \ntests/test_harvest_inline_suppress.py::test_premium_disabled_unmatched \n[gw6] [ 64%] RERUN tests/test_harvest_other.py::test_addon_namingng_config \ntests/test_harvest_other.py::test_addon_namingng_config \n[gw6] [ 64%] FAILED tests/test_harvest_other.py::test_addon_namingng_config \ntests/test_harvest_other.py::test_addon_findcasts \n[gw0] [ 64%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file \ntests/test_harvest_other.py::test_ignore_project_2_file \n[gw4] [ 64%] RERUN tests/test_harvest_other.py::test_premium_disabled_unmatched \ntests/test_harvest_other.py::test_premium_disabled_unmatched \n[gw9] [ 64%] RERUN tests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution \ntests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution \n[gw2] [ 64%] RERUN tests/test_harvest_helloworld.py::test_addon_local_path \ntests/test_harvest_helloworld.py::test_addon_local_path \n[gw2] [ 64%] FAILED tests/test_harvest_helloworld.py::test_addon_local_path \ntests/test_harvest_helloworld.py::test_addon_local_path_not_enable \n[gw1] [ 64%] RERUN tests/test_harvest_more_projects.py::test_project_file_duplicate_2 \ntests/test_harvest_more_projects.py::test_project_file_duplicate_2 \n[gw8] [ 64%] RERUN tests/test_harvest_other.py::test_debug_template_debug \ntests/test_harvest_other.py::test_debug_template_debug \n[gw3] [ 64%] RERUN tests/test_harvest_other.py::test_debug_valueflow \ntests/test_harvest_other.py::test_debug_valueflow \n[gw5] [ 64%] RERUN tests/test_harvest_inline_suppress.py::test_premium_disabled_unmatched \ntests/test_harvest_inline_suppress.py::test_premium_disabled_unmatched \n[gw5] [ 64%] FAILED tests/test_harvest_inline_suppress.py::test_premium_disabled_unmatched \ntests/test_harvest_inline_suppress.py::test_compile_commands_unused_function_suppression \n[gw6] [ 64%] RERUN tests/test_harvest_other.py::test_addon_findcasts \ntests/test_harvest_other.py::test_addon_findcasts \n[gw4] [ 64%] RERUN tests/test_harvest_other.py::test_premium_disabled_unmatched \ntests/test_harvest_other.py::test_premium_disabled_unmatched \n[gw0] [ 64%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file \ntests/test_harvest_other.py::test_ignore_project_2_file \n[gw9] [ 64%] RERUN tests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution \ntests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution \n[gw9] [ 64%] FAILED tests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution \ntests/test_harvest_proj2.py::test_gui_project_loads_absolute_vs_solution \n[gw4] [ 64%] FAILED tests/test_harvest_other.py::test_premium_disabled_unmatched \ntests/test_harvest_other.py::test_unmatched_file \n[gw0] [ 64%] FAILED tests/test_harvest_other.py::test_ignore_project_2_file \ntests/test_harvest_other.py::test_ignore_project_2_file_append \n[gw2] [ 64%] RERUN tests/test_harvest_helloworld.py::test_addon_local_path_not_enable \ntests/test_harvest_helloworld.py::test_addon_local_path_not_enable \n[gw1] [ 64%] RERUN tests/test_harvest_more_projects.py::test_project_file_duplicate_2 \ntests/test_harvest_more_projects.py::test_project_file_duplicate_2 \n[gw1] [ 64%] FAILED tests/test_harvest_more_projects.py::test_project_file_duplicate_2 \ntests/test_harvest_more_projects.py::test_project_file_duplicate_3 \n[gw8] [ 64%] RERUN tests/test_harvest_other.py::test_debug_template_debug \ntests/test_harvest_other.py::test_debug_template_debug \n[gw5] [ 64%] RERUN tests/test_harvest_inline_suppress.py::test_compile_commands_unused_function_suppression \ntests/test_harvest_inline_suppress.py::test_compile_commands_unused_function_suppression \n[gw3] [ 64%] RERUN tests/test_harvest_other.py::test_debug_valueflow \ntests/test_harvest_other.py::test_debug_valueflow \n[gw8] [ 64%] FAILED tests/test_harvest_other.py::test_debug_template_debug \ntests/test_harvest_other.py::test_debug_template_debug_verbose_nodiff \n[gw3] [ 64%] FAILED tests/test_harvest_other.py::test_debug_valueflow \ntests/test_harvest_other.py::test_debug_valueflow_verbose_nodiff \n[gw8] [ 65%] XFAIL tests/test_harvest_other.py::test_debug_template_debug_verbose_nodiff \ntests/test_harvest_other.py::test_file_ignore_2 \n[gw8] [ 65%] PASSED tests/test_harvest_other.py::test_file_ignore_2 \ntests/test_harvest_other.py::test_debug_valueflow_data \n[gw6] [ 65%] RERUN tests/test_harvest_other.py::test_addon_findcasts \ntests/test_harvest_other.py::test_addon_findcasts \n[gw9] [ 65%] RERUN tests/test_harvest_proj2.py::test_gui_project_loads_absolute_vs_solution \ntests/test_harvest_proj2.py::test_gui_project_loads_absolute_vs_solution \n[gw6] [ 65%] FAILED tests/test_harvest_other.py::test_addon_findcasts \ntests/test_harvest_other.py::test_addon_misc \n[gw4] [ 65%] RERUN tests/test_harvest_other.py::test_unmatched_file \ntests/test_harvest_other.py::test_unmatched_file \n[gw2] [ 65%] RERUN tests/test_harvest_helloworld.py::test_addon_local_path_not_enable \ntests/test_harvest_helloworld.py::test_addon_local_path_not_enable \n[gw1] [ 65%] RERUN tests/test_harvest_more_projects.py::test_project_file_duplicate_3 \ntests/test_harvest_more_projects.py::test_project_file_duplicate_3 \n[gw0] [ 65%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file_append \ntests/test_harvest_other.py::test_ignore_project_2_file_append \n[gw2] [ 65%] FAILED tests/test_harvest_helloworld.py::test_addon_local_path_not_enable \ntests/test_harvest_helloworld.py::test_addon_absolute_path \n[gw5] [ 65%] RERUN tests/test_harvest_inline_suppress.py::test_compile_commands_unused_function_suppression \ntests/test_harvest_inline_suppress.py::test_compile_commands_unused_function_suppression \n[gw5] [ 65%] FAILED tests/test_harvest_inline_suppress.py::test_compile_commands_unused_function_suppression \ntests/test_harvest_inline_suppress.py::test_compile_commands_unused_function_suppression_j \n[gw5] [ 65%] SKIPPED tests/test_harvest_inline_suppress.py::test_compile_commands_unused_function_suppression_j \ntests/test_harvest_inline_suppress.py::test_unmatched_suppression_ifdef \n[gw5] [ 65%] PASSED tests/test_harvest_inline_suppress.py::test_unmatched_suppression_ifdef \ntests/test_harvest_sarif.py::test_sarif_rule_properties \n[gw5] [ 65%] PASSED tests/test_harvest_sarif.py::test_sarif_rule_properties \ntests/test_harvest_sarif.py::test_sarif_rule_coverage \n[gw5] [ 65%] PASSED tests/test_harvest_sarif.py::test_sarif_rule_coverage \n[gw3] [ 65%] RERUN tests/test_harvest_other.py::test_debug_valueflow_verbose_nodiff \ntests/test_harvest_other.py::test_debug_valueflow_verbose_nodiff \ntests/test_harvest_sarif.py::test_sarif_generic_descriptions \n[gw5] [ 65%] PASSED tests/test_harvest_sarif.py::test_sarif_generic_descriptions \n[gw8] [ 65%] RERUN tests/test_harvest_other.py::test_debug_valueflow_data \ntests/test_harvest_other.py::test_debug_valueflow_data \ntests/test_harvest_sarif.py::test_sarif_security_rules_classification \n[gw5] [ 65%] PASSED tests/test_harvest_sarif.py::test_sarif_security_rules_classification \ntests/test_harvest_sarif.py::test_sarif_results_consistency \n[gw5] [ 65%] PASSED tests/test_harvest_sarif.py::test_sarif_results_consistency \ntests/test_harvest_suppress_syntaxerror.py::test_j \n[gw5] [ 65%] PASSED tests/test_harvest_suppress_syntaxerror.py::test_j \ntests/test_harvest_suppress_syntaxerror.py::test_suppress_j \n[gw5] [ 65%] PASSED tests/test_harvest_suppress_syntaxerror.py::test_suppress_j \ntests/test_harvest_suppress_syntaxerror.py::test_safety_suppress_syntax_error_implicitly \n[gw9] [ 65%] RERUN tests/test_harvest_proj2.py::test_gui_project_loads_absolute_vs_solution \ntests/test_harvest_proj2.py::test_gui_project_loads_absolute_vs_solution \n[gw9] [ 65%] FAILED tests/test_harvest_proj2.py::test_gui_project_loads_absolute_vs_solution \ntests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution_2 \n[gw6] [ 65%] RERUN tests/test_harvest_other.py::test_addon_misc \ntests/test_harvest_other.py::test_addon_misc \n[gw4] [ 65%] RERUN tests/test_harvest_other.py::test_unmatched_file \ntests/test_harvest_other.py::test_unmatched_file \n[gw1] [ 65%] RERUN tests/test_harvest_more_projects.py::test_project_file_duplicate_3 \ntests/test_harvest_more_projects.py::test_project_file_duplicate_3 \n[gw4] [ 65%] FAILED tests/test_harvest_other.py::test_unmatched_file \ntests/test_harvest_other.py::test_simplecpp_warning \n[gw4] [ 66%] PASSED tests/test_harvest_other.py::test_simplecpp_warning \n[gw1] [ 66%] FAILED tests/test_harvest_more_projects.py::test_project_file_duplicate_3 \ntests/test_harvest_more_projects.py::test_project_file_duplicate_4 \n[gw1] [ 66%] SKIPPED tests/test_harvest_more_projects.py::test_project_file_duplicate_4 \ntests/test_harvest_other.py::test_simplecpp_unhandled_char \n[gw2] [ 66%] RERUN tests/test_harvest_helloworld.py::test_addon_absolute_path \ntests/test_harvest_helloworld.py::test_addon_absolute_path \ntests/test_harvest_more_projects.py::test_project_file_ignore \n[gw0] [ 66%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file_append \ntests/test_harvest_other.py::test_ignore_project_2_file_append \n[gw0] [ 66%] FAILED tests/test_harvest_other.py::test_ignore_project_2_file_append \ntests/test_harvest_other.py::test_ignore_project_2_file_wildcard_back \n[gw3] [ 66%] RERUN tests/test_harvest_other.py::test_debug_valueflow_verbose_nodiff \ntests/test_harvest_other.py::test_debug_valueflow_verbose_nodiff \n[gw8] [ 66%] RERUN tests/test_harvest_other.py::test_debug_valueflow_data \ntests/test_harvest_other.py::test_debug_valueflow_data \n[gw3] [ 66%] FAILED tests/test_harvest_other.py::test_debug_valueflow_verbose_nodiff \ntests/test_harvest_other.py::test_debug_syntaxerror_c \n[gw8] [ 66%] FAILED tests/test_harvest_other.py::test_debug_valueflow_data \ntests/test_harvest_other.py::test_debug_valueflow_data_xml \n[gw5] [ 66%] RERUN tests/test_harvest_suppress_syntaxerror.py::test_safety_suppress_syntax_error_implicitly \ntests/test_harvest_suppress_syntaxerror.py::test_safety_suppress_syntax_error_implicitly \n[gw9] [ 66%] RERUN tests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution_2 \ntests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution_2 \n[gw6] [ 66%] RERUN tests/test_harvest_other.py::test_addon_misc \ntests/test_harvest_other.py::test_addon_misc \n[gw6] [ 66%] FAILED tests/test_harvest_other.py::test_addon_misc \ntests/test_harvest_other.py::test_invalid_addon_json \n[gw2] [ 66%] RERUN tests/test_harvest_helloworld.py::test_addon_absolute_path \ntests/test_harvest_helloworld.py::test_addon_absolute_path \n[gw1] [ 66%] RERUN tests/test_harvest_more_projects.py::test_project_file_ignore \ntests/test_harvest_more_projects.py::test_project_file_ignore \n[gw2] [ 66%] FAILED tests/test_harvest_helloworld.py::test_addon_absolute_path \ntests/test_harvest_helloworld.py::test_addon_relative_path \n[gw4] [ 66%] RERUN tests/test_harvest_other.py::test_simplecpp_unhandled_char \ntests/test_harvest_other.py::test_simplecpp_unhandled_char \n[gw0] [ 66%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file_wildcard_back \ntests/test_harvest_other.py::test_ignore_project_2_file_wildcard_back \n[gw3] [ 66%] RERUN tests/test_harvest_other.py::test_debug_syntaxerror_c \ntests/test_harvest_other.py::test_debug_syntaxerror_c \n[gw8] [ 66%] RERUN tests/test_harvest_other.py::test_debug_valueflow_data_xml \ntests/test_harvest_other.py::test_debug_valueflow_data_xml \n[gw5] [ 66%] RERUN tests/test_harvest_suppress_syntaxerror.py::test_safety_suppress_syntax_error_implicitly \ntests/test_harvest_suppress_syntaxerror.py::test_safety_suppress_syntax_error_implicitly \n[gw5] [ 66%] FAILED tests/test_harvest_suppress_syntaxerror.py::test_safety_suppress_syntax_error_implicitly \ntests/test_harvest_suppress_syntaxerror.py::test_safety_suppress_syntax_error_explicitly \n[gw9] [ 66%] RERUN tests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution_2 \ntests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution_2 \n[gw9] [ 66%] FAILED tests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution_2 \ntests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution_with_exclude \n[gw6] [ 66%] RERUN tests/test_harvest_other.py::test_invalid_addon_json \ntests/test_harvest_other.py::test_invalid_addon_json \n[gw1] [ 66%] RERUN tests/test_harvest_more_projects.py::test_project_file_ignore \ntests/test_harvest_more_projects.py::test_project_file_ignore \n[gw1] [ 66%] FAILED tests/test_harvest_more_projects.py::test_project_file_ignore \ntests/test_harvest_more_projects.py::test_project_file_ignore_2 \n[gw2] [ 66%] RERUN tests/test_harvest_helloworld.py::test_addon_relative_path \ntests/test_harvest_helloworld.py::test_addon_relative_path \n[gw4] [ 66%] RERUN tests/test_harvest_other.py::test_simplecpp_unhandled_char \ntests/test_harvest_other.py::test_simplecpp_unhandled_char \n[gw4] [ 66%] FAILED tests/test_harvest_other.py::test_simplecpp_unhandled_char \ntests/test_harvest_other.py::test_simplecpp_include_nested_too_deeply \n[gw0] [ 66%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file_wildcard_back \ntests/test_harvest_other.py::test_ignore_project_2_file_wildcard_back \n[gw0] [ 66%] FAILED tests/test_harvest_other.py::test_ignore_project_2_file_wildcard_back \ntests/test_harvest_other.py::test_ignore_project_2_file_wildcard_front \n[gw3] [ 66%] RERUN tests/test_harvest_other.py::test_debug_syntaxerror_c \ntests/test_harvest_other.py::test_debug_syntaxerror_c \n[gw5] [ 66%] RERUN tests/test_harvest_suppress_syntaxerror.py::test_safety_suppress_syntax_error_explicitly \ntests/test_harvest_suppress_syntaxerror.py::test_safety_suppress_syntax_error_explicitly \n[gw3] [ 66%] FAILED tests/test_harvest_other.py::test_debug_syntaxerror_c \ntests/test_harvest_project.py::test_empty_project[vcxproj-Visual Studio project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \n[gw8] [ 66%] RERUN tests/test_harvest_other.py::test_debug_valueflow_data_xml \ntests/test_harvest_other.py::test_debug_valueflow_data_xml \n[gw8] [ 66%] FAILED tests/test_harvest_other.py::test_debug_valueflow_data_xml \ntests/test_harvest_other.py::test_dir_ignore \n[gw8] [ 66%] PASSED tests/test_harvest_other.py::test_dir_ignore \ntests/test_harvest_other.py::test_check_headers \n[gw9] [ 66%] RERUN tests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution_with_exclude \ntests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution_with_exclude \n[gw6] [ 66%] RERUN tests/test_harvest_other.py::test_invalid_addon_json \ntests/test_harvest_other.py::test_invalid_addon_json \n[gw1] [ 66%] RERUN tests/test_harvest_more_projects.py::test_project_file_ignore_2 \ntests/test_harvest_more_projects.py::test_project_file_ignore_2 \n[gw2] [ 66%] RERUN tests/test_harvest_helloworld.py::test_addon_relative_path \ntests/test_harvest_helloworld.py::test_addon_relative_path \n[gw6] [ 66%] FAILED tests/test_harvest_other.py::test_invalid_addon_json \ntests/test_harvest_other.py::test_invalid_addon_py \n[gw2] [ 66%] FAILED tests/test_harvest_helloworld.py::test_addon_relative_path \ntests/test_harvest_helloworld.py::test_addon_with_gui_project \n[gw4] [ 66%] RERUN tests/test_harvest_other.py::test_simplecpp_include_nested_too_deeply \ntests/test_harvest_other.py::test_simplecpp_include_nested_too_deeply \n[gw0] [ 66%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file_wildcard_front \ntests/test_harvest_other.py::test_ignore_project_2_file_wildcard_front \n[gw5] [ 66%] RERUN tests/test_harvest_suppress_syntaxerror.py::test_safety_suppress_syntax_error_explicitly \ntests/test_harvest_suppress_syntaxerror.py::test_safety_suppress_syntax_error_explicitly \n[gw3] [ 67%] RERUN tests/test_harvest_project.py::test_empty_project[vcxproj-Visual Studio project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \ntests/test_harvest_project.py::test_empty_project[vcxproj-Visual Studio project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \n[gw5] [ 67%] FAILED tests/test_harvest_suppress_syntaxerror.py::test_safety_suppress_syntax_error_explicitly \ntests/test_harvest_unused_function.py::test_unused_functions \n[gw8] [ 67%] RERUN tests/test_harvest_other.py::test_check_headers \ntests/test_harvest_other.py::test_check_headers \n[gw9] [ 67%] RERUN tests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution_with_exclude \ntests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution_with_exclude \n[gw9] [ 67%] FAILED tests/test_harvest_proj2.py::test_gui_project_loads_relative_vs_solution_with_exclude \ntests/test_harvest_proj2.py::test_gui_project_loads_absolute_vs_solution_2 \n[gw1] [ 67%] RERUN tests/test_harvest_more_projects.py::test_project_file_ignore_2 \ntests/test_harvest_more_projects.py::test_project_file_ignore_2 \n[gw1] [ 67%] FAILED tests/test_harvest_more_projects.py::test_project_file_ignore_2 \ntests/test_harvest_more_projects.py::test_project_file_ignore_3 \n[gw6] [ 67%] RERUN tests/test_harvest_other.py::test_invalid_addon_py \ntests/test_harvest_other.py::test_invalid_addon_py \n[gw2] [ 67%] RERUN tests/test_harvest_helloworld.py::test_addon_with_gui_project \ntests/test_harvest_helloworld.py::test_addon_with_gui_project \n[gw4] [ 67%] RERUN tests/test_harvest_other.py::test_simplecpp_include_nested_too_deeply \ntests/test_harvest_other.py::test_simplecpp_include_nested_too_deeply \n[gw4] [ 67%] FAILED tests/test_harvest_other.py::test_simplecpp_include_nested_too_deeply \ntests/test_harvest_other.py::test_simplecpp_syntax_error \n[gw0] [ 67%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file_wildcard_front \ntests/test_harvest_other.py::test_ignore_project_2_file_wildcard_front \n[gw0] [ 67%] FAILED tests/test_harvest_other.py::test_ignore_project_2_file_wildcard_front \ntests/test_harvest_other.py::test_ignore_project_2_file_placeholder \n[gw3] [ 67%] RERUN tests/test_harvest_project.py::test_empty_project[vcxproj-Visual Studio project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \ntests/test_harvest_project.py::test_empty_project[vcxproj-Visual Studio project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \n[gw5] [ 67%] RERUN tests/test_harvest_unused_function.py::test_unused_functions \ntests/test_harvest_unused_function.py::test_unused_functions \n[gw3] [ 67%] FAILED tests/test_harvest_project.py::test_empty_project[vcxproj-Visual Studio project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \ntests/test_harvest_project.py::test_empty_project[bpr-Borland project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \n[gw8] [ 67%] RERUN tests/test_harvest_other.py::test_check_headers \ntests/test_harvest_other.py::test_check_headers \n[gw9] [ 67%] RERUN tests/test_harvest_proj2.py::test_gui_project_loads_absolute_vs_solution_2 \ntests/test_harvest_proj2.py::test_gui_project_loads_absolute_vs_solution_2 \n[gw8] [ 67%] FAILED tests/test_harvest_other.py::test_check_headers \ntests/test_harvest_other.py::test_unique_error \n[gw1] [ 67%] RERUN tests/test_harvest_more_projects.py::test_project_file_ignore_3 \ntests/test_harvest_more_projects.py::test_project_file_ignore_3 \n[gw2] [ 67%] RERUN tests/test_harvest_helloworld.py::test_addon_with_gui_project \ntests/test_harvest_helloworld.py::test_addon_with_gui_project \n[gw2] [ 67%] FAILED tests/test_harvest_helloworld.py::test_addon_with_gui_project \ntests/test_harvest_rules.py::test_empty_catch_block \n[gw2] [ 67%] SKIPPED tests/test_harvest_rules.py::test_empty_catch_block \n[gw6] [ 67%] RERUN tests/test_harvest_other.py::test_invalid_addon_py \ntests/test_harvest_other.py::test_invalid_addon_py \ntests/test_harvest_rules.py::test_show_all_defines \n[gw2] [ 67%] SKIPPED tests/test_harvest_rules.py::test_show_all_defines \n[gw6] [ 67%] FAILED tests/test_harvest_other.py::test_invalid_addon_py \ntests/test_harvest_other.py::test_invalid_addon_py_verbose \ntests/test_harvest_rules.py::test_stl \n[gw2] [ 67%] SKIPPED tests/test_harvest_rules.py::test_stl \ntests/test_harvest_rules.py::test_strlen_empty_str \n[gw2] [ 67%] SKIPPED tests/test_harvest_rules.py::test_strlen_empty_str \n[gw4] [ 67%] RERUN tests/test_harvest_other.py::test_simplecpp_syntax_error \ntests/test_harvest_other.py::test_simplecpp_syntax_error \ntests/test_harvest_rules.py::test_suggest_nullptr \n[gw2] [ 67%] SKIPPED tests/test_harvest_rules.py::test_suggest_nullptr \ntests/test_harvest_rules.py::test_unused_deref \n[gw2] [ 67%] SKIPPED tests/test_harvest_rules.py::test_unused_deref \ntests/test_harvest_samples.py::test_samples \n[gw5] [ 67%] RERUN tests/test_harvest_unused_function.py::test_unused_functions \ntests/test_harvest_unused_function.py::test_unused_functions \n[gw3] [ 67%] RERUN tests/test_harvest_project.py::test_empty_project[bpr-Borland project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \ntests/test_harvest_project.py::test_empty_project[bpr-Borland project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \n[gw5] [ 67%] FAILED tests/test_harvest_unused_function.py::test_unused_functions \ntests/test_harvest_unused_function.py::test_unused_functions_j \n[gw0] [ 67%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file_placeholder \ntests/test_harvest_other.py::test_ignore_project_2_file_placeholder \n[gw9] [ 67%] RERUN tests/test_harvest_proj2.py::test_gui_project_loads_absolute_vs_solution_2 \ntests/test_harvest_proj2.py::test_gui_project_loads_absolute_vs_solution_2 \n[gw9] [ 67%] FAILED tests/test_harvest_proj2.py::test_gui_project_loads_absolute_vs_solution_2 \ntests/test_harvest_project.py::test_missing_project[json] \n[gw9] [ 67%] PASSED tests/test_harvest_project.py::test_missing_project[json] \n[gw8] [ 67%] RERUN tests/test_harvest_other.py::test_unique_error \ntests/test_harvest_other.py::test_unique_error \ntests/test_harvest_project.py::test_missing_project[sln] \n[gw9] [ 68%] PASSED tests/test_harvest_project.py::test_missing_project[sln] \ntests/test_harvest_project.py::test_missing_project[vcxproj] \n[gw9] [ 68%] PASSED tests/test_harvest_project.py::test_missing_project[vcxproj] \ntests/test_harvest_project.py::test_missing_project[bpr] \n[gw9] [ 68%] PASSED tests/test_harvest_project.py::test_missing_project[bpr] \ntests/test_harvest_project.py::test_missing_project[cppcheck] \n[gw9] [ 68%] PASSED tests/test_harvest_project.py::test_missing_project[cppcheck] \ntests/test_harvest_project.py::test_empty_project[json-compilation database is not a JSON array] \n[gw1] [ 68%] RERUN tests/test_harvest_more_projects.py::test_project_file_ignore_3 \ntests/test_harvest_more_projects.py::test_project_file_ignore_3 \n[gw1] [ 68%] FAILED tests/test_harvest_more_projects.py::test_project_file_ignore_3 \ntests/test_harvest_more_projects.py::test_json_file_ignore \n[gw6] [ 68%] RERUN tests/test_harvest_other.py::test_invalid_addon_py_verbose \ntests/test_harvest_other.py::test_invalid_addon_py_verbose \n[gw4] [ 68%] RERUN tests/test_harvest_other.py::test_simplecpp_syntax_error \ntests/test_harvest_other.py::test_simplecpp_syntax_error \n[gw4] [ 68%] FAILED tests/test_harvest_other.py::test_simplecpp_syntax_error \ntests/test_harvest_other.py::test_max_configs[None-20-False-True] \n[gw4] [ 68%] PASSED tests/test_harvest_other.py::test_max_configs[None-20-False-True] \n[gw3] [ 68%] RERUN tests/test_harvest_project.py::test_empty_project[bpr-Borland project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \ntests/test_harvest_project.py::test_empty_project[bpr-Borland project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \ntests/test_harvest_other.py::test_max_configs[None-20-True-True] \n[gw5] [ 68%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_j \ntests/test_harvest_unused_function.py::test_unused_functions_j \n[gw3] [ 68%] FAILED tests/test_harvest_project.py::test_empty_project[bpr-Borland project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \ntests/test_harvest_project.py::test_empty_project[cppcheck-Cppcheck GUI project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \n[gw0] [ 68%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file_placeholder \ntests/test_harvest_other.py::test_ignore_project_2_file_placeholder \n[gw2] [ 68%] RERUN tests/test_harvest_samples.py::test_samples \ntests/test_harvest_samples.py::test_samples \n[gw0] [ 68%] FAILED tests/test_harvest_other.py::test_ignore_project_2_file_placeholder \ntests/test_harvest_other.py::test_ignore_project_2_file_relative \n[gw8] [ 68%] RERUN tests/test_harvest_other.py::test_unique_error \ntests/test_harvest_other.py::test_unique_error \n[gw8] [ 68%] FAILED tests/test_harvest_other.py::test_unique_error \ntests/test_harvest_other.py::test_check_unused_templates_class \n[gw8] [ 68%] PASSED tests/test_harvest_other.py::test_check_unused_templates_class \ntests/test_harvest_other.py::test_check_unused_templates_func \n[gw8] [ 68%] PASSED tests/test_harvest_other.py::test_check_unused_templates_func \n[gw9] [ 68%] RERUN tests/test_harvest_project.py::test_empty_project[json-compilation database is not a JSON array] \ntests/test_harvest_project.py::test_empty_project[json-compilation database is not a JSON array] \ntests/test_harvest_other.py::test_clang_tidy \n[gw8] [ 68%] SKIPPED tests/test_harvest_other.py::test_clang_tidy \ntests/test_harvest_other.py::test_clang_tidy_project \n[gw8] [ 68%] SKIPPED tests/test_harvest_other.py::test_clang_tidy_project \n[gw1] [ 68%] RERUN tests/test_harvest_more_projects.py::test_json_file_ignore \ntests/test_harvest_more_projects.py::test_json_file_ignore \ntests/test_harvest_other.py::test_clang_tidy_error_exit \n[gw8] [ 68%] SKIPPED tests/test_harvest_other.py::test_clang_tidy_error_exit \ntests/test_harvest_unused_function.py::test_unused_functions_project \n[gw6] [ 68%] RERUN tests/test_harvest_other.py::test_invalid_addon_py_verbose \ntests/test_harvest_other.py::test_invalid_addon_py_verbose \n[gw6] [ 68%] FAILED tests/test_harvest_other.py::test_invalid_addon_py_verbose \ntests/test_harvest_other.py::test_addon_result \n[gw5] [ 68%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_j \ntests/test_harvest_unused_function.py::test_unused_functions_j \n[gw5] [ 68%] FAILED tests/test_harvest_unused_function.py::test_unused_functions_j \n[gw3] [ 68%] RERUN tests/test_harvest_project.py::test_empty_project[cppcheck-Cppcheck GUI project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \ntests/test_harvest_project.py::test_empty_project[cppcheck-Cppcheck GUI project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \ntests/test_harvest_unused_function.py::test_unused_functions_builddir \n[gw5] [ 68%] PASSED tests/test_harvest_unused_function.py::test_unused_functions_builddir \n[gw4] [ 68%] RERUN tests/test_harvest_other.py::test_max_configs[None-20-True-True] \ntests/test_harvest_other.py::test_max_configs[None-20-True-True] \ntests/test_harvest_unused_function.py::test_unused_functions_builddir_j_thread \n[gw5] [ 68%] PASSED tests/test_harvest_unused_function.py::test_unused_functions_builddir_j_thread \ntests/test_harvest_unused_function.py::test_unused_functions_builddir_j_process \n[gw5] [ 69%] PASSED tests/test_harvest_unused_function.py::test_unused_functions_builddir_j_process \ntests/test_harvest_whole_program.py::test_suppress_inline_builddir \n[gw0] [ 69%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file_relative \ntests/test_harvest_other.py::test_ignore_project_2_file_relative \n[gw2] [ 69%] RERUN tests/test_harvest_samples.py::test_samples \ntests/test_harvest_samples.py::test_samples \n[gw9] [ 69%] RERUN tests/test_harvest_project.py::test_empty_project[json-compilation database is not a JSON array] \ntests/test_harvest_project.py::test_empty_project[json-compilation database is not a JSON array] \n[gw9] [ 69%] FAILED tests/test_harvest_project.py::test_empty_project[json-compilation database is not a JSON array] \ntests/test_harvest_project.py::test_empty_project[sln-Visual Studio solution file is empty] \n[gw2] [ 69%] FAILED tests/test_harvest_samples.py::test_samples \ntests/test_harvest_sarif.py::test_sarif_basic_structure \n[gw2] [ 69%] PASSED tests/test_harvest_sarif.py::test_sarif_basic_structure \ntests/test_harvest_sarif.py::test_sarif_null_pointer \n[gw2] [ 69%] PASSED tests/test_harvest_sarif.py::test_sarif_null_pointer \n[gw1] [ 69%] RERUN tests/test_harvest_more_projects.py::test_json_file_ignore \ntests/test_harvest_more_projects.py::test_json_file_ignore \ntests/test_harvest_sarif.py::test_sarif_security_rules \n[gw2] [ 69%] PASSED tests/test_harvest_sarif.py::test_sarif_security_rules \n[gw1] [ 69%] FAILED tests/test_harvest_more_projects.py::test_json_file_ignore \ntests/test_harvest_more_projects.py::test_json_file_ignore_2 \n[gw8] [ 69%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_project \ntests/test_harvest_unused_function.py::test_unused_functions_project \ntests/test_harvest_sarif.py::test_sarif_rule_descriptions \n[gw2] [ 69%] PASSED tests/test_harvest_sarif.py::test_sarif_rule_descriptions \ntests/test_harvest_sarif.py::test_sarif_cwe_tags \n[gw2] [ 69%] PASSED tests/test_harvest_sarif.py::test_sarif_cwe_tags \ntests/test_harvest_sarif.py::test_sarif_severity_levels \n[gw2] [ 69%] PASSED tests/test_harvest_sarif.py::test_sarif_severity_levels \ntests/test_harvest_sarif.py::test_sarif_instance_specific_messages \n[gw2] [ 69%] PASSED tests/test_harvest_sarif.py::test_sarif_instance_specific_messages \ntests/test_harvest_sarif.py::test_sarif_location_info \n[gw2] [ 69%] PASSED tests/test_harvest_sarif.py::test_sarif_location_info \n[gw6] [ 69%] RERUN tests/test_harvest_other.py::test_addon_result \ntests/test_harvest_other.py::test_addon_result \ntests/test_harvest_sarif.py::test_sarif_with_multiple_files \n[gw2] [ 69%] PASSED tests/test_harvest_sarif.py::test_sarif_with_multiple_files \ntests/test_harvest_sarif.py::test_sarif_default_configuration \n[gw2] [ 69%] PASSED tests/test_harvest_sarif.py::test_sarif_default_configuration \n[gw3] [ 69%] RERUN tests/test_harvest_project.py::test_empty_project[cppcheck-Cppcheck GUI project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \ntests/test_harvest_project.py::test_empty_project[cppcheck-Cppcheck GUI project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \n[gw3] [ 69%] FAILED tests/test_harvest_project.py::test_empty_project[cppcheck-Cppcheck GUI project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] \ntests/test_harvest_project.py::test_json_entry_file_not_found \ntests/test_keywords.py::test_c89_keywords_valid_code \n[gw4] [ 69%] RERUN tests/test_harvest_other.py::test_max_configs[None-20-True-True] \ntests/test_harvest_other.py::test_max_configs[None-20-True-True] \n[gw4] [ 69%] FAILED tests/test_harvest_other.py::test_max_configs[None-20-True-True] \ntests/test_harvest_other.py::test_max_configs[6-20-False-False] \n[gw5] [ 69%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline_builddir \ntests/test_harvest_whole_program.py::test_suppress_inline_builddir \n[gw0] [ 69%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file_relative \ntests/test_harvest_other.py::test_ignore_project_2_file_relative \n[gw0] [ 69%] FAILED tests/test_harvest_other.py::test_ignore_project_2_file_relative \ntests/test_harvest_other.py::test_ignore_project_2_file_relative_backslash \n[gw9] [ 69%] RERUN tests/test_harvest_project.py::test_empty_project[sln-Visual Studio solution file is empty] \ntests/test_harvest_project.py::test_empty_project[sln-Visual Studio solution file is empty] \n[gw1] [ 69%] RERUN tests/test_harvest_more_projects.py::test_json_file_ignore_2 \ntests/test_harvest_more_projects.py::test_json_file_ignore_2 \n[gw8] [ 69%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_project \ntests/test_harvest_unused_function.py::test_unused_functions_project \n[gw8] [ 69%] FAILED tests/test_harvest_unused_function.py::test_unused_functions_project \ntests/test_harvest_unused_function.py::test_unused_functions_project_j \n[gw6] [ 69%] RERUN tests/test_harvest_other.py::test_addon_result \ntests/test_harvest_other.py::test_addon_result \n[gw3] [ 69%] RERUN tests/test_harvest_project.py::test_json_entry_file_not_found \ntests/test_harvest_project.py::test_json_entry_file_not_found \n[gw6] [ 69%] FAILED tests/test_harvest_other.py::test_addon_result \ntests/test_harvest_other.py::test_unused_function_include \n[gw2] [ 70%] RERUN tests/test_keywords.py::test_c89_keywords_valid_code \ntests/test_keywords.py::test_c89_keywords_valid_code \n[gw4] [ 70%] RERUN tests/test_harvest_other.py::test_max_configs[6-20-False-False] \ntests/test_harvest_other.py::test_max_configs[6-20-False-False] \n[gw5] [ 70%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline_builddir \ntests/test_harvest_whole_program.py::test_suppress_inline_builddir \n[gw5] [ 70%] FAILED tests/test_harvest_whole_program.py::test_suppress_inline_builddir \ntests/test_harvest_whole_program.py::test_suppress_inline_builddir_cached \n[gw0] [ 70%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file_relative_backslash \ntests/test_harvest_other.py::test_ignore_project_2_file_relative_backslash \n[gw9] [ 70%] RERUN tests/test_harvest_project.py::test_empty_project[sln-Visual Studio solution file is empty] \ntests/test_harvest_project.py::test_empty_project[sln-Visual Studio solution file is empty] \n[gw9] [ 70%] FAILED tests/test_harvest_project.py::test_empty_project[sln-Visual Studio solution file is empty] \ntests/test_importproject.py::test_compile_commands_basic \n[gw8] [ 70%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_project_j \ntests/test_harvest_unused_function.py::test_unused_functions_project_j \n[gw1] [ 70%] RERUN tests/test_harvest_more_projects.py::test_json_file_ignore_2 \ntests/test_harvest_more_projects.py::test_json_file_ignore_2 \n[gw1] [ 70%] FAILED tests/test_harvest_more_projects.py::test_json_file_ignore_2 \ntests/test_harvest_more_projects.py::test_project_D \n[gw1] [ 70%] XFAIL tests/test_harvest_more_projects.py::test_project_D \ntests/test_harvest_more_projects.py::test_compdb_D \n[gw3] [ 70%] RERUN tests/test_harvest_project.py::test_json_entry_file_not_found \ntests/test_harvest_project.py::test_json_entry_file_not_found \n[gw3] [ 70%] FAILED tests/test_harvest_project.py::test_json_entry_file_not_found \ntests/test_harvest_project.py::test_json_no_arguments \n[gw2] [ 70%] RERUN tests/test_keywords.py::test_c89_keywords_valid_code \ntests/test_keywords.py::test_c89_keywords_valid_code \n[gw2] [ 70%] FAILED tests/test_keywords.py::test_c89_keywords_valid_code \ntests/test_keywords.py::test_c99_keywords_inline_restrict_bool \n[gw6] [ 70%] RERUN tests/test_harvest_other.py::test_unused_function_include \ntests/test_harvest_other.py::test_unused_function_include \n[gw4] [ 70%] RERUN tests/test_harvest_other.py::test_max_configs[6-20-False-False] \ntests/test_harvest_other.py::test_max_configs[6-20-False-False] \n[gw4] [ 70%] FAILED tests/test_harvest_other.py::test_max_configs[6-20-False-False] \ntests/test_harvest_other.py::test_max_configs[6-20-True-True] \n[gw5] [ 70%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline_builddir_cached \ntests/test_harvest_whole_program.py::test_suppress_inline_builddir_cached \n[gw0] [ 70%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file_relative_backslash \ntests/test_harvest_other.py::test_ignore_project_2_file_relative_backslash \n[gw9] [ 70%] RERUN tests/test_importproject.py::test_compile_commands_basic \ntests/test_importproject.py::test_compile_commands_basic \n[gw0] [ 70%] FAILED tests/test_harvest_other.py::test_ignore_project_2_file_relative_backslash \ntests/test_harvest_other.py::test_ignore_project_2_file_relative_wildcard \n[gw8] [ 70%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_project_j \ntests/test_harvest_unused_function.py::test_unused_functions_project_j \n[gw8] [ 70%] FAILED tests/test_harvest_unused_function.py::test_unused_functions_project_j \ntests/test_harvest_unused_function.py::test_unused_functions_project_builddir \n[gw1] [ 70%] RERUN tests/test_harvest_more_projects.py::test_compdb_D \ntests/test_harvest_more_projects.py::test_compdb_D \n[gw3] [ 70%] RERUN tests/test_harvest_project.py::test_json_no_arguments \ntests/test_harvest_project.py::test_json_no_arguments \n[gw2] [ 70%] RERUN tests/test_keywords.py::test_c99_keywords_inline_restrict_bool \ntests/test_keywords.py::test_c99_keywords_inline_restrict_bool \n[gw6] [ 70%] RERUN tests/test_harvest_other.py::test_unused_function_include \ntests/test_harvest_other.py::test_unused_function_include \n[gw6] [ 70%] FAILED tests/test_harvest_other.py::test_unused_function_include \ntests/test_harvest_other.py::test_showtime_top5_file \n[gw4] [ 70%] RERUN tests/test_harvest_other.py::test_max_configs[6-20-True-True] \ntests/test_harvest_other.py::test_max_configs[6-20-True-True] \n[gw5] [ 70%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline_builddir_cached \ntests/test_harvest_whole_program.py::test_suppress_inline_builddir_cached \n[gw5] [ 70%] FAILED tests/test_harvest_whole_program.py::test_suppress_inline_builddir_cached \ntests/test_harvest_whole_program.py::test_suppress_inline_builddir_j \n[gw9] [ 70%] RERUN tests/test_importproject.py::test_compile_commands_basic \ntests/test_importproject.py::test_compile_commands_basic \n[gw9] [ 70%] FAILED tests/test_importproject.py::test_compile_commands_basic \ntests/test_importproject.py::test_compile_commands_with_arguments_array \n[gw0] [ 70%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file_relative_wildcard \ntests/test_harvest_other.py::test_ignore_project_2_file_relative_wildcard \n[gw8] [ 70%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_project_builddir \ntests/test_harvest_unused_function.py::test_unused_functions_project_builddir \n[gw1] [ 70%] RERUN tests/test_harvest_more_projects.py::test_compdb_D \ntests/test_harvest_more_projects.py::test_compdb_D \n[gw1] [ 70%] FAILED tests/test_harvest_more_projects.py::test_compdb_D \ntests/test_harvest_whole_program.py::test_addon_no_artifacts[False] \n[gw3] [ 70%] RERUN tests/test_harvest_project.py::test_json_no_arguments \ntests/test_harvest_project.py::test_json_no_arguments \n[gw3] [ 70%] FAILED tests/test_harvest_project.py::test_json_no_arguments \ntests/test_harvest_project.py::test_json_invalid_arguments \n[gw2] [ 70%] RERUN tests/test_keywords.py::test_c99_keywords_inline_restrict_bool \ntests/test_keywords.py::test_c99_keywords_inline_restrict_bool \n[gw2] [ 70%] FAILED tests/test_keywords.py::test_c99_keywords_inline_restrict_bool \ntests/test_keywords.py::test_c11_keywords_alignas_atomic_generic \n[gw2] [ 70%] PASSED tests/test_keywords.py::test_c11_keywords_alignas_atomic_generic \ntests/test_keywords.py::test_cpp11_keywords_nullptr_constexpr_decltype \n[gw2] [ 70%] PASSED tests/test_keywords.py::test_cpp11_keywords_nullptr_constexpr_decltype \ntests/test_keywords.py::test_cpp20_keywords_concept_coroutines_char8t \n[gw6] [ 70%] RERUN tests/test_harvest_other.py::test_showtime_top5_file \ntests/test_harvest_other.py::test_showtime_top5_file \n[gw4] [ 70%] RERUN tests/test_harvest_other.py::test_max_configs[6-20-True-True] \ntests/test_harvest_other.py::test_max_configs[6-20-True-True] \n[gw4] [ 70%] FAILED tests/test_harvest_other.py::test_max_configs[6-20-True-True] \ntests/test_harvest_other.py::test_max_configs[20-20-False-False0] \n[gw4] [ 70%] PASSED tests/test_harvest_other.py::test_max_configs[20-20-False-False0] \n[gw5] [ 71%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline_builddir_j \ntests/test_harvest_whole_program.py::test_suppress_inline_builddir_j \ntests/test_harvest_other.py::test_max_configs[20-20-False-False1] \n[gw4] [ 71%] PASSED tests/test_harvest_other.py::test_max_configs[20-20-False-False1] \n[gw9] [ 71%] RERUN tests/test_importproject.py::test_compile_commands_with_arguments_array \ntests/test_importproject.py::test_compile_commands_with_arguments_array \ntests/test_harvest_other.py::test_no_valid_configuration \n[gw8] [ 71%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_project_builddir \ntests/test_harvest_unused_function.py::test_unused_functions_project_builddir \n[gw8] [ 71%] FAILED tests/test_harvest_unused_function.py::test_unused_functions_project_builddir \ntests/test_harvest_unused_function.py::test_unused_functions_project_builddir_j_thread \n[gw0] [ 71%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file_relative_wildcard \ntests/test_harvest_other.py::test_ignore_project_2_file_relative_wildcard \n[gw0] [ 71%] FAILED tests/test_harvest_other.py::test_ignore_project_2_file_relative_wildcard \ntests/test_harvest_other.py::test_ignore_project_2_file_relative_wildcard_backslash \n[gw1] [ 71%] RERUN tests/test_harvest_whole_program.py::test_addon_no_artifacts[False] \ntests/test_harvest_whole_program.py::test_addon_no_artifacts[False] \n[gw3] [ 71%] RERUN tests/test_harvest_project.py::test_json_invalid_arguments \ntests/test_harvest_project.py::test_json_invalid_arguments \n[gw2] [ 71%] RERUN tests/test_keywords.py::test_cpp20_keywords_concept_coroutines_char8t \ntests/test_keywords.py::test_cpp20_keywords_concept_coroutines_char8t \n[gw6] [ 71%] RERUN tests/test_harvest_other.py::test_showtime_top5_file \ntests/test_harvest_other.py::test_showtime_top5_file \n[gw6] [ 71%] FAILED tests/test_harvest_other.py::test_showtime_top5_file \ntests/test_harvest_other.py::test_missing_addon \n[gw9] [ 71%] RERUN tests/test_importproject.py::test_compile_commands_with_arguments_array \ntests/test_importproject.py::test_compile_commands_with_arguments_array \n[gw9] [ 71%] FAILED tests/test_importproject.py::test_compile_commands_with_arguments_array \ntests/test_importproject.py::test_compile_commands_missing_file \n[gw9] [ 71%] PASSED tests/test_importproject.py::test_compile_commands_missing_file \n[gw5] [ 71%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline_builddir_j \ntests/test_harvest_whole_program.py::test_suppress_inline_builddir_j \ntests/test_importproject.py::test_compile_commands_invalid_json \n[gw5] [ 71%] FAILED tests/test_harvest_whole_program.py::test_suppress_inline_builddir_j \ntests/test_harvest_whole_program.py::test_inline_suppr_builddir_j_cached \n[gw4] [ 71%] RERUN tests/test_harvest_other.py::test_no_valid_configuration \ntests/test_harvest_other.py::test_no_valid_configuration \n[gw8] [ 71%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_project_builddir_j_thread \ntests/test_harvest_unused_function.py::test_unused_functions_project_builddir_j_thread \n[gw1] [ 71%] RERUN tests/test_harvest_whole_program.py::test_addon_no_artifacts[False] \ntests/test_harvest_whole_program.py::test_addon_no_artifacts[False] \n[gw1] [ 71%] FAILED tests/test_harvest_whole_program.py::test_addon_no_artifacts[False] \ntests/test_harvest_whole_program.py::test_addon_no_artifacts[True] \n[gw0] [ 71%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file_relative_wildcard_backslash \ntests/test_harvest_other.py::test_ignore_project_2_file_relative_wildcard_backslash \n[gw3] [ 71%] RERUN tests/test_harvest_project.py::test_json_invalid_arguments \ntests/test_harvest_project.py::test_json_invalid_arguments \n[gw3] [ 71%] FAILED tests/test_harvest_project.py::test_json_invalid_arguments \ntests/test_harvest_project.py::test_sln_invalid_file \n[gw2] [ 71%] RERUN tests/test_keywords.py::test_cpp20_keywords_concept_coroutines_char8t \ntests/test_keywords.py::test_cpp20_keywords_concept_coroutines_char8t \n[gw2] [ 71%] FAILED tests/test_keywords.py::test_cpp20_keywords_concept_coroutines_char8t \ntests/test_keywords.py::test_c23_keywords_bool_nullptr_typeof \n[gw2] [ 71%] PASSED tests/test_keywords.py::test_c23_keywords_bool_nullptr_typeof \ntests/test_keywords.py::test_cpp03_keywords_class_template_namespace \n[gw6] [ 71%] RERUN tests/test_harvest_other.py::test_missing_addon \ntests/test_harvest_other.py::test_missing_addon \n[gw9] [ 71%] RERUN tests/test_importproject.py::test_compile_commands_invalid_json \ntests/test_importproject.py::test_compile_commands_invalid_json \n[gw5] [ 71%] RERUN tests/test_harvest_whole_program.py::test_inline_suppr_builddir_j_cached \ntests/test_harvest_whole_program.py::test_inline_suppr_builddir_j_cached \n[gw4] [ 71%] RERUN tests/test_harvest_other.py::test_no_valid_configuration \ntests/test_harvest_other.py::test_no_valid_configuration \n[gw8] [ 71%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_project_builddir_j_thread \ntests/test_harvest_unused_function.py::test_unused_functions_project_builddir_j_thread \n[gw8] [ 71%] FAILED tests/test_harvest_unused_function.py::test_unused_functions_project_builddir_j_thread \ntests/test_harvest_unused_function.py::test_unused_functions_project_builddir_j_process \n[gw4] [ 71%] FAILED tests/test_harvest_other.py::test_no_valid_configuration \ntests/test_harvest_other.py::test_no_valid_configuration_check_config \n[gw1] [ 71%] RERUN tests/test_harvest_whole_program.py::test_addon_no_artifacts[True] \ntests/test_harvest_whole_program.py::test_addon_no_artifacts[True] \n[gw0] [ 71%] RERUN tests/test_harvest_other.py::test_ignore_project_2_file_relative_wildcard_backslash \ntests/test_harvest_other.py::test_ignore_project_2_file_relative_wildcard_backslash \n[gw0] [ 71%] FAILED tests/test_harvest_other.py::test_ignore_project_2_file_relative_wildcard_backslash \ntests/test_harvest_other.py::test_ignore_project_2_path_relative \n[gw3] [ 71%] RERUN tests/test_harvest_project.py::test_sln_invalid_file \ntests/test_harvest_project.py::test_sln_invalid_file \n[gw2] [ 71%] RERUN tests/test_keywords.py::test_cpp03_keywords_class_template_namespace \ntests/test_keywords.py::test_cpp03_keywords_class_template_namespace \n[gw6] [ 71%] RERUN tests/test_harvest_other.py::test_missing_addon \ntests/test_harvest_other.py::test_missing_addon \n[gw6] [ 71%] FAILED tests/test_harvest_other.py::test_missing_addon \ntests/test_harvest_other.py::test_file_filter \n[gw6] [ 71%] PASSED tests/test_harvest_other.py::test_file_filter \ntests/test_harvest_other.py::test_file_filter_2 \n[gw6] [ 72%] PASSED tests/test_harvest_other.py::test_file_filter_2 \n[gw9] [ 72%] RERUN tests/test_importproject.py::test_compile_commands_invalid_json \ntests/test_importproject.py::test_compile_commands_invalid_json \n[gw9] [ 72%] FAILED tests/test_importproject.py::test_compile_commands_invalid_json \ntests/test_importproject.py::test_compile_commands_missing_directory_field \ntests/test_harvest_other.py::test_file_filter_3 \n[gw6] [ 72%] PASSED tests/test_harvest_other.py::test_file_filter_3 \ntests/test_harvest_other.py::test_file_filter_no_match \n[gw6] [ 72%] PASSED tests/test_harvest_other.py::test_file_filter_no_match \n[gw5] [ 72%] RERUN tests/test_harvest_whole_program.py::test_inline_suppr_builddir_j_cached \ntests/test_harvest_whole_program.py::test_inline_suppr_builddir_j_cached \n[gw8] [ 72%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_project_builddir_j_process \ntests/test_harvest_unused_function.py::test_unused_functions_project_builddir_j_process \ntests/test_mathlib_gaps.py::test_float_suffix_parsing \n[gw6] [ 72%] PASSED tests/test_mathlib_gaps.py::test_float_suffix_parsing \n[gw5] [ 72%] FAILED tests/test_harvest_whole_program.py::test_inline_suppr_builddir_j_cached \ntests/test_harvest_whole_program.py::test_suppress_inline_project \ntests/test_mathlib_gaps.py::test_complex_nested_expressions \n[gw4] [ 72%] RERUN tests/test_harvest_other.py::test_no_valid_configuration_check_config \ntests/test_harvest_other.py::test_no_valid_configuration_check_config \n[gw6] [ 72%] PASSED tests/test_mathlib_gaps.py::test_complex_nested_expressions \ntests/test_mathlib_gaps.py::test_int_min_division_overflow \n[gw6] [ 72%] PASSED tests/test_mathlib_gaps.py::test_int_min_division_overflow \n[gw1] [ 72%] RERUN tests/test_harvest_whole_program.py::test_addon_no_artifacts[True] \ntests/test_harvest_whole_program.py::test_addon_no_artifacts[True] \ntests/test_mathlib_gaps.py::test_character_literal_conversion \n[gw6] [ 72%] PASSED tests/test_mathlib_gaps.py::test_character_literal_conversion \n[gw1] [ 72%] FAILED tests/test_harvest_whole_program.py::test_addon_no_artifacts[True] \ntests/test_harvest_whole_program.py::test_checkclass \ntests/test_mathlib_gaps.py::test_float_division_by_zero_no_error \n[gw6] [ 72%] PASSED tests/test_mathlib_gaps.py::test_float_division_by_zero_no_error \ntests/test_mathlib_gaps.py::test_float_arithmetic_operations \n[gw6] [ 72%] PASSED tests/test_mathlib_gaps.py::test_float_arithmetic_operations \ntests/test_mathlib_gaps.py::test_hexadecimal_float_literals \n[gw6] [ 72%] PASSED tests/test_mathlib_gaps.py::test_hexadecimal_float_literals \n[gw3] [ 72%] RERUN tests/test_harvest_project.py::test_sln_invalid_file \ntests/test_harvest_project.py::test_sln_invalid_file \n[gw3] [ 72%] FAILED tests/test_harvest_project.py::test_sln_invalid_file \ntests/test_harvest_project.py::test_sln_no_header \n[gw0] [ 72%] RERUN tests/test_harvest_other.py::test_ignore_project_2_path_relative \ntests/test_harvest_other.py::test_ignore_project_2_path_relative \ntests/test_mathlib_gaps.py::test_integer_multiplication_overflow \n[gw2] [ 72%] RERUN tests/test_keywords.py::test_cpp03_keywords_class_template_namespace \ntests/test_keywords.py::test_cpp03_keywords_class_template_namespace \n[gw2] [ 72%] FAILED tests/test_keywords.py::test_cpp03_keywords_class_template_namespace \ntests/test_keywords.py::test_cpp03_backwards_compat_with_cpp20 \n[gw9] [ 72%] RERUN tests/test_importproject.py::test_compile_commands_missing_directory_field \ntests/test_importproject.py::test_compile_commands_missing_directory_field \n[gw8] [ 72%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_project_builddir_j_process \ntests/test_harvest_unused_function.py::test_unused_functions_project_builddir_j_process \n[gw8] [ 72%] FAILED tests/test_harvest_unused_function.py::test_unused_functions_project_builddir_j_process \ntests/test_harvest_unused_function.py::test_unused_functions_compdb \n[gw5] [ 72%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline_project \ntests/test_harvest_whole_program.py::test_suppress_inline_project \n[gw4] [ 72%] RERUN tests/test_harvest_other.py::test_no_valid_configuration_check_config \ntests/test_harvest_other.py::test_no_valid_configuration_check_config \n[gw4] [ 72%] FAILED tests/test_harvest_other.py::test_no_valid_configuration_check_config \ntests/test_importproject.py::test_compile_commands_compiler_flags \n[gw1] [ 72%] RERUN tests/test_harvest_whole_program.py::test_checkclass \ntests/test_harvest_whole_program.py::test_checkclass \n[gw3] [ 72%] RERUN tests/test_harvest_project.py::test_sln_no_header \ntests/test_harvest_project.py::test_sln_no_header \n[gw6] [ 72%] RERUN tests/test_mathlib_gaps.py::test_integer_multiplication_overflow \ntests/test_mathlib_gaps.py::test_integer_multiplication_overflow \n[gw0] [ 72%] RERUN tests/test_harvest_other.py::test_ignore_project_2_path_relative \ntests/test_harvest_other.py::test_ignore_project_2_path_relative \n[gw0] [ 72%] FAILED tests/test_harvest_other.py::test_ignore_project_2_path_relative \ntests/test_harvest_other.py::test_ignore_project_2_path_relative_backslash \n[gw2] [ 73%] RERUN tests/test_keywords.py::test_cpp03_backwards_compat_with_cpp20 \ntests/test_keywords.py::test_cpp03_backwards_compat_with_cpp20 \n[gw9] [ 73%] RERUN tests/test_importproject.py::test_compile_commands_missing_directory_field \ntests/test_importproject.py::test_compile_commands_missing_directory_field \n[gw9] [ 73%] FAILED tests/test_importproject.py::test_compile_commands_missing_directory_field \ntests/test_importproject.py::test_compile_commands_missing_command_and_arguments \n[gw8] [ 73%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_compdb \ntests/test_harvest_unused_function.py::test_unused_functions_compdb \n[gw5] [ 73%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline_project \ntests/test_harvest_whole_program.py::test_suppress_inline_project \n[gw5] [ 73%] FAILED tests/test_harvest_whole_program.py::test_suppress_inline_project \ntests/test_harvest_whole_program.py::test_suppress_inline_project_j \n[gw4] [ 73%] RERUN tests/test_importproject.py::test_compile_commands_compiler_flags \ntests/test_importproject.py::test_compile_commands_compiler_flags \n[gw5] [ 73%] XFAIL tests/test_harvest_whole_program.py::test_suppress_inline_project_j \ntests/test_harvest_whole_program.py::test_suppress_inline_project_builddir \n[gw1] [ 73%] RERUN tests/test_harvest_whole_program.py::test_checkclass \ntests/test_harvest_whole_program.py::test_checkclass \n[gw3] [ 73%] RERUN tests/test_harvest_project.py::test_sln_no_header \ntests/test_harvest_project.py::test_sln_no_header \n[gw1] [ 73%] FAILED tests/test_harvest_whole_program.py::test_checkclass \ntests/test_harvest_whole_program.py::test_checkclass_j \n[gw3] [ 73%] FAILED tests/test_harvest_project.py::test_sln_no_header \ntests/test_harvest_project.py::test_sln_no_projects \n[gw6] [ 73%] RERUN tests/test_mathlib_gaps.py::test_integer_multiplication_overflow \ntests/test_mathlib_gaps.py::test_integer_multiplication_overflow \n[gw1] [ 73%] XFAIL tests/test_harvest_whole_program.py::test_checkclass_j \ntests/test_harvest_whole_program.py::test_checkclass_builddir \n[gw6] [ 73%] FAILED tests/test_mathlib_gaps.py::test_integer_multiplication_overflow \ntests/test_mathlib_gaps.py::test_constant_comparison_folding \n[gw6] [ 73%] PASSED tests/test_mathlib_gaps.py::test_constant_comparison_folding \ntests/test_mathlib_gaps.py::test_integer_suffix_combinations \n[gw6] [ 73%] PASSED tests/test_mathlib_gaps.py::test_integer_suffix_combinations \ntests/test_mathlib_gaps.py::test_zero_value_representations \n[gw6] [ 73%] PASSED tests/test_mathlib_gaps.py::test_zero_value_representations \ntests/test_mathlib_gaps.py::test_shift_boundary_values \n[gw0] [ 73%] RERUN tests/test_harvest_other.py::test_ignore_project_2_path_relative_backslash \ntests/test_harvest_other.py::test_ignore_project_2_path_relative_backslash \n[gw2] [ 73%] RERUN tests/test_keywords.py::test_cpp03_backwards_compat_with_cpp20 \ntests/test_keywords.py::test_cpp03_backwards_compat_with_cpp20 \n[gw2] [ 73%] FAILED tests/test_keywords.py::test_cpp03_backwards_compat_with_cpp20 \ntests/test_keywords.py::test_c17_keywords_same_as_c11 \n[gw2] [ 73%] PASSED tests/test_keywords.py::test_c17_keywords_same_as_c11 \ntests/test_keywords.py::test_cpp14_keywords_same_as_cpp11 \n[gw9] [ 73%] RERUN tests/test_importproject.py::test_compile_commands_missing_command_and_arguments \ntests/test_importproject.py::test_compile_commands_missing_command_and_arguments \n[gw8] [ 73%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_compdb \ntests/test_harvest_unused_function.py::test_unused_functions_compdb \n[gw8] [ 73%] FAILED tests/test_harvest_unused_function.py::test_unused_functions_compdb \ntests/test_harvest_unused_function.py::test_unused_functions_compdb_j \n[gw4] [ 73%] RERUN tests/test_importproject.py::test_compile_commands_compiler_flags \ntests/test_importproject.py::test_compile_commands_compiler_flags \n[gw4] [ 73%] FAILED tests/test_importproject.py::test_compile_commands_compiler_flags \ntests/test_importproject.py::test_compile_commands_relative_path \n[gw5] [ 73%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline_project_builddir \ntests/test_harvest_whole_program.py::test_suppress_inline_project_builddir \n[gw3] [ 73%] RERUN tests/test_harvest_project.py::test_sln_no_projects \ntests/test_harvest_project.py::test_sln_no_projects \n[gw1] [ 73%] RERUN tests/test_harvest_whole_program.py::test_checkclass_builddir \ntests/test_harvest_whole_program.py::test_checkclass_builddir \n[gw6] [ 73%] RERUN tests/test_mathlib_gaps.py::test_shift_boundary_values \ntests/test_mathlib_gaps.py::test_shift_boundary_values \n[gw0] [ 73%] RERUN tests/test_harvest_other.py::test_ignore_project_2_path_relative_backslash \ntests/test_harvest_other.py::test_ignore_project_2_path_relative_backslash \n[gw2] [ 73%] RERUN tests/test_keywords.py::test_cpp14_keywords_same_as_cpp11 \ntests/test_keywords.py::test_cpp14_keywords_same_as_cpp11 \n[gw0] [ 73%] FAILED tests/test_harvest_other.py::test_ignore_project_2_path_relative_backslash \ntests/test_harvest_other.py::test_ignore_project_2_path_relative_wildcard \n[gw9] [ 73%] RERUN tests/test_importproject.py::test_compile_commands_missing_command_and_arguments \ntests/test_importproject.py::test_compile_commands_missing_command_and_arguments \n[gw9] [ 73%] FAILED tests/test_importproject.py::test_compile_commands_missing_command_and_arguments \ntests/test_importproject.py::test_compile_commands_unbalanced_quotes_in_command \n[gw8] [ 73%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_compdb_j \ntests/test_harvest_unused_function.py::test_unused_functions_compdb_j \n[gw4] [ 73%] RERUN tests/test_importproject.py::test_compile_commands_relative_path \ntests/test_importproject.py::test_compile_commands_relative_path \n[gw5] [ 73%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline_project_builddir \ntests/test_harvest_whole_program.py::test_suppress_inline_project_builddir \n[gw3] [ 73%] RERUN tests/test_harvest_project.py::test_sln_no_projects \ntests/test_harvest_project.py::test_sln_no_projects \n[gw3] [ 73%] FAILED tests/test_harvest_project.py::test_sln_no_projects \ntests/test_harvest_project.py::test_sln_project_file_not_found \n[gw5] [ 73%] FAILED tests/test_harvest_whole_program.py::test_suppress_inline_project_builddir \ntests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_cached \n[gw1] [ 73%] RERUN tests/test_harvest_whole_program.py::test_checkclass_builddir \ntests/test_harvest_whole_program.py::test_checkclass_builddir \n[gw1] [ 73%] FAILED tests/test_harvest_whole_program.py::test_checkclass_builddir \ntests/test_harvest_whole_program.py::test_checkclass_builddir_j \n[gw6] [ 73%] RERUN tests/test_mathlib_gaps.py::test_shift_boundary_values \ntests/test_mathlib_gaps.py::test_shift_boundary_values \n[gw6] [ 73%] FAILED tests/test_mathlib_gaps.py::test_shift_boundary_values \ntests/test_mathlib_gaps.py::test_ternary_operator_constant_evaluation \n[gw6] [ 74%] PASSED tests/test_mathlib_gaps.py::test_ternary_operator_constant_evaluation \ntests/test_mathlib_round2.py::test_hexadecimal_negative_value_unsigned_inference \n[gw6] [ 74%] PASSED tests/test_mathlib_round2.py::test_hexadecimal_negative_value_unsigned_inference \ntests/test_mathlib_round2.py::test_microsoft_i64_suffix_parsing \n[gw6] [ 74%] PASSED tests/test_mathlib_round2.py::test_microsoft_i64_suffix_parsing \n[gw2] [ 74%] RERUN tests/test_keywords.py::test_cpp14_keywords_same_as_cpp11 \ntests/test_keywords.py::test_cpp14_keywords_same_as_cpp11 \n[gw2] [ 74%] FAILED tests/test_keywords.py::test_cpp14_keywords_same_as_cpp11 \ntests/test_keywords.py::test_cpp17_keywords_same_as_cpp14 \n[gw2] [ 74%] PASSED tests/test_keywords.py::test_cpp17_keywords_same_as_cpp14 \ntests/test_mathlib_round2.py::test_ll_suffix_type_promotion \n[gw6] [ 74%] PASSED tests/test_mathlib_round2.py::test_ll_suffix_type_promotion \ntests/test_keywords.py::test_cpp23_keywords_same_as_cpp20 \n[gw2] [ 74%] PASSED tests/test_keywords.py::test_cpp23_keywords_same_as_cpp20 \ntests/test_mathlib_round2.py::test_float_special_values_nan_inf \n[gw0] [ 74%] RERUN tests/test_harvest_other.py::test_ignore_project_2_path_relative_wildcard \ntests/test_harvest_other.py::test_ignore_project_2_path_relative_wildcard \n[gw6] [ 74%] PASSED tests/test_mathlib_round2.py::test_float_special_values_nan_inf \ntests/test_mathlib_gaps.py::test_division_by_zero_integer \n[gw2] [ 74%] PASSED tests/test_mathlib_gaps.py::test_division_by_zero_integer \ntests/test_mathlib_round2.py::test_modulo_with_floating_point_fmod \n[gw6] [ 74%] PASSED tests/test_mathlib_round2.py::test_modulo_with_floating_point_fmod \ntests/test_mathlib_gaps.py::test_modulo_by_zero_integer \n[gw2] [ 74%] PASSED tests/test_mathlib_gaps.py::test_modulo_by_zero_integer \ntests/test_mathlib_round2.py::test_bitwise_operations_calculate \n[gw6] [ 74%] PASSED tests/test_mathlib_round2.py::test_bitwise_operations_calculate \ntests/test_mathlib_gaps.py::test_integer_overflow_detection \n[gw9] [ 74%] RERUN tests/test_importproject.py::test_compile_commands_unbalanced_quotes_in_command \ntests/test_importproject.py::test_compile_commands_unbalanced_quotes_in_command \ntests/test_mathlib_round2.py::test_addition_subtraction_large_magnitude_differences \n[gw6] [ 74%] PASSED tests/test_mathlib_round2.py::test_addition_subtraction_large_magnitude_differences \ntests/test_mathlib_round2.py::test_multiplication_overflow_and_special_values \n[gw7] [ 74%] RERUN tests/test_harvest_performance.py::test_stack_overflow_AST \ntests/test_harvest_performance.py::test_stack_overflow_AST \n[gw8] [ 74%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_compdb_j \ntests/test_harvest_unused_function.py::test_unused_functions_compdb_j \n[gw8] [ 74%] FAILED tests/test_harvest_unused_function.py::test_unused_functions_compdb_j \ntests/test_harvest_unused_function.py::test_unused_functions_compdb_buildir_j_thread \n[gw4] [ 74%] RERUN tests/test_importproject.py::test_compile_commands_relative_path \ntests/test_importproject.py::test_compile_commands_relative_path \n[gw4] [ 74%] FAILED tests/test_importproject.py::test_compile_commands_relative_path \ntests/test_importproject.py::test_compile_commands_absolute_path \n[gw3] [ 74%] RERUN tests/test_harvest_project.py::test_sln_project_file_not_found \ntests/test_harvest_project.py::test_sln_project_file_not_found \n[gw5] [ 74%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_cached \ntests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_cached \n[gw1] [ 74%] RERUN tests/test_harvest_whole_program.py::test_checkclass_builddir_j \ntests/test_harvest_whole_program.py::test_checkclass_builddir_j \n[gw0] [ 74%] RERUN tests/test_harvest_other.py::test_ignore_project_2_path_relative_wildcard \ntests/test_harvest_other.py::test_ignore_project_2_path_relative_wildcard \n[gw2] [ 75%] RERUN tests/test_mathlib_gaps.py::test_integer_overflow_detection \ntests/test_mathlib_gaps.py::test_integer_overflow_detection \n[gw9] [ 75%] RERUN tests/test_importproject.py::test_compile_commands_unbalanced_quotes_in_command \ntests/test_importproject.py::test_compile_commands_unbalanced_quotes_in_command \n[gw0] [ 75%] FAILED tests/test_harvest_other.py::test_ignore_project_2_path_relative_wildcard \ntests/test_harvest_other.py::test_ignore_project_2_path_relative_wildcard_backslash \n[gw9] [ 75%] FAILED tests/test_importproject.py::test_compile_commands_unbalanced_quotes_in_command \ntests/test_importproject.py::test_compile_commands_complex_quoting \n[gw6] [ 75%] RERUN tests/test_mathlib_round2.py::test_multiplication_overflow_and_special_values \ntests/test_mathlib_round2.py::test_multiplication_overflow_and_special_values \n[gw8] [ 75%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_compdb_buildir_j_thread \ntests/test_harvest_unused_function.py::test_unused_functions_compdb_buildir_j_thread \n[gw4] [ 75%] RERUN tests/test_importproject.py::test_compile_commands_absolute_path \ntests/test_importproject.py::test_compile_commands_absolute_path \n[gw3] [ 75%] RERUN tests/test_harvest_project.py::test_sln_project_file_not_found \ntests/test_harvest_project.py::test_sln_project_file_not_found \n[gw3] [ 75%] FAILED tests/test_harvest_project.py::test_sln_project_file_not_found \ntests/test_harvest_project.py::test_vcxproj_no_xml_root \n[gw5] [ 75%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_cached \ntests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_cached \n[gw5] [ 75%] FAILED tests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_cached \ntests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_j \n[gw1] [ 75%] RERUN tests/test_harvest_whole_program.py::test_checkclass_builddir_j \ntests/test_harvest_whole_program.py::test_checkclass_builddir_j \n[gw1] [ 75%] FAILED tests/test_harvest_whole_program.py::test_checkclass_builddir_j \ntests/test_harvest_whole_program.py::test_checkclass_project \n[gw2] [ 75%] RERUN tests/test_mathlib_gaps.py::test_integer_overflow_detection \ntests/test_mathlib_gaps.py::test_integer_overflow_detection \n[gw2] [ 75%] FAILED tests/test_mathlib_gaps.py::test_integer_overflow_detection \ntests/test_mathlib_gaps.py::test_bitwise_operations_constants \n[gw2] [ 75%] PASSED tests/test_mathlib_gaps.py::test_bitwise_operations_constants \n[gw9] [ 75%] RERUN tests/test_importproject.py::test_compile_commands_complex_quoting \ntests/test_importproject.py::test_compile_commands_complex_quoting \ntests/test_mathlib_gaps.py::test_hexadecimal_number_parsing \n[gw2] [ 75%] PASSED tests/test_mathlib_gaps.py::test_hexadecimal_number_parsing \n[gw0] [ 75%] RERUN tests/test_harvest_other.py::test_ignore_project_2_path_relative_wildcard_backslash \ntests/test_harvest_other.py::test_ignore_project_2_path_relative_wildcard_backslash \n[gw6] [ 75%] RERUN tests/test_mathlib_round2.py::test_multiplication_overflow_and_special_values \ntests/test_mathlib_round2.py::test_multiplication_overflow_and_special_values \n[gw6] [ 75%] FAILED tests/test_mathlib_round2.py::test_multiplication_overflow_and_special_values \ntests/test_mathlib_round3.py::test_character_literal_simple \ntests/test_mathlib_gaps.py::test_octal_and_binary_number_parsing \n[gw6] [ 75%] PASSED tests/test_mathlib_round3.py::test_character_literal_simple \n[gw2] [ 75%] PASSED tests/test_mathlib_gaps.py::test_octal_and_binary_number_parsing \n[gw8] [ 75%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_compdb_buildir_j_thread \ntests/test_harvest_unused_function.py::test_unused_functions_compdb_buildir_j_thread \n[gw8] [ 75%] FAILED tests/test_harvest_unused_function.py::test_unused_functions_compdb_buildir_j_thread \ntests/test_harvest_unused_function.py::test_unused_functions_compdb_builddir_j_process \ntests/test_mathlib_round3.py::test_hexadecimal_float_parsing \n[gw6] [ 75%] PASSED tests/test_mathlib_round3.py::test_hexadecimal_float_parsing \ntests/test_mathlib_gaps.py::test_shift_overflow_detection \ntests/test_mathlib_round3.py::test_octal_literals_with_suffixes \n[gw6] [ 75%] PASSED tests/test_mathlib_round3.py::test_octal_literals_with_suffixes \ntests/test_mathlib_round3.py::test_binary_literals_with_suffixes \n[gw6] [ 75%] PASSED tests/test_mathlib_round3.py::test_binary_literals_with_suffixes \ntests/test_mathlib_round3.py::test_decimal_float_various_formats \n[gw4] [ 75%] RERUN tests/test_importproject.py::test_compile_commands_absolute_path \ntests/test_importproject.py::test_compile_commands_absolute_path \n[gw6] [ 75%] PASSED tests/test_mathlib_round3.py::test_decimal_float_various_formats \n[gw4] [ 75%] FAILED tests/test_importproject.py::test_compile_commands_absolute_path \ntests/test_importproject.py::test_compile_commands_duplicate_files \ntests/test_mathlib_round3.py::test_integer_suffixes_comprehensive \n[gw6] [ 75%] PASSED tests/test_mathlib_round3.py::test_integer_suffixes_comprehensive \ntests/test_mathlib_round3.py::test_arithmetic_operations_mixed_types \n[gw6] [ 75%] PASSED tests/test_mathlib_round3.py::test_arithmetic_operations_mixed_types \ntests/test_mathlib_round3.py::test_negative_number_parsing \n[gw3] [ 75%] RERUN tests/test_harvest_project.py::test_vcxproj_no_xml_root \ntests/test_harvest_project.py::test_vcxproj_no_xml_root \n[gw6] [ 75%] PASSED tests/test_mathlib_round3.py::test_negative_number_parsing \ntests/test_mathlib_round3.py::test_bit_shift_operations \n[gw6] [ 75%] PASSED tests/test_mathlib_round3.py::test_bit_shift_operations \ntests/test_mathlib_round3.py::test_comparison_operations \n[gw6] [ 76%] PASSED tests/test_mathlib_round3.py::test_comparison_operations \ntests/test_mathlib_round3.py::test_null_value_detection \n[gw6] [ 76%] PASSED tests/test_mathlib_round3.py::test_null_value_detection \n[gw5] [ 76%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_j \ntests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_j \ntests/test_mathlib_round3.py::test_trigonometric_functions \n[gw6] [ 76%] PASSED tests/test_mathlib_round3.py::test_trigonometric_functions \ntests/test_mathlib_round3.py::test_large_number_literals \n[gw6] [ 76%] PASSED tests/test_mathlib_round3.py::test_large_number_literals \ntests/test_mathlib_round3.py::test_absolute_value_function \n[gw6] [ 76%] PASSED tests/test_mathlib_round3.py::test_absolute_value_function \ntests/test_mathlib_round3.py::test_positive_sign_parsing \n[gw6] [ 76%] PASSED tests/test_mathlib_round3.py::test_positive_sign_parsing \n[gw1] [ 76%] RERUN tests/test_harvest_whole_program.py::test_checkclass_project \ntests/test_harvest_whole_program.py::test_checkclass_project \ntests/test_mathlib_round3.py::test_suffix_mixed_case_combinations \n[gw6] [ 76%] PASSED tests/test_mathlib_round3.py::test_suffix_mixed_case_combinations \ntests/test_programmemory.py::test_boolean_value_tracking \n[gw6] [ 76%] PASSED tests/test_programmemory.py::test_boolean_value_tracking \ntests/test_programmemory.py::test_arithmetic_overflow_detection \n[gw9] [ 76%] RERUN tests/test_importproject.py::test_compile_commands_complex_quoting \ntests/test_importproject.py::test_compile_commands_complex_quoting \n[gw9] [ 76%] FAILED tests/test_importproject.py::test_compile_commands_complex_quoting \ntests/test_importproject.py::test_vcxproj_basic \n[gw9] [ 76%] SKIPPED tests/test_importproject.py::test_vcxproj_basic \ntests/test_importproject.py::test_vcxproj_with_configuration_filter \n[gw9] [ 76%] SKIPPED tests/test_importproject.py::test_vcxproj_with_configuration_filter \ntests/test_importproject.py::test_sln_solution_file \n[gw9] [ 76%] SKIPPED tests/test_importproject.py::test_sln_solution_file \n[gw8] [ 76%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_compdb_builddir_j_process \ntests/test_harvest_unused_function.py::test_unused_functions_compdb_builddir_j_process \n[gw0] [ 76%] RERUN tests/test_harvest_other.py::test_ignore_project_2_path_relative_wildcard_backslash \ntests/test_harvest_other.py::test_ignore_project_2_path_relative_wildcard_backslash \n[gw2] [ 76%] RERUN tests/test_mathlib_gaps.py::test_shift_overflow_detection \ntests/test_mathlib_gaps.py::test_shift_overflow_detection \ntests/test_importproject.py::test_unknown_project_file_extension \n[gw9] [ 76%] PASSED tests/test_importproject.py::test_unknown_project_file_extension \n[gw0] [ 76%] FAILED tests/test_harvest_other.py::test_ignore_project_2_path_relative_wildcard_backslash \ntests/test_mathlib_round3.py::test_decimal_point_edge_cases \n[gw0] [ 76%] PASSED tests/test_mathlib_round3.py::test_decimal_point_edge_cases \ntests/test_importproject.py::test_compile_commands_wrong_type_directory \ntests/test_mathlib_round3.py::test_multicharacter_literals \n[gw0] [ 76%] PASSED tests/test_mathlib_round3.py::test_multicharacter_literals \n[gw4] [ 77%] RERUN tests/test_importproject.py::test_compile_commands_duplicate_files \ntests/test_importproject.py::test_compile_commands_duplicate_files \ntests/test_mathlib_round3.py::test_escape_sequence_literals \n[gw0] [ 77%] PASSED tests/test_mathlib_round3.py::test_escape_sequence_literals \ntests/test_mathlib_round3.py::test_mixed_base_arithmetic_operations \n[gw0] [ 77%] PASSED tests/test_mathlib_round3.py::test_mixed_base_arithmetic_operations \ntests/test_mathlib_round3.py::test_unsigned_arithmetic_overflow \n[gw0] [ 77%] PASSED tests/test_mathlib_round3.py::test_unsigned_arithmetic_overflow \n[gw3] [ 77%] RERUN tests/test_harvest_project.py::test_vcxproj_no_xml_root \ntests/test_harvest_project.py::test_vcxproj_no_xml_root \ntests/test_mathlib_round3.py::test_floating_point_special_operations \n[gw3] [ 77%] FAILED tests/test_harvest_project.py::test_vcxproj_no_xml_root \ntests/test_harvest_project.py::test_bpr_no_xml_root \n[gw0] [ 77%] PASSED tests/test_mathlib_round3.py::test_floating_point_special_operations \ntests/test_mathlib_round3.py::test_type_promotion_in_operations \n[gw0] [ 77%] PASSED tests/test_mathlib_round3.py::test_type_promotion_in_operations \ntests/test_mathlib_round3.py::test_hexadecimal_float_comprehensive \n[gw0] [ 77%] PASSED tests/test_mathlib_round3.py::test_hexadecimal_float_comprehensive \ntests/test_mathlib_round3.py::test_isDec_function_coverage \n[gw0] [ 77%] PASSED tests/test_mathlib_round3.py::test_isDec_function_coverage \ntests/test_mathlib_round3.py::test_value_compare_function \n[gw0] [ 77%] PASSED tests/test_mathlib_round3.py::test_value_compare_function \n[gw5] [ 77%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_j \ntests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_j \ntests/test_mathlib_round3.py::test_bitwise_operations_comprehensive \n[gw0] [ 77%] PASSED tests/test_mathlib_round3.py::test_bitwise_operations_comprehensive \n[gw5] [ 77%] FAILED tests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_j \ntests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_j_cached \ntests/test_mathlib_round3.py::test_modulo_operations_comprehensive \n[gw0] [ 77%] PASSED tests/test_mathlib_round3.py::test_modulo_operations_comprehensive \ntests/test_mathlib_round3.py::test_mixed_type_calculations_suffix \n[gw0] [ 77%] PASSED tests/test_mathlib_round3.py::test_mixed_type_calculations_suffix \ntests/test_mathlib_round3.py::test_intsuffix_precedence \n[gw0] [ 77%] PASSED tests/test_mathlib_round3.py::test_intsuffix_precedence \n[gw1] [ 77%] RERUN tests/test_harvest_whole_program.py::test_checkclass_project \ntests/test_harvest_whole_program.py::test_checkclass_project \ntests/test_programmemory.py::test_simple_constant_value_tracking \n[gw1] [ 77%] FAILED tests/test_harvest_whole_program.py::test_checkclass_project \ntests/test_harvest_whole_program.py::test_checkclass_project_j \n[gw6] [ 77%] RERUN tests/test_programmemory.py::test_arithmetic_overflow_detection \ntests/test_programmemory.py::test_arithmetic_overflow_detection \n[gw1] [ 77%] XFAIL tests/test_harvest_whole_program.py::test_checkclass_project_j \ntests/test_harvest_whole_program.py::test_checkclass_project_builddir \n[gw8] [ 77%] RERUN tests/test_harvest_unused_function.py::test_unused_functions_compdb_builddir_j_process \ntests/test_harvest_unused_function.py::test_unused_functions_compdb_builddir_j_process \n[gw8] [ 77%] FAILED tests/test_harvest_unused_function.py::test_unused_functions_compdb_builddir_j_process \ntests/test_harvest_whole_program.py::test_addon_suppress_inline \n[gw2] [ 77%] RERUN tests/test_mathlib_gaps.py::test_shift_overflow_detection \ntests/test_mathlib_gaps.py::test_shift_overflow_detection \n[gw2] [ 77%] FAILED tests/test_mathlib_gaps.py::test_shift_overflow_detection \ntests/test_mathlib_gaps.py::test_unsigned_arithmetic_wrapping \n[gw2] [ 77%] PASSED tests/test_mathlib_gaps.py::test_unsigned_arithmetic_wrapping \n[gw9] [ 77%] RERUN tests/test_importproject.py::test_compile_commands_wrong_type_directory \ntests/test_importproject.py::test_compile_commands_wrong_type_directory \ntests/test_mathlib_gaps.py::test_mixed_type_arithmetic \n[gw2] [ 77%] PASSED tests/test_mathlib_gaps.py::test_mixed_type_arithmetic \ntests/test_mathlib_gaps.py::test_negative_shift_detection \n[gw2] [ 78%] PASSED tests/test_mathlib_gaps.py::test_negative_shift_detection \n[gw4] [ 78%] RERUN tests/test_importproject.py::test_compile_commands_duplicate_files \ntests/test_importproject.py::test_compile_commands_duplicate_files \n[gw4] [ 78%] FAILED tests/test_importproject.py::test_compile_commands_duplicate_files \ntests/test_importproject.py::test_compile_commands_empty_array \ntests/test_mathlib_gaps.py::test_hex_out_of_range_detection \n[gw3] [ 78%] RERUN tests/test_harvest_project.py::test_bpr_no_xml_root \ntests/test_harvest_project.py::test_bpr_no_xml_root \n[gw5] [ 78%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_j_cached \ntests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_j_cached \n[gw0] [ 78%] RERUN tests/test_programmemory.py::test_simple_constant_value_tracking \ntests/test_programmemory.py::test_simple_constant_value_tracking \n[gw6] [ 78%] RERUN tests/test_programmemory.py::test_arithmetic_overflow_detection \ntests/test_programmemory.py::test_arithmetic_overflow_detection \n[gw6] [ 78%] FAILED tests/test_programmemory.py::test_arithmetic_overflow_detection \ntests/test_programmemory.py::test_division_by_zero_detection \n[gw6] [ 78%] PASSED tests/test_programmemory.py::test_division_by_zero_detection \n[gw1] [ 78%] RERUN tests/test_harvest_whole_program.py::test_checkclass_project_builddir \ntests/test_harvest_whole_program.py::test_checkclass_project_builddir \ntests/test_programmemory.py::test_null_pointer_dereference_tracking \n[gw6] [ 78%] PASSED tests/test_programmemory.py::test_null_pointer_dereference_tracking \ntests/test_programmemory.py::test_nested_conditional_value_tracking \n[gw8] [ 78%] RERUN tests/test_harvest_whole_program.py::test_addon_suppress_inline \ntests/test_harvest_whole_program.py::test_addon_suppress_inline \n[gw9] [ 78%] RERUN tests/test_importproject.py::test_compile_commands_wrong_type_directory \ntests/test_importproject.py::test_compile_commands_wrong_type_directory \n[gw9] [ 78%] FAILED tests/test_importproject.py::test_compile_commands_wrong_type_directory \ntests/test_importproject.py::test_compile_commands_wrong_type_command \n[gw4] [ 78%] RERUN tests/test_importproject.py::test_compile_commands_empty_array \ntests/test_importproject.py::test_compile_commands_empty_array \n[gw2] [ 78%] RERUN tests/test_mathlib_gaps.py::test_hex_out_of_range_detection \ntests/test_mathlib_gaps.py::test_hex_out_of_range_detection \n[gw3] [ 78%] RERUN tests/test_harvest_project.py::test_bpr_no_xml_root \ntests/test_harvest_project.py::test_bpr_no_xml_root \n[gw3] [ 78%] FAILED tests/test_harvest_project.py::test_bpr_no_xml_root \ntests/test_harvest_project.py::test_cppcheck_no_xml_root \n[gw5] [ 78%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_j_cached \ntests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_j_cached \n[gw5] [ 78%] FAILED tests/test_harvest_whole_program.py::test_suppress_inline_project_builddir_j_cached \ntests/test_harvest_whole_program.py::test_addon_rerun[False] \n[gw0] [ 78%] RERUN tests/test_programmemory.py::test_simple_constant_value_tracking \ntests/test_programmemory.py::test_simple_constant_value_tracking \n[gw0] [ 78%] FAILED tests/test_programmemory.py::test_simple_constant_value_tracking \ntests/test_programmemory.py::test_conditional_value_flow_branches \n[gw1] [ 78%] RERUN tests/test_harvest_whole_program.py::test_checkclass_project_builddir \ntests/test_harvest_whole_program.py::test_checkclass_project_builddir \n[gw6] [ 78%] RERUN tests/test_programmemory.py::test_nested_conditional_value_tracking \ntests/test_programmemory.py::test_nested_conditional_value_tracking \n[gw1] [ 78%] FAILED tests/test_harvest_whole_program.py::test_checkclass_project_builddir \ntests/test_harvest_whole_program.py::test_checkclass_project_builddir_j \n[gw9] [ 78%] RERUN tests/test_importproject.py::test_compile_commands_wrong_type_command \ntests/test_importproject.py::test_compile_commands_wrong_type_command \n[gw8] [ 78%] RERUN tests/test_harvest_whole_program.py::test_addon_suppress_inline \ntests/test_harvest_whole_program.py::test_addon_suppress_inline \n[gw8] [ 78%] FAILED tests/test_harvest_whole_program.py::test_addon_suppress_inline \ntests/test_harvest_whole_program.py::test_addon_suppress_inline_project \n[gw4] [ 78%] RERUN tests/test_importproject.py::test_compile_commands_empty_array \ntests/test_importproject.py::test_compile_commands_empty_array \n[gw4] [ 78%] FAILED tests/test_importproject.py::test_compile_commands_empty_array \ntests/test_importproject.py::test_sln_empty_file \n[gw2] [ 78%] RERUN tests/test_mathlib_gaps.py::test_hex_out_of_range_detection \ntests/test_mathlib_gaps.py::test_hex_out_of_range_detection \n[gw2] [ 78%] FAILED tests/test_mathlib_gaps.py::test_hex_out_of_range_detection \ntests/test_programmemory.py::test_array_element_value_tracking \n[gw3] [ 78%] RERUN tests/test_harvest_project.py::test_cppcheck_no_xml_root \ntests/test_harvest_project.py::test_cppcheck_no_xml_root \n[gw5] [ 78%] RERUN tests/test_harvest_whole_program.py::test_addon_rerun[False] \ntests/test_harvest_whole_program.py::test_addon_rerun[False] \n[gw0] [ 78%] RERUN tests/test_programmemory.py::test_conditional_value_flow_branches \ntests/test_programmemory.py::test_conditional_value_flow_branches \n[gw6] [ 78%] RERUN tests/test_programmemory.py::test_nested_conditional_value_tracking \ntests/test_programmemory.py::test_nested_conditional_value_tracking \n[gw6] [ 78%] FAILED tests/test_programmemory.py::test_nested_conditional_value_tracking \ntests/test_programmemory.py::test_switch_case_value_tracking \n[gw1] [ 78%] RERUN tests/test_harvest_whole_program.py::test_checkclass_project_builddir_j \ntests/test_harvest_whole_program.py::test_checkclass_project_builddir_j \n[gw9] [ 78%] RERUN tests/test_importproject.py::test_compile_commands_wrong_type_command \ntests/test_importproject.py::test_compile_commands_wrong_type_command \n[gw9] [ 78%] FAILED tests/test_importproject.py::test_compile_commands_wrong_type_command \ntests/test_importproject.py::test_compile_commands_wrong_type_arguments \n[gw8] [ 78%] RERUN tests/test_harvest_whole_program.py::test_addon_suppress_inline_project \ntests/test_harvest_whole_program.py::test_addon_suppress_inline_project \n[gw4] [ 78%] RERUN tests/test_importproject.py::test_sln_empty_file \ntests/test_importproject.py::test_sln_empty_file \n[gw2] [ 79%] RERUN tests/test_programmemory.py::test_array_element_value_tracking \ntests/test_programmemory.py::test_array_element_value_tracking \n[gw3] [ 79%] RERUN tests/test_harvest_project.py::test_cppcheck_no_xml_root \ntests/test_harvest_project.py::test_cppcheck_no_xml_root \n[gw3] [ 79%] FAILED tests/test_harvest_project.py::test_cppcheck_no_xml_root \ntests/test_harvest_qml.py::test_unused_functions \n[gw5] [ 79%] RERUN tests/test_harvest_whole_program.py::test_addon_rerun[False] \ntests/test_harvest_whole_program.py::test_addon_rerun[False] \n[gw0] [ 79%] RERUN tests/test_programmemory.py::test_conditional_value_flow_branches \ntests/test_programmemory.py::test_conditional_value_flow_branches \n[gw0] [ 79%] FAILED tests/test_programmemory.py::test_conditional_value_flow_branches \ntests/test_programmemory.py::test_increment_decrement_tracking \n[gw5] [ 79%] FAILED tests/test_harvest_whole_program.py::test_addon_rerun[False] \ntests/test_harvest_whole_program.py::test_addon_rerun[True] \n[gw6] [ 79%] RERUN tests/test_programmemory.py::test_switch_case_value_tracking \ntests/test_programmemory.py::test_switch_case_value_tracking \n[gw1] [ 79%] RERUN tests/test_harvest_whole_program.py::test_checkclass_project_builddir_j \ntests/test_harvest_whole_program.py::test_checkclass_project_builddir_j \n[gw9] [ 79%] RERUN tests/test_importproject.py::test_compile_commands_wrong_type_arguments \ntests/test_importproject.py::test_compile_commands_wrong_type_arguments \n[gw1] [ 79%] FAILED tests/test_harvest_whole_program.py::test_checkclass_project_builddir_j \ntests/test_harvest_whole_program.py::test_ctu_odr_config \n[gw4] [ 79%] RERUN tests/test_importproject.py::test_sln_empty_file \ntests/test_importproject.py::test_sln_empty_file \n[gw4] [ 79%] FAILED tests/test_importproject.py::test_sln_empty_file \ntests/test_importproject.py::test_sln_invalid_format \n[gw8] [ 79%] RERUN tests/test_harvest_whole_program.py::test_addon_suppress_inline_project \ntests/test_harvest_whole_program.py::test_addon_suppress_inline_project \n[gw2] [ 79%] RERUN tests/test_programmemory.py::test_array_element_value_tracking \ntests/test_programmemory.py::test_array_element_value_tracking \n[gw2] [ 79%] FAILED tests/test_programmemory.py::test_array_element_value_tracking \ntests/test_programmemory.py::test_pointer_aliasing_value_modification \n[gw8] [ 79%] FAILED tests/test_harvest_whole_program.py::test_addon_suppress_inline_project \ntests/test_harvest_whole_program.py::test_suppress_inline \n[gw3] [ 79%] RERUN tests/test_harvest_qml.py::test_unused_functions \ntests/test_harvest_qml.py::test_unused_functions \n[gw0] [ 79%] RERUN tests/test_programmemory.py::test_increment_decrement_tracking \ntests/test_programmemory.py::test_increment_decrement_tracking \n[gw5] [ 79%] RERUN tests/test_harvest_whole_program.py::test_addon_rerun[True] \ntests/test_harvest_whole_program.py::test_addon_rerun[True] \n[gw6] [ 79%] RERUN tests/test_programmemory.py::test_switch_case_value_tracking \ntests/test_programmemory.py::test_switch_case_value_tracking \n[gw6] [ 79%] FAILED tests/test_programmemory.py::test_switch_case_value_tracking \ntests/test_programmemory.py::test_ternary_operator_value_tracking \n[gw9] [ 79%] RERUN tests/test_importproject.py::test_compile_commands_wrong_type_arguments \ntests/test_importproject.py::test_compile_commands_wrong_type_arguments \n[gw9] [ 79%] FAILED tests/test_importproject.py::test_compile_commands_wrong_type_arguments \ntests/test_importproject.py::test_compile_commands_multiple_files \n[gw1] [ 79%] RERUN tests/test_harvest_whole_program.py::test_ctu_odr_config \ntests/test_harvest_whole_program.py::test_ctu_odr_config \n[gw4] [ 79%] RERUN tests/test_importproject.py::test_sln_invalid_format \ntests/test_importproject.py::test_sln_invalid_format \n[gw2] [ 79%] RERUN tests/test_programmemory.py::test_pointer_aliasing_value_modification \ntests/test_programmemory.py::test_pointer_aliasing_value_modification \n[gw8] [ 79%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline \ntests/test_harvest_whole_program.py::test_suppress_inline \n[gw3] [ 79%] RERUN tests/test_harvest_qml.py::test_unused_functions \ntests/test_harvest_qml.py::test_unused_functions \n[gw3] [ 79%] FAILED tests/test_harvest_qml.py::test_unused_functions \ntests/test_harvest_qml.py::test_unused_functions_j \n[gw0] [ 79%] RERUN tests/test_programmemory.py::test_increment_decrement_tracking \ntests/test_programmemory.py::test_increment_decrement_tracking \n[gw0] [ 79%] FAILED tests/test_programmemory.py::test_increment_decrement_tracking \ntests/test_programmemory.py::test_const_value_tracking \n[gw5] [ 79%] RERUN tests/test_harvest_whole_program.py::test_addon_rerun[True] \ntests/test_harvest_whole_program.py::test_addon_rerun[True] \n[gw5] [ 79%] FAILED tests/test_harvest_whole_program.py::test_addon_rerun[True] \ntests/test_harvest_whole_program.py::test_addon_builddir_use_ctuinfo \n[gw6] [ 79%] RERUN tests/test_programmemory.py::test_ternary_operator_value_tracking \ntests/test_programmemory.py::test_ternary_operator_value_tracking \n[gw9] [ 79%] RERUN tests/test_importproject.py::test_compile_commands_multiple_files \ntests/test_importproject.py::test_compile_commands_multiple_files \n[gw4] [ 79%] RERUN tests/test_importproject.py::test_sln_invalid_format \ntests/test_importproject.py::test_sln_invalid_format \n[gw4] [ 79%] FAILED tests/test_importproject.py::test_sln_invalid_format \ntests/test_importproject.py::test_vcxproj_invalid_xml \n[gw1] [ 79%] RERUN tests/test_harvest_whole_program.py::test_ctu_odr_config \ntests/test_harvest_whole_program.py::test_ctu_odr_config \n[gw2] [ 79%] RERUN tests/test_programmemory.py::test_pointer_aliasing_value_modification \ntests/test_programmemory.py::test_pointer_aliasing_value_modification \n[gw1] [ 79%] FAILED tests/test_harvest_whole_program.py::test_ctu_odr_config \ntests/test_harvest_whole_program.py::test_nullpointer_file0 \n[gw2] [ 79%] FAILED tests/test_programmemory.py::test_pointer_aliasing_value_modification \ntests/test_programmemory.py::test_loop_invariant_tracking \n[gw2] [ 79%] PASSED tests/test_programmemory.py::test_loop_invariant_tracking \ntests/test_programmemory.py::test_struct_member_value_tracking \n[gw3] [ 79%] RERUN tests/test_harvest_qml.py::test_unused_functions_j \ntests/test_harvest_qml.py::test_unused_functions_j \n[gw8] [ 79%] RERUN tests/test_harvest_whole_program.py::test_suppress_inline \ntests/test_harvest_whole_program.py::test_suppress_inline \n[gw8] [ 79%] FAILED tests/test_harvest_whole_program.py::test_suppress_inline \ntests/test_harvest_whole_program.py::test_suppress_inline_j \n[gw8] [ 79%] XFAIL tests/test_harvest_whole_program.py::test_suppress_inline_j \ntests/test_reverseanalyzer.py::test_switch_statement_reverse \n[gw0] [ 79%] RERUN tests/test_programmemory.py::test_const_value_tracking \ntests/test_programmemory.py::test_const_value_tracking \n[gw5] [ 79%] RERUN tests/test_harvest_whole_program.py::test_addon_builddir_use_ctuinfo \ntests/test_harvest_whole_program.py::test_addon_builddir_use_ctuinfo \n[gw6] [ 79%] RERUN tests/test_programmemory.py::test_ternary_operator_value_tracking \ntests/test_programmemory.py::test_ternary_operator_value_tracking \n[gw6] [ 79%] FAILED tests/test_programmemory.py::test_ternary_operator_value_tracking \ntests/test_programmemory.py::test_function_return_value_tracking \n[gw9] [ 79%] RERUN tests/test_importproject.py::test_compile_commands_multiple_files \ntests/test_importproject.py::test_compile_commands_multiple_files \n[gw9] [ 79%] FAILED tests/test_importproject.py::test_compile_commands_multiple_files \ntests/test_programmemory.py::test_shift_operation_value_tracking \n[gw4] [ 79%] RERUN tests/test_importproject.py::test_vcxproj_invalid_xml \ntests/test_importproject.py::test_vcxproj_invalid_xml \n[gw1] [ 80%] RERUN tests/test_harvest_whole_program.py::test_nullpointer_file0 \ntests/test_harvest_whole_program.py::test_nullpointer_file0 \n[gw3] [ 80%] RERUN tests/test_harvest_qml.py::test_unused_functions_j \ntests/test_harvest_qml.py::test_unused_functions_j \n[gw2] [ 80%] RERUN tests/test_programmemory.py::test_struct_member_value_tracking \ntests/test_programmemory.py::test_struct_member_value_tracking \n[gw3] [ 80%] FAILED tests/test_harvest_qml.py::test_unused_functions_j \ntests/test_harvest_qml.py::test_unused_functions_builddir \n[gw8] [ 80%] RERUN tests/test_reverseanalyzer.py::test_switch_statement_reverse \ntests/test_reverseanalyzer.py::test_switch_statement_reverse \n[gw0] [ 80%] RERUN tests/test_programmemory.py::test_const_value_tracking \ntests/test_programmemory.py::test_const_value_tracking \n[gw0] [ 80%] FAILED tests/test_programmemory.py::test_const_value_tracking \ntests/test_programmemory.py::test_enum_value_tracking \n[gw0] [ 80%] PASSED tests/test_programmemory.py::test_enum_value_tracking \ntests/test_programmemory.py::test_macro_defined_constant_tracking \n[gw5] [ 80%] RERUN tests/test_harvest_whole_program.py::test_addon_builddir_use_ctuinfo \ntests/test_harvest_whole_program.py::test_addon_builddir_use_ctuinfo \n[gw6] [ 80%] RERUN tests/test_programmemory.py::test_function_return_value_tracking \ntests/test_programmemory.py::test_function_return_value_tracking \n[gw9] [ 80%] RERUN tests/test_programmemory.py::test_shift_operation_value_tracking \ntests/test_programmemory.py::test_shift_operation_value_tracking \n[gw5] [ 80%] FAILED tests/test_harvest_whole_program.py::test_addon_builddir_use_ctuinfo \ntests/test_mathlib_round2.py::test_hexadecimal_floating_point_literals \n[gw5] [ 80%] PASSED tests/test_mathlib_round2.py::test_hexadecimal_floating_point_literals \ntests/test_mathlib_round2.py::test_octal_and_binary_literal_parsing \n[gw5] [ 80%] PASSED tests/test_mathlib_round2.py::test_octal_and_binary_literal_parsing \n[gw4] [ 80%] RERUN tests/test_importproject.py::test_vcxproj_invalid_xml \ntests/test_importproject.py::test_vcxproj_invalid_xml \n[gw4] [ 80%] FAILED tests/test_importproject.py::test_vcxproj_invalid_xml \ntests/test_importproject.py::test_vcxproj_empty_xml \ntests/test_mathlib_round2.py::test_floating_point_edge_case_formats \n[gw5] [ 80%] PASSED tests/test_mathlib_round2.py::test_floating_point_edge_case_formats \ntests/test_mathlib_round2.py::test_mixed_signed_unsigned_comparison \n[gw5] [ 80%] PASSED tests/test_mathlib_round2.py::test_mixed_signed_unsigned_comparison \n[gw2] [ 80%] RERUN tests/test_programmemory.py::test_struct_member_value_tracking \ntests/test_programmemory.py::test_struct_member_value_tracking \n[gw3] [ 80%] RERUN tests/test_harvest_qml.py::test_unused_functions_builddir \ntests/test_harvest_qml.py::test_unused_functions_builddir \n[gw2] [ 80%] FAILED tests/test_programmemory.py::test_struct_member_value_tracking \ntests/test_programmemory.py::test_container_size_tracking_vector \n[gw1] [ 80%] RERUN tests/test_harvest_whole_program.py::test_nullpointer_file0 \ntests/test_harvest_whole_program.py::test_nullpointer_file0 \ntests/test_mathlib_round2.py::test_shift_operations_edge_cases \n[gw5] [ 80%] PASSED tests/test_mathlib_round2.py::test_shift_operations_edge_cases \n[gw1] [ 80%] FAILED tests/test_harvest_whole_program.py::test_nullpointer_file0 \ntests/test_harvest_whole_program.py::test_nullpointer_file0_j \ntests/test_mathlib_round2.py::test_trigonometric_functions_constant_folding \n[gw5] [ 80%] PASSED tests/test_mathlib_round2.py::test_trigonometric_functions_constant_folding \ntests/test_mathlib_round2.py::test_floating_point_precision_edge_cases \n[gw8] [ 80%] RERUN tests/test_reverseanalyzer.py::test_switch_statement_reverse \ntests/test_reverseanalyzer.py::test_switch_statement_reverse \n[gw1] [ 80%] XFAIL tests/test_harvest_whole_program.py::test_nullpointer_file0_j \ntests/test_harvest_whole_program.py::test_nullpointer_file0_builddir_j \n[gw5] [ 80%] PASSED tests/test_mathlib_round2.py::test_floating_point_precision_edge_cases \n[gw8] [ 80%] FAILED tests/test_reverseanalyzer.py::test_switch_statement_reverse \ntests/test_reverseanalyzer.py::test_pointer_analysis_reverse \ntests/test_mathlib_round2.py::test_character_literal_conversion \n[gw5] [ 80%] PASSED tests/test_mathlib_round2.py::test_character_literal_conversion \ntests/test_mathlib_round2.py::test_null_value_recognition_all_forms \n[gw5] [ 80%] PASSED tests/test_mathlib_round2.py::test_null_value_recognition_all_forms \ntests/test_mathlib_round2.py::test_user_defined_literal_suffix_recognition \n[gw5] [ 80%] PASSED tests/test_mathlib_round2.py::test_user_defined_literal_suffix_recognition \ntests/test_mathlib_round2.py::test_division_overflow_signed_min_divide_minus_one \n[gw5] [ 81%] PASSED tests/test_mathlib_round2.py::test_division_overflow_signed_min_divide_minus_one \ntests/test_mathlib_round2.py::test_floating_point_division_by_zero_inf_nan \n[gw5] [ 81%] PASSED tests/test_mathlib_round2.py::test_floating_point_division_by_zero_inf_nan \ntests/test_simplecpp.py::test_macro_with_empty_replacement \n[gw5] [ 81%] PASSED tests/test_simplecpp.py::test_macro_with_empty_replacement \ntests/test_simplecpp.py::test_ifdef_defined_macro_value_zero \n[gw5] [ 81%] PASSED tests/test_simplecpp.py::test_ifdef_defined_macro_value_zero \ntests/test_simplecpp.py::test_bitwise_operators_in_if_directive \n[gw5] [ 81%] PASSED tests/test_simplecpp.py::test_bitwise_operators_in_if_directive \ntests/test_simplecpp.py::test_parentheses_in_macro_definition \n[gw5] [ 81%] PASSED tests/test_simplecpp.py::test_parentheses_in_macro_definition \ntests/test_simplecpp.py::test_macro_with_commas_in_arguments \n[gw5] [ 81%] PASSED tests/test_simplecpp.py::test_macro_with_commas_in_arguments \n[gw0] [ 81%] RERUN tests/test_programmemory.py::test_macro_defined_constant_tracking \ntests/test_programmemory.py::test_macro_defined_constant_tracking \ntests/test_simplecpp.py::test_conditional_operator_in_if_directive \n[gw5] [ 81%] PASSED tests/test_simplecpp.py::test_conditional_operator_in_if_directive \ntests/test_simplecpp.py::test_multiple_hash_operators \n[gw6] [ 81%] RERUN tests/test_programmemory.py::test_function_return_value_tracking \ntests/test_programmemory.py::test_function_return_value_tracking \n[gw5] [ 81%] PASSED tests/test_simplecpp.py::test_multiple_hash_operators \n[gw6] [ 81%] FAILED tests/test_programmemory.py::test_function_return_value_tracking \ntests/test_programmemory.py::test_bitwise_operation_value_tracking \ntests/test_simplecpp.py::test_macro_argument_prescan \n[gw9] [ 81%] RERUN tests/test_programmemory.py::test_shift_operation_value_tracking \ntests/test_programmemory.py::test_shift_operation_value_tracking \n[gw5] [ 81%] PASSED tests/test_simplecpp.py::test_macro_argument_prescan \n[gw9] [ 81%] FAILED tests/test_programmemory.py::test_shift_operation_value_tracking \ntests/test_programmemory.py::test_modulo_operation_value_tracking \ntests/test_simplecpp.py::test_unbalanced_parentheses_in_macro_call \n[gw5] [ 81%] PASSED tests/test_simplecpp.py::test_unbalanced_parentheses_in_macro_call \n[gw4] [ 81%] RERUN tests/test_importproject.py::test_vcxproj_empty_xml \ntests/test_importproject.py::test_vcxproj_empty_xml \ntests/test_simplecpp.py::test_logical_operators_in_if_directive \n[gw5] [ 81%] PASSED tests/test_simplecpp.py::test_logical_operators_in_if_directive \ntests/test_simplecpp.py::test_hexadecimal_in_if_directive \n[gw5] [ 81%] PASSED tests/test_simplecpp.py::test_hexadecimal_in_if_directive \ntests/test_simplecpp.py::test_octal_in_if_directive \n[gw5] [ 81%] PASSED tests/test_simplecpp.py::test_octal_in_if_directive \n[gw3] [ 81%] RERUN tests/test_harvest_qml.py::test_unused_functions_builddir \ntests/test_harvest_qml.py::test_unused_functions_builddir \n[gw2] [ 81%] RERUN tests/test_programmemory.py::test_container_size_tracking_vector \ntests/test_programmemory.py::test_container_size_tracking_vector \ntests/test_smoke.py::test_version \n[gw5] [ 81%] PASSED tests/test_smoke.py::test_version \n[gw3] [ 81%] FAILED tests/test_harvest_qml.py::test_unused_functions_builddir \ntests/test_simplecpp.py::test_undef_directive \n[gw3] [ 81%] PASSED tests/test_simplecpp.py::test_undef_directive \ntests/test_smoke.py::test_help \ntests/test_simplecpp.py::test_line_continuation_in_macro \n[gw5] [ 82%] PASSED tests/test_smoke.py::test_help \n[gw3] [ 82%] PASSED tests/test_simplecpp.py::test_line_continuation_in_macro \ntests/test_smoke.py::test_simple_error_detection \ntests/test_simplecpp.py::test_defined_operator_in_if \n[gw5] [ 82%] PASSED tests/test_smoke.py::test_simple_error_detection \n[gw3] [ 82%] PASSED tests/test_simplecpp.py::test_defined_operator_in_if \n[gw8] [ 82%] RERUN tests/test_reverseanalyzer.py::test_pointer_analysis_reverse \ntests/test_reverseanalyzer.py::test_pointer_analysis_reverse \n[gw1] [ 82%] RERUN tests/test_harvest_whole_program.py::test_nullpointer_file0_builddir_j \ntests/test_harvest_whole_program.py::test_nullpointer_file0_builddir_j \ntests/test_smoke.py::test_no_errors_on_valid_code \ntests/test_simplecpp.py::test_arithmetic_in_if_directive \n[gw5] [ 82%] PASSED tests/test_smoke.py::test_no_errors_on_valid_code \n[gw3] [ 82%] PASSED tests/test_simplecpp.py::test_arithmetic_in_if_directive \ntests/test_symboldatabase.py::test_multiple_inheritance_symboldatabase \ntests/test_simplecpp.py::test_empty_macro_definition \n[gw3] [ 82%] PASSED tests/test_simplecpp.py::test_empty_macro_definition \ntests/test_simplecpp.py::test_variadic_macro \n[gw3] [ 82%] PASSED tests/test_simplecpp.py::test_variadic_macro \ntests/test_simplecpp.py::test_recursive_macro_expansion \n[gw3] [ 82%] PASSED tests/test_simplecpp.py::test_recursive_macro_expansion \ntests/test_simplecpp.py::test_complex_nested_macro_expansion \n[gw3] [ 82%] PASSED tests/test_simplecpp.py::test_complex_nested_macro_expansion \ntests/test_simplecpp.py::test_macro_with_whitespace_variations \n[gw3] [ 82%] PASSED tests/test_simplecpp.py::test_macro_with_whitespace_variations \ntests/test_simplecpp.py::test_ifdef_ifndef_difference \n[gw3] [ 82%] PASSED tests/test_simplecpp.py::test_ifdef_ifndef_difference \ntests/test_simplecpp.py::test_macro_redefinition_same_value \n[gw3] [ 82%] PASSED tests/test_simplecpp.py::test_macro_redefinition_same_value \ntests/test_simplecpp.py::test_complex_token_pasting_chain \n[gw3] [ 82%] PASSED tests/test_simplecpp.py::test_complex_token_pasting_chain \n[gw0] [ 82%] RERUN tests/test_programmemory.py::test_macro_defined_constant_tracking \ntests/test_programmemory.py::test_macro_defined_constant_tracking \n[gw0] [ 82%] FAILED tests/test_programmemory.py::test_macro_defined_constant_tracking \ntests/test_programmemory.py::test_sizeof_value_tracking \n[gw0] [ 82%] PASSED tests/test_programmemory.py::test_sizeof_value_tracking \ntests/test_symboldatabase.py::test_variable_attributes_symboldatabase \ntests/test_programmemory.py::test_logical_and_value_tracking \n[gw6] [ 82%] RERUN tests/test_programmemory.py::test_bitwise_operation_value_tracking \ntests/test_programmemory.py::test_bitwise_operation_value_tracking \n[gw9] [ 83%] RERUN tests/test_programmemory.py::test_modulo_operation_value_tracking \ntests/test_programmemory.py::test_modulo_operation_value_tracking \n[gw4] [ 83%] RERUN tests/test_importproject.py::test_vcxproj_empty_xml \ntests/test_importproject.py::test_vcxproj_empty_xml \n[gw4] [ 83%] FAILED tests/test_importproject.py::test_vcxproj_empty_xml \ntests/test_importproject.py::test_compile_commands_defines_without_values \n[gw2] [ 83%] RERUN tests/test_programmemory.py::test_container_size_tracking_vector \ntests/test_programmemory.py::test_container_size_tracking_vector \n[gw2] [ 83%] FAILED tests/test_programmemory.py::test_container_size_tracking_vector \ntests/test_programmemory.py::test_container_empty_value_tracking \n[gw8] [ 83%] RERUN tests/test_reverseanalyzer.py::test_pointer_analysis_reverse \ntests/test_reverseanalyzer.py::test_pointer_analysis_reverse \n[gw8] [ 83%] FAILED tests/test_reverseanalyzer.py::test_pointer_analysis_reverse \ntests/test_reverseanalyzer.py::test_complex_control_flow \n[gw1] [ 83%] RERUN tests/test_harvest_whole_program.py::test_nullpointer_file0_builddir_j \ntests/test_harvest_whole_program.py::test_nullpointer_file0_builddir_j \n[gw5] [ 83%] RERUN tests/test_symboldatabase.py::test_multiple_inheritance_symboldatabase \ntests/test_symboldatabase.py::test_multiple_inheritance_symboldatabase \n[gw1] [ 83%] FAILED tests/test_harvest_whole_program.py::test_nullpointer_file0_builddir_j \ntests/test_harvest_whole_program.py::test_nullpointer_out_of_memory[False] \n[gw3] [ 83%] RERUN tests/test_symboldatabase.py::test_variable_attributes_symboldatabase \ntests/test_symboldatabase.py::test_variable_attributes_symboldatabase \n[gw0] [ 83%] RERUN tests/test_programmemory.py::test_logical_and_value_tracking \ntests/test_programmemory.py::test_logical_and_value_tracking \n[gw6] [ 83%] RERUN tests/test_programmemory.py::test_bitwise_operation_value_tracking \ntests/test_programmemory.py::test_bitwise_operation_value_tracking \n[gw6] [ 83%] FAILED tests/test_programmemory.py::test_bitwise_operation_value_tracking \ntests/test_programmemory.py::test_equality_operators_tracking \n[gw9] [ 83%] RERUN tests/test_programmemory.py::test_modulo_operation_value_tracking \ntests/test_programmemory.py::test_modulo_operation_value_tracking \n[gw9] [ 83%] FAILED tests/test_programmemory.py::test_modulo_operation_value_tracking \ntests/test_programmemory.py::test_negative_value_tracking \n[gw4] [ 83%] RERUN tests/test_importproject.py::test_compile_commands_defines_without_values \ntests/test_importproject.py::test_compile_commands_defines_without_values \n[gw2] [ 83%] RERUN tests/test_programmemory.py::test_container_empty_value_tracking \ntests/test_programmemory.py::test_container_empty_value_tracking \n[gw8] [ 83%] RERUN tests/test_reverseanalyzer.py::test_complex_control_flow \ntests/test_reverseanalyzer.py::test_complex_control_flow \n[gw5] [ 83%] RERUN tests/test_symboldatabase.py::test_multiple_inheritance_symboldatabase \ntests/test_symboldatabase.py::test_multiple_inheritance_symboldatabase \n[gw5] [ 83%] FAILED tests/test_symboldatabase.py::test_multiple_inheritance_symboldatabase \ntests/test_symboldatabase.py::test_virtual_inheritance_symboldatabase \n[gw1] [ 83%] RERUN tests/test_harvest_whole_program.py::test_nullpointer_out_of_memory[False] \ntests/test_harvest_whole_program.py::test_nullpointer_out_of_memory[False] \n[gw5] [ 83%] PASSED tests/test_symboldatabase.py::test_virtual_inheritance_symboldatabase \ntests/test_symboldatabase.py::test_enum_types_symboldatabase \n[gw3] [ 83%] RERUN tests/test_symboldatabase.py::test_variable_attributes_symboldatabase \ntests/test_symboldatabase.py::test_variable_attributes_symboldatabase \n[gw0] [ 83%] RERUN tests/test_programmemory.py::test_logical_and_value_tracking \ntests/test_programmemory.py::test_logical_and_value_tracking \n[gw3] [ 83%] FAILED tests/test_symboldatabase.py::test_variable_attributes_symboldatabase \ntests/test_symboldatabase.py::test_namespace_scopes_symboldatabase \n[gw0] [ 83%] FAILED tests/test_programmemory.py::test_logical_and_value_tracking \ntests/test_programmemory.py::test_logical_or_value_tracking \n[gw6] [ 83%] RERUN tests/test_programmemory.py::test_equality_operators_tracking \ntests/test_programmemory.py::test_equality_operators_tracking \n[gw9] [ 83%] RERUN tests/test_programmemory.py::test_negative_value_tracking \ntests/test_programmemory.py::test_negative_value_tracking \n[gw4] [ 83%] RERUN tests/test_importproject.py::test_compile_commands_defines_without_values \ntests/test_importproject.py::test_compile_commands_defines_without_values \n[gw4] [ 83%] FAILED tests/test_importproject.py::test_compile_commands_defines_without_values \ntests/test_importproject.py::test_compile_commands_undefines \n[gw2] [ 83%] RERUN tests/test_programmemory.py::test_container_empty_value_tracking \ntests/test_programmemory.py::test_container_empty_value_tracking \n[gw2] [ 83%] FAILED tests/test_programmemory.py::test_container_empty_value_tracking \ntests/test_programmemory.py::test_multiple_assignments_tracking \n[gw8] [ 83%] RERUN tests/test_reverseanalyzer.py::test_complex_control_flow \ntests/test_reverseanalyzer.py::test_complex_control_flow \n[gw8] [ 83%] FAILED tests/test_reverseanalyzer.py::test_complex_control_flow \ntests/test_reverseanalyzer.py::test_dead_code_detection \n[gw1] [ 83%] RERUN tests/test_harvest_whole_program.py::test_nullpointer_out_of_memory[False] \ntests/test_harvest_whole_program.py::test_nullpointer_out_of_memory[False] \n[gw1] [ 83%] FAILED tests/test_harvest_whole_program.py::test_nullpointer_out_of_memory[False] \ntests/test_harvest_whole_program.py::test_nullpointer_out_of_memory[True] \n[gw1] [ 83%] XFAIL tests/test_harvest_whole_program.py::test_nullpointer_out_of_memory[True] \n[gw5] [ 83%] RERUN tests/test_symboldatabase.py::test_enum_types_symboldatabase \ntests/test_symboldatabase.py::test_enum_types_symboldatabase \ntests/test_simplecpp.py::test_elif_without_initial_if_error \n[gw3] [ 83%] RERUN tests/test_symboldatabase.py::test_namespace_scopes_symboldatabase \ntests/test_symboldatabase.py::test_namespace_scopes_symboldatabase \n[gw0] [ 83%] RERUN tests/test_programmemory.py::test_logical_or_value_tracking \ntests/test_programmemory.py::test_logical_or_value_tracking \n[gw6] [ 83%] RERUN tests/test_programmemory.py::test_equality_operators_tracking \ntests/test_programmemory.py::test_equality_operators_tracking \n[gw6] [ 83%] FAILED tests/test_programmemory.py::test_equality_operators_tracking \ntests/test_programmemory.py::test_parenthesized_expression_tracking \n[gw9] [ 83%] RERUN tests/test_programmemory.py::test_negative_value_tracking \ntests/test_programmemory.py::test_negative_value_tracking \n[gw4] [ 83%] RERUN tests/test_importproject.py::test_compile_commands_undefines \ntests/test_importproject.py::test_compile_commands_undefines \n[gw9] [ 83%] FAILED tests/test_programmemory.py::test_negative_value_tracking \ntests/test_programmemory.py::test_unsigned_value_tracking \n[gw2] [ 83%] RERUN tests/test_programmemory.py::test_multiple_assignments_tracking \ntests/test_programmemory.py::test_multiple_assignments_tracking \n[gw8] [ 83%] RERUN tests/test_reverseanalyzer.py::test_dead_code_detection \ntests/test_reverseanalyzer.py::test_dead_code_detection \n[gw5] [ 83%] RERUN tests/test_symboldatabase.py::test_enum_types_symboldatabase \ntests/test_symboldatabase.py::test_enum_types_symboldatabase \n[gw1] [ 84%] RERUN tests/test_simplecpp.py::test_elif_without_initial_if_error \ntests/test_simplecpp.py::test_elif_without_initial_if_error \n[gw5] [ 84%] FAILED tests/test_symboldatabase.py::test_enum_types_symboldatabase \ntests/test_symboldatabase.py::test_nested_classes_symboldatabase \n[gw3] [ 84%] RERUN tests/test_symboldatabase.py::test_namespace_scopes_symboldatabase \ntests/test_symboldatabase.py::test_namespace_scopes_symboldatabase \n[gw0] [ 84%] RERUN tests/test_programmemory.py::test_logical_or_value_tracking \ntests/test_programmemory.py::test_logical_or_value_tracking \n[gw3] [ 84%] FAILED tests/test_symboldatabase.py::test_namespace_scopes_symboldatabase \ntests/test_symboldatabase.py::test_friend_declarations_symboldatabase \n[gw0] [ 84%] FAILED tests/test_programmemory.py::test_logical_or_value_tracking \ntests/test_programmemory.py::test_logical_not_value_tracking \n[gw6] [ 84%] RERUN tests/test_programmemory.py::test_parenthesized_expression_tracking \ntests/test_programmemory.py::test_parenthesized_expression_tracking \n[gw4] [ 84%] RERUN tests/test_importproject.py::test_compile_commands_undefines \ntests/test_importproject.py::test_compile_commands_undefines \n[gw4] [ 84%] FAILED tests/test_importproject.py::test_compile_commands_undefines \n[gw9] [ 84%] RERUN tests/test_programmemory.py::test_unsigned_value_tracking \ntests/test_programmemory.py::test_unsigned_value_tracking \ntests/test_importproject.py::test_compile_commands_standard_flag \n[gw2] [ 84%] RERUN tests/test_programmemory.py::test_multiple_assignments_tracking \ntests/test_programmemory.py::test_multiple_assignments_tracking \n[gw2] [ 84%] FAILED tests/test_programmemory.py::test_multiple_assignments_tracking \ntests/test_programmemory.py::test_expression_evaluation_in_memory \n[gw8] [ 84%] RERUN tests/test_reverseanalyzer.py::test_dead_code_detection \ntests/test_reverseanalyzer.py::test_dead_code_detection \n[gw8] [ 84%] FAILED tests/test_reverseanalyzer.py::test_dead_code_detection \ntests/test_reverseanalyzer.py::test_struct_and_class_members \n[gw1] [ 84%] RERUN tests/test_simplecpp.py::test_elif_without_initial_if_error \ntests/test_simplecpp.py::test_elif_without_initial_if_error \n[gw5] [ 84%] RERUN tests/test_symboldatabase.py::test_nested_classes_symboldatabase \ntests/test_symboldatabase.py::test_nested_classes_symboldatabase \n[gw1] [ 84%] FAILED tests/test_simplecpp.py::test_elif_without_initial_if_error \ntests/test_simplecpp.py::test_else_without_if_error \n[gw0] [ 84%] RERUN tests/test_programmemory.py::test_logical_not_value_tracking \ntests/test_programmemory.py::test_logical_not_value_tracking \n[gw3] [ 84%] RERUN tests/test_symboldatabase.py::test_friend_declarations_symboldatabase \ntests/test_symboldatabase.py::test_friend_declarations_symboldatabase \n[gw6] [ 84%] RERUN tests/test_programmemory.py::test_parenthesized_expression_tracking \ntests/test_programmemory.py::test_parenthesized_expression_tracking \n[gw6] [ 84%] FAILED tests/test_programmemory.py::test_parenthesized_expression_tracking \ntests/test_programmemory.py::test_unary_minus_value_tracking \n[gw9] [ 84%] RERUN tests/test_programmemory.py::test_unsigned_value_tracking \ntests/test_programmemory.py::test_unsigned_value_tracking \n[gw4] [ 84%] RERUN tests/test_importproject.py::test_compile_commands_standard_flag \ntests/test_importproject.py::test_compile_commands_standard_flag \n[gw9] [ 84%] FAILED tests/test_programmemory.py::test_unsigned_value_tracking \ntests/test_programmemory.py::test_char_value_tracking \n[gw2] [ 84%] RERUN tests/test_programmemory.py::test_expression_evaluation_in_memory \ntests/test_programmemory.py::test_expression_evaluation_in_memory \n[gw8] [ 84%] RERUN tests/test_reverseanalyzer.py::test_struct_and_class_members \ntests/test_reverseanalyzer.py::test_struct_and_class_members \n[gw5] [ 84%] RERUN tests/test_symboldatabase.py::test_nested_classes_symboldatabase \ntests/test_symboldatabase.py::test_nested_classes_symboldatabase \n[gw5] [ 84%] FAILED tests/test_symboldatabase.py::test_nested_classes_symboldatabase \ntests/test_symboldatabase.py::test_function_overloading_symboldatabase \n[gw1] [ 84%] RERUN tests/test_simplecpp.py::test_else_without_if_error \ntests/test_simplecpp.py::test_else_without_if_error \n[gw0] [ 84%] RERUN tests/test_programmemory.py::test_logical_not_value_tracking \ntests/test_programmemory.py::test_logical_not_value_tracking \n[gw3] [ 84%] RERUN tests/test_symboldatabase.py::test_friend_declarations_symboldatabase \ntests/test_symboldatabase.py::test_friend_declarations_symboldatabase \n[gw0] [ 84%] FAILED tests/test_programmemory.py::test_logical_not_value_tracking \ntests/test_programmemory.py::test_comparison_operators_tracking \n[gw3] [ 84%] FAILED tests/test_symboldatabase.py::test_friend_declarations_symboldatabase \ntests/test_symboldatabase.py::test_constructor_destructor_symboldatabase \n[gw6] [ 84%] RERUN tests/test_programmemory.py::test_unary_minus_value_tracking \ntests/test_programmemory.py::test_unary_minus_value_tracking \n[gw4] [ 84%] RERUN tests/test_importproject.py::test_compile_commands_standard_flag \ntests/test_importproject.py::test_compile_commands_standard_flag \n[gw4] [ 84%] FAILED tests/test_importproject.py::test_compile_commands_standard_flag \ntests/test_importproject.py::test_compile_commands_visual_studio_patterns \n[gw9] [ 84%] RERUN tests/test_programmemory.py::test_char_value_tracking \ntests/test_programmemory.py::test_char_value_tracking \n[gw2] [ 84%] RERUN tests/test_programmemory.py::test_expression_evaluation_in_memory \ntests/test_programmemory.py::test_expression_evaluation_in_memory \n[gw2] [ 84%] FAILED tests/test_programmemory.py::test_expression_evaluation_in_memory \ntests/test_programmemory.py::test_uninitialized_variable_memory_state \n[gw2] [ 84%] PASSED tests/test_programmemory.py::test_uninitialized_variable_memory_state \ntests/test_programmemory.py::test_string_literal_value_tracking \n[gw8] [ 84%] RERUN tests/test_reverseanalyzer.py::test_struct_and_class_members \ntests/test_reverseanalyzer.py::test_struct_and_class_members \n[gw8] [ 84%] FAILED tests/test_reverseanalyzer.py::test_struct_and_class_members \ntests/test_reverseanalyzer.py::test_complex_expressions \n[gw5] [ 84%] RERUN tests/test_symboldatabase.py::test_function_overloading_symboldatabase \ntests/test_symboldatabase.py::test_function_overloading_symboldatabase \n[gw1] [ 84%] RERUN tests/test_simplecpp.py::test_else_without_if_error \ntests/test_simplecpp.py::test_else_without_if_error \n[gw1] [ 84%] FAILED tests/test_simplecpp.py::test_else_without_if_error \ntests/test_simplecpp.py::test_endif_without_if_error \n[gw0] [ 84%] RERUN tests/test_programmemory.py::test_comparison_operators_tracking \ntests/test_programmemory.py::test_comparison_operators_tracking \n[gw3] [ 84%] RERUN tests/test_symboldatabase.py::test_constructor_destructor_symboldatabase \ntests/test_symboldatabase.py::test_constructor_destructor_symboldatabase \n[gw6] [ 84%] RERUN tests/test_programmemory.py::test_unary_minus_value_tracking \ntests/test_programmemory.py::test_unary_minus_value_tracking \n[gw6] [ 84%] FAILED tests/test_programmemory.py::test_unary_minus_value_tracking \ntests/test_programmemory.py::test_unary_plus_value_tracking \n[gw4] [ 84%] RERUN tests/test_importproject.py::test_compile_commands_visual_studio_patterns \ntests/test_importproject.py::test_compile_commands_visual_studio_patterns \n[gw9] [ 84%] RERUN tests/test_programmemory.py::test_char_value_tracking \ntests/test_programmemory.py::test_char_value_tracking \n[gw9] [ 84%] FAILED tests/test_programmemory.py::test_char_value_tracking \ntests/test_programmemory.py::test_bitwise_or_value_tracking \n[gw2] [ 84%] RERUN tests/test_programmemory.py::test_string_literal_value_tracking \ntests/test_programmemory.py::test_string_literal_value_tracking \n[gw8] [ 85%] RERUN tests/test_reverseanalyzer.py::test_complex_expressions \ntests/test_reverseanalyzer.py::test_complex_expressions \n[gw5] [ 85%] RERUN tests/test_symboldatabase.py::test_function_overloading_symboldatabase \ntests/test_symboldatabase.py::test_function_overloading_symboldatabase \n[gw1] [ 85%] RERUN tests/test_simplecpp.py::test_endif_without_if_error \ntests/test_simplecpp.py::test_endif_without_if_error \n[gw5] [ 85%] FAILED tests/test_symboldatabase.py::test_function_overloading_symboldatabase \ntests/test_templatesimplifier_gaps.py::test_variadic_template_class_and_function \n[gw0] [ 85%] RERUN tests/test_programmemory.py::test_comparison_operators_tracking \ntests/test_programmemory.py::test_comparison_operators_tracking \n[gw3] [ 85%] RERUN tests/test_symboldatabase.py::test_constructor_destructor_symboldatabase \ntests/test_symboldatabase.py::test_constructor_destructor_symboldatabase \n[gw3] [ 85%] FAILED tests/test_symboldatabase.py::test_constructor_destructor_symboldatabase \ntests/test_symboldatabase.py::test_operator_overloading_symboldatabase \n[gw0] [ 85%] FAILED tests/test_programmemory.py::test_comparison_operators_tracking \ntests/test_symboldatabase.py::test_access_specifiers_symboldatabase \n[gw4] [ 85%] RERUN tests/test_importproject.py::test_compile_commands_visual_studio_patterns \ntests/test_importproject.py::test_compile_commands_visual_studio_patterns \n[gw6] [ 85%] RERUN tests/test_programmemory.py::test_unary_plus_value_tracking \ntests/test_programmemory.py::test_unary_plus_value_tracking \n[gw4] [ 85%] FAILED tests/test_importproject.py::test_compile_commands_visual_studio_patterns \ntests/test_importproject.py::test_vcxproj_shared_items_project \n[gw4] [ 85%] SKIPPED tests/test_importproject.py::test_vcxproj_shared_items_project \n[gw9] [ 85%] RERUN tests/test_programmemory.py::test_bitwise_or_value_tracking \ntests/test_programmemory.py::test_bitwise_or_value_tracking \ntests/test_templatesimplifier_gaps.py::test_template_non_type_parameters \n[gw2] [ 85%] RERUN tests/test_programmemory.py::test_string_literal_value_tracking \ntests/test_programmemory.py::test_string_literal_value_tracking \n[gw8] [ 85%] RERUN tests/test_reverseanalyzer.py::test_complex_expressions \ntests/test_reverseanalyzer.py::test_complex_expressions \n[gw2] [ 85%] FAILED tests/test_programmemory.py::test_string_literal_value_tracking \ntests/test_programmemory.py::test_multiple_operators_precedence_tracking \n[gw8] [ 85%] FAILED tests/test_reverseanalyzer.py::test_complex_expressions \ntests/test_simplecpp.py::test_error_directive_basic \n[gw8] [ 85%] PASSED tests/test_simplecpp.py::test_error_directive_basic \ntests/test_simplecpp.py::test_error_directive_false_condition \n[gw8] [ 85%] PASSED tests/test_simplecpp.py::test_error_directive_false_condition \ntests/test_simplecpp.py::test_conditional_elif_chain \n[gw8] [ 85%] PASSED tests/test_simplecpp.py::test_conditional_elif_chain \ntests/test_simplecpp.py::test_nested_conditionals \n[gw8] [ 85%] PASSED tests/test_simplecpp.py::test_nested_conditionals \ntests/test_simplecpp.py::test_macro_with_parameters \n[gw8] [ 85%] PASSED tests/test_simplecpp.py::test_macro_with_parameters \n[gw1] [ 85%] RERUN tests/test_simplecpp.py::test_endif_without_if_error \ntests/test_simplecpp.py::test_endif_without_if_error \n[gw5] [ 85%] RERUN tests/test_templatesimplifier_gaps.py::test_variadic_template_class_and_function \ntests/test_templatesimplifier_gaps.py::test_variadic_template_class_and_function \n[gw1] [ 85%] FAILED tests/test_simplecpp.py::test_endif_without_if_error \ntests/test_simplecpp.py::test_missing_header_include \n[gw1] [ 85%] PASSED tests/test_simplecpp.py::test_missing_header_include \ntests/test_simplecpp.py::test_token_pasting_operator \n[gw8] [ 85%] PASSED tests/test_simplecpp.py::test_token_pasting_operator \ntests/test_simplecpp.py::test_deeply_nested_include_detection \n[gw1] [ 85%] PASSED tests/test_simplecpp.py::test_deeply_nested_include_detection \ntests/test_simplecpp.py::test_stringification_operator \n[gw8] [ 85%] PASSED tests/test_simplecpp.py::test_stringification_operator \ntests/test_simplecpp.py::test_ifdef_with_complex_expression_error \n[gw1] [ 85%] PASSED tests/test_simplecpp.py::test_ifdef_with_complex_expression_error \ntests/test_templatesimplifier_gaps.py::test_template_with_array_bounds \n[gw8] [ 85%] PASSED tests/test_templatesimplifier_gaps.py::test_template_with_array_bounds \ntests/test_simplecpp.py::test_macro_parameter_count_mismatch \n[gw1] [ 85%] PASSED tests/test_simplecpp.py::test_macro_parameter_count_mismatch \ntests/test_templatesimplifier_gaps.py::test_template_operator_overloading \ntests/test_simplecpp.py::test_empty_conditional_block \n[gw1] [ 86%] PASSED tests/test_simplecpp.py::test_empty_conditional_block \ntests/test_simplecpp.py::test_multiple_elif_branches \n[gw1] [ 86%] PASSED tests/test_simplecpp.py::test_multiple_elif_branches \ntests/test_templatesimplifier_round2.py::test_member_function_specialization_namespace \n[gw1] [ 86%] PASSED tests/test_templatesimplifier_round2.py::test_member_function_specialization_namespace \ntests/test_templatesimplifier_round2.py::test_template_variables_with_specialization \n[gw1] [ 86%] PASSED tests/test_templatesimplifier_round2.py::test_template_variables_with_specialization \ntests/test_templatesimplifier_round2.py::test_template_template_parameters_with_defaults \n[gw1] [ 86%] PASSED tests/test_templatesimplifier_round2.py::test_template_template_parameters_with_defaults \n[gw3] [ 86%] RERUN tests/test_symboldatabase.py::test_operator_overloading_symboldatabase \ntests/test_symboldatabase.py::test_operator_overloading_symboldatabase \n[gw0] [ 86%] RERUN tests/test_symboldatabase.py::test_access_specifiers_symboldatabase \ntests/test_symboldatabase.py::test_access_specifiers_symboldatabase \n[gw6] [ 86%] RERUN tests/test_programmemory.py::test_unary_plus_value_tracking \ntests/test_programmemory.py::test_unary_plus_value_tracking \ntests/test_templatesimplifier_round2.py::test_sfinae_enable_if_overload_resolution \n[gw1] [ 86%] PASSED tests/test_templatesimplifier_round2.py::test_sfinae_enable_if_overload_resolution \n[gw6] [ 86%] FAILED tests/test_programmemory.py::test_unary_plus_value_tracking \ntests/test_programmemory.py::test_bitwise_not_value_tracking \n[gw9] [ 86%] RERUN tests/test_programmemory.py::test_bitwise_or_value_tracking \ntests/test_programmemory.py::test_bitwise_or_value_tracking \n[gw9] [ 86%] FAILED tests/test_programmemory.py::test_bitwise_or_value_tracking \ntests/test_programmemory.py::test_bitwise_xor_value_tracking \ntests/test_templatesimplifier_round2.py::test_nontype_template_expressions_bitwise_ops \n[gw4] [ 86%] RERUN tests/test_templatesimplifier_gaps.py::test_template_non_type_parameters \ntests/test_templatesimplifier_gaps.py::test_template_non_type_parameters \n[gw1] [ 86%] PASSED tests/test_templatesimplifier_round2.py::test_nontype_template_expressions_bitwise_ops \ntests/test_templatesimplifier_round2.py::test_friend_template_access_control \n[gw1] [ 86%] PASSED tests/test_templatesimplifier_round2.py::test_friend_template_access_control \ntests/test_templatesimplifier_round2.py::test_alias_templates_with_defaults \n[gw1] [ 86%] PASSED tests/test_templatesimplifier_round2.py::test_alias_templates_with_defaults \ntests/test_templatesimplifier_round2.py::test_partial_specialization_multiple_patterns \n[gw1] [ 86%] PASSED tests/test_templatesimplifier_round2.py::test_partial_specialization_multiple_patterns \ntests/test_templatesimplifier_round2.py::test_explicit_full_specialization \n[gw1] [ 86%] PASSED tests/test_templatesimplifier_round2.py::test_explicit_full_specialization \ntests/test_templatesimplifier_round2.py::test_dependent_names_typename_keyword \n[gw1] [ 86%] PASSED tests/test_templatesimplifier_round2.py::test_dependent_names_typename_keyword \n[gw2] [ 86%] RERUN tests/test_programmemory.py::test_multiple_operators_precedence_tracking \ntests/test_programmemory.py::test_multiple_operators_precedence_tracking \ntests/test_templatesimplifier_round2.py::test_variadic_fold_expressions_cpp17 \n[gw1] [ 86%] PASSED tests/test_templatesimplifier_round2.py::test_variadic_fold_expressions_cpp17 \ntests/test_templatesimplifier_round2.py::test_recursive_template_instantiation \n[gw1] [ 86%] PASSED tests/test_templatesimplifier_round2.py::test_recursive_template_instantiation \ntests/test_templatesimplifier_round2.py::test_template_error_handling_divide_by_zero \n[gw1] [ 87%] PASSED tests/test_templatesimplifier_round2.py::test_template_error_handling_divide_by_zero \ntests/test_templatesimplifier_round2.py::test_template_inheritance_crtp \n[gw1] [ 87%] PASSED tests/test_templatesimplifier_round2.py::test_template_inheritance_crtp \ntests/test_templatesimplifier_round2.py::test_constexpr_if_conditional_compilation \n[gw5] [ 87%] RERUN tests/test_templatesimplifier_gaps.py::test_variadic_template_class_and_function \ntests/test_templatesimplifier_gaps.py::test_variadic_template_class_and_function \n[gw5] [ 87%] FAILED tests/test_templatesimplifier_gaps.py::test_variadic_template_class_and_function \ntests/test_templatesimplifier_gaps.py::test_template_default_parameters_class_and_function \n[gw8] [ 87%] RERUN tests/test_templatesimplifier_gaps.py::test_template_operator_overloading \ntests/test_templatesimplifier_gaps.py::test_template_operator_overloading \n[gw0] [ 87%] RERUN tests/test_symboldatabase.py::test_access_specifiers_symboldatabase \ntests/test_symboldatabase.py::test_access_specifiers_symboldatabase \n[gw3] [ 87%] RERUN tests/test_symboldatabase.py::test_operator_overloading_symboldatabase \ntests/test_symboldatabase.py::test_operator_overloading_symboldatabase \n[gw0] [ 87%] FAILED tests/test_symboldatabase.py::test_access_specifiers_symboldatabase \ntests/test_symboldatabase.py::test_static_members_symboldatabase \n[gw3] [ 87%] FAILED tests/test_symboldatabase.py::test_operator_overloading_symboldatabase \ntests/test_symboldatabase.py::test_typedef_using_symboldatabase \n[gw6] [ 87%] RERUN tests/test_programmemory.py::test_bitwise_not_value_tracking \ntests/test_programmemory.py::test_bitwise_not_value_tracking \n[gw9] [ 87%] RERUN tests/test_programmemory.py::test_bitwise_xor_value_tracking \ntests/test_programmemory.py::test_bitwise_xor_value_tracking \n[gw4] [ 87%] RERUN tests/test_templatesimplifier_gaps.py::test_template_non_type_parameters \ntests/test_templatesimplifier_gaps.py::test_template_non_type_parameters \n[gw4] [ 87%] FAILED tests/test_templatesimplifier_gaps.py::test_template_non_type_parameters \ntests/test_templatesimplifier_gaps.py::test_template_member_functions \n[gw2] [ 87%] RERUN tests/test_programmemory.py::test_multiple_operators_precedence_tracking \ntests/test_programmemory.py::test_multiple_operators_precedence_tracking \n[gw2] [ 87%] FAILED tests/test_programmemory.py::test_multiple_operators_precedence_tracking \ntests/test_programmemory.py::test_mixed_arithmetic_types_tracking \n[gw1] [ 87%] RERUN tests/test_templatesimplifier_round2.py::test_constexpr_if_conditional_compilation \ntests/test_templatesimplifier_round2.py::test_constexpr_if_conditional_compilation \n[gw5] [ 87%] RERUN tests/test_templatesimplifier_gaps.py::test_template_default_parameters_class_and_function \ntests/test_templatesimplifier_gaps.py::test_template_default_parameters_class_and_function \n[gw8] [ 87%] RERUN tests/test_templatesimplifier_gaps.py::test_template_operator_overloading \ntests/test_templatesimplifier_gaps.py::test_template_operator_overloading \n[gw8] [ 87%] FAILED tests/test_templatesimplifier_gaps.py::test_template_operator_overloading \ntests/test_templatesimplifier_gaps.py::test_template_constexpr_recursive_metaprogramming \n[gw0] [ 87%] RERUN tests/test_symboldatabase.py::test_static_members_symboldatabase \n[gw3] [ 87%] RERUN tests/test_symboldatabase.py::test_typedef_using_symboldatabase \ntests/test_symboldatabase.py::test_typedef_using_symboldatabase \ntests/test_symboldatabase.py::test_static_members_symboldatabase \n[gw6] [ 87%] RERUN tests/test_programmemory.py::test_bitwise_not_value_tracking \ntests/test_programmemory.py::test_bitwise_not_value_tracking \n[gw6] [ 87%] FAILED tests/test_programmemory.py::test_bitwise_not_value_tracking \ntests/test_programmemory.py::test_cast_value_tracking \n[gw9] [ 87%] RERUN tests/test_programmemory.py::test_bitwise_xor_value_tracking \ntests/test_programmemory.py::test_bitwise_xor_value_tracking \n[gw4] [ 87%] RERUN tests/test_templatesimplifier_gaps.py::test_template_member_functions \ntests/test_templatesimplifier_gaps.py::test_template_member_functions \n[gw9] [ 87%] FAILED tests/test_programmemory.py::test_bitwise_xor_value_tracking \ntests/test_programmemory.py::test_right_shift_value_tracking \n[gw2] [ 87%] RERUN tests/test_programmemory.py::test_mixed_arithmetic_types_tracking \ntests/test_programmemory.py::test_mixed_arithmetic_types_tracking \n[gw1] [ 87%] RERUN tests/test_templatesimplifier_round2.py::test_constexpr_if_conditional_compilation \ntests/test_templatesimplifier_round2.py::test_constexpr_if_conditional_compilation \n[gw5] [ 87%] RERUN tests/test_templatesimplifier_gaps.py::test_template_default_parameters_class_and_function \ntests/test_templatesimplifier_gaps.py::test_template_default_parameters_class_and_function \n[gw1] [ 87%] FAILED tests/test_templatesimplifier_round2.py::test_constexpr_if_conditional_compilation \ntests/test_templatesimplifier_round2.py::test_template_lambda_interaction \n[gw1] [ 87%] PASSED tests/test_templatesimplifier_round2.py::test_template_lambda_interaction \n[gw5] [ 87%] FAILED tests/test_templatesimplifier_gaps.py::test_template_default_parameters_class_and_function \ntests/test_templatesimplifier_gaps.py::test_nested_template_classes \ntests/test_templatesimplifier_round2.py::test_static_assert_in_templates \n[gw1] [ 87%] PASSED tests/test_templatesimplifier_round2.py::test_static_assert_in_templates \ntests/test_templatesimplifier_round2.py::test_perfect_forwarding_universal_references \n[gw1] [ 87%] PASSED tests/test_templatesimplifier_round2.py::test_perfect_forwarding_universal_references \ntests/test_templatesimplifier_round2.py::test_template_overload_resolution_specialization \n[gw1] [ 87%] PASSED tests/test_templatesimplifier_round2.py::test_template_overload_resolution_specialization \ntests/test_templatesimplifier_round2.py::test_explicit_instantiation_and_extern_templates \n[gw1] [ 87%] PASSED tests/test_templatesimplifier_round2.py::test_explicit_instantiation_and_extern_templates \n[gw8] [ 87%] RERUN tests/test_templatesimplifier_gaps.py::test_template_constexpr_recursive_metaprogramming \ntests/test_templatesimplifier_gaps.py::test_template_constexpr_recursive_metaprogramming \ntests/test_templatesimplifier_round3.py::test_recursive_template_factorial \n[gw3] [ 87%] RERUN tests/test_symboldatabase.py::test_typedef_using_symboldatabase \ntests/test_symboldatabase.py::test_typedef_using_symboldatabase \n[gw0] [ 87%] RERUN tests/test_symboldatabase.py::test_static_members_symboldatabase \ntests/test_symboldatabase.py::test_static_members_symboldatabase \n[gw3] [ 87%] FAILED tests/test_symboldatabase.py::test_typedef_using_symboldatabase \ntests/test_symboldatabase.py::test_struct_union_symboldatabase \n[gw0] [ 87%] FAILED tests/test_symboldatabase.py::test_static_members_symboldatabase \ntests/test_symboldatabase.py::test_function_pointers_symboldatabase \n[gw6] [ 87%] RERUN tests/test_programmemory.py::test_cast_value_tracking \ntests/test_programmemory.py::test_cast_value_tracking \n[gw4] [ 87%] RERUN tests/test_templatesimplifier_gaps.py::test_template_member_functions \ntests/test_templatesimplifier_gaps.py::test_template_member_functions \n[gw9] [ 87%] RERUN tests/test_programmemory.py::test_right_shift_value_tracking \ntests/test_programmemory.py::test_right_shift_value_tracking \n[gw4] [ 87%] FAILED tests/test_templatesimplifier_gaps.py::test_template_member_functions \ntests/test_templatesimplifier_gaps.py::test_template_static_members \n[gw2] [ 87%] RERUN tests/test_programmemory.py::test_mixed_arithmetic_types_tracking \ntests/test_programmemory.py::test_mixed_arithmetic_types_tracking \n[gw2] [ 87%] FAILED tests/test_programmemory.py::test_mixed_arithmetic_types_tracking \ntests/test_programmemory.py::test_short_circuit_and_side_effects \n[gw5] [ 88%] RERUN tests/test_templatesimplifier_gaps.py::test_nested_template_classes \ntests/test_templatesimplifier_gaps.py::test_nested_template_classes \n[gw8] [ 88%] RERUN tests/test_templatesimplifier_gaps.py::test_template_constexpr_recursive_metaprogramming \ntests/test_templatesimplifier_gaps.py::test_template_constexpr_recursive_metaprogramming \n[gw8] [ 88%] FAILED tests/test_templatesimplifier_gaps.py::test_template_constexpr_recursive_metaprogramming \ntests/test_templatesimplifier_gaps.py::test_template_recursive_instantiation \n[gw1] [ 88%] RERUN tests/test_templatesimplifier_round3.py::test_recursive_template_factorial \ntests/test_templatesimplifier_round3.py::test_recursive_template_factorial \n[gw3] [ 88%] RERUN tests/test_symboldatabase.py::test_struct_union_symboldatabase \ntests/test_symboldatabase.py::test_struct_union_symboldatabase \n[gw0] [ 88%] RERUN tests/test_symboldatabase.py::test_function_pointers_symboldatabase \ntests/test_symboldatabase.py::test_function_pointers_symboldatabase \n[gw6] [ 88%] RERUN tests/test_programmemory.py::test_cast_value_tracking \ntests/test_programmemory.py::test_cast_value_tracking \n[gw6] [ 88%] FAILED tests/test_programmemory.py::test_cast_value_tracking \ntests/test_programmemory.py::test_comma_operator_value_tracking \n[gw6] [ 88%] PASSED tests/test_programmemory.py::test_comma_operator_value_tracking \n[gw4] [ 88%] RERUN tests/test_templatesimplifier_gaps.py::test_template_static_members \ntests/test_templatesimplifier_gaps.py::test_template_static_members \n[gw9] [ 88%] RERUN tests/test_programmemory.py::test_right_shift_value_tracking \ntests/test_programmemory.py::test_right_shift_value_tracking \n[gw9] [ 88%] FAILED tests/test_programmemory.py::test_right_shift_value_tracking \ntests/test_programmemory.py::test_compound_assignment_tracking \ntests/test_programmemory.py::test_array_out_of_bounds_with_constant_index \n[gw6] [ 88%] PASSED tests/test_programmemory.py::test_array_out_of_bounds_with_constant_index \ntests/test_templatesimplifier_round3.py::test_template_friend_declarations \n[gw2] [ 88%] RERUN tests/test_programmemory.py::test_short_circuit_and_side_effects \ntests/test_programmemory.py::test_short_circuit_and_side_effects \n[gw5] [ 88%] RERUN tests/test_templatesimplifier_gaps.py::test_nested_template_classes \ntests/test_templatesimplifier_gaps.py::test_nested_template_classes \n[gw5] [ 88%] FAILED tests/test_templatesimplifier_gaps.py::test_nested_template_classes \ntests/test_templatesimplifier_gaps.py::test_template_full_specialization_bool \n[gw8] [ 88%] RERUN tests/test_templatesimplifier_gaps.py::test_template_recursive_instantiation \ntests/test_templatesimplifier_gaps.py::test_template_recursive_instantiation \n[gw1] [ 88%] RERUN tests/test_templatesimplifier_round3.py::test_recursive_template_factorial \ntests/test_templatesimplifier_round3.py::test_recursive_template_factorial \n[gw1] [ 88%] FAILED tests/test_templatesimplifier_round3.py::test_recursive_template_factorial \ntests/test_templatesimplifier_round3.py::test_sfinae_enable_if_pattern \n[gw3] [ 88%] RERUN tests/test_symboldatabase.py::test_struct_union_symboldatabase \ntests/test_symboldatabase.py::test_struct_union_symboldatabase \n[gw0] [ 88%] RERUN tests/test_symboldatabase.py::test_function_pointers_symboldatabase \ntests/test_symboldatabase.py::test_function_pointers_symboldatabase \n[gw3] [ 88%] FAILED tests/test_symboldatabase.py::test_struct_union_symboldatabase \ntests/test_templatesimplifier_round3.py::test_template_template_parameters \n[gw0] [ 88%] FAILED tests/test_symboldatabase.py::test_function_pointers_symboldatabase \ntests/test_symboldatabase.py::test_array_types_symboldatabase \n[gw3] [ 88%] PASSED tests/test_templatesimplifier_round3.py::test_template_template_parameters \n[gw4] [ 88%] RERUN tests/test_templatesimplifier_gaps.py::test_template_static_members \ntests/test_templatesimplifier_gaps.py::test_template_static_members \n[gw4] [ 88%] FAILED tests/test_templatesimplifier_gaps.py::test_template_static_members \ntests/test_templatesimplifier_gaps.py::test_template_inheritance \n[gw9] [ 88%] RERUN tests/test_programmemory.py::test_compound_assignment_tracking \ntests/test_programmemory.py::test_compound_assignment_tracking \ntests/test_templatesimplifier_round3.py::test_complex_nontype_template_parameters \n[gw6] [ 88%] RERUN tests/test_templatesimplifier_round3.py::test_template_friend_declarations \ntests/test_templatesimplifier_round3.py::test_template_friend_declarations \n[gw2] [ 88%] RERUN tests/test_programmemory.py::test_short_circuit_and_side_effects \ntests/test_programmemory.py::test_short_circuit_and_side_effects \n[gw2] [ 88%] FAILED tests/test_programmemory.py::test_short_circuit_and_side_effects \ntests/test_reverseanalyzer.py::test_assignment_reverse_flow \n[gw2] [ 88%] PASSED tests/test_reverseanalyzer.py::test_assignment_reverse_flow \ntests/test_reverseanalyzer.py::test_conditional_reverse_flow \n[gw5] [ 88%] RERUN tests/test_templatesimplifier_gaps.py::test_template_full_specialization_bool \ntests/test_templatesimplifier_gaps.py::test_template_full_specialization_bool \n[gw8] [ 88%] RERUN tests/test_templatesimplifier_gaps.py::test_template_recursive_instantiation \ntests/test_templatesimplifier_gaps.py::test_template_recursive_instantiation \n[gw8] [ 88%] FAILED tests/test_templatesimplifier_gaps.py::test_template_recursive_instantiation \ntests/test_templatesimplifier_gaps.py::test_template_pointer_to_member \n[gw1] [ 88%] RERUN tests/test_templatesimplifier_round3.py::test_sfinae_enable_if_pattern \ntests/test_templatesimplifier_round3.py::test_sfinae_enable_if_pattern \n[gw0] [ 88%] RERUN tests/test_symboldatabase.py::test_array_types_symboldatabase \ntests/test_symboldatabase.py::test_array_types_symboldatabase \n[gw4] [ 88%] RERUN tests/test_templatesimplifier_gaps.py::test_template_inheritance \ntests/test_templatesimplifier_gaps.py::test_template_inheritance \n[gw9] [ 88%] RERUN tests/test_programmemory.py::test_compound_assignment_tracking \ntests/test_programmemory.py::test_compound_assignment_tracking \n[gw3] [ 88%] RERUN tests/test_templatesimplifier_round3.py::test_complex_nontype_template_parameters \ntests/test_templatesimplifier_round3.py::test_complex_nontype_template_parameters \n[gw9] [ 88%] FAILED tests/test_programmemory.py::test_compound_assignment_tracking \ntests/test_templatesimplifier_round3.py::test_crtp_curiously_recurring_template_pattern \n[gw6] [ 88%] RERUN tests/test_templatesimplifier_round3.py::test_template_friend_declarations \ntests/test_templatesimplifier_round3.py::test_template_friend_declarations \n[gw6] [ 88%] FAILED tests/test_templatesimplifier_round3.py::test_template_friend_declarations \ntests/test_templatesimplifier_round3.py::test_template_inheritance_patterns \n[gw6] [ 89%] PASSED tests/test_templatesimplifier_round3.py::test_template_inheritance_patterns \ntests/test_templatesimplifier_round3.py::test_template_operator_overloading \n[gw2] [ 89%] RERUN tests/test_reverseanalyzer.py::test_conditional_reverse_flow \ntests/test_reverseanalyzer.py::test_conditional_reverse_flow \n[gw5] [ 89%] RERUN tests/test_templatesimplifier_gaps.py::test_template_full_specialization_bool \ntests/test_templatesimplifier_gaps.py::test_template_full_specialization_bool \n[gw5] [ 89%] FAILED tests/test_templatesimplifier_gaps.py::test_template_full_specialization_bool \ntests/test_templatesimplifier_gaps.py::test_template_partial_specialization_pointer \n[gw5] [ 89%] PASSED tests/test_templatesimplifier_gaps.py::test_template_partial_specialization_pointer \ntests/test_templatesimplifier_gaps.py::test_template_typename_dependent_types \n[gw8] [ 89%] RERUN tests/test_templatesimplifier_gaps.py::test_template_pointer_to_member \ntests/test_templatesimplifier_gaps.py::test_template_pointer_to_member \n[gw1] [ 89%] RERUN tests/test_templatesimplifier_round3.py::test_sfinae_enable_if_pattern \ntests/test_templatesimplifier_round3.py::test_sfinae_enable_if_pattern \n[gw1] [ 89%] FAILED tests/test_templatesimplifier_round3.py::test_sfinae_enable_if_pattern \ntests/test_templatesimplifier_round3.py::test_variadic_template_fold_expressions \n[gw1] [ 89%] PASSED tests/test_templatesimplifier_round3.py::test_variadic_template_fold_expressions \ntests/test_templatesimplifier_round3.py::test_dependent_typename_and_template_keywords \n[gw0] [ 89%] RERUN tests/test_symboldatabase.py::test_array_types_symboldatabase \ntests/test_symboldatabase.py::test_array_types_symboldatabase \n[gw4] [ 89%] RERUN tests/test_templatesimplifier_gaps.py::test_template_inheritance \ntests/test_templatesimplifier_gaps.py::test_template_inheritance \n[gw4] [ 89%] FAILED tests/test_templatesimplifier_gaps.py::test_template_inheritance \ntests/test_templatesimplifier_gaps.py::test_template_template_parameters \n[gw3] [ 89%] RERUN tests/test_templatesimplifier_round3.py::test_complex_nontype_template_parameters \ntests/test_templatesimplifier_round3.py::test_complex_nontype_template_parameters \n[gw3] [ 89%] FAILED tests/test_templatesimplifier_round3.py::test_complex_nontype_template_parameters \n[gw0] [ 89%] FAILED tests/test_symboldatabase.py::test_array_types_symboldatabase \ntests/test_templatesimplifier_round3.py::test_decltype_and_auto_return_types \ntests/test_symboldatabase.py::test_const_methods_symboldatabase \n[gw9] [ 89%] RERUN tests/test_templatesimplifier_round3.py::test_crtp_curiously_recurring_template_pattern \ntests/test_templatesimplifier_round3.py::test_crtp_curiously_recurring_template_pattern \n[gw3] [ 89%] PASSED tests/test_templatesimplifier_round3.py::test_decltype_and_auto_return_types \ntests/test_templatesimplifier_round3.py::test_template_aliases_using_keyword \n[gw6] [ 89%] RERUN tests/test_templatesimplifier_round3.py::test_template_operator_overloading \ntests/test_templatesimplifier_round3.py::test_template_operator_overloading \n[gw2] [ 89%] RERUN tests/test_reverseanalyzer.py::test_conditional_reverse_flow \ntests/test_reverseanalyzer.py::test_conditional_reverse_flow \n[gw2] [ 89%] FAILED tests/test_reverseanalyzer.py::test_conditional_reverse_flow \ntests/test_reverseanalyzer.py::test_loop_reverse_flow \n[gw5] [ 89%] RERUN tests/test_templatesimplifier_gaps.py::test_template_typename_dependent_types \ntests/test_templatesimplifier_gaps.py::test_template_typename_dependent_types \n[gw8] [ 89%] RERUN tests/test_templatesimplifier_gaps.py::test_template_pointer_to_member \ntests/test_templatesimplifier_gaps.py::test_template_pointer_to_member \n[gw8] [ 89%] FAILED tests/test_templatesimplifier_gaps.py::test_template_pointer_to_member \ntests/test_templatesimplifier_round2.py::test_requires_clause_integral_constraint \n[gw8] [ 89%] PASSED tests/test_templatesimplifier_round2.py::test_requires_clause_integral_constraint \ntests/test_tokenize.py::test_operator_tokenization \n[gw8] [ 89%] PASSED tests/test_tokenize.py::test_operator_tokenization \n[gw1] [ 89%] RERUN tests/test_templatesimplifier_round3.py::test_dependent_typename_and_template_keywords \ntests/test_templatesimplifier_round3.py::test_dependent_typename_and_template_keywords \ntests/test_tokenize.py::test_string_literal_tokenization \n[gw8] [ 89%] PASSED tests/test_tokenize.py::test_string_literal_tokenization \ntests/test_tokenize.py::test_multiline_macro_tokenization \n[gw8] [ 89%] PASSED tests/test_tokenize.py::test_multiline_macro_tokenization \ntests/test_tokenize.py::test_nested_struct_typedef \n[gw4] [ 89%] RERUN tests/test_templatesimplifier_gaps.py::test_template_template_parameters \ntests/test_templatesimplifier_gaps.py::test_template_template_parameters \n[gw9] [ 89%] RERUN tests/test_templatesimplifier_round3.py::test_crtp_curiously_recurring_template_pattern \ntests/test_templatesimplifier_round3.py::test_crtp_curiously_recurring_template_pattern \n[gw0] [ 89%] RERUN tests/test_symboldatabase.py::test_const_methods_symboldatabase \ntests/test_symboldatabase.py::test_const_methods_symboldatabase \n[gw9] [ 89%] FAILED tests/test_templatesimplifier_round3.py::test_crtp_curiously_recurring_template_pattern \ntests/test_templatesimplifier_round3.py::test_policy_based_design_with_templates \n[gw3] [ 89%] RERUN tests/test_templatesimplifier_round3.py::test_template_aliases_using_keyword \ntests/test_templatesimplifier_round3.py::test_template_aliases_using_keyword \n[gw6] [ 89%] RERUN tests/test_templatesimplifier_round3.py::test_template_operator_overloading \ntests/test_templatesimplifier_round3.py::test_template_operator_overloading \n[gw6] [ 89%] FAILED tests/test_templatesimplifier_round3.py::test_template_operator_overloading \ntests/test_templatesimplifier_round3.py::test_template_compile_time_constraints \n[gw2] [ 89%] RERUN tests/test_reverseanalyzer.py::test_loop_reverse_flow \ntests/test_reverseanalyzer.py::test_loop_reverse_flow \n[gw5] [ 89%] RERUN tests/test_templatesimplifier_gaps.py::test_template_typename_dependent_types \ntests/test_templatesimplifier_gaps.py::test_template_typename_dependent_types \n[gw5] [ 89%] FAILED tests/test_templatesimplifier_gaps.py::test_template_typename_dependent_types \ntests/test_templatesimplifier_gaps.py::test_template_using_alias_declaration \n[gw1] [ 89%] RERUN tests/test_templatesimplifier_round3.py::test_dependent_typename_and_template_keywords \ntests/test_templatesimplifier_round3.py::test_dependent_typename_and_template_keywords \n[gw1] [ 89%] FAILED tests/test_templatesimplifier_round3.py::test_dependent_typename_and_template_keywords \ntests/test_tokenize.py::test_typedef_pointer_type \n[gw8] [ 90%] RERUN tests/test_tokenize.py::test_nested_struct_typedef \ntests/test_tokenize.py::test_nested_struct_typedef \n[gw4] [ 90%] RERUN tests/test_templatesimplifier_gaps.py::test_template_template_parameters \ntests/test_templatesimplifier_gaps.py::test_template_template_parameters \n[gw4] [ 90%] FAILED tests/test_templatesimplifier_gaps.py::test_template_template_parameters \ntests/test_templatesimplifier_gaps.py::test_template_function_overloading \n[gw4] [ 90%] PASSED tests/test_templatesimplifier_gaps.py::test_template_function_overloading \n[gw0] [ 90%] RERUN tests/test_symboldatabase.py::test_const_methods_symboldatabase \ntests/test_symboldatabase.py::test_const_methods_symboldatabase \n[gw9] [ 90%] RERUN tests/test_templatesimplifier_round3.py::test_policy_based_design_with_templates \ntests/test_templatesimplifier_round3.py::test_policy_based_design_with_templates \ntests/test_templatesimplifier_gaps.py::test_template_friend_functions \n[gw0] [ 90%] FAILED tests/test_symboldatabase.py::test_const_methods_symboldatabase \ntests/test_symboldatabase.py::test_default_arguments_symboldatabase \n[gw3] [ 90%] RERUN tests/test_templatesimplifier_round3.py::test_template_aliases_using_keyword \ntests/test_templatesimplifier_round3.py::test_template_aliases_using_keyword \n[gw3] [ 90%] FAILED tests/test_templatesimplifier_round3.py::test_template_aliases_using_keyword \ntests/test_templatesimplifier_round3.py::test_nested_template_specialization_patterns \n[gw6] [ 90%] RERUN tests/test_templatesimplifier_round3.py::test_template_compile_time_constraints \ntests/test_templatesimplifier_round3.py::test_template_compile_time_constraints \n[gw2] [ 90%] RERUN tests/test_reverseanalyzer.py::test_loop_reverse_flow \ntests/test_reverseanalyzer.py::test_loop_reverse_flow \n[gw2] [ 90%] FAILED tests/test_reverseanalyzer.py::test_loop_reverse_flow \ntests/test_reverseanalyzer.py::test_function_call_reverse \n[gw5] [ 90%] RERUN tests/test_templatesimplifier_gaps.py::test_template_using_alias_declaration \ntests/test_templatesimplifier_gaps.py::test_template_using_alias_declaration \n[gw1] [ 90%] RERUN tests/test_tokenize.py::test_typedef_pointer_type \ntests/test_tokenize.py::test_typedef_pointer_type \n[gw8] [ 90%] RERUN tests/test_tokenize.py::test_nested_struct_typedef \ntests/test_tokenize.py::test_nested_struct_typedef \n[gw8] [ 90%] FAILED tests/test_tokenize.py::test_nested_struct_typedef \ntests/test_tokenize.py::test_template_angle_brackets \n[gw9] [ 90%] RERUN tests/test_templatesimplifier_round3.py::test_policy_based_design_with_templates \ntests/test_templatesimplifier_round3.py::test_policy_based_design_with_templates \n[gw4] [ 90%] RERUN tests/test_templatesimplifier_gaps.py::test_template_friend_functions \ntests/test_templatesimplifier_gaps.py::test_template_friend_functions \n[gw9] [ 90%] FAILED tests/test_templatesimplifier_round3.py::test_policy_based_design_with_templates \ntests/test_templatesimplifier_round3.py::test_type_traits_and_template_metaprogramming \n[gw0] [ 90%] RERUN tests/test_symboldatabase.py::test_default_arguments_symboldatabase \ntests/test_symboldatabase.py::test_default_arguments_symboldatabase \n[gw3] [ 90%] RERUN tests/test_templatesimplifier_round3.py::test_nested_template_specialization_patterns \ntests/test_templatesimplifier_round3.py::test_nested_template_specialization_patterns \n[gw6] [ 90%] RERUN tests/test_templatesimplifier_round3.py::test_template_compile_time_constraints \ntests/test_templatesimplifier_round3.py::test_template_compile_time_constraints \n[gw6] [ 90%] FAILED tests/test_templatesimplifier_round3.py::test_template_compile_time_constraints \ntests/test_templatesimplifier_round3.py::test_template_conversion_operators \n[gw2] [ 90%] RERUN tests/test_reverseanalyzer.py::test_function_call_reverse \ntests/test_reverseanalyzer.py::test_function_call_reverse \n[gw5] [ 90%] RERUN tests/test_templatesimplifier_gaps.py::test_template_using_alias_declaration \ntests/test_templatesimplifier_gaps.py::test_template_using_alias_declaration \n[gw5] [ 90%] FAILED tests/test_templatesimplifier_gaps.py::test_template_using_alias_declaration \ntests/test_templatesimplifier_round3.py::test_template_array_with_multi_dimensional \n[gw1] [ 90%] RERUN tests/test_tokenize.py::test_typedef_pointer_type \ntests/test_tokenize.py::test_typedef_pointer_type \n[gw1] [ 90%] FAILED tests/test_tokenize.py::test_typedef_pointer_type \ntests/test_tokenize.py::test_typedef_struct_definition \n[gw8] [ 90%] RERUN tests/test_tokenize.py::test_template_angle_brackets \ntests/test_tokenize.py::test_template_angle_brackets \n[gw4] [ 90%] RERUN tests/test_templatesimplifier_gaps.py::test_template_friend_functions \ntests/test_templatesimplifier_gaps.py::test_template_friend_functions \n[gw9] [ 90%] RERUN tests/test_templatesimplifier_round3.py::test_type_traits_and_template_metaprogramming \ntests/test_templatesimplifier_round3.py::test_type_traits_and_template_metaprogramming \n[gw4] [ 90%] FAILED tests/test_templatesimplifier_gaps.py::test_template_friend_functions \ntests/test_templatesimplifier_gaps.py::test_template_argument_deduction \n[gw0] [ 90%] RERUN tests/test_symboldatabase.py::test_default_arguments_symboldatabase \ntests/test_symboldatabase.py::test_default_arguments_symboldatabase \n[gw3] [ 90%] RERUN tests/test_templatesimplifier_round3.py::test_nested_template_specialization_patterns \ntests/test_templatesimplifier_round3.py::test_nested_template_specialization_patterns \n[gw0] [ 90%] FAILED tests/test_symboldatabase.py::test_default_arguments_symboldatabase \ntests/test_templatesimplifier_gaps.py::test_multiple_template_instantiations_same_template \n[gw3] [ 90%] FAILED tests/test_templatesimplifier_round3.py::test_nested_template_specialization_patterns \ntests/test_templatesimplifier_round3.py::test_constexpr_template_functions_and_values \n[gw3] [ 90%] PASSED tests/test_templatesimplifier_round3.py::test_constexpr_template_functions_and_values \ntests/test_templatesimplifier_round3.py::test_member_function_templates_with_specialization \n[gw3] [ 90%] PASSED tests/test_templatesimplifier_round3.py::test_member_function_templates_with_specialization \n[gw6] [ 90%] RERUN tests/test_templatesimplifier_round3.py::test_template_conversion_operators \ntests/test_templatesimplifier_round3.py::test_template_conversion_operators \ntests/test_tokenize.py::test_goto_and_label \n[gw3] [ 90%] PASSED tests/test_tokenize.py::test_goto_and_label \ntests/test_tokenize.py::test_sizeof_operator \n[gw3] [ 90%] PASSED tests/test_tokenize.py::test_sizeof_operator \ntests/test_tokenize.py::test_inline_function \n[gw2] [ 90%] RERUN tests/test_reverseanalyzer.py::test_function_call_reverse \ntests/test_reverseanalyzer.py::test_function_call_reverse \n[gw2] [ 90%] FAILED tests/test_reverseanalyzer.py::test_function_call_reverse \ntests/test_tokenize.py::test_multidimensional_array \n[gw2] [ 90%] PASSED tests/test_tokenize.py::test_multidimensional_array \ntests/test_tokenize.py::test_function_with_parameters \n[gw5] [ 91%] RERUN tests/test_templatesimplifier_round3.py::test_template_array_with_multi_dimensional \ntests/test_templatesimplifier_round3.py::test_template_array_with_multi_dimensional \n[gw1] [ 91%] RERUN tests/test_tokenize.py::test_typedef_struct_definition \ntests/test_tokenize.py::test_typedef_struct_definition \n[gw8] [ 91%] RERUN tests/test_tokenize.py::test_template_angle_brackets \ntests/test_tokenize.py::test_template_angle_brackets \n[gw8] [ 91%] FAILED tests/test_tokenize.py::test_template_angle_brackets \ntests/test_tokenize.py::test_compound_assignment_operators \n[gw9] [ 91%] RERUN tests/test_templatesimplifier_round3.py::test_type_traits_and_template_metaprogramming \ntests/test_templatesimplifier_round3.py::test_type_traits_and_template_metaprogramming \n[gw4] [ 91%] RERUN tests/test_templatesimplifier_gaps.py::test_template_argument_deduction \ntests/test_templatesimplifier_gaps.py::test_template_argument_deduction \n[gw9] [ 91%] FAILED tests/test_templatesimplifier_round3.py::test_type_traits_and_template_metaprogramming \ntests/test_templatesimplifier_round3.py::test_complex_sfinae_with_sizeof_expressions \n[gw9] [ 91%] PASSED tests/test_templatesimplifier_round3.py::test_complex_sfinae_with_sizeof_expressions \n[gw0] [ 91%] RERUN tests/test_templatesimplifier_gaps.py::test_multiple_template_instantiations_same_template \ntests/test_templatesimplifier_gaps.py::test_multiple_template_instantiations_same_template \ntests/test_templatesimplifier_round3.py::test_perfect_forwarding_with_rvalue_references \n[gw9] [ 91%] PASSED tests/test_templatesimplifier_round3.py::test_perfect_forwarding_with_rvalue_references \n[gw6] [ 91%] RERUN tests/test_templatesimplifier_round3.py::test_template_conversion_operators \ntests/test_templatesimplifier_round3.py::test_template_conversion_operators \ntests/test_templatesimplifier_round3.py::test_expression_sfinae_member_detection \n[gw6] [ 91%] FAILED tests/test_templatesimplifier_round3.py::test_template_conversion_operators \ntests/test_templatesimplifier_round3.py::test_template_exception_specifications \n[gw6] [ 91%] PASSED tests/test_templatesimplifier_round3.py::test_template_exception_specifications \ntests/test_templatesimplifier_round3.py::test_template_with_lambda_expressions \n[gw3] [ 91%] RERUN tests/test_tokenize.py::test_inline_function \ntests/test_tokenize.py::test_inline_function \n[gw2] [ 91%] RERUN tests/test_tokenize.py::test_function_with_parameters \ntests/test_tokenize.py::test_function_with_parameters \n[gw5] [ 91%] RERUN tests/test_templatesimplifier_round3.py::test_template_array_with_multi_dimensional \ntests/test_templatesimplifier_round3.py::test_template_array_with_multi_dimensional \n[gw5] [ 91%] FAILED tests/test_templatesimplifier_round3.py::test_template_array_with_multi_dimensional \ntests/test_templatesimplifier_round3.py::test_template_container_adaptor_pattern \n[gw5] [ 91%] PASSED tests/test_templatesimplifier_round3.py::test_template_container_adaptor_pattern \ntests/test_templatesimplifier_round3.py::test_template_tuple_and_indexed_access \n[gw5] [ 91%] PASSED tests/test_templatesimplifier_round3.py::test_template_tuple_and_indexed_access \ntests/test_templatesimplifier_round3.py::test_template_smart_pointer_with_move_semantics \n[gw5] [ 91%] PASSED tests/test_templatesimplifier_round3.py::test_template_smart_pointer_with_move_semantics \ntests/test_tokenize.py::test_typedef_simple_int_substitution \n[gw1] [ 91%] RERUN tests/test_tokenize.py::test_typedef_struct_definition \ntests/test_tokenize.py::test_typedef_struct_definition \n[gw1] [ 91%] FAILED tests/test_tokenize.py::test_typedef_struct_definition \ntests/test_tokenize.py::test_enum_body_tokenization \n[gw1] [ 91%] PASSED tests/test_tokenize.py::test_enum_body_tokenization \ntests/test_tokenize.py::test_array_size_tokenization \n[gw8] [ 91%] RERUN tests/test_tokenize.py::test_compound_assignment_operators \ntests/test_tokenize.py::test_compound_assignment_operators \n[gw4] [ 91%] RERUN tests/test_templatesimplifier_gaps.py::test_template_argument_deduction \ntests/test_templatesimplifier_gaps.py::test_template_argument_deduction \n[gw4] [ 91%] FAILED tests/test_templatesimplifier_gaps.py::test_template_argument_deduction \ntests/test_templatesimplifier_gaps.py::test_template_sfinae_enable_if \n[gw4] [ 91%] PASSED tests/test_templatesimplifier_gaps.py::test_template_sfinae_enable_if \n[gw0] [ 91%] RERUN tests/test_templatesimplifier_gaps.py::test_multiple_template_instantiations_same_template \ntests/test_templatesimplifier_gaps.py::test_multiple_template_instantiations_same_template \n[gw0] [ 91%] FAILED tests/test_templatesimplifier_gaps.py::test_multiple_template_instantiations_same_template \ntests/test_tokenize.py::test_cast_expression \n[gw0] [ 91%] PASSED tests/test_tokenize.py::test_cast_expression \ntests/test_tokenize.py::test_array_initialization \ntests/test_tokenize.py::test_namespace_declaration \n[gw0] [ 91%] PASSED tests/test_tokenize.py::test_namespace_declaration \n[gw9] [ 91%] RERUN tests/test_templatesimplifier_round3.py::test_expression_sfinae_member_detection \ntests/test_templatesimplifier_round3.py::test_expression_sfinae_member_detection \ntests/test_tokenize.py::test_class_constructor_destructor \n[gw6] [ 92%] RERUN tests/test_templatesimplifier_round3.py::test_template_with_lambda_expressions \ntests/test_templatesimplifier_round3.py::test_template_with_lambda_expressions \n[gw3] [ 92%] RERUN tests/test_tokenize.py::test_inline_function \ntests/test_tokenize.py::test_inline_function \n[gw3] [ 92%] FAILED tests/test_tokenize.py::test_inline_function \ntests/test_tokenize.py::test_bitwise_operators \n[gw3] [ 92%] PASSED tests/test_tokenize.py::test_bitwise_operators \ntests/test_tokenize.py::test_auto_keyword_cpp11 \n[gw2] [ 92%] RERUN tests/test_tokenize.py::test_function_with_parameters \ntests/test_tokenize.py::test_function_with_parameters \n[gw2] [ 92%] FAILED tests/test_tokenize.py::test_function_with_parameters \ntests/test_tokenize.py::test_struct_member_access \n[gw5] [ 92%] RERUN tests/test_tokenize.py::test_typedef_simple_int_substitution \ntests/test_tokenize.py::test_typedef_simple_int_substitution \n[gw1] [ 92%] RERUN tests/test_tokenize.py::test_array_size_tokenization \ntests/test_tokenize.py::test_array_size_tokenization \n[gw8] [ 92%] RERUN tests/test_tokenize.py::test_compound_assignment_operators \ntests/test_tokenize.py::test_compound_assignment_operators \n[gw8] [ 92%] FAILED tests/test_tokenize.py::test_compound_assignment_operators \ntests/test_tokenize.py::test_pointer_and_reference_declarations \n[gw4] [ 92%] RERUN tests/test_tokenize.py::test_array_initialization \ntests/test_tokenize.py::test_array_initialization \n[gw9] [ 92%] RERUN tests/test_templatesimplifier_round3.py::test_expression_sfinae_member_detection \ntests/test_templatesimplifier_round3.py::test_expression_sfinae_member_detection \n[gw9] [ 92%] FAILED tests/test_templatesimplifier_round3.py::test_expression_sfinae_member_detection \ntests/test_tokenize.py::test_logical_operators \n[gw0] [ 92%] RERUN tests/test_tokenize.py::test_class_constructor_destructor \ntests/test_tokenize.py::test_class_constructor_destructor \n[gw9] [ 92%] PASSED tests/test_tokenize.py::test_logical_operators \ntests/test_tokenize.py::test_increment_decrement_prefix_postfix \n[gw6] [ 92%] RERUN tests/test_templatesimplifier_round3.py::test_template_with_lambda_expressions \ntests/test_templatesimplifier_round3.py::test_template_with_lambda_expressions \n[gw9] [ 92%] PASSED tests/test_tokenize.py::test_increment_decrement_prefix_postfix \n[gw6] [ 92%] FAILED tests/test_templatesimplifier_round3.py::test_template_with_lambda_expressions \ntests/test_tokenize.py::test_variadic_function \n[gw6] [ 92%] PASSED tests/test_tokenize.py::test_variadic_function \ntests/test_tokenize.py::test_attribute_syntax \ntests/test_tokenize.py::test_union_declaration \n[gw9] [ 92%] PASSED tests/test_tokenize.py::test_union_declaration \n[gw6] [ 92%] PASSED tests/test_tokenize.py::test_attribute_syntax \ntests/test_tokenize.py::test_typedef_function_pointer_complex \ntests/test_tokenize.py::test_hex_octal_literals \n[gw3] [ 92%] RERUN tests/test_tokenize.py::test_auto_keyword_cpp11 \ntests/test_tokenize.py::test_auto_keyword_cpp11 \n[gw2] [ 92%] RERUN tests/test_tokenize.py::test_struct_member_access \ntests/test_tokenize.py::test_struct_member_access \n[gw5] [ 92%] RERUN tests/test_tokenize.py::test_typedef_simple_int_substitution \ntests/test_tokenize.py::test_typedef_simple_int_substitution \n[gw5] [ 92%] FAILED tests/test_tokenize.py::test_typedef_simple_int_substitution \ntests/test_tokenize.py::test_long_long_type \n[gw1] [ 92%] RERUN tests/test_tokenize.py::test_array_size_tokenization \ntests/test_tokenize.py::test_array_size_tokenization \n[gw1] [ 92%] FAILED tests/test_tokenize.py::test_array_size_tokenization \ntests/test_tokenize.py::test_function_pointer_typedef \n[gw8] [ 92%] RERUN tests/test_tokenize.py::test_pointer_and_reference_declarations \ntests/test_tokenize.py::test_pointer_and_reference_declarations \n[gw4] [ 92%] RERUN tests/test_tokenize.py::test_array_initialization \ntests/test_tokenize.py::test_array_initialization \n[gw4] [ 92%] FAILED tests/test_tokenize.py::test_array_initialization \ntests/test_tokenize.py::test_conditional_compilation \n[gw0] [ 92%] RERUN tests/test_tokenize.py::test_class_constructor_destructor \ntests/test_tokenize.py::test_class_constructor_destructor \n[gw0] [ 92%] FAILED tests/test_tokenize.py::test_class_constructor_destructor \ntests/test_tokenize.py::test_for_loop_tokenization \n[gw9] [ 92%] RERUN tests/test_tokenize.py::test_typedef_function_pointer_complex \ntests/test_tokenize.py::test_typedef_function_pointer_complex \n[gw6] [ 92%] RERUN tests/test_tokenize.py::test_hex_octal_literals \ntests/test_tokenize.py::test_hex_octal_literals \n[gw3] [ 92%] RERUN tests/test_tokenize.py::test_auto_keyword_cpp11 \ntests/test_tokenize.py::test_auto_keyword_cpp11 \n[gw3] [ 92%] FAILED tests/test_tokenize.py::test_auto_keyword_cpp11 \ntests/test_tokenize.py::test_range_based_for_cpp11 \n[gw2] [ 92%] RERUN tests/test_tokenize.py::test_struct_member_access \ntests/test_tokenize.py::test_struct_member_access \n[gw3] [ 92%] PASSED tests/test_tokenize.py::test_range_based_for_cpp11 \n[gw2] [ 92%] FAILED tests/test_tokenize.py::test_struct_member_access \ntests/test_tokenize.py::test_switch_case_statement \n[gw2] [ 92%] PASSED tests/test_tokenize.py::test_switch_case_statement \ntests/test_tokenize.py::test_lambda_expression_cpp11 \n[gw3] [ 93%] PASSED tests/test_tokenize.py::test_lambda_expression_cpp11 \ntests/test_tokenize.py::test_ternary_operator \n[gw2] [ 93%] PASSED tests/test_tokenize.py::test_ternary_operator \ntests/test_tokenize_round2.py::test_double_minus_to_plus_simplification \ntests/test_tokenize_round2.py::test_user_defined_literals \n[gw2] [ 93%] PASSED tests/test_tokenize_round2.py::test_user_defined_literals \ntests/test_tokenize_round2.py::test_raw_string_literals \n[gw5] [ 93%] RERUN tests/test_tokenize.py::test_long_long_type \ntests/test_tokenize.py::test_long_long_type \n[gw1] [ 93%] RERUN tests/test_tokenize.py::test_function_pointer_typedef \ntests/test_tokenize.py::test_function_pointer_typedef \n[gw8] [ 93%] RERUN tests/test_tokenize.py::test_pointer_and_reference_declarations \ntests/test_tokenize.py::test_pointer_and_reference_declarations \n[gw8] [ 93%] FAILED tests/test_tokenize.py::test_pointer_and_reference_declarations \ntests/test_tokenize.py::test_static_and_extern_storage_class \n[gw4] [ 93%] RERUN tests/test_tokenize.py::test_conditional_compilation \ntests/test_tokenize.py::test_conditional_compilation \n[gw0] [ 93%] RERUN tests/test_tokenize.py::test_for_loop_tokenization \ntests/test_tokenize.py::test_for_loop_tokenization \n[gw9] [ 93%] RERUN tests/test_tokenize.py::test_typedef_function_pointer_complex \ntests/test_tokenize.py::test_typedef_function_pointer_complex \n[gw6] [ 93%] RERUN tests/test_tokenize.py::test_hex_octal_literals \ntests/test_tokenize.py::test_hex_octal_literals \n[gw9] [ 93%] FAILED tests/test_tokenize.py::test_typedef_function_pointer_complex \ntests/test_tokenize.py::test_static_assert_cpp11 \n[gw6] [ 93%] FAILED tests/test_tokenize.py::test_hex_octal_literals \ntests/test_tokenize.py::test_character_literal \n[gw9] [ 93%] PASSED tests/test_tokenize.py::test_static_assert_cpp11 \ntests/test_tokenize_round2.py::test_array_access_reversed_syntax \n[gw3] [ 93%] RERUN tests/test_tokenize_round2.py::test_double_minus_to_plus_simplification \ntests/test_tokenize_round2.py::test_double_minus_to_plus_simplification \n[gw2] [ 93%] RERUN tests/test_tokenize_round2.py::test_raw_string_literals \ntests/test_tokenize_round2.py::test_raw_string_literals \n[gw5] [ 93%] RERUN tests/test_tokenize.py::test_long_long_type \ntests/test_tokenize.py::test_long_long_type \n[gw5] [ 93%] FAILED tests/test_tokenize.py::test_long_long_type \ntests/test_tokenize.py::test_pointer_to_pointer \n[gw5] [ 93%] PASSED tests/test_tokenize.py::test_pointer_to_pointer \ntests/test_tokenize.py::test_comma_operator \n[gw5] [ 93%] PASSED tests/test_tokenize.py::test_comma_operator \ntests/test_tokenize.py::test_struct_initialization \n[gw5] [ 93%] PASSED tests/test_tokenize.py::test_struct_initialization \ntests/test_tokenize_round2.py::test_noexcept_specifier \n[gw1] [ 93%] RERUN tests/test_tokenize.py::test_function_pointer_typedef \ntests/test_tokenize.py::test_function_pointer_typedef \n[gw1] [ 93%] FAILED tests/test_tokenize.py::test_function_pointer_typedef \ntests/test_tokenize.py::test_const_qualifier_preservation \n[gw1] [ 93%] PASSED tests/test_tokenize.py::test_const_qualifier_preservation \ntests/test_tokenize_round2.py::test_extern_c_simplification \n[gw8] [ 93%] RERUN tests/test_tokenize.py::test_static_and_extern_storage_class \ntests/test_tokenize.py::test_static_and_extern_storage_class \n[gw1] [ 93%] PASSED tests/test_tokenize_round2.py::test_extern_c_simplification \ntests/test_tokenize_round2.py::test_case_range_extension \n[gw1] [ 93%] PASSED tests/test_tokenize_round2.py::test_case_range_extension \ntests/test_tokenize_round2.py::test_inline_asm_tokenization \n[gw1] [ 93%] PASSED tests/test_tokenize_round2.py::test_inline_asm_tokenization \n[gw4] [ 93%] RERUN tests/test_tokenize.py::test_conditional_compilation \ntests/test_tokenize.py::test_conditional_compilation \n[gw4] [ 93%] FAILED tests/test_tokenize.py::test_conditional_compilation \ntests/test_tokenize.py::test_scoped_enum_cpp11 \n[gw4] [ 93%] PASSED tests/test_tokenize.py::test_scoped_enum_cpp11 \ntests/test_tokenize_round2.py::test_alignas_alignof_cpp11 \n[gw1] [ 94%] PASSED tests/test_tokenize_round2.py::test_alignas_alignof_cpp11 \ntests/test_tokenize.py::test_nullptr_cpp11 \n[gw0] [ 94%] RERUN tests/test_tokenize.py::test_for_loop_tokenization \ntests/test_tokenize.py::test_for_loop_tokenization \ntests/test_tokenize_round2.py::test_static_assert_cpp11 \n[gw0] [ 94%] FAILED tests/test_tokenize.py::test_for_loop_tokenization \ntests/test_tokenize.py::test_while_and_do_while \n[gw0] [ 94%] PASSED tests/test_tokenize.py::test_while_and_do_while \ntests/test_tokenize_round2.py::test_digit_separators_cpp14 \n[gw0] [ 94%] PASSED tests/test_tokenize_round2.py::test_digit_separators_cpp14 \ntests/test_tokenize_round2.py::test_attributes_cpp11 \n[gw6] [ 94%] RERUN tests/test_tokenize.py::test_character_literal \ntests/test_tokenize.py::test_character_literal \n[gw0] [ 94%] PASSED tests/test_tokenize_round2.py::test_attributes_cpp11 \n[gw9] [ 94%] RERUN tests/test_tokenize_round2.py::test_array_access_reversed_syntax \ntests/test_tokenize_round2.py::test_array_access_reversed_syntax \ntests/test_tokenize_round2.py::test_unicode_identifiers \n[gw3] [ 94%] RERUN tests/test_tokenize_round2.py::test_double_minus_to_plus_simplification \ntests/test_tokenize_round2.py::test_double_minus_to_plus_simplification \n[gw3] [ 94%] FAILED tests/test_tokenize_round2.py::test_double_minus_to_plus_simplification \ntests/test_tokenize_round2.py::test_redundant_consecutive_braces \n[gw3] [ 94%] PASSED tests/test_tokenize_round2.py::test_redundant_consecutive_braces \n[gw2] [ 94%] RERUN tests/test_tokenize_round2.py::test_raw_string_literals \ntests/test_tokenize_round2.py::test_raw_string_literals \ntests/test_tokenize_round2.py::test_structured_bindings_cpp17 \n[gw3] [ 94%] PASSED tests/test_tokenize_round2.py::test_structured_bindings_cpp17 \n[gw2] [ 94%] FAILED tests/test_tokenize_round2.py::test_raw_string_literals \ntests/test_tokenize_round2.py::test_template_right_angle_bracket_split \n[gw2] [ 94%] PASSED tests/test_tokenize_round2.py::test_template_right_angle_bracket_split \ntests/test_tokenize_round2.py::test_explicit_specialization_template \n[gw3] [ 94%] PASSED tests/test_tokenize_round2.py::test_explicit_specialization_template \ntests/test_tokenize_round2.py::test_mutable_keyword \n[gw2] [ 94%] PASSED tests/test_tokenize_round2.py::test_mutable_keyword \ntests/test_tokenize_round2.py::test_friend_class_declaration \n[gw3] [ 94%] PASSED tests/test_tokenize_round2.py::test_friend_class_declaration \ntests/test_tokenize_round2.py::test_explicit_conversion_operators \n[gw2] [ 94%] PASSED tests/test_tokenize_round2.py::test_explicit_conversion_operators \ntests/test_tokenize_round2.py::test_namespace_alias \n[gw3] [ 94%] PASSED tests/test_tokenize_round2.py::test_namespace_alias \ntests/test_tokenize_round2.py::test_cpp_cast_operators \n[gw2] [ 94%] PASSED tests/test_tokenize_round2.py::test_cpp_cast_operators \ntests/test_tokenize_round2.py::test_using_declaration_vs_directive \n[gw3] [ 94%] PASSED tests/test_tokenize_round2.py::test_using_declaration_vs_directive \ntests/test_tokenize_round2.py::test_typedef_function_pointer \n[gw2] [ 94%] PASSED tests/test_tokenize_round2.py::test_typedef_function_pointer \ntests/test_tokenize_round2.py::test_initializer_list_cpp11 \ntests/test_tokenize_round2.py::test_rvalue_reference_cpp11 \n[gw3] [ 94%] PASSED tests/test_tokenize_round2.py::test_initializer_list_cpp11 \n[gw2] [ 95%] PASSED tests/test_tokenize_round2.py::test_rvalue_reference_cpp11 \ntests/test_tokenize_round2.py::test_thread_local_storage_cpp11 \ntests/test_tokenize_round2.py::test_enum_class_cpp11 \n[gw3] [ 95%] PASSED tests/test_tokenize_round2.py::test_thread_local_storage_cpp11 \n[gw2] [ 95%] PASSED tests/test_tokenize_round2.py::test_enum_class_cpp11 \n[gw5] [ 95%] RERUN tests/test_tokenize_round2.py::test_noexcept_specifier \ntests/test_tokenize_round2.py::test_noexcept_specifier \ntests/test_tokenize_round2.py::test_constexpr_if_cpp17 \ntests/test_tokenize_round2.py::test_strong_typedef_using_cpp11 \n[gw3] [ 95%] PASSED tests/test_tokenize_round2.py::test_strong_typedef_using_cpp11 \ntests/test_tokenize_round2.py::test_structured_binding_with_struct \n[gw3] [ 95%] PASSED tests/test_tokenize_round2.py::test_structured_binding_with_struct \ntests/test_tokenlist.py::test_simplify_platform_types_size_t \n[gw8] [ 95%] RERUN tests/test_tokenize.py::test_static_and_extern_storage_class \ntests/test_tokenize.py::test_static_and_extern_storage_class \n[gw8] [ 95%] FAILED tests/test_tokenize.py::test_static_and_extern_storage_class \ntests/test_tokenize.py::test_volatile_qualifier \n[gw4] [ 95%] RERUN tests/test_tokenize.py::test_nullptr_cpp11 \ntests/test_tokenize.py::test_nullptr_cpp11 \n[gw1] [ 95%] RERUN tests/test_tokenize_round2.py::test_static_assert_cpp11 \ntests/test_tokenize_round2.py::test_static_assert_cpp11 \n[gw6] [ 95%] RERUN tests/test_tokenize.py::test_character_literal \ntests/test_tokenize.py::test_character_literal \n[gw9] [ 95%] RERUN tests/test_tokenize_round2.py::test_array_access_reversed_syntax \ntests/test_tokenize_round2.py::test_array_access_reversed_syntax \n[gw6] [ 95%] FAILED tests/test_tokenize.py::test_character_literal \ntests/test_tokenize_round2.py::test_compound_assignment_operators \n[gw6] [ 95%] PASSED tests/test_tokenize_round2.py::test_compound_assignment_operators \n[gw9] [ 95%] FAILED tests/test_tokenize_round2.py::test_array_access_reversed_syntax \ntests/test_tokenize_round2.py::test_parameter_void_simplification \n[gw0] [ 95%] RERUN tests/test_tokenize_round2.py::test_unicode_identifiers \ntests/test_tokenize_round2.py::test_unicode_identifiers \n[gw9] [ 95%] PASSED tests/test_tokenize_round2.py::test_parameter_void_simplification \ntests/test_tokenize_round2.py::test_lambda_expression_tokenization \n[gw6] [ 95%] PASSED tests/test_tokenize_round2.py::test_lambda_expression_tokenization \ntests/test_tokenlist.py::test_simplify_stdtype_long_long \ntests/test_tokenize_round2.py::test_constexpr_keyword \n[gw5] [ 95%] RERUN tests/test_tokenize_round2.py::test_noexcept_specifier \ntests/test_tokenize_round2.py::test_noexcept_specifier \n[gw5] [ 95%] FAILED tests/test_tokenize_round2.py::test_noexcept_specifier \ntests/test_tokenize_round2.py::test_variadic_templates \n[gw5] [ 95%] PASSED tests/test_tokenize_round2.py::test_variadic_templates \n[gw2] [ 95%] RERUN tests/test_tokenize_round2.py::test_constexpr_if_cpp17 \ntests/test_tokenize_round2.py::test_constexpr_if_cpp17 \ntests/test_tokenize_round2.py::test_decltype_keyword \n[gw5] [ 95%] PASSED tests/test_tokenize_round2.py::test_decltype_keyword \ntests/test_tokenlist.py::test_tokenlist_multiline_macro \n[gw3] [ 95%] RERUN tests/test_tokenlist.py::test_simplify_platform_types_size_t \ntests/test_tokenlist.py::test_simplify_platform_types_size_t \n[gw8] [ 95%] RERUN tests/test_tokenize.py::test_volatile_qualifier \ntests/test_tokenize.py::test_volatile_qualifier \n[gw4] [ 95%] RERUN tests/test_tokenize.py::test_nullptr_cpp11 \ntests/test_tokenize.py::test_nullptr_cpp11 \n[gw4] [ 95%] FAILED tests/test_tokenize.py::test_nullptr_cpp11 \ntests/test_tokenize_round2.py::test_default_delete_function_cpp11 \n[gw4] [ 95%] PASSED tests/test_tokenize_round2.py::test_default_delete_function_cpp11 \n[gw1] [ 95%] RERUN tests/test_tokenize_round2.py::test_static_assert_cpp11 \ntests/test_tokenize_round2.py::test_static_assert_cpp11 \ntests/test_tokenize_round2.py::test_override_final_cpp11 \n[gw1] [ 95%] FAILED tests/test_tokenize_round2.py::test_static_assert_cpp11 \ntests/test_tokenize_round2.py::test_nullptr_keyword_cpp11 \n[gw1] [ 96%] PASSED tests/test_tokenize_round2.py::test_nullptr_keyword_cpp11 \ntests/test_tokenize_round2.py::test_range_based_for_loop_cpp11 \n[gw1] [ 96%] PASSED tests/test_tokenize_round2.py::test_range_based_for_loop_cpp11 \ntests/test_tokenlist.py::test_tokenlist_nested_braces \n[gw1] [ 96%] PASSED tests/test_tokenlist.py::test_tokenlist_nested_braces \ntests/test_tokenlist.py::test_tokenlist_operator_overloading_cpp \n[gw1] [ 96%] PASSED tests/test_tokenlist.py::test_tokenlist_operator_overloading_cpp \n[gw0] [ 96%] RERUN tests/test_tokenize_round2.py::test_unicode_identifiers \ntests/test_tokenize_round2.py::test_unicode_identifiers \ntests/test_tokenlist.py::test_tokenlist_template_basic \n[gw9] [ 96%] RERUN tests/test_tokenlist.py::test_simplify_stdtype_long_long \ntests/test_tokenlist.py::test_simplify_stdtype_long_long \n[gw0] [ 96%] FAILED tests/test_tokenize_round2.py::test_unicode_identifiers \ntests/test_tokenize_round2.py::test_hexadecimal_float_literals_cpp17 \n[gw0] [ 96%] PASSED tests/test_tokenize_round2.py::test_hexadecimal_float_literals_cpp17 \n[gw6] [ 96%] RERUN tests/test_tokenize_round2.py::test_constexpr_keyword \ntests/test_tokenize_round2.py::test_constexpr_keyword \ntests/test_tokenlist.py::test_tokenlist_string_concatenation \n[gw0] [ 96%] PASSED tests/test_tokenlist.py::test_tokenlist_string_concatenation \ntests/test_tokenlist.py::test_tokenlist_complex_expression \n[gw2] [ 96%] RERUN tests/test_tokenize_round2.py::test_constexpr_if_cpp17 \ntests/test_tokenize_round2.py::test_constexpr_if_cpp17 \n[gw2] [ 96%] FAILED tests/test_tokenize_round2.py::test_constexpr_if_cpp17 \ntests/test_tokenize_round2.py::test_fold_expressions_cpp17 \n[gw2] [ 96%] PASSED tests/test_tokenize_round2.py::test_fold_expressions_cpp17 \ntests/test_tokenlist.py::test_tokenlist_function_pointer \n[gw2] [ 96%] PASSED tests/test_tokenlist.py::test_tokenlist_function_pointer \n[gw5] [ 96%] RERUN tests/test_tokenlist.py::test_tokenlist_multiline_macro \ntests/test_tokenlist.py::test_tokenlist_multiline_macro \ntests/test_tokenlist.py::test_tokenlist_array_of_pointers \n[gw3] [ 96%] RERUN tests/test_tokenlist.py::test_simplify_platform_types_size_t \ntests/test_tokenlist.py::test_simplify_platform_types_size_t \n[gw2] [ 96%] PASSED tests/test_tokenlist.py::test_tokenlist_array_of_pointers \n[gw8] [ 96%] RERUN tests/test_tokenize.py::test_volatile_qualifier \ntests/test_tokenize.py::test_volatile_qualifier \n[gw3] [ 96%] FAILED tests/test_tokenlist.py::test_simplify_platform_types_size_t \ntests/test_tokenlist.py::test_simplify_platform_types_ptrdiff_t \n[gw8] [ 96%] FAILED tests/test_tokenize.py::test_volatile_qualifier \ntests/test_tokenlist.py::test_simplify_stdtype_implicit_int_c \ntests/test_tokenlist.py::test_tokenlist_struct_declaration \n[gw2] [ 96%] PASSED tests/test_tokenlist.py::test_tokenlist_struct_declaration \ntests/test_tokenlist.py::test_tokenlist_enum_declaration \n[gw2] [ 96%] PASSED tests/test_tokenlist.py::test_tokenlist_enum_declaration \ntests/test_tokenlist.py::test_tokenlist_goto_label \n[gw2] [ 96%] PASSED tests/test_tokenlist.py::test_tokenlist_goto_label \ntests/test_tokenlist.py::test_tokenlist_variadic_function \n[gw2] [ 96%] PASSED tests/test_tokenlist.py::test_tokenlist_variadic_function \n[gw4] [ 96%] RERUN tests/test_tokenize_round2.py::test_override_final_cpp11 \ntests/test_tokenize_round2.py::test_override_final_cpp11 \ntests/test_tokenlist.py::test_tokenlist_inline_assembly \n[gw2] [ 96%] PASSED tests/test_tokenlist.py::test_tokenlist_inline_assembly \ntests/test_tokenlist.py::test_tokenlist_designated_initializers \n[gw2] [ 97%] PASSED tests/test_tokenlist.py::test_tokenlist_designated_initializers \ntests/test_tokenlist.py::test_tokenlist_compound_literal \n[gw2] [ 97%] PASSED tests/test_tokenlist.py::test_tokenlist_compound_literal \ntests/test_tokenlist.py::test_tokenlist_hexfloat_c99 \n[gw1] [ 97%] RERUN tests/test_tokenlist.py::test_tokenlist_template_basic \ntests/test_tokenlist.py::test_tokenlist_template_basic \n[gw9] [ 97%] RERUN tests/test_tokenlist.py::test_simplify_stdtype_long_long \ntests/test_tokenlist.py::test_simplify_stdtype_long_long \n[gw6] [ 97%] RERUN tests/test_tokenize_round2.py::test_constexpr_keyword \ntests/test_tokenize_round2.py::test_constexpr_keyword \n[gw9] [ 97%] FAILED tests/test_tokenlist.py::test_simplify_stdtype_long_long \ntests/test_tokenlist.py::test_simplify_stdtype_short \n[gw6] [ 97%] FAILED tests/test_tokenize_round2.py::test_constexpr_keyword \ntests/test_tokenlist.py::test_tokenlist_with_includes \n[gw6] [ 97%] PASSED tests/test_tokenlist.py::test_tokenlist_with_includes \ntests/test_vf_common.py::test_signed_integer_overflow_detection \n[gw0] [ 97%] RERUN tests/test_tokenlist.py::test_tokenlist_complex_expression \ntests/test_tokenlist.py::test_tokenlist_complex_expression \n[gw5] [ 97%] RERUN tests/test_tokenlist.py::test_tokenlist_multiline_macro \ntests/test_tokenlist.py::test_tokenlist_multiline_macro \n[gw5] [ 97%] FAILED tests/test_tokenlist.py::test_tokenlist_multiline_macro \ntests/test_tokenlist.py::test_tokenlist_empty_file \n[gw3] [ 97%] RERUN tests/test_tokenlist.py::test_simplify_platform_types_ptrdiff_t \ntests/test_tokenlist.py::test_simplify_platform_types_ptrdiff_t \n[gw8] [ 97%] RERUN tests/test_tokenlist.py::test_simplify_stdtype_implicit_int_c \ntests/test_tokenlist.py::test_simplify_stdtype_implicit_int_c \n[gw4] [ 97%] RERUN tests/test_tokenize_round2.py::test_override_final_cpp11 \ntests/test_tokenize_round2.py::test_override_final_cpp11 \n[gw4] [ 97%] FAILED tests/test_tokenize_round2.py::test_override_final_cpp11 \ntests/test_tokenlist.py::test_tokenlist_very_long_identifier \n[gw2] [ 97%] RERUN tests/test_tokenlist.py::test_tokenlist_hexfloat_c99 \ntests/test_tokenlist.py::test_tokenlist_hexfloat_c99 \n[gw1] [ 97%] RERUN tests/test_tokenlist.py::test_tokenlist_template_basic \ntests/test_tokenlist.py::test_tokenlist_template_basic \n[gw1] [ 97%] FAILED tests/test_tokenlist.py::test_tokenlist_template_basic \ntests/test_tokenlist.py::test_tokenlist_unicode_identifiers \n[gw9] [ 97%] RERUN tests/test_tokenlist.py::test_simplify_stdtype_short \ntests/test_tokenlist.py::test_simplify_stdtype_short \n[gw1] [ 97%] PASSED tests/test_tokenlist.py::test_tokenlist_unicode_identifiers \ntests/test_vf_common.py::test_sizeof_basic_types \n[gw6] [ 97%] RERUN tests/test_vf_common.py::test_signed_integer_overflow_detection \ntests/test_vf_common.py::test_signed_integer_overflow_detection \n[gw0] [ 97%] RERUN tests/test_tokenlist.py::test_tokenlist_complex_expression \ntests/test_tokenlist.py::test_tokenlist_complex_expression \n[gw0] [ 97%] FAILED tests/test_tokenlist.py::test_tokenlist_complex_expression \ntests/test_tokenlist.py::test_tokenlist_preprocessor_directives \n[gw0] [ 97%] PASSED tests/test_tokenlist.py::test_tokenlist_preprocessor_directives \ntests/test_vf_common.py::test_sizeof_enum_types \n[gw0] [ 97%] PASSED tests/test_vf_common.py::test_sizeof_enum_types \ntests/test_vf_common.py::test_sizeof_array_element_count \n[gw0] [ 97%] PASSED tests/test_vf_common.py::test_sizeof_array_element_count \ntests/test_vf_common.py::test_type_truncation_no_warning_on_explicit_cast \n[gw0] [ 97%] PASSED tests/test_vf_common.py::test_type_truncation_no_warning_on_explicit_cast \ntests/test_vf_common.py::test_float_to_int_conversion_overflow \n[gw5] [ 97%] RERUN tests/test_tokenlist.py::test_tokenlist_empty_file \ntests/test_tokenlist.py::test_tokenlist_empty_file \n[gw3] [ 97%] RERUN tests/test_tokenlist.py::test_simplify_platform_types_ptrdiff_t \ntests/test_tokenlist.py::test_simplify_platform_types_ptrdiff_t \n[gw3] [ 97%] FAILED tests/test_tokenlist.py::test_simplify_platform_types_ptrdiff_t \ntests/test_tokenlist.py::test_tokenlist_typedef_complex \n[gw8] [ 97%] RERUN tests/test_tokenlist.py::test_simplify_stdtype_implicit_int_c \ntests/test_tokenlist.py::test_simplify_stdtype_implicit_int_c \n[gw3] [ 97%] PASSED tests/test_tokenlist.py::test_tokenlist_typedef_complex \n[gw8] [ 97%] FAILED tests/test_tokenlist.py::test_simplify_stdtype_implicit_int_c \ntests/test_tokenlist.py::test_tokenlist_cast_expression \ntests/test_vf_common.py::test_sizeof_multidimensional_array \n[gw4] [ 97%] RERUN tests/test_tokenlist.py::test_tokenlist_very_long_identifier \ntests/test_tokenlist.py::test_tokenlist_very_long_identifier \n[gw2] [ 97%] RERUN tests/test_tokenlist.py::test_tokenlist_hexfloat_c99 \ntests/test_tokenlist.py::test_tokenlist_hexfloat_c99 \n[gw2] [ 97%] FAILED tests/test_tokenlist.py::test_tokenlist_hexfloat_c99 \ntests/test_tokenlist.py::test_tokenlist_wide_string_literals \n[gw9] [ 97%] RERUN tests/test_tokenlist.py::test_simplify_stdtype_short \ntests/test_tokenlist.py::test_simplify_stdtype_short \n[gw9] [ 97%] FAILED tests/test_tokenlist.py::test_simplify_stdtype_short \ntests/test_tokenlist.py::test_tokenlist_raw_string_literal_cpp11 \n[gw1] [ 98%] RERUN tests/test_vf_common.py::test_sizeof_basic_types \ntests/test_vf_common.py::test_sizeof_basic_types \n[gw6] [ 98%] RERUN tests/test_vf_common.py::test_signed_integer_overflow_detection \ntests/test_vf_common.py::test_signed_integer_overflow_detection \n[gw6] [ 98%] FAILED tests/test_vf_common.py::test_signed_integer_overflow_detection \ntests/test_vf_common.py::test_value_flow_dump_bool_constants \n[gw0] [ 98%] RERUN tests/test_vf_common.py::test_float_to_int_conversion_overflow \ntests/test_vf_common.py::test_float_to_int_conversion_overflow \n[gw5] [ 98%] RERUN tests/test_tokenlist.py::test_tokenlist_empty_file \ntests/test_tokenlist.py::test_tokenlist_empty_file \n[gw5] [ 98%] FAILED tests/test_tokenlist.py::test_tokenlist_empty_file \ntests/test_vf_common.py::test_value_flow_char_literal_constants \n[gw3] [ 98%] RERUN tests/test_vf_common.py::test_sizeof_multidimensional_array \ntests/test_vf_common.py::test_sizeof_multidimensional_array \n[gw8] [ 98%] RERUN tests/test_tokenlist.py::test_tokenlist_cast_expression \ntests/test_tokenlist.py::test_tokenlist_cast_expression \n[gw4] [ 98%] RERUN tests/test_tokenlist.py::test_tokenlist_very_long_identifier \ntests/test_tokenlist.py::test_tokenlist_very_long_identifier \n[gw4] [ 98%] FAILED tests/test_tokenlist.py::test_tokenlist_very_long_identifier \ntests/test_vf_common.py::test_value_flow_float_constants \n[gw2] [ 98%] RERUN tests/test_tokenlist.py::test_tokenlist_wide_string_literals \ntests/test_tokenlist.py::test_tokenlist_wide_string_literals \n[gw1] [ 98%] RERUN tests/test_vf_common.py::test_sizeof_basic_types \ntests/test_vf_common.py::test_sizeof_basic_types \n[gw9] [ 98%] RERUN tests/test_tokenlist.py::test_tokenlist_raw_string_literal_cpp11 \ntests/test_tokenlist.py::test_tokenlist_raw_string_literal_cpp11 \n[gw1] [ 98%] FAILED tests/test_vf_common.py::test_sizeof_basic_types \ntests/test_vf_common.py::test_sizeof_pointer_dereference \n[gw1] [ 98%] PASSED tests/test_vf_common.py::test_sizeof_pointer_dereference \n[gw6] [ 98%] RERUN tests/test_vf_common.py::test_value_flow_dump_bool_constants \ntests/test_vf_common.py::test_value_flow_dump_bool_constants \ntests/test_vf_common.py::test_signed_char_overflow_detection \n[gw1] [ 98%] PASSED tests/test_vf_common.py::test_signed_char_overflow_detection \ntests/test_vf_common.py::test_short_overflow_detection \n[gw1] [ 98%] PASSED tests/test_vf_common.py::test_short_overflow_detection \n[gw0] [ 98%] RERUN tests/test_vf_common.py::test_float_to_int_conversion_overflow \ntests/test_vf_common.py::test_float_to_int_conversion_overflow \n[gw0] [ 98%] FAILED tests/test_vf_common.py::test_float_to_int_conversion_overflow \ntests/test_vf_common.py::test_zero_initialization_patterns \n[gw5] [ 98%] RERUN tests/test_vf_common.py::test_value_flow_char_literal_constants \ntests/test_vf_common.py::test_value_flow_char_literal_constants \n[gw3] [ 98%] RERUN tests/test_vf_common.py::test_sizeof_multidimensional_array \ntests/test_vf_common.py::test_sizeof_multidimensional_array \n[gw3] [ 98%] FAILED tests/test_vf_common.py::test_sizeof_multidimensional_array \n[gw8] [ 98%] RERUN tests/test_tokenlist.py::test_tokenlist_cast_expression \ntests/test_tokenlist.py::test_tokenlist_cast_expression \ntests/test_vf_common.py::test_sizeof_wide_char_literals \n[gw3] [ 98%] PASSED tests/test_vf_common.py::test_sizeof_wide_char_literals \n[gw8] [ 98%] FAILED tests/test_tokenlist.py::test_tokenlist_cast_expression \ntests/test_vf_common.py::test_sizeof_string_literals \n[gw4] [ 98%] RERUN tests/test_vf_common.py::test_value_flow_float_constants \ntests/test_vf_common.py::test_value_flow_float_constants \n[gw2] [ 98%] RERUN tests/test_tokenlist.py::test_tokenlist_wide_string_literals \ntests/test_tokenlist.py::test_tokenlist_wide_string_literals \n[gw2] [ 98%] FAILED tests/test_tokenlist.py::test_tokenlist_wide_string_literals \ntests/test_vf_common.py::test_cast_value_with_sign_extension \n[gw2] [ 98%] PASSED tests/test_vf_common.py::test_cast_value_with_sign_extension \n[gw9] [ 98%] RERUN tests/test_tokenlist.py::test_tokenlist_raw_string_literal_cpp11 \ntests/test_tokenlist.py::test_tokenlist_raw_string_literal_cpp11 \n[gw6] [ 98%] RERUN tests/test_vf_common.py::test_value_flow_dump_bool_constants \ntests/test_vf_common.py::test_value_flow_dump_bool_constants \n[gw6] [ 98%] FAILED tests/test_vf_common.py::test_value_flow_dump_bool_constants \ntests/test_vf_common.py::test_empty_initializer_list_zero_value \n[gw9] [ 98%] FAILED tests/test_tokenlist.py::test_tokenlist_raw_string_literal_cpp11 \ntests/test_vf_common.py::test_sizeof_typedef_arrays \n[gw6] [ 98%] PASSED tests/test_vf_common.py::test_empty_initializer_list_zero_value \n[gw9] [ 98%] PASSED tests/test_vf_common.py::test_sizeof_typedef_arrays \n[gw0] [ 98%] RERUN tests/test_vf_common.py::test_zero_initialization_patterns \ntests/test_vf_common.py::test_zero_initialization_patterns \n[gw5] [ 98%] RERUN tests/test_vf_common.py::test_value_flow_char_literal_constants \ntests/test_vf_common.py::test_value_flow_char_literal_constants \n[gw5] [ 98%] FAILED tests/test_vf_common.py::test_value_flow_char_literal_constants \ntests/test_vf_common.py::test_sizeof_vla_vs_constant_array \n[gw5] [ 98%] PASSED tests/test_vf_common.py::test_sizeof_vla_vs_constant_array \n[gw8] [ 99%] RERUN tests/test_vf_common.py::test_sizeof_string_literals \ntests/test_vf_common.py::test_sizeof_string_literals \n[gw4] [ 99%] RERUN tests/test_vf_common.py::test_value_flow_float_constants \ntests/test_vf_common.py::test_value_flow_float_constants \n[gw4] [ 99%] FAILED tests/test_vf_common.py::test_value_flow_float_constants \ntests/test_vf_common.py::test_unsigned_char_wraparound_not_overflow \n[gw4] [ 99%] PASSED tests/test_vf_common.py::test_unsigned_char_wraparound_not_overflow \n[gw0] [ 99%] RERUN tests/test_vf_common.py::test_zero_initialization_patterns \ntests/test_vf_common.py::test_zero_initialization_patterns \n[gw0] [ 99%] FAILED tests/test_vf_common.py::test_zero_initialization_patterns \n[gw8] [ 99%] RERUN tests/test_vf_common.py::test_sizeof_string_literals \ntests/test_vf_common.py::test_sizeof_string_literals \n[gw8] [ 99%] FAILED tests/test_vf_common.py::test_sizeof_string_literals \n[gw7] [ 99%] RERUN tests/test_harvest_performance.py::test_stack_overflow_AST \ntests/test_harvest_performance.py::test_stack_overflow_AST \n[gw7] [ 99%] FAILED tests/test_harvest_performance.py::test_stack_overflow_AST \ntests/test_harvest_performance.py::test_slow_initlist_varchanged \n[gw7] [ 99%] PASSED tests/test_harvest_performance.py::test_slow_initlist_varchanged \ntests/test_harvest_performance.py::test_slow_many_scopes \n[gw7] [ 99%] PASSED tests/test_harvest_performance.py::test_slow_many_scopes \ntests/test_harvest_performance.py::test_crash_array_in_namespace \n[gw7] [ 99%] RERUN tests/test_harvest_performance.py::test_crash_array_in_namespace \ntests/test_harvest_performance.py::test_crash_array_in_namespace \n[gw7] [ 99%] RERUN tests/test_harvest_performance.py::test_crash_array_in_namespace \ntests/test_harvest_performance.py::test_crash_array_in_namespace \n[gw7] [ 99%] FAILED tests/test_harvest_performance.py::test_crash_array_in_namespace \ntests/test_harvest_performance.py::test_crash_array_in_array \n[gw7] [ 99%] RERUN tests/test_harvest_performance.py::test_crash_array_in_array \ntests/test_harvest_performance.py::test_crash_array_in_array \n[gw7] [ 99%] RERUN tests/test_harvest_performance.py::test_crash_array_in_array \ntests/test_harvest_performance.py::test_crash_array_in_array \n[gw7] [ 99%] FAILED tests/test_harvest_performance.py::test_crash_array_in_array \ntests/test_harvest_performance.py::test_slow_bifurcate \n[gw7] [ 99%] PASSED tests/test_harvest_performance.py::test_slow_bifurcate \ntests/test_harvest_premium.py::test_misra_c_builtin_style_checks \n[gw7] [ 99%] RERUN tests/test_harvest_premium.py::test_misra_c_builtin_style_checks \ntests/test_harvest_premium.py::test_misra_c_builtin_style_checks \n[gw7] [ 99%] RERUN tests/test_harvest_premium.py::test_misra_c_builtin_style_checks \ntests/test_harvest_premium.py::test_misra_c_builtin_style_checks \n[gw7] [ 99%] FAILED tests/test_harvest_premium.py::test_misra_c_builtin_style_checks \ntests/test_harvest_premium.py::test_build_dir_hash_cppcheck_product \n[gw7] [ 99%] RERUN tests/test_harvest_premium.py::test_build_dir_hash_cppcheck_product \ntests/test_harvest_premium.py::test_build_dir_hash_cppcheck_product \n[gw7] [ 99%] RERUN tests/test_harvest_premium.py::test_build_dir_hash_cppcheck_product \ntests/test_harvest_premium.py::test_build_dir_hash_cppcheck_product \n[gw7] [ 99%] FAILED tests/test_harvest_premium.py::test_build_dir_hash_cppcheck_product \ntests/test_harvest_premium.py::test_misra_py \n[gw7] [ 99%] SKIPPED tests/test_harvest_premium.py::test_misra_py \ntests/test_harvest_premium.py::test_invalid_license_retry \n[gw7] [ 99%] RERUN tests/test_harvest_premium.py::test_invalid_license_retry \ntests/test_harvest_premium.py::test_invalid_license_retry \n[gw7] [ 99%] RERUN tests/test_harvest_premium.py::test_invalid_license_retry \ntests/test_harvest_premium.py::test_invalid_license_retry \n[gw7] [ 99%] FAILED tests/test_harvest_premium.py::test_invalid_license_retry \ntests/test_harvest_premium.py::test_help \n[gw7] [ 99%] RERUN tests/test_harvest_premium.py::test_help \ntests/test_harvest_premium.py::test_help \n[gw7] [ 99%] RERUN tests/test_harvest_premium.py::test_help \ntests/test_harvest_premium.py::test_help \n[gw7] [ 99%] FAILED tests/test_harvest_premium.py::test_help \ntests/test_harvest_premium.py::test_cwe \n[gw7] [ 99%] RERUN tests/test_harvest_premium.py::test_cwe \ntests/test_harvest_premium.py::test_cwe \n[gw7] [ 99%] RERUN tests/test_harvest_premium.py::test_cwe \ntests/test_harvest_premium.py::test_cwe \n[gw7] [ 99%] FAILED tests/test_harvest_premium.py::test_cwe \ntests/test_harvest_premium.py::test_hash \n[gw7] [ 99%] RERUN tests/test_harvest_premium.py::test_hash \ntests/test_harvest_premium.py::test_hash \n[gw7] [ 99%] RERUN tests/test_harvest_premium.py::test_hash \ntests/test_harvest_premium.py::test_hash \n[gw7] [ 99%] FAILED tests/test_harvest_premium.py::test_hash \ntests/test_harvest_proj2.py::test_file_filter \n[gw7] [ 99%] RERUN tests/test_harvest_proj2.py::test_file_filter \ntests/test_harvest_proj2.py::test_file_filter \n[gw7] [ 99%] RERUN tests/test_harvest_proj2.py::test_file_filter \ntests/test_harvest_proj2.py::test_file_filter \n[gw7] [ 99%] FAILED tests/test_harvest_proj2.py::test_file_filter \ntests/test_harvest_proj2.py::test_local_path \n[gw7] [ 99%] RERUN tests/test_harvest_proj2.py::test_local_path \ntests/test_harvest_proj2.py::test_local_path \n[gw7] [ 99%] RERUN tests/test_harvest_proj2.py::test_local_path \ntests/test_harvest_proj2.py::test_local_path \n[gw7] [ 99%] FAILED tests/test_harvest_proj2.py::test_local_path \ntests/test_harvest_proj2.py::test_local_path_force \n[gw7] [ 99%] RERUN tests/test_harvest_proj2.py::test_local_path_force \ntests/test_harvest_proj2.py::test_local_path_force \n[gw7] [ 99%] RERUN tests/test_harvest_proj2.py::test_local_path_force \ntests/test_harvest_proj2.py::test_local_path_force \n[gw7] [ 99%] FAILED tests/test_harvest_proj2.py::test_local_path_force \ntests/test_harvest_proj2.py::test_local_path_maxconfigs \n[gw7] [ 99%] RERUN tests/test_harvest_proj2.py::test_local_path_maxconfigs \ntests/test_harvest_proj2.py::test_local_path_maxconfigs \n[gw7] [ 99%] RERUN tests/test_harvest_proj2.py::test_local_path_maxconfigs \ntests/test_harvest_proj2.py::test_local_path_maxconfigs \n[gw7] [ 99%] FAILED tests/test_harvest_proj2.py::test_local_path_maxconfigs \ntests/test_harvest_proj2.py::test_relative_path \n[gw7] [100%] RERUN tests/test_harvest_proj2.py::test_relative_path \ntests/test_harvest_proj2.py::test_relative_path \n[gw7] [100%] RERUN tests/test_harvest_proj2.py::test_relative_path \ntests/test_harvest_proj2.py::test_relative_path \n[gw7] [100%] FAILED tests/test_harvest_proj2.py::test_relative_path \n\n=================================== FAILURES ===================================\n__________________________ test_assignment_in_assert ___________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkassert_gaps.py:27: in test_assignment_in_assert\n assert 'assignmentInAssert' in stderr\nE AssertionError: assert 'assignmentInAssert' in ''\n__________________ test_struct_without_constructor_messaging ___________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps_round2.py:326: in test_struct_without_constructor_messaging\n assert 'noConstructor' in output\nE assert 'noConstructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/struct_no_constructor.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/struct_no_constructor.cpp:4:9: style: struct member 'Config::value' is never used. [unusedStructMember]\\n int value;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/struct_no_constructor.cpp:5:9: style: struct member 'Config::size' is never used. [unusedStructMember]\\n int size;\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n________________________ test_all_log_function_variants ________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:341: in test_all_log_function_variants\n assert result.combined_output.count('invalidFunctionArg') == 6\nE AssertionError: assert 0 == 6\nE + where 0 = ('invalidFunctionArg')\nE + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/multiple_log_variants.c ...\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/multiple_log_variants.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/multiple_log_variants.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/multiple_log_variants.c ...\\n', stderr='').combined_output\n____________________ test_three_dimensional_array_overflow _____________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:556: in test_three_dimensional_array_overflow\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexOutOfBounds error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 3, got: [\"/tmp/tmpof45ri_n/test.c:3:14: error: Array 'arr[1][2][2][3][4]' accessed at index arr[1][2][1][2][5], which is out of bounds. [arrayIndexOutOfBounds]\", ' arr[1][2][5] = 1; // Third dimension out of bounds', ' ^', \"/tmp/tmpof45ri_n/test.c:3:18: style: Variable 'arr[1][2][5]' is assigned a value that is never used. [unreadVariable]\", ' arr[1][2][5] = 1; // Third dimension out of bounds', ' ^', \"/tmp/tmpof45ri_n/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n_________________________ test_fgetpos_on_closed_file __________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:606: in test_fgetpos_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'\n_________________________ test_overlapping_write_union _________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part2.py:73: in test_overlapping_write_union\n assert 'overlappingWriteUnion' in result.stderr\nE assert 'overlappingWriteUnion' in \"/tmp/tmp1fhhk1sktest.c:7:6: style: The function 'test_overlap' is never used. [unusedFunction]\\nvoid test_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmp1fhhk1sktest.c:7:6: style: The function 'test_overlap' is never used. [unusedFunction]\\nvoid test_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmp1fhhk1sktest.c'], returncode=0, stdout='Checking /tmp/tmp1fhhk1sktest.c ...\\n', stderr=\"/tmp/tmp1fhhk1sktest.c:7:6: style: The function 'test_overlap' is never used. [unusedFunction]\\nvoid test_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr\n________________ test_printf_L_modifier_double_not_long_double _________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:484: in test_printf_L_modifier_double_not_long_double\n assert \"%Lf in format string (no. 1) requires 'long double'\" in stderr\nE assert \"%Lf in format string (no. 1) requires 'long double'\" in ''\n________________________ test_fread_on_write_only_file _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:50: in test_fread_on_write_only_file\n assert \"[readWriteOnlyFile]\" in stderr\nE AssertionError: assert '[readWriteOnlyFile]' in ''\n__________________________ test_nested_pointer_levels __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:655: in test_nested_pointer_levels\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmp_lbx9wgx/test.c ...\\n/tmp/tmp_lbx9wgx/test.c:2:11: style: The function 'nestedFunc' is never used. [unusedFunction]\\n int** nestedFunc() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n________________________ test_malloc_reassignment_leak _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:474: in test_malloc_reassignment_leak\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''\n______________________ test_increment_operator_in_assert _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkassert_gaps.py:48: in test_increment_operator_in_assert\n assert 'assignmentInAssert' in stderr\nE AssertionError: assert 'assignmentInAssert' in ''\n_____________________ test_math_with_evaluated_expressions _____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:366: in test_math_with_evaluated_expressions\n assert 'sqrt(y - 5.0)' in result.combined_output\nE assert 'sqrt(y - 5.0)' in \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:4:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: note: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'.\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:4:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: note: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'.\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:4:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: note: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'.\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n\").combined_output\n______________ test_missing_copy_constructor_with_dynamic_memory _______________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps.py:37: in test_missing_copy_constructor_with_dynamic_memory\n assert 'noCopyConstructor' in output\nE AssertionError: assert 'noCopyConstructor' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/missing_copy_ctor.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'\n__________________ test_overlapping_write_memcpy_same_buffer ___________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part2.py:104: in test_overlapping_write_memcpy_same_buffer\n assert result.stderr.count('overlappingWriteFunction') >= 2\nE assert 0 >= 2\nE + where 0 = ('overlappingWriteFunction')\nE + where = \"/tmp/tmpjon3j3r8test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjon3j3r8test.c:4:6: style: The function 'test_memcpy_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:9:6: style: The function 'test_memcpy_offset_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_offset_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:14:6: style: The function 'test_memcpy_no_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_no_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\".count\nE + where \"/tmp/tmpjon3j3r8test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjon3j3r8test.c:4:6: style: The function 'test_memcpy_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:9:6: style: The function 'test_memcpy_offset_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_offset_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:14:6: style: The function 'test_memcpy_no_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_no_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmpjon3j3r8test.c'], returncode=0, stdout='Checking /tmp/tmpjon3j3r8test.c ...\\n', stderr=\"/tmp/tmpjon3j3r8test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjon3j3r8test.c:4:6: style: The function 'test_memcpy_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:9:6: style: The function 'test_memcpy_offset_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_offset_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:14:6: style: The function 'test_memcpy_no_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_no_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr\n_________________ test_printf_L_modifier_float_not_long_double _________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:497: in test_printf_L_modifier_float_not_long_double\n assert \"%Lf in format string (no. 1) requires 'long double'\" in stderr\nE assert \"%Lf in format string (no. 1) requires 'long double'\" in ''\n________________________ test_fwrite_on_read_only_file _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:61: in test_fwrite_on_read_only_file\n assert \"[writeReadOnlyFile]\" in stderr\nE AssertionError: assert '[writeReadOnlyFile]' in ''\n_________________________ test_fsetpos_on_closed_file __________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:617: in test_fsetpos_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'\n_________________________ test_array_decay_assignment __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:678: in test_array_decay_assignment\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmpqro42r9k/test.c ...\\n/tmp/tmpqro42r9k/test.c:2:10: style: The function 'arrayDecay' is never used. [unusedFunction]\\n int* arrayDecay() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n______________________ test_assignif_zero_result_or_check ______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:65: in test_assignif_zero_result_or_check\n assert 'badBitmaskCheck' in stderr\nE assert 'badBitmaskCheck' in \"/tmp/tmpdwukzbrq/test.c:5:15: style: Condition 'y|2' is always true [knownConditionTrueFalse]\\n if (y | 2) {\\n ^\\n/tmp/tmpdwukzbrq/test.c:4:15: note: Assignment 'y=8&4', assigned value is 0\\n y = 8 & 4;\\n ^\\n/tmp/tmpdwukzbrq/test.c:5:15: note: Condition 'y|2' is always true\\n if (y | 2) {\\n ^\\n\"\n______________________ test_realloc_without_checking_null ______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:493: in test_realloc_without_checking_null\n assert 'memleakOnRealloc' in stderr\nE AssertionError: assert 'memleakOnRealloc' in ''\n______________________ test_decrement_operator_in_assert _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkassert_gaps.py:69: in test_decrement_operator_in_assert\n assert 'assignmentInAssert' in stderr\nE AssertionError: assert 'assignmentInAssert' in ''\n___________________ test_self_assignment_in_operator_equals ____________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps.py:50: in test_self_assignment_in_operator_equals\n assert 'operatorEqToSelf' in output\nE assert 'operatorEqToSelf' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/self_assignment.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/self_assignment.cpp:1:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass String {\\n^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n________________________ test_invalid_free_with_offset _________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part2.py:123: in test_invalid_free_with_offset\n assert 'invalidFree' in result.stderr\nE assert 'invalidFree' in \"/tmp/tmpxjv7thl_test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxjv7thl_test.c:4:6: style: The function 'test_free_offset' is never used. [unusedFunction]\\nvoid test_free_offset() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmpxjv7thl_test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxjv7thl_test.c:4:6: style: The function 'test_free_offset' is never used. [unusedFunction]\\nvoid test_free_offset() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmpxjv7thl_test.c'], returncode=0, stdout='Checking /tmp/tmpxjv7thl_test.c ...\\n', stderr=\"/tmp/tmpxjv7thl_test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxjv7thl_test.c:4:6: style: The function 'test_free_offset' is never used. [unusedFunction]\\nvoid test_free_offset() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr\n______________________ test_memset_multiple_buffer_types _______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:385: in test_memset_multiple_buffer_types\n assert result.combined_output.count('memsetValueOutOfRange') == 2\nE AssertionError: assert 0 == 2\nE + where 0 = ('memsetValueOutOfRange')\nE + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:10:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf, 5, 0); // char array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:11:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 10, 0); // wchar_t array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:12:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(ibuf, 0, 0); // int array (still valid memset target)\\n ^\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:10:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf, 5, 0); // char array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:11:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 10, 0); // wchar_t array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:12:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(ibuf, 0, 0); // int array (still valid memset target)\\n ^\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c ...\\n', stderr='/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:10:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf, 5, 0); // char array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:11:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 10, 0); // wchar_t array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:12:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(ibuf, 0, 0); // int array (still valid memset target)\\n ^\\n').combined_output\n__________________ test_printf_L_modifier_e_format_wrong_type __________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:510: in test_printf_L_modifier_e_format_wrong_type\n assert \"%Le in format string (no. 1) requires 'long double'\" in stderr\nE assert \"%Le in format string (no. 1) requires 'long double'\" in ''\n__________________________ test_fread_on_closed_file ___________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:72: in test_fread_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE AssertionError: assert '[useClosedFile]' in ''\n_____________________ test_assign_local_to_global_pointer ______________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:700: in test_assign_local_to_global_pointer\n assert 'danglingLifetime' in combined\nE assert 'danglingLifetime' in \"Checking /tmp/tmpmw0ivwzn/test.c ...\\n/tmp/tmpmw0ivwzn/test.c:3:10: style: The function 'setGlobalPtr' is never used. [unusedFunction]\\n void setGlobalPtr() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n______________________ test_struct_member_allocation_leak ______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:513: in test_struct_member_allocation_leak\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''\n_______________________ test_printf_percent_n_no_pointer _______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:676: in test_printf_percent_n_no_pointer\n assert \"%n in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%n in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:8:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*d\", 42); // Error: missing width argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:16:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%.*f\", 3.14159); // Error: missing precision argument, type mismatch\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:24:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 10, 3.14159); // Error: missing precision argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:28:5: error: printf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 3.14159); // Error: missing width and precision\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:33:5: error: scanf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d %d\", &x); // OK: first int is suppressed, second goes to x\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:37:5: error: scanf format string requires 2 parameters but only 0 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d\"); // OK: suppression assignment, no target needed\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:42:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // Error: %n needs pointer, got int\\n ^\\n'\n_________________ test_redundant_condition_overlapping_ranges __________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:169: in test_redundant_condition_overlapping_ranges\n assert \"condition 'y < 5' is redundant\" in stderr.lower()\nE assert \"condition 'y < 5' is redundant\" in \"/tmp/tmpsfilqdze/test.c:4:19: style: redundant condition: y < 10. 'y < 5 || y < 10' is equivalent to 'y < 10' [redundantcondition]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:4:13: error: uninitialized variable: y [uninitvar]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:3:13: style: variable 'y' is not assigned a value. [unassignedvariable]\\n int y;\\n ^\\n\"\nE + where \"/tmp/tmpsfilqdze/test.c:4:19: style: redundant condition: y < 10. 'y < 5 || y < 10' is equivalent to 'y < 10' [redundantcondition]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:4:13: error: uninitialized variable: y [uninitvar]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:3:13: style: variable 'y' is not assigned a value. [unassignedvariable]\\n int y;\\n ^\\n\" = ()\nE + where = \"/tmp/tmpsfilqdze/test.c:4:19: style: Redundant condition: y < 10. 'y < 5 || y < 10' is equivalent to 'y < 10' [redundantCondition]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:4:13: error: Uninitialized variable: y [uninitvar]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:3:13: style: Variable 'y' is not assigned a value. [unassignedVariable]\\n int y;\\n ^\\n\".lower\n______________________ test_compound_assignment_in_assert ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkassert_gaps.py:90: in test_compound_assignment_in_assert\n assert 'assignmentInAssert' in stderr\nE AssertionError: assert 'assignmentInAssert' in ''\n________________ test_missing_virtual_destructor_in_base_class _________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps.py:60: in test_missing_virtual_destructor_in_base_class\n assert 'virtualDestructor' in output\nE assert 'virtualDestructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/missing_virtual_dtor.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_virtual_dtor.cpp:5:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_virtual_dtor.cpp:16:6: style: The function 'usage' is never used. [unusedFunction]\\nvoid usage() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n______________________ test_duplicate_expression_ternary _______________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part2.py:139: in test_duplicate_expression_ternary\n assert 'duplicateExpressionTernary' in result.stderr\nE assert 'duplicateExpressionTernary' in \"/tmp/tmph96_j_whtest.c:2:5: style: The function 'test_duplicate_ternary' is never used. [unusedFunction]\\nint test_duplicate_ternary(int x) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmph96_j_whtest.c:2:5: style: The function 'test_duplicate_ternary' is never used. [unusedFunction]\\nint test_duplicate_ternary(int x) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmph96_j_whtest.c'], returncode=0, stdout='Checking /tmp/tmph96_j_whtest.c ...\\n', stderr=\"/tmp/tmph96_j_whtest.c:2:5: style: The function 'test_duplicate_ternary' is never used. [unusedFunction]\\nint test_duplicate_ternary(int x) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr\n__________________________ test_math_errors_in_loops ___________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:404: in test_math_errors_in_loops\n assert 'log(-i - 1)' in result.combined_output\nE AssertionError: assert 'log(-i - 1)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_in_loops.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_in_loops.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_in_loops.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_in_loops.c ...\\n', stderr='').combined_output\n__________________ test_printf_L_modifier_g_format_wrong_type __________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:523: in test_printf_L_modifier_g_format_wrong_type\n assert \"%Lg in format string (no. 1) requires 'long double'\" in stderr\nE assert \"%Lg in format string (no. 1) requires 'long double'\" in ''\n__________________________ test_fwrite_on_closed_file __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:83: in test_fwrite_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE AssertionError: assert '[useClosedFile]' in ''\n__________________ test_assign_local_to_struct_member_pointer __________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:724: in test_assign_local_to_struct_member_pointer\n assert 'autoVariables' in combined\nE assert 'autoVariables' in \"Checking /tmp/tmpa1rqgasf/test.cpp ...\\n/tmp/tmpa1rqgasf/test.cpp:5:10: style: The function 'setMemberPtr' is never used. [unusedFunction]\\n void setMemberPtr(Container* c) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n__________________ test_struct_pointer_member_leak_on_return ___________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:538: in test_struct_pointer_member_leak_on_return\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''\n________________ test_scanf_percent_n_with_wrong_preceding_type ________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:689: in test_scanf_percent_n_with_wrong_preceding_type\n assert \"%d in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:8:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*d\", 42); // Error: missing width argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:16:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%.*f\", 3.14159); // Error: missing precision argument, type mismatch\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:24:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 10, 3.14159); // Error: missing precision argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:28:5: error: printf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 3.14159); // Error: missing width and precision\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:33:5: error: scanf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d %d\", &x); // OK: first int is suppressed, second goes to x\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:37:5: error: scanf format string requires 2 parameters but only 0 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d\"); // OK: suppression assignment, no target needed\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:42:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // Error: %n needs pointer, got int\\n ^\\n'\n_______________________ test_modulo_always_true_unsigned _______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:188: in test_modulo_always_true_unsigned\n assert 'moduloAlwaysTrueFalse' in stderr\nE AssertionError: assert 'moduloAlwaysTrueFalse' in '/tmp/tmptrt5fjvj/test.c:4:13: error: Uninitialized variable: x [uninitvar]\\n if (x % 4 < 4) {\\n ^\\n'\n____________________ test_misused_scoped_object_lock_guard _____________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part2.py:158: in test_misused_scoped_object_lock_guard\n assert 'unusedScopedObject' in result.stderr\nE assert 'unusedScopedObject' in \"/tmp/tmpxujwirgftest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxujwirgftest.cpp:4:6: style: The function 'test_temporary_mutex' is never used. [unusedFunction]\\nvoid test_temporary_mutex() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmpxujwirgftest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxujwirgftest.cpp:4:6: style: The function 'test_temporary_mutex' is never used. [unusedFunction]\\nvoid test_temporary_mutex() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmpxujwirgftest.cpp'], returncode=0, stdout='Checking /tmp/tmpxujwirgftest.cpp ...\\n', stderr=\"/tmp/tmpxujwirgftest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxujwirgftest.cpp:4:6: style: The function 'test_temporary_mutex' is never used. [unusedFunction]\\nvoid test_temporary_mutex() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr\n____________________ test_function_modifies_global_variable ____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkassert_gaps.py:144: in test_function_modifies_global_variable\n assert 'assertWithSideEffect' in stderr\nE AssertionError: assert 'assertWithSideEffect' in ''\n________________________ test_fseek_on_append_mode_file ________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:536: in test_fseek_on_append_mode_file\n assert \"Repositioning operation performed on a file opened in append mode has no effect\" in stderr\nE AssertionError: assert 'Repositioning operation performed on a file opened in append mode has no effect' in ''\n__________________________ test_printf_j_modifier_int __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:94: in test_printf_j_modifier_int\n assert \"%jd in format string (no. 1) requires 'intmax_t'\" in stderr\nE assert \"%jd in format string (no. 1) requires 'intmax_t'\" in ''\n___________________ test_duplicate_inherited_member_warning ____________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps.py:94: in test_duplicate_inherited_member_warning\n assert 'duplInheritedMember' in output\nE assert 'duplInheritedMember' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/duplicate_inherited.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/duplicate_inherited.cpp:4:9: style: class member 'Base::value' is never used. [unusedStructMember]\\n int value;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/duplicate_inherited.cpp:3:10: style: The function 'process' is never used. [unusedFunction]\\n void process() {}\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_________________________ test_bitwise_on_boolean_and __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbool_gaps.py:61: in test_bitwise_on_boolean_and\n assert \"Did you mean '&&'?\" in output\nE assert \"Did you mean '&&'?\" in \"Checking /workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp ...\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:5:11: style: Condition 'a&b' is always false [knownConditionTrueFalse]\\n if (a & b) { // Should trigger bitwiseOnBoolean\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:5:11: note: Condition 'a&b' is always false\\n if (a & b) { // Should trigger bitwiseOnBoolean\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:9:11: style: Condition 'a|b' is always true [knownConditionTrueFalse]\\n if (a | b) { // Should trigger bitwiseOnBoolean\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:9:11: note: Condition 'a|b' is always true\\n if (a | b) { // Should trigger bitwiseOnBoolean\\n ^\\n\"\n_____________________ test_printf_type_mismatch_string_int _____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:61: in test_printf_type_mismatch_string_int\n assert \"%d in format string (no. 1) requires 'int' but the argument type is 'char *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int' but the argument type is 'char *'\" in ''\n_____________________ test_unused_allocation_return_value ______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:555: in test_unused_allocation_return_value\n assert 'leakReturnValNotUsed' in stderr\nE AssertionError: assert 'leakReturnValNotUsed' in '/tmp/tmppi9ns7al/test.c:3:9: warning: Return value of function malloc() is not used. [ignoredReturnValue]\\n malloc(100);\\n ^\\n'\n_______________________ test_scanf_field_width_overflow ________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:702: in test_scanf_field_width_overflow\n assert \"Width 20 given in format string (no. 1) is larger than destination buffer\" in stderr\nE assert 'Width 20 given in format string (no. 1) is larger than destination buffer' in '/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:8:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*d\", 42); // Error: missing width argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:16:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%.*f\", 3.14159); // Error: missing precision argument, type mismatch\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:24:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 10, 3.14159); // Error: missing precision argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:28:5: error: printf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 3.14159); // Error: missing width and precision\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:33:5: error: scanf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d %d\", &x); // OK: first int is suppressed, second goes to x\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:37:5: error: scanf format string requires 2 parameters but only 0 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d\"); // OK: suppression assignment, no target needed\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:42:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // Error: %n needs pointer, got int\\n ^\\n'\n______________________ test_modulo_always_false_unsigned _______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:209: in test_modulo_always_false_unsigned\n assert 'moduloAlwaysTrueFalse' in stderr\nE AssertionError: assert 'moduloAlwaysTrueFalse' in '/tmp/tmps33rfy9x/test.c:4:13: error: Uninitialized variable: x [uninitvar]\\n if (x % 8 > 10) {\\n ^\\n'\n____________________ test_nonconst_member_function_no_body _____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkassert_gaps.py:172: in test_nonconst_member_function_no_body\n assert 'assertWithSideEffect' in stderr\nE AssertionError: assert 'assertWithSideEffect' in ''\n__________________ test_printf_complex_format_multiple_errors __________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:549: in test_printf_complex_format_multiple_errors\n assert \"%d in format string (no. 4) requires 'int'\" in stderr\nE assert \"%d in format string (no. 4) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'\n_________________________ test_printf_ju_modifier_int __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:107: in test_printf_ju_modifier_int\n assert \"%ju in format string (no. 1) requires 'uintmax_t'\" in stderr\nE assert \"%ju in format string (no. 1) requires 'uintmax_t'\" in ''\n_________________________ test_pointer_less_than_zero __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part2.py:212: in test_pointer_less_than_zero\n assert 'pointerLessThanZero' in result.stderr\nE assert 'pointerLessThanZero' in \"/tmp/tmphdfsc4s3test.c:2:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\n/tmp/tmphdfsc4s3test.c:2:6: style: The function 'test_pointer_less_than_zero' is never used. [unusedFunction]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmphdfsc4s3test.c:2:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\n/tmp/tmphdfsc4s3test.c:2:6: style: The function 'test_pointer_less_than_zero' is never used. [unusedFunction]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmphdfsc4s3test.c'], returncode=0, stdout='Checking /tmp/tmphdfsc4s3test.c ...\\n', stderr=\"/tmp/tmphdfsc4s3test.c:2:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\n/tmp/tmphdfsc4s3test.c:2:6: style: The function 'test_pointer_less_than_zero' is never used. [unusedFunction]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr\n________________________ test_comparison_bool_with_int _________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbool_gaps.py:78: in test_comparison_bool_with_int\n assert 'compareBoolExpressionWithInt' in output\nE assert 'compareBoolExpressionWithInt' in \"Checking /workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp ...\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:8:11: warning: Comparison of a boolean value using relational operator (<, >, <= or >=). [comparisonOfBoolWithInvalidComparator]\\n if (b == 2) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:4:12: style: Condition '!b==4' is always false [knownConditionTrueFalse]\\n if (!b == 4) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:2:14: note: Assignment 'b=true', assigned value is 1\\n bool b = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:4:12: note: Condition '!b==4' is always false\\n if (!b == 4) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:8:11: style: Condition 'b==2' is always false [knownConditionTrueFalse]\\n if (b == 2) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:2:14: note: Assignment 'b=true', assigned value is 1\\n bool b = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:8:11: note: Condition 'b==2' is always false\\n if (b == 2) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:12:11: style: Condition 'b<0' is always false [knownConditionTrueFalse]\\n if (b < 0) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:2:14: note: Assignment 'b=true', assigned value is 1\\n bool b = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:12:11: note: Condition 'b<0' is always false\\n if (b < 0) { // Should trigger comparisonOfBoolWithInt\\n ^\\n\"\n__________________ test_virtual_function_call_in_constructor ___________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps.py:117: in test_virtual_function_call_in_constructor\n assert 'virtualCallInConstructor' in output\nE AssertionError: assert 'virtualCallInConstructor' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/virtual_in_ctor.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'\n_____________________ test_printf_type_mismatch_int_string _____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:73: in test_printf_type_mismatch_int_string\n assert \"%s in format string (no. 1) requires 'char *' but the argument type is 'signed int'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *' but the argument type is 'signed int'\" in ''\n__________________________ test_fclose_wrong_variable __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:577: in test_fclose_wrong_variable\n assert 'doubleFree' in stderr\nE AssertionError: assert 'doubleFree' in ''\n______________________ test_invalid_overflow_check_signed ______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:229: in test_invalid_overflow_check_signed\n assert 'invalidTestForOverflow' in stderr\nE AssertionError: assert 'invalidTestForOverflow' in '/tmp/tmp4qos3_vy/test.c:4:13: error: Uninitialized variable: y [uninitvar]\\n if (y + 1 < y) {\\n ^\\n'\n___________________ test_wprintf_type_mismatch_int_wchar_ptr ___________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:51: in test_wprintf_type_mismatch_int_wchar_ptr\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:9:5: error: wprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:10:5: error: wprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d\", x, x); // Too many args\\n ^\\n'\n__________________ test_function_modifies_reference_parameter __________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkassert_gaps.py:200: in test_function_modifies_reference_parameter\n assert 'assertWithSideEffect' in stderr\nE AssertionError: assert 'assertWithSideEffect' in ''\n_________________________ test_printf_zu_modifier_int __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:120: in test_printf_zu_modifier_int\n assert \"%zu in format string (no. 1) requires 'size_t'\" in stderr\nE assert \"%zu in format string (no. 1) requires 'size_t'\" in ''\n_______________ test_printf_complex_format_first_arg_wrong_type ________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:561: in test_printf_complex_format_first_arg_wrong_type\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'\n______________ test_copy_constructor_without_assignment_operator _______________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps.py:129: in test_copy_constructor_without_assignment_operator\n assert 'noOperatorEq' in output\nE AssertionError: assert 'noOperatorEq' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/copy_ctor_combined.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'\n__________________________ test_assign_bool_to_float ___________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbool_gaps.py:116: in test_assign_bool_to_float\n assert 'Boolean value assigned to floating point variable' in output\nE assert 'Boolean value assigned to floating point variable' in \"Checking /workspace/eval/test_resources/test_checkbool/assign_bool_to_float.cpp ...\\n/workspace/eval/test_resources/test_checkbool/assign_bool_to_float.cpp:4:7: style: Variable 'f' is assigned a value that is never used. [unreadVariable]\\n f = b; // Should trigger assignBoolToFloat\\n ^\\n/workspace/eval/test_resources/test_checkbool/assign_bool_to_float.cpp:7:7: style: Variable 'd' is assigned a value that is never used. [unreadVariable]\\n d = b; // Should trigger assignBoolToFloat\\n ^\\n\"\n_____________________ test_printf_type_mismatch_float_int ______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:85: in test_printf_type_mismatch_float_int\n assert \"%d in format string (no. 1) requires 'int' but the argument type is 'float'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int' but the argument type is 'float'\" in ''\n_____________________ test_redundant_assignment_same_value _____________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part2.py:264: in test_redundant_assignment_same_value\n assert 'redundantAssignment' in result.stderr\nE assert 'redundantAssignment' in \"/tmp/tmp5z64qc2ptest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp5z64qc2ptest.cpp:4:6: style: The function 'test_redundant_copy' is never used. [unusedFunction]\\nvoid test_redundant_copy(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmp5z64qc2ptest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp5z64qc2ptest.cpp:4:6: style: The function 'test_redundant_copy' is never used. [unusedFunction]\\nvoid test_redundant_copy(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmp5z64qc2ptest.cpp'], returncode=0, stdout='Checking /tmp/tmp5z64qc2ptest.cpp ...\\n', stderr=\"/tmp/tmp5z64qc2ptest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp5z64qc2ptest.cpp:4:6: style: The function 'test_redundant_copy' is never used. [unusedFunction]\\nvoid test_redundant_copy(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr\n____________________________ test_malloc_cast_leak _____________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:596: in test_malloc_cast_leak\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''\n_________________________ test_unsigned_less_than_zero _________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:249: in test_unsigned_less_than_zero\n assert 'unsignedLessThanZero' in stderr\nE assert 'unsignedLessThanZero' in \"/tmp/tmp8davcxzu/test.c:4:13: error: Uninitialized variable: x [uninitvar]\\n if (x + 1 < 0) {\\n ^\\n/tmp/tmp8davcxzu/test.c:3:22: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n unsigned int x;\\n ^\\n\"\n___________________ test_wprintf_type_mismatch_wchar_ptr_int ___________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:64: in test_wprintf_type_mismatch_wchar_ptr_int\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:9:5: error: wprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:10:5: error: wprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d\", x, x); // Too many args\\n ^\\n'\n___________________ test_function_modifies_pointer_parameter ___________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkassert_gaps.py:226: in test_function_modifies_pointer_parameter\n assert 'assertWithSideEffect' in stderr\nE AssertionError: assert 'assertWithSideEffect' in ''\n_________________________ test_printf_zd_modifier_int __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:133: in test_printf_zd_modifier_int\n assert \"%zd in format string (no. 1) requires 'ssize_t'\" in stderr\nE assert \"%zd in format string (no. 1) requires 'ssize_t'\" in ''\n_______________________ test_missing_override_specifier ________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps.py:141: in test_missing_override_specifier\n assert 'missingOverride' in output\nE assert 'missingOverride' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/missing_override.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_override.cpp:8:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass Circle : public Shape {\\n^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_override.cpp:3:18: style: The function 'draw' is never used. [unusedFunction]\\n virtual void draw() {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_override.cpp:4:20: style: The function 'area' is never used. [unusedFunction]\\n virtual double area() { return 0.0; }\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n______________________ test_printf_width_with_wrong_type _______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:584: in test_printf_width_with_wrong_type\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'\n___________________________ test_pointer_arith_bool ____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbool_gaps.py:130: in test_pointer_arith_bool\n assert 'pointerArithBool' in output\nE AssertionError: assert 'pointerArithBool' in 'Checking /workspace/eval/test_resources/test_checkbool/pointer_arith_bool.cpp ...\\n'\n____________________ test_printf_type_mismatch_pointer_int _____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:97: in test_printf_type_mismatch_pointer_int\n assert \"%d in format string (no. 1) requires 'int' but the argument type is 'signed int *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int' but the argument type is 'signed int *'\" in ''\n________________________ test_access_of_moved_variable _________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part2.py:284: in test_access_of_moved_variable\n assert 'accessMoved' in result.stderr\nE assert 'accessMoved' in \"/tmp/tmpznro5096test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:5:5: style: The function 'test_use_after_move' is never used. [unusedFunction]\\nint test_use_after_move(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmpznro5096test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:5:5: style: The function 'test_use_after_move' is never used. [unusedFunction]\\nint test_use_after_move(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--inconclusive', '--std=c++11', '/tmp/tmpznro5096test.cpp'], returncode=0, stdout='Checking /tmp/tmpznro5096test.cpp ...\\n', stderr=\"/tmp/tmpznro5096test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:5:5: style: The function 'test_use_after_move' is never used. [unusedFunction]\\nint test_use_after_move(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr\n__________________ test_allocation_in_function_argument_leak ___________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:636: in test_allocation_in_function_argument_leak\n assert 'leakNoVarFunctionCall' in stderr\nE AssertionError: assert 'leakNoVarFunctionCall' in ''\n___________________ test_pointer_arithmetic_result_not_null ____________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:269: in test_pointer_arithmetic_result_not_null\n assert 'pointerArithBool' in stderr\nE AssertionError: assert 'pointerArithBool' in ''\n_____________________ test_wprintf_type_mismatch_float_int _____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:77: in test_wprintf_type_mismatch_float_int\n assert \"%f in format string (no. 1) requires 'double'\" in stderr\nE assert \"%f in format string (no. 1) requires 'double'\" in '/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:9:5: error: wprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:10:5: error: wprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d\", x, x); // Too many args\\n ^\\n'\n_____________________ test_multiple_assignments_in_assert ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkassert_gaps.py:272: in test_multiple_assignments_in_assert\n assert stderr.count('assignmentInAssert') >= 2\nE AssertionError: assert 0 >= 2\nE + where 0 = ('assignmentInAssert')\nE + where = ''.count\n_________________________ test_printf_td_modifier_int __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:146: in test_printf_td_modifier_int\n assert \"%td in format string (no. 1) requires 'ptrdiff_t'\" in stderr\nE assert \"%td in format string (no. 1) requires 'ptrdiff_t'\" in ''\n___________________ test_suspicious_this_pointer_subtraction ___________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps.py:153: in test_suspicious_this_pointer_subtraction\n assert 'thisSubtraction' in output\nE assert 'thisSubtraction' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/this_subtraction.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/this_subtraction.cpp:6:9: style: The function 'distance' is never used. [unusedFunction]\\n int distance(Node* other) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n____________________ test_printf_precision_with_wrong_type _____________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:596: in test_printf_precision_with_wrong_type\n assert \"%f in format string (no. 1) requires 'double'\" in stderr\nE assert \"%f in format string (no. 1) requires 'double'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'\n____________________________ test_return_value_bool ____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbool_gaps.py:148: in test_return_value_bool\n assert 'returnNonBoolInBooleanFunction' in output\nE AssertionError: assert 'returnNonBoolInBooleanFunction' in 'Checking /workspace/eval/test_resources/test_checkbool/return_value_bool.cpp ...\\n'\n__________________ test_printf_type_mismatch_unsigned_signed ___________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:109: in test_printf_type_mismatch_unsigned_signed\n assert \"%d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'\" in ''\n_________________________ test_shadow_variable_global __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part2.py:322: in test_shadow_variable_global\n assert 'shadowVariable' in result.stderr\nE assert 'shadowVariable' in \"/tmp/tmp1no0l9p3test.c:4:6: style: The function 'test_shadow_global' is never used. [unusedFunction]\\nvoid test_shadow_global() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmp1no0l9p3test.c:4:6: style: The function 'test_shadow_global' is never used. [unusedFunction]\\nvoid test_shadow_global() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--check-level=exhaustive', '/tmp/tmp1no0l9p3test.c'], returncode=0, stdout='Checking /tmp/tmp1no0l9p3test.c ...\\n', stderr=\"/tmp/tmp1no0l9p3test.c:4:6: style: The function 'test_shadow_global' is never used. [unusedFunction]\\nvoid test_shadow_global() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr\n_____________________ test_multiple_allocations_one_freed ______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:658: in test_multiple_allocations_one_freed\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''\n____________________ test_pointer_arithmetic_not_equal_zero ____________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:293: in test_pointer_arithmetic_not_equal_zero\n assert 'knownConditionTrueFalse' in stderr\nE AssertionError: assert 'knownConditionTrueFalse' in ''\n_________________ test_wscanf_type_mismatch_wchar_ptr_int_ptr __________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:102: in test_wscanf_type_mismatch_wchar_ptr_int_ptr\n assert \"%ls in format string (no. 1) requires a\" in stderr\nE assert '%ls in format string (no. 1) requires a' in '/workspace/eval/test_resources/test_checkio_round3/wscanf_errors.c:10:5: error: wscanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wscanf(L\"%d %d\", &x); // Too few args\\n ^\\n'\n___________________ test_assignment_to_outer_scope_variable ____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkassert_gaps.py:298: in test_assignment_to_outer_scope_variable\n assert stderr.count('assignmentInAssert') >= 2\nE AssertionError: assert 0 >= 2\nE + where 0 = ('assignmentInAssert')\nE + where = ''.count\n_________________________ test_printf_tu_modifier_int __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:159: in test_printf_tu_modifier_int\n assert \"%tu in format string (no. 1) requires 'unsigned ptrdiff_t'\" in stderr\nE assert \"%tu in format string (no. 1) requires 'unsigned ptrdiff_t'\" in ''\n___________________ test_member_variable_self_initialization ___________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps.py:165: in test_member_variable_self_initialization\n assert 'selfInitialization' in output\nE assert 'selfInitialization' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/self_initialization.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/self_initialization.cpp:3:5: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Config(int val) : value(value) {} // Self-initialization!\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_______________ test_printf_width_and_precision_with_wrong_type ________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:608: in test_printf_width_and_precision_with_wrong_type\n assert \"%f in format string (no. 1) requires 'double'\" in stderr\nE assert \"%f in format string (no. 1) requires 'double'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'\n_____________________ test_comparison_func_returning_bool ______________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbool_gaps.py:165: in test_comparison_func_returning_bool\n assert 'comparisonOfFuncReturningBoolError' in output\nE AssertionError: assert 'comparisonOfFuncReturningBoolError' in 'Checking /workspace/eval/test_resources/test_checkbool/comparison_func_bool.cpp ...\\n'\n____________________________ test_scanf_wrong_type _____________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:133: in test_scanf_wrong_type\n assert \"%s in format string (no. 1) requires a 'char *' but the argument type is 'signed int *'\" in stderr\nE assert \"%s in format string (no. 1) requires a 'char *' but the argument type is 'signed int *'\" in '/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:5:5: error: scanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d\", &a); // Need 2 pointers, only 1 given\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:15:17: error: Uninitialized variable: a [uninitvar]\\n scanf(\"%d\", a); // Missing &, should be &a\\n ^\\n'\n______________________ test_conditional_double_alloc_leak ______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:679: in test_conditional_double_alloc_leak\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''\n___________________ test_unknown_evaluation_order_increment ____________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part2.py:358: in test_unknown_evaluation_order_increment\n assert 'unknownEvaluationOrder' in result.stderr\nE assert 'unknownEvaluationOrder' in \"/tmp/tmppvjv5v0ttest.c:2:5: style: The function 'test_eval_order' is never used. [unusedFunction]\\nint test_eval_order() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmppvjv5v0ttest.c:2:5: style: The function 'test_eval_order' is never used. [unusedFunction]\\nint test_eval_order() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmppvjv5v0ttest.c'], returncode=0, stdout='Checking /tmp/tmppvjv5v0ttest.c ...\\n', stderr=\"/tmp/tmppvjv5v0ttest.c:2:5: style: The function 'test_eval_order' is never used. [unusedFunction]\\nint test_eval_order() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr\n_____________________ test_opposite_inner_condition_simple _____________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:314: in test_opposite_inner_condition_simple\n assert 'oppositeInnerCondition' in stderr\nE AssertionError: assert 'oppositeInnerCondition' in ''\n_____________________ test_wscanf_missing_address_operator _____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:115: in test_wscanf_missing_address_operator\n assert \"%d in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_round3/wscanf_errors.c:10:5: error: wscanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wscanf(L\"%d %d\", &x); // Too few args\\n ^\\n'\n_____________________ test_initializer_list_order_mismatch _____________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps.py:176: in test_initializer_list_order_mismatch\n assert 'initializerList' in output\nE AssertionError: assert 'initializerList' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/init_list_order2.cpp ...\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'\n________________________ test_printf_I64d_modifier_int _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:172: in test_printf_I64d_modifier_int\n assert \"%I64d in format string (no. 1) requires '__int64'\" in stderr\nE assert \"%I64d in format string (no. 1) requires '__int64'\" in ''\n________________________ test_comparison_bool_with_bool ________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbool_gaps.py:181: in test_comparison_bool_with_bool\n assert 'comparisonOfBoolWithBoolError' in output\nE assert 'comparisonOfBoolWithBoolError' in \"Checking /workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp ...\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:5:11: style: Condition 'a=b' is always true [knownConditionTrueFalse]\\n if (a >= b) { // Should trigger comparisonOfBoolWithBool\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:9:11: note: Condition 'a>=b' is always true\\n if (a >= b) { // Should trigger comparisonOfBoolWithBool\\n ^\\n\"\n________________ test_scanf_complex_format_last_arg_wrong_type _________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:620: in test_scanf_complex_format_last_arg_wrong_type\n assert \"%d in format string (no. 4) requires 'int *'\" in stderr\nE assert \"%d in format string (no. 4) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_round3/scanf_complex_formats.c:11:5: error: scanf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d %d\", &x, &y); // Missing third argument\\n ^\\n'\n__________________ test_function_with_return_modifies_global ___________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkassert_gaps.py:371: in test_function_with_return_modifies_global\n assert stderr.count('assertWithSideEffect') >= 2\nE AssertionError: assert 0 >= 2\nE + where 0 = ('assertWithSideEffect')\nE + where = ''.count\n_____________________ test_scanf_missing_address_operator ______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:145: in test_scanf_missing_address_operator\n assert \"%d in format string (no. 1) requires 'int *' but the argument type is 'signed int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int *' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:5:5: error: scanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d\", &a); // Need 2 pointers, only 1 given\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:15:17: error: Uninitialized variable: a [uninitvar]\\n scanf(\"%d\", a); // Missing &, should be &a\\n ^\\n'\n_______________________ test_member_allocated_twice_leak _______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:700: in test_member_allocated_twice_leak\n assert 'publicAllocationError' in stderr\nE AssertionError: assert 'publicAllocationError' in ''\n__________________ test_unknown_evaluation_order_array_index ___________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part2.py:375: in test_unknown_evaluation_order_array_index\n assert 'unknownEvaluationOrder' in result.stderr\nE assert 'unknownEvaluationOrder' in \"/tmp/tmp2agkconitest.c:2:6: style: The function 'test_eval_order2' is never used. [unusedFunction]\\nvoid test_eval_order2(int arr[]) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmp2agkconitest.c:2:6: style: The function 'test_eval_order2' is never used. [unusedFunction]\\nvoid test_eval_order2(int arr[]) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmp2agkconitest.c'], returncode=0, stdout='Checking /tmp/tmp2agkconitest.c ...\\n', stderr=\"/tmp/tmp2agkconitest.c:2:6: style: The function 'test_eval_order2' is never used. [unusedFunction]\\nvoid test_eval_order2(int arr[]) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr\n___________________ test_opposite_inner_with_compound_outer ____________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:379: in test_opposite_inner_with_compound_outer\n assert 'oppositeInnerCondition' in stderr\nE AssertionError: assert 'oppositeInnerCondition' in ''\n_________________________ test_wscanf_width_too_large __________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:128: in test_wscanf_width_too_large\n assert \"Width 30 given in format string (no. 1) is larger than destination buffer\" in stderr\nE assert 'Width 30 given in format string (no. 1) is larger than destination buffer' in '/workspace/eval/test_resources/test_checkio_round3/wscanf_errors.c:10:5: error: wscanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wscanf(L\"%d %d\", &x); // Too few args\\n ^\\n'\n_________________ test_complex_class_hierarchy_multiple_issues _________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps.py:189: in test_complex_class_hierarchy_multiple_issues\n assert \"Class 'Resource' does not have a copy constructor\" in output\nE assert \"Class 'Resource' does not have a copy constructor\" in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/complex_hierarchy.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/complex_hierarchy.cpp:15:5: warning: Member variable 'FileResource::fd' is not initialized in the constructor. [uninitMemberVar]\\n FileResource(const char* name) : filename(name) {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/complex_hierarchy.cpp:15:5: style: Class 'FileResource' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n FileResource(const char* name) : filename(name) {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/complex_hierarchy.cpp:24:5: style: Class 'NetworkResource' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n NetworkResource(int p) : port(p) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n________________________ test_printf_I64u_modifier_int _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:185: in test_printf_I64u_modifier_int\n assert \"%I64u in format string (no. 1) requires 'unsigned __int64'\" in stderr\nE assert \"%I64u in format string (no. 1) requires 'unsigned __int64'\" in ''\n_________________ test_comparison_bool_with_invalid_comparator _________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbool_gaps.py:198: in test_comparison_bool_with_invalid_comparator\n assert 'comparisonOfBoolWithInvalidComparator' in output\nE AssertionError: assert 'comparisonOfBoolWithInvalidComparator' in 'Checking /workspace/eval/test_resources/test_checkbool/comparison_bool_invalid.cpp ...\\n'\n________________ test_scanf_complex_format_first_arg_wrong_type ________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:632: in test_scanf_complex_format_first_arg_wrong_type\n assert \"%s in format string (no. 1) requires a 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires a 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/scanf_complex_formats.c:11:5: error: scanf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d %d\", &x, &y); // Missing third argument\\n ^\\n'\n______________________ test_postincrement_vs_preincrement ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkassert_gaps.py:416: in test_postincrement_vs_preincrement\n assert stderr.count('assignmentInAssert') >= 2\nE AssertionError: assert 0 >= 2\nE + where 0 = ('assignmentInAssert')\nE + where = ''.count\n__________________________ test_scanf_width_too_large __________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:157: in test_scanf_width_too_large\n assert \"Width 20 given in format string (no. 1) is larger than destination buffer\" in stderr\nE assert 'Width 20 given in format string (no. 1) is larger than destination buffer' in '/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:5:5: error: scanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d\", &a); // Need 2 pointers, only 1 given\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:15:17: error: Uninitialized variable: a [uninitvar]\\n scanf(\"%d\", a); // Missing &, should be &a\\n ^\\n'\n_________________________ test_free_then_return_value __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:739: in test_free_then_return_value\n assert 'deallocret' in stderr\nE AssertionError: assert 'deallocret' in ''\n_____________________ test_opposite_inner_second_conjunct ______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:398: in test_opposite_inner_second_conjunct\n assert 'oppositeInnerCondition' in stderr\nE AssertionError: assert 'oppositeInnerCondition' in ''\n__________________ test_fwprintf_type_mismatch_int_wchar_ptr ___________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:165: in test_fwprintf_type_mismatch_int_wchar_ptr\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:11:5: error: fwprintf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d %d %d\", x, x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:12:5: error: fwprintf format string requires 1 parameter but 3 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d\", x, x, x); // Too many args\\n ^\\n'\n______________________________ test_sizeof_sizeof ______________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checksizeof_gaps.py:109: in test_sizeof_sizeof\n assert \"Calling 'sizeof' on 'sizeof'\" in stderr\nE assert \"Calling 'sizeof' on 'sizeof'\" in \"/tmp/tmpxs2kxgac/test.c:3:13: warning: Calling sizeof for 'sizeof'. [sizeofsizeof]\\n int x = sizeof sizeof(int);\\n ^\\n\"\n________________ test_pure_virtual_function_call_in_constructor ________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps.py:209: in test_pure_virtual_function_call_in_constructor\n assert 'pureVirtualCall' in output\nE AssertionError: assert 'pureVirtualCall' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/pure_virtual_in_ctor.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'\n_______________________ test_printf_I32d_modifier_short ________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:198: in test_printf_I32d_modifier_short\n assert \"%I32d in format string (no. 1) requires '__int32'\" in stderr\nE assert \"%I32d in format string (no. 1) requires '__int32'\" in ''\n___________________ test_comparison_two_funcs_returning_bool ___________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbool_gaps.py:216: in test_comparison_two_funcs_returning_bool\n assert 'comparisonOfTwoFuncsReturningBoolError' in output\nE AssertionError: assert 'comparisonOfTwoFuncsReturningBoolError' in 'Checking /workspace/eval/test_resources/test_checkbool/comparison_two_funcs_bool.cpp ...\\n'\n______________________ test_bitwise_assignment_operators _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkassert_gaps.py:440: in test_bitwise_assignment_operators\n assert 'assignmentInAssert' in stderr\nE AssertionError: assert 'assignmentInAssert' in ''\n_______________________ test_scanf_width_with_wrong_type _______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:655: in test_scanf_width_with_wrong_type\n assert \"%d in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_round3/scanf_complex_formats.c:11:5: error: scanf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d %d\", &x, &y); // Missing third argument\\n ^\\n'\n________________________ test_scanf_no_width_specifier _________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:170: in test_scanf_no_width_specifier\n assert \"scanf() without field width limits can crash with huge input data\" in stderr\nE assert 'scanf() without field width limits can crash with huge input data' in '/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:5:5: error: scanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d\", &a); // Need 2 pointers, only 1 given\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:15:17: error: Uninitialized variable: a [uninitvar]\\n scanf(\"%d\", a); // Missing &, should be &a\\n ^\\n'\n_____________________ test_leaked_on_exception_constructor _____________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:762: in test_leaked_on_exception_constructor\n assert 'unsafeClassCanLeak' in stderr\nE AssertionError: assert 'unsafeClassCanLeak' in ''\n_________________________ test_mismatchingbitand_error _________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:443: in test_mismatchingbitand_error\n assert \"Condition '(x&2)==0' is always false\" in stderr\nE assert \"Condition '(x&2)==0' is always false\" in \"/tmp/tmpcb27dd11/test.c:5:21: style: Condition 'x&2==0' is always false [knownConditionTrueFalse]\\n if ((x & 2) == 0) {\\n ^\\n/tmp/tmpcb27dd11/test.c:4:15: note: Assignment 'x=1|2', assigned value is 3\\n x = 1 | 2;\\n ^\\n/tmp/tmpcb27dd11/test.c:5:21: note: Condition 'x&2==0' is always false\\n if ((x & 2) == 0) {\\n ^\\n\"\n__________________ test_fwprintf_type_mismatch_wchar_ptr_int ___________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:178: in test_fwprintf_type_mismatch_wchar_ptr_int\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:11:5: error: fwprintf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d %d %d\", x, x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:12:5: error: fwprintf format string requires 1 parameter but 3 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d\", x, x, x); // Too many args\\n ^\\n'\n__________________________ test_sizeof_pointer_malloc __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checksizeof_gaps.py:195: in test_sizeof_pointer_malloc\n assert 'pointerSize' in stderr\nE AssertionError: assert 'pointerSize' in ''\n___________________ test_useless_override_identical_to_base ____________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps.py:221: in test_useless_override_identical_to_base\n assert 'uselessOverride' in output\nE assert 'uselessOverride' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/useless_override.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/useless_override.cpp:3:17: style: The function 'compute' is never used. [unusedFunction]\\n virtual int compute(int x) {\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/useless_override.cpp:6:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n________________________ test_complex_bool_expressions _________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbool_gaps.py:234: in test_complex_bool_expressions\n assert output.count('bitwiseOnBoolean') >= 3\nE assert 0 >= 3\nE + where 0 = ('bitwiseOnBoolean')\nE + where = \"Checking /workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp ...\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:7:12: style: Condition 'a&b' is always false [knownConditionTrueFalse]\\n if ((a & b) || (a | b)) {\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:7:12: note: Condition 'a&b' is always false\\n if ((a & b) || (a | b)) {\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:7:23: style: Condition 'a|b' is always true [knownConditionTrueFalse]\\n if ((a & b) || (a | b)) {\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:7:23: note: Condition 'a|b' is always true\\n if ((a & b) || (a | b)) {\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:12:16: style: Variable 'result' is assigned a value that is never used. [unreadVariable]\\n int result = a + b * 2;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:22:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n bool c = (a & b) | (b & a);\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:1:6: style: The function 'test_complex_expressions' is never used. [unusedFunction]\\nvoid test_complex_expressions() {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\".count\n________________________ test_printf_I32d_modifier_long ________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:211: in test_printf_I32d_modifier_long\n assert \"%I32d in format string (no. 1) requires '__int32'\" in stderr\nE assert \"%I32d in format string (no. 1) requires '__int32'\" in ''\n______________________ test_cout_cerr_misuse_cout_to_cout ______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:181: in test_cout_cerr_misuse_cout_to_cout\n assert \"Invalid usage of output stream: '<< std::cout'\" in stderr\nE assert \"Invalid usage of output stream: '<< std::cout'\" in ''\n___________________ test_return_reference_to_local_variable ____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:49: in test_return_reference_to_local_variable\n assert 'returnReference' in combined\nE assert 'returnReference' in \"Checking /tmp/tmpzdth279m/test.cpp ...\\n/tmp/tmpzdth279m/test.cpp:2:10: style: The function 'returnLocalRef' is never used. [unusedFunction]\\n int& returnLocalRef() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n________________________ test_cast_int_to_char_getchar _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_gaps.py:83: in test_cast_int_to_char_getchar\n assert 'checkCastIntToCharAndBack' in output\nE AssertionError: assert 'checkCastIntToCharAndBack' in 'Checking /tmp/tmpv5jogp9dtest.c ...\\n'\n____________________ test_sprintf_type_mismatch_int_string _____________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:688: in test_sprintf_type_mismatch_int_string\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:9:5: error: sprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:10:5: error: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d\", x, x); // Too many args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:15:5: error: snprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:16:5: error: snprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d\", x, x); // Too many args\\n ^\\n'\n_____________________ test_badbitmask_or_with_zero_operand _____________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:462: in test_badbitmask_or_with_zero_operand\n assert 'badBitmaskCheck' in stderr\nE assert 'badBitmaskCheck' in \"/tmp/tmpajatu650/test.c:4:15: style: Condition 'x|0' is always true [knownConditionTrueFalse]\\n if (x | 0) {\\n ^\\n/tmp/tmpajatu650/test.c:3:17: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/tmp/tmpajatu650/test.c:4:15: note: Condition 'x|0' is always true\\n if (x | 0) {\\n ^\\n\"\n____________________ test_fwprintf_type_mismatch_float_int _____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:190: in test_fwprintf_type_mismatch_float_int\n assert \"%f in format string (no. 1) requires 'double'\" in stderr\nE assert \"%f in format string (no. 1) requires 'double'\" in '/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:11:5: error: fwprintf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d %d %d\", x, x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:12:5: error: fwprintf format string requires 1 parameter but 3 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d\", x, x, x); // Too many args\\n ^\\n'\n__________________________ test_sizeof_pointer_calloc __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checksizeof_gaps.py:214: in test_sizeof_pointer_calloc\n assert 'pointerSize' in stderr\nE AssertionError: assert 'pointerSize' in ''\n___________________ test_return_reference_to_local_variable ____________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps.py:233: in test_return_reference_to_local_variable\n assert 'returnReference' in output\nE assert 'returnReference' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/return_by_reference.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/return_by_reference.cpp:5:10: style: The function 'getValue' is never used. [unusedFunction]\\n int& getValue() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_________________________ test_c_code_bool_operations __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbool_gaps.py:252: in test_c_code_bool_operations\n assert 'returnNonBoolInBooleanFunction' in output\nE assert 'returnNonBoolInBooleanFunction' in \"Checking /workspace/eval/test_resources/test_checkbool/c_code_bool.c ...\\n/workspace/eval/test_resources/test_checkbool/c_code_bool.c:14:6: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean]\\n a++; /* Should trigger incrementboolean */\\n ^\\n/workspace/eval/test_resources/test_checkbool/c_code_bool.c:9:12: style: Variable 'b' is assigned a value that is never used. [unreadVariable]\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/c_code_bool.c:12:7: style: Variable 'f' is assigned a value that is never used. [unreadVariable]\\n f = a; /* Should trigger assignBoolToFloat in C++ but not in C */\\n ^\\n\"\n_________________________ test_printf_hhd_modifier_int _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:224: in test_printf_hhd_modifier_int\n assert \"%hhd in format string (no. 1) requires 'char'\" in stderr\nE assert \"%hhd in format string (no. 1) requires 'char'\" in ''\n______________________ test_cout_cerr_misuse_cerr_to_cout ______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:193: in test_cout_cerr_misuse_cerr_to_cout\n assert \"Invalid usage of output stream: '<< std::cerr'\" in stderr\nE assert \"Invalid usage of output stream: '<< std::cerr'\" in ''\n_______________________ test_cast_int_to_char_variations _______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_gaps.py:131: in test_cast_int_to_char_variations\n assert output.count('checkCastIntToCharAndBack') == 3\nE AssertionError: assert 0 == 3\nE + where 0 = ('checkCastIntToCharAndBack')\nE + where = 'Checking /tmp/tmpxmqo0hl7test.c ...\\n'.count\n____________________ test_sprintf_type_mismatch_string_int _____________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:699: in test_sprintf_type_mismatch_string_int\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:9:5: error: sprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:10:5: error: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d\", x, x); // Too many args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:15:5: error: snprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:16:5: error: snprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d\", x, x); // Too many args\\n ^\\n'\n____________________ test_lambda_capture_local_by_reference ____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:115: in test_lambda_capture_local_by_reference\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmp14t9q3vj/test.cpp ...\\n/tmp/tmp14t9q3vj/test.cpp:2:6: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n #include \\n ^\\n/tmp/tmp14t9q3vj/test.cpp:3:26: style: The function 'captureLambda' is never used. [unusedFunction]\\n std::function captureLambda() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_____________________ test_bitwise_or_non_zero_always_true _____________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:508: in test_bitwise_or_non_zero_always_true\n assert 'badBitmaskCheck' in stderr\nE assert 'badBitmaskCheck' in \"/tmp/tmpx5kn5eph/test.c:4:15: style: Condition '5|x' is always true [knownConditionTrueFalse]\\n if (5 | x) {\\n ^\\n/tmp/tmpx5kn5eph/test.c:3:17: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/tmp/tmpx5kn5eph/test.c:4:15: note: Condition '5|x' is always true\\n if (5 | x) {\\n ^\\n\"\n____________________ test_fwprintf_type_mismatch_int_float _____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:203: in test_fwprintf_type_mismatch_int_float\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:11:5: error: fwprintf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d %d %d\", x, x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:12:5: error: fwprintf format string requires 1 parameter but 3 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d\", x, x, x); // Too many args\\n ^\\n'\n__________________________ test_sizeof_pointer_memset __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checksizeof_gaps.py:233: in test_sizeof_pointer_memset\n assert 'pointerSize' in stderr\nE AssertionError: assert 'pointerSize' in '/tmp/tmpr45pwr2f/test.c:6:12: error: Uninitialized variable: ptr [uninitvar]\\n memset(ptr, 0, sizeof(ptr));\\n ^\\n'\n________________ test_missing_constructor_with_private_members _________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps.py:245: in test_missing_constructor_with_private_members\n assert \"The class 'Configuration' does not declare a constructor although it has private member variables\" in output\nE assert \"The class 'Configuration' does not declare a constructor although it has private member variables\" in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:1:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass Configuration {\\n^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:3:17: style: class member 'Configuration::configFile' is never used. [unusedStructMember]\\n const char* configFile;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:4:10: style: class member 'Configuration::settings' is never used. [unusedStructMember]\\n int* settings;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:5:10: style: class member 'Configuration::initialized' is never used. [unusedStructMember]\\n bool initialized;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:8:10: style: The function 'load' is never used. [unusedFunction]\\n void load() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n__________________________ test_underscore_bool_type ___________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbool_gaps.py:271: in test_underscore_bool_type\n assert 'returnNonBoolInBooleanFunction' in output\nE assert 'returnNonBoolInBooleanFunction' in \"Checking /workspace/eval/test_resources/test_checkbool/underscore_bool.cpp ...\\n/workspace/eval/test_resources/test_checkbool/underscore_bool.cpp:17:9: error: Boolean value assigned to pointer. [assignBoolToPointer]\\n ptr = x; // Should trigger assignBoolToPointer\\n ^\\n/workspace/eval/test_resources/test_checkbool/underscore_bool.cpp:4:6: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean]\\n b++; // Should trigger incrementboolean\\n ^\\n/workspace/eval/test_resources/test_checkbool/underscore_bool.cpp:12:11: style: Condition 'x to see details) [checkersReport]\\n\\n\"\n_________________________ test_snprintf_type_mismatch __________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:733: in test_snprintf_type_mismatch\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:9:5: error: sprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:10:5: error: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d\", x, x); // Too many args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:15:5: error: snprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:16:5: error: snprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d\", x, x); // Too many args\\n ^\\n'\n_______________________ test_modulo_with_equals_boundary _______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:527: in test_modulo_with_equals_boundary\n assert 'moduloAlwaysTrueFalse' in stderr\nE AssertionError: assert 'moduloAlwaysTrueFalse' in '/tmp/tmpsnqpa2yz/test.c:4:13: error: Uninitialized variable: x [uninitvar]\\n if (x % 5 >= 5) {\\n ^\\n'\n_______________________ test_incomplete_statement_sizeof _______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_gaps.py:284: in test_incomplete_statement_sizeof\n assert 'constStatement' in output\nE AssertionError: assert 'constStatement' in 'Checking /tmp/tmp7q0ma0kxtest.c ...\\n'\n____________________ test_swprintf_wrong_arg_count_too_few _____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:216: in test_swprintf_wrong_arg_count_too_few\n assert \"swprintf format string requires 2 parameters but only 1 is given\" in stderr\nE AssertionError: assert 'swprintf format string requires 2 parameters but only 1 is given' in ''\n__________________________ test_sizeof_pointer_memcpy __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checksizeof_gaps.py:252: in test_sizeof_pointer_memcpy\n assert 'pointerSize' in stderr\nE AssertionError: assert 'pointerSize' in '/tmp/tmp_59lpoqm/test.c:6:12: error: Uninitialized variable: dst [uninitvar]\\n memcpy(dst, src, sizeof(dst));\\n ^\\n/tmp/tmp_59lpoqm/test.c:6:17: error: Uninitialized variable: src [uninitvar]\\n memcpy(dst, src, sizeof(dst));\\n ^\\n'\n____________________ test_shallow_copy_in_copy_constructor _____________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps.py:255: in test_shallow_copy_in_copy_constructor\n assert 'copyCtorPointerCopying' in output\nE assert 'copyCtorPointerCopying' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/shallow_copy.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/shallow_copy.cpp:3:5: style: Class 'Array' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Array(int size) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n__________________________ test_edge_case_comparisons __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbool_gaps.py:289: in test_edge_case_comparisons\n assert 'compareBoolExpressionWithInt' in output\nE AssertionError: assert 'compareBoolExpressionWithInt' in 'Checking /workspace/eval/test_resources/test_checkbool/edge_case_comparisons.cpp ...\\n'\n_________________________ test_printf_hhu_modifier_int _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:250: in test_printf_hhu_modifier_int\n assert \"%hhu in format string (no. 1) requires 'unsigned char'\" in stderr\nE assert \"%hhu in format string (no. 1) requires 'unsigned char'\" in ''\n________________________ test_cout_cerr_misuse_in_chain ________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:217: in test_cout_cerr_misuse_in_chain\n assert \"Invalid usage of output stream: '<< std::cout'\" in stderr\nE assert \"Invalid usage of output stream: '<< std::cout'\" in ''\n______________________ test_deallocation_of_auto_variable ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:156: in test_deallocation_of_auto_variable\n assert 'autovarInvalidDeallocation' in combined\nE assert 'autovarInvalidDeallocation' in \"Checking /tmp/tmpnetta_y6/test.c ...\\n/tmp/tmpnetta_y6/test.c:2:10: style: The function 'deallocLocal' is never used. [unusedFunction]\\n void deallocLocal() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n__________________ test_nested_if_else_with_opposite_in_else ___________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:550: in test_nested_if_else_with_opposite_in_else\n assert 'knownConditionTrueFalse' in stderr\nE AssertionError: assert 'knownConditionTrueFalse' in ''\n________________________ test_char_bitop_sign_extension ________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_gaps.py:311: in test_char_bitop_sign_extension\n assert 'charBitOp' in output\nE AssertionError: assert 'charBitOp' in 'Checking /tmp/tmplilne1pvtest.c ...\\n'\n________________________ test_sscanf_type_mismatch_int _________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:767: in test_sscanf_type_mismatch_int\n assert \"%d in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:10:5: error: sscanf format string requires 4 parameters but only 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s %f %d\", &x, buf, &f); // Too few args (missing 4th)\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:11:5: error: sscanf format string requires 2 parameters but 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s\", &x, buf, &y); // Too many args\\n ^\\n'\n____________________ test_swprintf_wrong_arg_count_too_many ____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:228: in test_swprintf_wrong_arg_count_too_many\n assert \"swprintf format string requires 1 parameter but 2 are given\" in stderr\nE AssertionError: assert 'swprintf format string requires 1 parameter but 2 are given' in ''\n_______________________________ test_sizeof_void _______________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checksizeof_gaps.py:268: in test_sizeof_void\n assert 'sizeofVoid' in stderr\nE AssertionError: assert 'sizeofVoid' in ''\n___________ test_copy_constructor_and_destructor_without_assignment ____________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps.py:266: in test_copy_constructor_and_destructor_without_assignment\n assert 'noOperatorEq' in output\nE AssertionError: assert 'noOperatorEq' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/copy_ctor_and_eq.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'\n____________________ test_pointer_arith_complex_conditions _____________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbool_gaps.py:306: in test_pointer_arith_complex_conditions\n assert output.count('pointerArithBool') >= 6\nE AssertionError: assert 0 >= 6\nE + where 0 = ('pointerArithBool')\nE + where = 'Checking /workspace/eval/test_resources/test_checkbool/pointer_arith_complex.cpp ...\\n/workspace/eval/test_resources/test_checkbool/pointer_arith_complex.cpp:4:18: error: Uninitialized variable: arr [uninitvar]\\n int* ptr2 = &arr[5];\\n ^\\n'.count\n_________________________ test_printf_lld_modifier_int _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:263: in test_printf_lld_modifier_int\n assert \"%lld in format string (no. 1) requires 'long long'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long'\" in ''\n_________________________ test_write_to_readonly_file __________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:229: in test_write_to_readonly_file\n assert \"Write operation on a file that was opened only for reading\" in stderr\nE AssertionError: assert 'Write operation on a file that was opened only for reading' in ''\n____________________ test_dangling_pointer_after_scope_exit ____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:221: in test_dangling_pointer_after_scope_exit\n assert 'invalidLifetime' in combined\nE assert 'invalidLifetime' in \"Checking /tmp/tmp060jkw7g/test.cpp ...\\n/tmp/tmp060jkw7g/test.cpp:2:10: style: The function 'useDanglingRef' is never used. [unusedFunction]\\n void useDanglingRef() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n____________________ test_signed_modulo_with_negative_range ____________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:571: in test_signed_modulo_with_negative_range\n assert 'moduloAlwaysTrueFalse' in stderr\nE AssertionError: assert 'moduloAlwaysTrueFalse' in '/tmp/tmpgvak8wuh/test.c:4:13: error: Uninitialized variable: y [uninitvar]\\n if (y % 4 < 10) {\\n ^\\n'\n_______________________ test_sscanf_type_mismatch_string _______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:778: in test_sscanf_type_mismatch_string\n assert \"%s in format string (no. 1) requires a 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires a 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:10:5: error: sscanf format string requires 4 parameters but only 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s %f %d\", &x, buf, &f); // Too few args (missing 4th)\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:11:5: error: sscanf format string requires 2 parameters but 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s\", &x, buf, &y); // Too many args\\n ^\\n'\n__________________ test_comparison_function_always_true_false __________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_gaps.py:407: in test_comparison_function_always_true_false\n assert output.count('comparisonFunctionIsAlwaysTrueOrFalse') == 2\nE AssertionError: assert 0 == 2\nE + where 0 = ('comparisonFunctionIsAlwaysTrueOrFalse')\nE + where = 'Checking /tmp/tmptg06bcsgtest.c ...\\n'.count\n__________________ test_swprintf_type_mismatch_int_wchar_ptr ___________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:240: in test_swprintf_type_mismatch_int_wchar_ptr\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in ''\n____________________ test_sizeof_dereferenced_void_pointer _____________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checksizeof_gaps.py:287: in test_sizeof_dereferenced_void_pointer\n assert 'sizeofDereferencedVoidPointer' in stderr\nE AssertionError: assert 'sizeofDereferencedVoidPointer' in ''\n________________________ test_casts_and_function_calls _________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbool_gaps.py:329: in test_casts_and_function_calls\n assert 'comparisonOfTwoFuncsReturningBoolError' in output\nE assert 'comparisonOfTwoFuncsReturningBoolError' in \"Checking /workspace/eval/test_resources/test_checkbool/casts_and_functions.cpp ...\\n/workspace/eval/test_resources/test_checkbool/casts_and_functions.cpp:13:19: style: Condition '(bool)5>b' is always true [knownConditionTrueFalse]\\n if ((bool)(5) > b) { // Should trigger comparisonOfFuncReturningBoolError or similar\\n ^\\n/workspace/eval/test_resources/test_checkbool/casts_and_functions.cpp:10:14: note: Assignment 'b=true', assigned value is 1\\n bool b = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/casts_and_functions.cpp:13:19: note: Condition '(bool)5>b' is always true\\n if ((bool)(5) > b) { // Should trigger comparisonOfFuncReturningBoolError or similar\\n ^\\n\"\n__________________ test_operator_eq_missing_return_statement ___________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps_round2.py:44: in test_operator_eq_missing_return_statement\n assert 'operatorEqMissingReturnStatement' in output\nE AssertionError: assert 'operatorEqMissingReturnStatement' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_no_return.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_no_return.cpp:12:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn]\\n }\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'\n________________________ test_printf_lld_modifier_long _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:276: in test_printf_lld_modifier_long\n assert \"%lld in format string (no. 1) requires 'long long'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long'\" in ''\n________________________ test_read_from_writeonly_file _________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:241: in test_read_from_writeonly_file\n assert \"Read operation on a file that was opened only for writing\" in stderr\nE AssertionError: assert 'Read operation on a file that was opened only for writing' in ''\n________________ test_return_pointer_to_temporary_object_member ________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:245: in test_return_pointer_to_temporary_object_member\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmp_fg4cwvj/test.cpp ...\\n/tmp/tmp_fg4cwvj/test.cpp:6:16: style: The function 'getTempValue' is never used. [unusedFunction]\\n const int* getTempValue() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_________________ test_complex_nested_conditions_three_levels __________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkcondition_gaps.py:593: in test_complex_nested_conditions_three_levels\n assert 'oppositeInnerCondition' in stderr\nE AssertionError: assert 'oppositeInnerCondition' in ''\n_________________________ test_sscanf_width_too_large __________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:790: in test_sscanf_width_too_large\n assert \"Width 30 given in format string (no. 1) is larger than destination buffer\" in stderr\nE assert 'Width 30 given in format string (no. 1) is larger than destination buffer' in '/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:10:5: error: sscanf format string requires 4 parameters but only 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s %f %d\", &x, buf, &f); // Too few args (missing 4th)\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:11:5: error: sscanf format string requires 2 parameters but 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s\", &x, buf, &y); // Too many args\\n ^\\n'\n__________________ test_swprintf_type_mismatch_wchar_ptr_int ___________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:252: in test_swprintf_type_mismatch_wchar_ptr_int\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in ''\n_______________________ test_int_to_pointer_cast_decimal _______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part1.py:90: in test_int_to_pointer_cast_decimal\n assert 'intToPointerCast' in output\nE AssertionError: assert 'intToPointerCast' in 'Checking /tmp/tmp5v1_xjittest.c ...\\n'\n__________________________ test_multiply_sizeof_error __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checksizeof_gaps.py:304: in test_multiply_sizeof_error\n assert 'multiplySizeof' in stderr\nE AssertionError: assert 'multiplySizeof' in ''\n___________________ test_operator_eq_returns_wrong_reference ___________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps_round2.py:56: in test_operator_eq_returns_wrong_reference\n assert 'operatorEqRetRefThis' in output\nE AssertionError: assert 'operatorEqRetRefThis' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_returns_wrong_ref.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'\n________________________ test_printf_Lf_modifier_double ________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:289: in test_printf_Lf_modifier_double\n assert \"%Lf in format string (no. 1) requires 'long double'\" in stderr\nE assert \"%Lf in format string (no. 1) requires 'long double'\" in ''\n__________________________ test_strcpy_buffer_overrun __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:116: in test_strcpy_buffer_overrun\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmprcnrnd0h/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmprcnrnd0h/test.c:5:5: error: Buffer is accessed out of bounds: dest [bufferAccessOutOfBounds]', ' strcpy(dest, \"hello world\"); // Buffer overrun', ' ^', \"/tmp/tmprcnrnd0h/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n_____________________________ test_use_closed_file _____________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:253: in test_use_closed_file\n assert \"Used file that is not opened\" in stderr\nE AssertionError: assert 'Used file that is not opened' in ''\n__________________________ test_delete_auto_variable ___________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:266: in test_delete_auto_variable\n assert 'autovarInvalidDeallocation' in combined\nE assert 'autovarInvalidDeallocation' in \"Checking /tmp/tmpmz5apz_b/test.cpp ...\\n/tmp/tmpmz5apz_b/test.cpp:2:10: style: The function 'deleteLocal' is never used. [unusedFunction]\\n void deleteLocal() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n__________________________ test_log_negative_argument __________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:41: in test_log_negative_argument\n assert 'log(-1.0)' in result.combined_output\nE assert 'log(-1.0)' in \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c:5:20: error: Invalid log() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double y = log(0);\\n ^\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c:5:20: error: Invalid log() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double y = log(0);\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c:5:20: error: Invalid log() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double y = log(0);\\n ^\\n\").combined_output\n_____________________ test_realloc_direct_assignment_leak ______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:40: in test_realloc_direct_assignment_leak\n assert 'memleakOnRealloc' in stderr\nE AssertionError: assert 'memleakOnRealloc' in ''\n___________________ test_printf_positional_param_missing_arg ___________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:265: in test_printf_positional_param_missing_arg\n assert \"printf format string requires 2 parameters but only 1 is given\" in stderr\nE AssertionError: assert 'printf format string requires 2 parameters but only 1 is given' in ''\n___________________ test_const_statement_string_and_numeric ____________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part1.py:129: in test_const_statement_string_and_numeric\n assert normalize_output(output) == normalize_output(golden)\nE assert 'test.c:3:5: ...of =\\n ^' == 'test.c:3:5: ...nstant\\n ^'\nE \nE test.c:3:5: warning: Redundant code: Found a statement that begins with string constant. [constStatement]\nE \"string constant\"; // incomplete statement\nE ^\nE test.c:4:5: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement]\nE 42; // numeric constant\nE - ^...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n___________________ test_arithmetic_on_void_pointer_addition ___________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checksizeof_gaps.py:322: in test_arithmetic_on_void_pointer_addition\n assert 'arithOperationsOnVoidPointer' in stderr\nE AssertionError: assert 'arithOperationsOnVoidPointer' in '/tmp/tmphbhjnv0g/test.c:4:20: error: Uninitialized variable: ptr [uninitvar]\\n void *result = ptr + 1;\\n ^\\n'\n______________________ test_initializer_list_wrong_order _______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps_round2.py:69: in test_initializer_list_wrong_order\n assert 'initializerList' in output\nE assert 'initializerList' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/initialization_list_order.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/initialization_list_order.cpp:9:5: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Config(int size) : currentSize(maxSize), maxSize(size) {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_________________________ test_sprintf_buffer_overrun __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:137: in test_sprintf_buffer_overrun\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmpt16rz9jy/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', \"/tmp/tmpt16rz9jy/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n__________________________ test_scanf_jd_modifier_int __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:302: in test_scanf_jd_modifier_int\n assert \"%jd in format string (no. 1) requires 'intmax_t *'\" in stderr\nE assert \"%jd in format string (no. 1) requires 'intmax_t *'\" in ''\n_________________________ test_io_without_positioning __________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:265: in test_io_without_positioning\n assert \"Read and write operations without a call to a positioning function\" in stderr\nE AssertionError: assert 'Read and write operations without a call to a positioning function' in ''\n_______________________ test_delete_array_auto_variable ________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:287: in test_delete_array_auto_variable\n assert 'autovarInvalidDeallocation' in combined\nE assert 'autovarInvalidDeallocation' in \"Checking /tmp/tmpbgaphlto/test.cpp ...\\n/tmp/tmpbgaphlto/test.cpp:3:13: style: Variable 'arr' is not assigned a value. [unassignedVariable]\\n int arr[10];\\n ^\\n/tmp/tmpbgaphlto/test.cpp:2:10: style: The function 'deleteArrayLocal' is never used. [unusedFunction]\\n void deleteArrayLocal() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n____________________________ test_atan2_both_zeros _____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:68: in test_atan2_both_zeros\n assert 'atan2(0.0, 0.0)' in result.combined_output\nE AssertionError: assert 'atan2(0.0, 0.0)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_atan2_zeros.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_atan2_zeros.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_atan2_zeros.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_atan2_zeros.c ...\\n', stderr='').combined_output\n__________________ test_printf_positional_param_out_of_range ___________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:277: in test_printf_positional_param_out_of_range\n assert \"referencing parameter 3\" in stderr\nE AssertionError: assert 'referencing parameter 3' in ''\n______________________ test_nan_in_arithmetic_expression _______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part1.py:180: in test_nan_in_arithmetic_expression\n assert 'nanInArithmeticExpression' in output\nE assert 'nanInArithmeticExpression' in \"Checking /tmp/tmp4k821f_3test.c ...\\n/tmp/tmp4k821f_3test.c:2:15: style: Variable 'd1' is assigned a value that is never used. [unreadVariable]\\n double d1 = 1.0 / 0.0 + 100.0; // NaN in arithmetic expression\\n ^\\n/tmp/tmp4k821f_3test.c:3:15: style: Variable 'd2' is assigned a value that is never used. [unreadVariable]\\n double d2 = 1.0 / 0.0 - 50.0; // NaN in arithmetic expression\\n ^\\n\"\n_________________________ test_malloc_delete_mismatch __________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:115: in test_malloc_delete_mismatch\n assert 'mismatchAllocDealloc' in stderr\nE AssertionError: assert 'mismatchAllocDealloc' in ''\n_________________ test_arithmetic_on_void_pointer_subtraction __________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checksizeof_gaps.py:340: in test_arithmetic_on_void_pointer_subtraction\n assert 'arithOperationsOnVoidPointer' in stderr\nE AssertionError: assert 'arithOperationsOnVoidPointer' in '/tmp/tmpnn6_36gm/test.c:4:20: error: Uninitialized variable: ptr [uninitvar]\\n void *result = ptr - 1;\\n ^\\n'\n_________________ test_self_initialization_in_initializer_list _________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps_round2.py:81: in test_self_initialization_in_initializer_list\n assert 'selfInitialization' in output\nE assert 'selfInitialization' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/self_initialization.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/self_initialization.cpp:9:5: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Config(int s) : size(size), capacity(s * 2) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n__________________ test_multidimensional_array_out_of_bounds ___________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:156: in test_multidimensional_array_out_of_bounds\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexOutOfBounds error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 3, got: [\"/tmp/tmpw7lwro6u/test.c:3:11: error: Array 'arr[3][3][4]' accessed at index arr[3][3][0], which is out of bounds. [arrayIndexOutOfBounds]\", ' arr[3][0] = 1; // First dimension out of bounds', ' ^', \"/tmp/tmpw7lwro6u/test.c:3:15: style: Variable 'arr[3][0]' is assigned a value that is never used. [unreadVariable]\", ' arr[3][0] = 1; // First dimension out of bounds', ' ^', \"/tmp/tmpw7lwro6u/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n__________________________ test_scanf_ju_modifier_int __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:315: in test_scanf_ju_modifier_int\n assert \"%ju in format string (no. 1) requires 'uintmax_t *'\" in stderr\nE assert \"%ju in format string (no. 1) requires 'uintmax_t *'\" in ''\n___________________________ test_seek_on_append_mode ___________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:277: in test_seek_on_append_mode\n assert \"Repositioning operation performed on a file opened in append mode has no effect\" in stderr\nE AssertionError: assert 'Repositioning operation performed on a file opened in append mode has no effect' in ''\n______________________ test_nested_scope_dangling_pointer ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:312: in test_nested_scope_dangling_pointer\n assert 'invalidLifetime' in combined\nE assert 'invalidLifetime' in \"Checking /tmp/tmpz1mo95gl/test.cpp ...\\n/tmp/tmpz1mo95gl/test.cpp:3:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n int* p;\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:8:18: error: Uninitialized variable: p [uninitvar]\\n int z = *p;\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:4:13: note: Assuming condition 'true' is false\\n if (true) {\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:8:18: note: Uninitialized variable: p\\n int z = *p;\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:8:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = *p;\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:2:10: style: The function 'nestedScope' is never used. [unusedFunction]\\n void nestedScope() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n____________________________ test_fmod_zero_divisor ____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:87: in test_fmod_zero_divisor\n assert 'fmod(10.5, 0.0)' in result.combined_output\nE AssertionError: assert 'fmod(10.5, 0.0)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_fmod_zero.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_fmod_zero.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_fmod_zero.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_fmod_zero.c ...\\n', stderr='').combined_output\n__________________ test_printf_positional_param_type_mismatch __________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:289: in test_printf_positional_param_type_mismatch\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in ''\n__________________________ test_variadic_func_null_ub __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part1.py:226: in test_variadic_func_null_ub\n assert 'varFuncNullUB' in output\nE AssertionError: assert 'varFuncNullUB' in 'Checking /tmp/tmph_2w2blwtest.c ...\\n/tmp/tmph_2w2blwtest.c:6:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n'\n____________________________ test_new_free_mismatch ____________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:131: in test_new_free_mismatch\n assert 'mismatchAllocDealloc' in stderr\nE AssertionError: assert 'mismatchAllocDealloc' in ''\n__________________ test_arithmetic_on_void_pointer_increment ___________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checksizeof_gaps.py:357: in test_arithmetic_on_void_pointer_increment\n assert 'arithOperationsOnVoidPointer' in stderr\nE AssertionError: assert 'arithOperationsOnVoidPointer' in '/tmp/tmpd4u0izi7/test.c:4:5: error: Uninitialized variable: ptr [uninitvar]\\n ptr++;\\n ^\\n'\n______________ test_virtual_function_call_in_constructor_indirect ______________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps_round2.py:93: in test_virtual_function_call_in_constructor_indirect\n assert 'pureVirtualCall' in output\nE AssertionError: assert 'pureVirtualCall' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/virtual_call_in_ctor_indirect.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'\n__________________________ test_scanf_zu_modifier_int __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:328: in test_scanf_zu_modifier_int\n assert \"%zu in format string (no. 1) requires 'size_t *'\" in stderr\nE assert \"%zu in format string (no. 1) requires 'size_t *'\" in ''\n____________________ test_pointer_arithmetic_out_of_bounds _____________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:176: in test_pointer_arithmetic_out_of_bounds\n assert len(error_lines) == 1, f\"Expected exactly one pointerOutOfBounds error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one pointerOutOfBounds error at line 3, got: [\"/tmp/tmp7dakz82r/test.c:2:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\", ' int arr[10];', ' ^', \"/tmp/tmp7dakz82r/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n__________________ test_format_specifier_unsigned_with_signed __________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:289: in test_format_specifier_unsigned_with_signed\n assert \"%u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'\" in stderr\nE assert \"%u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'\n_____________________ test_return_pointer_to_array_element _____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:333: in test_return_pointer_to_array_element\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmpl8r5ur8i/test.c ...\\n/tmp/tmpl8r5ur8i/test.c:2:10: style: The function 'returnArrayElement' is never used. [unusedFunction]\\n int* returnArrayElement() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_____________________ test_pow_zero_base_negative_exponent _____________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:108: in test_pow_zero_base_negative_exponent\n assert 'pow(0, -1)' in result.combined_output\nE AssertionError: assert 'pow(0, -1)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_pow_zero_negative.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_pow_zero_negative.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_pow_zero_negative.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_pow_zero_negative.c ...\\n', stderr='').combined_output\n______________ test_printf_positional_param_string_type_mismatch _______________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:302: in test_printf_positional_param_string_type_mismatch\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in ''\n__________________________ test_incomplete_array_fill __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part1.py:258: in test_incomplete_array_fill\n assert 'incompleteArrayFill' in output\nE AssertionError: assert 'incompleteArrayFill' in 'Checking /tmp/tmpjgx7r3y0test.c ...\\n'\n_________________________ test_memory_leak_return_path _________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:151: in test_memory_leak_return_path\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''\n_________________________ test_sizeof_pointer_memmove __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checksizeof_gaps.py:410: in test_sizeof_pointer_memmove\n assert 'pointerSize' in stderr\nE AssertionError: assert 'pointerSize' in '/tmp/tmp1iuwuhft/test.c:6:13: error: Uninitialized variable: dst [uninitvar]\\n memmove(dst, src, sizeof(src));\\n ^\\n/tmp/tmp1iuwuhft/test.c:6:18: error: Uninitialized variable: src [uninitvar]\\n memmove(dst, src, sizeof(src));\\n ^\\n'\n__________________ test_memset_on_class_with_reference_member __________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps_round2.py:105: in test_memset_on_class_with_reference_member\n assert 'memsetClassReference' in output\nE assert 'memsetClassReference' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp:10:5: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Config(int& r) : ref(r), value(0) {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp:10:17: style: Parameter 'r' can be declared as reference to const [constParameterReference]\\n Config(int& r) : ref(r), value(0) {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp:12:10: style: The function 'reset' is never used. [unusedFunction]\\n void reset() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_________________________ test_array_index_then_check __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:197: in test_array_index_then_check\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexThenCheck error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexThenCheck error at line 3, got: ['/tmp/tmp9u1r5tdr/test.c:3:9: error: Uninitialized variable: arr [uninitvar]', ' if (arr[i] && i < 10) { // Bad: accessing array before checking bounds', ' ^', \"/tmp/tmp9u1r5tdr/test.c:2:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\", ' int arr[10];', ' ^', \"/tmp/tmp9u1r5tdr/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(int i) {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n__________________________ test_scanf_td_modifier_int __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:341: in test_scanf_td_modifier_int\n assert \"%td in format string (no. 1) requires 'ptrdiff_t *'\" in stderr\nE assert \"%td in format string (no. 1) requires 'ptrdiff_t *'\" in ''\n_____________________ test_format_specifier_float_with_int _____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:301: in test_format_specifier_float_with_int\n assert \"%f in format string (no. 1) requires 'double' but the argument type is 'signed int'\" in stderr\nE assert \"%f in format string (no. 1) requires 'double' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'\n_________________________ test_log1p_invalid_argument __________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:126: in test_log1p_invalid_argument\n assert 'log1p(-1)' in result.combined_output\nE AssertionError: assert 'log1p(-1)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log1p_invalid.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log1p_invalid.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_log1p_invalid.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log1p_invalid.c ...\\n', stderr='').combined_output\n_____________________ test_return_pointer_to_struct_member _____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:384: in test_return_pointer_to_struct_member\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmpzyirhar4/test.cpp ...\\n/tmp/tmpzyirhar4/test.cpp:4:13: style: struct member 'Point::y' is never used. [unusedStructMember]\\n int y;\\n ^\\n/tmp/tmpzyirhar4/test.cpp:6:10: style: The function 'returnStructMember' is never used. [unusedFunction]\\n int* returnStructMember() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n______________________ test_scanf_scanset_width_too_large ______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:315: in test_scanf_scanset_width_too_large\n assert \"Width 20 given in format string (no. 1) is larger than destination buffer\" in stderr\nE AssertionError: assert 'Width 20 given in format string (no. 1) is larger than destination buffer' in ''\n____________________________ test_file_handle_leak _____________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:171: in test_file_handle_leak\n assert 'resourceLeak' in stderr\nE AssertionError: assert 'resourceLeak' in ''\n_____________________ test_clarify_calculation_precedence ______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part1.py:338: in test_clarify_calculation_precedence\n assert normalize_output(normalize_clarify(output)) == normalize_output(normalize_clarify(golden))\nE AssertionError: assert 'int x = a + ... ^' == 'int x = a + ... ^'\nE \nE int x = a + b ? 10 : 20; // clarify calculation - precedence unclear\nE ^\nE int a = 5, b = 3;\nE ^\nE + int a = 5, b = 3;\nE + ^...\nE \nE ...Full output truncated (10 lines hidden), use '-vv' to show\n______________________ test_vector_clear_invalidates_all _______________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:783: in test_vector_clear_invalidates_all\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmp8_dyn0s5/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp8_dyn0s5/test.cpp:8:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = *it;\\n ^\\n/tmp/tmp8_dyn0s5/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_________________________ test_this_subtraction_error __________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps_round2.py:117: in test_this_subtraction_error\n assert 'thisSubtraction' in output\nE assert 'thisSubtraction' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/this_subtraction.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/this_subtraction.cpp:9:9: style: The function 'calculate' is never used. [unusedFunction]\\n int calculate() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_______________________ test_strncpy_not_null_terminated _______________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:219: in test_strncpy_not_null_terminated\n assert len(error_lines) == 1, f\"Expected exactly one terminateStrncpy warning at line 6, got: {lines}\"\nE AssertionError: Expected exactly one terminateStrncpy warning at line 6, got: ['/tmp/tmpxst01jgg/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', \"/tmp/tmpxst01jgg/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 119/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n____________________ test_format_specifier_pointer_with_int ____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:314: in test_format_specifier_pointer_with_int\n assert \"%p in format string (no. 1) requires an address but the argument type is 'signed int'\" in stderr\nE assert \"%p in format string (no. 1) requires an address but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'\n_________________________ test_scanf_I64d_modifier_int _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:354: in test_scanf_I64d_modifier_int\n assert \"%I64d in format string (no. 1) requires '__int64 *'\" in stderr\nE assert \"%I64d in format string (no. 1) requires '__int64 *'\" in ''\n____________________________ test_memset_zero_bytes ____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:150: in test_memset_zero_bytes\n assert result.combined_output == (RESOURCES / 'memset_zero_bytes.golden').read_text()\nE AssertionError: assert 'Checking /wo...ytes\\n ^\\n' == 'Checking /wo...ytes\\n ^\\n'\nE \nE Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_zero_bytes.c ...\nE /workspace/eval/test_resources/test_checkfunctions_gaps/memset_zero_bytes.c:5:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\nE memset(buffer, 0, 0); // Zero bytes\nE ^\nE /workspace/eval/test_resources/test_checkfunctions_gaps/memset_zero_bytes.c:6:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\nE memset(buffer, 'x', 0); // Zero bytes...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n____________________ test_pointer_arithmetic_on_local_array ____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:455: in test_pointer_arithmetic_on_local_array\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmp13axgmfq/test.c ...\\n/tmp/tmp13axgmfq/test.c:2:10: style: The function 'pointerArithmetic' is never used. [unusedFunction]\\n int* pointerArithmetic() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n___________________ test_scanf_scanset_exact_width_boundary ____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:329: in test_scanf_scanset_exact_width_boundary\n assert \"Width 10 given in format string (no. 1) is larger than destination buffer\" in stderr\nE AssertionError: assert 'Width 10 given in format string (no. 1) is larger than destination buffer' in ''\n______________________ test_file_handle_leak_early_return ______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:193: in test_file_handle_leak_early_return\n assert 'resourceLeak' in stderr\nE AssertionError: assert 'resourceLeak' in ''\n______________________ test_redundant_pointer_operations _______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part1.py:362: in test_redundant_pointer_operations\n assert 'redundantPointerOp' in output\nE AssertionError: assert 'redundantPointerOp' in 'Checking /tmp/tmpcpiw71qjtest.c ...\\n'\n________________________ test_vector_at_with_loop_index ________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:833: in test_vector_at_with_loop_index\n assert \"containerOutOfBounds\" in stderr\nE assert 'containerOutOfBounds' in \"/tmp/tmpddb7l7kg/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpddb7l7kg/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n______________ test_missing_destructor_with_copy_and_operator_eq _______________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps_round2.py:129: in test_missing_destructor_with_copy_and_operator_eq\n assert 'noDestructor' in output\nE assert 'noDestructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/copy_and_eq_without_destr.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/copy_and_eq_without_destr.cpp:8:5: style: Class 'Buffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Buffer(int s) : data(new char[s]), size(s) {}\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_________________________ test_negative_array_size_vla _________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:239: in test_negative_array_size_vla\n assert len(error_lines) == 1, f\"Expected exactly one negativeArraySize error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one negativeArraySize error at line 3, got: [\"/tmp/tmpbh316jx4/test.c:4:16: style: Variable 'arr[0]' is assigned a value that is never used. [unreadVariable]\", ' arr[0] = 5;', ' ^', \"/tmp/tmpbh316jx4/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(int n) {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n___________________ test_format_specifier_n_without_pointer ____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:325: in test_format_specifier_n_without_pointer\n assert \"%n in format string (no. 1) requires 'int *' but the argument type is 'signed int'\" in stderr\nE assert \"%n in format string (no. 1) requires 'int *' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'\n_________________________ test_scanf_I64u_modifier_int _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:367: in test_scanf_I64u_modifier_int\n assert \"%I64u in format string (no. 1) requires 'unsigned __int64 *'\" in stderr\nE assert \"%I64u in format string (no. 1) requires 'unsigned __int64 *'\" in ''\n________________________ test_memset_value_out_of_range ________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:163: in test_memset_value_out_of_range\n assert 'memsetValueOutOfRange' in result.combined_output\nE AssertionError: assert 'memsetValueOutOfRange' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_value_range.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_value_range.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/memset_value_range.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_value_range.c ...\\n', stderr='').combined_output\n___________________ test_assign_local_to_reference_parameter ___________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:476: in test_assign_local_to_reference_parameter\n assert 'autoVariables' in combined\nE assert 'autoVariables' in \"Checking /tmp/tmp9w8rx78m/test.cpp ...\\n/tmp/tmp9w8rx78m/test.cpp:2:31: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer]\\n void assignRefParam(int*& ref) {\\n ^\\n/tmp/tmp9w8rx78m/test.cpp:2:10: style: The function 'assignRefParam' is never used. [unusedFunction]\\n void assignRefParam(int*& ref) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_____________________ test_scanf_scanset_no_width_warning ______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:342: in test_scanf_scanset_no_width_warning\n assert \"scanf() without field width limits can crash with huge input data\" in stderr\nE AssertionError: assert 'scanf() without field width limits can crash with huge input data' in ''\n________________________ test_double_free_same_variable ________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:210: in test_double_free_same_variable\n assert 'doubleFree' in stderr\nE AssertionError: assert 'doubleFree' in ''\n________________________ test_shadow_variable_detection ________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part1.py:414: in test_shadow_variable_detection\n assert 'shadowVariable' in output\nE assert 'shadowVariable' in \"Checking /tmp/tmp2ria6gzptest.cpp ...\\n/tmp/tmp2ria6gzptest.cpp:7:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass MyClass {\\n^\\n/tmp/tmp2ria6gzptest.cpp:9:9: style: class member 'MyClass::member' is never used. [unusedStructMember]\\n int member;\\n ^\\n/tmp/tmp2ria6gzptest.cpp:4:16: style: Variable 'global' is assigned a value that is never used. [unreadVariable]\\n int global = 20; // shadows global variable\\n ^\\n/tmp/tmp2ria6gzptest.cpp:12:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = member;\\n ^\\n\"\n_________________________ test_string_cstr_throw_error _________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:857: in test_string_cstr_throw_error\n assert \"stlcstrthrow\" in stderr\nE assert 'stlcstrthrow' in \"/tmp/tmp7ox0q046/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp7ox0q046/test.cpp:4:6: style: The function 'test_throw_string_cstr' is never used. [unusedFunction]\\nvoid test_throw_string_cstr() {\\n ^\\n/tmp/tmp7ox0q046/test.cpp:9:6: style: The function 'test_throw_wstring_cstr' is never used. [unusedFunction]\\nvoid test_throw_wstring_cstr() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_________________ test_virtual_destructor_inconclusive_warning _________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps_round2.py:154: in test_virtual_destructor_inconclusive_warning\n assert 'virtualDestructor' in output\nE assert 'virtualDestructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/virtual_destructor_inconclusive.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/virtual_destructor_inconclusive.cpp:4:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_____________________ test_format_specifier_long_modifiers _____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:336: in test_format_specifier_long_modifiers\n assert \"%ld in format string (no. 1) requires 'long' but the argument type is 'signed int'\" in stderr\nE assert \"%ld in format string (no. 1) requires 'long' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'\n_____________________ test_negative_memory_allocation_new ______________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:259: in test_negative_memory_allocation_new\n assert len(error_lines) == 1, f\"Expected exactly one negativeMemoryAllocationSize warning at line 3, got: {lines}\"\nE AssertionError: Expected exactly one negativeMemoryAllocationSize warning at line 3, got: ['/tmp/tmp_8tx5fn3/test.cpp:5:1: error: Memory leak: arr [memleak]', '}', '^', \"/tmp/tmp_8tx5fn3/test.cpp:3:14: style: Variable 'arr' can be declared as pointer to const [constVariablePointer]\", ' int* arr = new int[n]; // Negative size for new[]', ' ^', \"/tmp/tmp_8tx5fn3/test.cpp:3:18: style: Variable 'arr' is assigned a value that is never used. [unreadVariable]\", ' int* arr = new int[n]; // Negative size for new[]', ' ^', \"/tmp/tmp_8tx5fn3/test.cpp:3:20: style: Variable 'arr' is allocated memory that is never used. [unusedAllocatedMemory]\", ' int* arr = new int[n]; // Negative size for new[]', ' ^', \"/tmp/tmp_8tx5fn3/test.cpp:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(int n) {', ' ^', 'nofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n________________________ test_scanf_I32d_modifier_short ________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:380: in test_scanf_I32d_modifier_short\n assert \"%I32d in format string (no. 1) requires '__int32 *'\" in stderr\nE assert \"%I32d in format string (no. 1) requires '__int32 *'\" in ''\n________________________ test_memset_float_portability _________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:184: in test_memset_float_portability\n assert result.combined_output.count('memsetFloat') == 3\nE AssertionError: assert 0 == 3\nE + where 0 = ('memsetFloat')\nE + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_float.c ...\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_float.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning,portability', '/workspace/eval/test_resources/test_checkfunctions_gaps/memset_float.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_float.c ...\\n', stderr='').combined_output\n___________________ test_printf_n_specifier_missing_address ____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:354: in test_printf_n_specifier_missing_address\n assert \"%n in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%n in format string (no. 1) requires 'int *'\" in ''\n____________________ test_return_reference_through_binding _____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:524: in test_return_reference_through_binding\n assert 'returnReference' in combined\nE assert 'returnReference' in \"Checking /tmp/tmpz35h8_9n/test.cpp ...\\n/tmp/tmpz35h8_9n/test.cpp:2:10: style: The function 'getRef' is never used. [unusedFunction]\\n int& getRef() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_____________________________ test_use_after_free ______________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:228: in test_use_after_free\n assert 'deallocuse' in stderr\nE AssertionError: assert 'deallocuse' in ''\n______________________ test_unreachable_code_after_return ______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part1.py:502: in test_unreachable_code_after_return\n assert 'unreachableCode' in output\nE assert 'unreachableCode' in \"Checking /tmp/tmp9ijqokfztest.c ...\\n/tmp/tmp9ijqokfztest.c:20:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak]\\n return 0; // unreachable after noreturn function\\n ^\\n/tmp/tmp9ijqokfztest.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 5; // unreachable code\\n ^\\n\"\n_______________ test_string_cstr_stringstream_pointer_assignment _______________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:884: in test_string_cstr_stringstream_pointer_assignment\n assert \"stlcstr\" in stderr\nE assert 'stlcstr' in \"/tmp/tmp2zyd8g7l/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp2zyd8g7l/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp2zyd8g7l/test.cpp:8:21: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable]\\n const char* ptr = ss.str().c_str();\\n ^\\n/tmp/tmp2zyd8g7l/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_______________________ test_memset_on_class_with_vtable _______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps_round2.py:167: in test_memset_on_class_with_vtable\n assert 'memsetClass' in output\nE assert 'memsetClass' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp:6:9: style: class member 'Base::value' is never used. [unusedStructMember]\\n int value;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp:8:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp:10:10: style: The function 'reset' is never used. [unusedFunction]\\n void reset() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_________________________ test_format_specifier_size_t _________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:348: in test_format_specifier_size_t\n assert \"%zu in format string (no. 1) requires 'size_t' but the argument type is 'signed int'\" in stderr\nE assert \"%zu in format string (no. 1) requires 'size_t' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'\n__________________________ test_object_index_non_zero __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:279: in test_object_index_non_zero\n assert len(error_lines) == 1, f\"Expected exactly one objectIndex error at line 4, got: {lines}\"\nE AssertionError: Expected exactly one objectIndex error at line 4, got: [\"/tmp/tmpqznl6u9y/test.cpp:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n________________________ test_scanf_I32d_modifier_long _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:393: in test_scanf_I32d_modifier_long\n assert \"%I32d in format string (no. 1) requires '__int32 *'\" in stderr\nE assert \"%I32d in format string (no. 1) requires '__int32 *'\" in ''\n_____________________ test_c99_math_precision_suggestions ______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:202: in test_c99_math_precision_suggestions\n assert result.combined_output.count('unpreciseMathCall') == 4\nE assert 0 == 4\nE + where 0 = ('unpreciseMathCall')\nE + where = \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:5:15: style: Variable 'r1' is assigned a value that is never used. [unreadVariable]\\n double r1 = 1 - erf(x); // Should use erfc\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:6:15: style: Variable 'r2' is assigned a value that is never used. [unreadVariable]\\n double r2 = exp(x) - 1; // Should use expm1\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:7:15: style: Variable 'r3' is assigned a value that is never used. [unreadVariable]\\n double r3 = log(1 + x); // Should use log1p\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:8:15: style: Variable 'r4' is assigned a value that is never used. [unreadVariable]\\n double r4 = log(x + 1); // Should use log1p\\n ^\\n\".count\nE + where \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:5:15: style: Variable 'r1' is assigned a value that is never used. [unreadVariable]\\n double r1 = 1 - erf(x); // Should use erfc\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:6:15: style: Variable 'r2' is assigned a value that is never used. [unreadVariable]\\n double r2 = exp(x) - 1; // Should use expm1\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:7:15: style: Variable 'r3' is assigned a value that is never used. [unreadVariable]\\n double r3 = log(1 + x); // Should use log1p\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:8:15: style: Variable 'r4' is assigned a value that is never used. [unreadVariable]\\n double r4 = log(x + 1); // Should use log1p\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '--std=c99', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:5:15: style: Variable 'r1' is assigned a value that is never used. [unreadVariable]\\n double r1 = 1 - erf(x); // Should use erfc\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:6:15: style: Variable 'r2' is assigned a value that is never used. [unreadVariable]\\n double r2 = exp(x) - 1; // Should use expm1\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:7:15: style: Variable 'r3' is assigned a value that is never used. [unreadVariable]\\n double r3 = log(1 + x); // Should use log1p\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:8:15: style: Variable 'r4' is assigned a value that is never used. [unreadVariable]\\n double r4 = log(x + 1); // Should use log1p\\n ^\\n\").combined_output\n____________ test_printf_n_specifier_multiple_args_missing_address _____________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:367: in test_printf_n_specifier_multiple_args_missing_address\n assert \"%n in format string (no. 2) requires 'int *'\" in stderr\nE assert \"%n in format string (no. 2) requires 'int *'\" in ''\n_______________________ test_conditional_allocation_leak _______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:249: in test_conditional_allocation_leak\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''\n_____________________ test_assign_local_array_to_parameter _____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkautovariables_gaps.py:569: in test_assign_local_array_to_parameter\n assert 'autoVariables' in combined\nE assert 'autoVariables' in \"Checking /tmp/tmpy90wilb1/test.c ...\\n/tmp/tmpy90wilb1/test.c:2:10: style: The function 'assignArray' is never used. [unusedFunction]\\n void assignArray(int** ptr) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_________________ test_comparison_function_identical_variables _________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part1.py:546: in test_comparison_function_identical_variables\n assert 'comparisonFunctionIsAlwaysTrueOrFalse' in output\nE AssertionError: assert 'comparisonFunctionIsAlwaysTrueOrFalse' in 'Checking /tmp/tmpx71x_e5itest.c ...\\n'\n________________ test_string_cstr_assignment_performance_string ________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:908: in test_string_cstr_assignment_performance_string\n assert \"stlcstrAssignment\" in stderr\nE AssertionError: assert 'stlcstrAssignment' in ''\n_______________________ test_memset_on_std_string_member _______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps_round2.py:179: in test_memset_on_std_string_member\n assert 'memsetClass' in output\nE assert 'memsetClass' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp:7:17: style: class member 'Config::name' is never used. [unusedStructMember]\\n std::string name;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp:13:10: style: The function 'reset' is never used. [unusedFunction]\\n void reset() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n___________________ test_format_specifier_char_with_pointer ____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:359: in test_format_specifier_char_with_pointer\n assert \"%c in format string (no. 1) requires 'unsigned int' but the argument type is 'char *'\" in stderr\nE assert \"%c in format string (no. 1) requires 'unsigned int' but the argument type is 'char *'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'\n_________________________ test_scanf_hhd_modifier_int __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:406: in test_scanf_hhd_modifier_int\n assert \"%hhd in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%hhd in format string (no. 1) requires 'char *'\" in ''\n______________________ test_snprintf_buffer_size_mismatch ______________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:321: in test_snprintf_buffer_size_mismatch\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmp4zhb87jq/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmp4zhb87jq/test.c:5:5: error: Buffer is accessed out of bounds: buf [bufferAccessOutOfBounds]', ' snprintf(buf, 20, \"hello world\"); // Size argument exceeds buffer', ' ^', \"/tmp/tmp4zhb87jq/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n______________________ test_sqrt_acos_asin_domain_errors _______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:220: in test_sqrt_acos_asin_domain_errors\n assert result.combined_output.count('invalidFunctionArg') == 3\nE AssertionError: assert 0 == 3\nE + where 0 = ('invalidFunctionArg')\nE + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/invalid_sqrt_acos.c ...\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/invalid_sqrt_acos.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/invalid_sqrt_acos.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/invalid_sqrt_acos.c ...\\n', stderr='').combined_output\n___________________ test_printf_p_specifier_non_pointer_int ____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:380: in test_printf_p_specifier_non_pointer_int\n assert \"%p in format string (no. 1) requires an address\" in stderr\nE AssertionError: assert '%p in format string (no. 1) requires an address' in ''\n____________________________ test_calloc_allocation ____________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:268: in test_calloc_allocation\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''\n______________________ test_unsigned_variable_sign_check _______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkother_part1.py:593: in test_unsigned_variable_sign_check\n assert normalize_output(output) == normalize_output(golden)\nE AssertionError: assert 'test.c:4:11:...\\n ^' == 'test.c:4:11:...\\n ^'\nE \nE + test.c:4:11: style: Condition 'x<0' is always false [knownConditionTrueFalse]\nE + if (x < 0) { // unsigned less than zero - always false\nE + ^\nE + test.c:2:22: note: Assignment 'x=5', assigned value is 5\nE + unsigned int x = 5;\nE + ^...\nE \nE ...Full output truncated (18 lines hidden), use '-vv' to show\n________________________ test_pointer_to_pointer_uninit ________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkuninitvar_gaps.py:683: in test_pointer_to_pointer_uninit\n assert 'error: Uninitialized variable: **pp [uninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: **pp [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:6:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:2:6: style: The function 'test_pointer_to_pointer' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:6:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:2:6: style: The function 'test_pointer_to_pointer' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:6:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:2:6: style: The function 'test_pointer_to_pointer' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr\n________________ test_string_cstr_parameter_passing_performance ________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:936: in test_string_cstr_parameter_passing_performance\n assert \"stlcstrParam\" in stderr\nE AssertionError: assert 'stlcstrParam' in ''\n________________________ test_scanf_hhd_modifier_short _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:419: in test_scanf_hhd_modifier_short\n assert \"%hhd in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%hhd in format string (no. 1) requires 'char *'\" in ''\n__________________________ test_memcpy_buffer_overrun __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:343: in test_memcpy_buffer_overrun\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 6, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 6, got: ['/tmp/tmp3l9hw3hv/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmp3l9hw3hv/test.c:6:5: error: Buffer is accessed out of bounds: dest [bufferAccessOutOfBounds]', ' memcpy(dest, src, 20); // Copy 20 bytes to 5-byte buffer', ' ^', \"/tmp/tmp3l9hw3hv/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n_______________ test_constructor_variable_assignment_performance _______________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps_round2.py:227: in test_constructor_variable_assignment_performance\n assert 'useInitializationList' in output\nE AssertionError: assert 'useInitializationList' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/constructor_variable_assignment.cpp ...\\n'\n____________________ test_width_and_precision_type_mismatch ____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:415: in test_width_and_precision_type_mismatch\n assert \"%s in format string\" in stderr\nE assert '%s in format string' in '/workspace/eval/test_resources/test_checkio_gaps/complex_format.c:7:5: error: sprintf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n sprintf(buf, \"%d %s %f\", x); // Missing 2 args\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/complex_format.c:8:5: error: snprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n snprintf(buf, sizeof(buf), \"%d %d\", x); // Missing 1 arg\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/complex_format.c:13:5: error: fprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n fprintf(f, \"%d %s\", 42); // Missing 1 arg\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/complex_format.c:33:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*d\", value); // Missing width argument\\n ^\\n'\n___________________________ test_alloca_obsolete_c99 ___________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:238: in test_alloca_obsolete_c99\n assert 'allocaCalled' in result.combined_output\nE AssertionError: assert 'allocaCalled' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/alloca_obsolete.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/alloca_obsolete.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '--std=c99', '/workspace/eval/test_resources/test_checkfunctions_gaps/alloca_obsolete.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/alloca_obsolete.c ...\\n', stderr='').combined_output\n_________________ test_printf_p_specifier_non_pointer_literal __________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:393: in test_printf_p_specifier_non_pointer_literal\n assert \"%p in format string (no. 1) requires an address\" in stderr\nE AssertionError: assert '%p in format string (no. 1) requires an address' in ''\n____________________________ test_strdup_allocation ____________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:287: in test_strdup_allocation\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''\n_________________________ test_sizeof_pointer_strncpy __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checksizeof_gaps.py:461: in test_sizeof_pointer_strncpy\n assert 'pointerSize' in stderr\nE assert 'pointerSize' in '/tmp/tmpa6lorpgt/test.c:6:13: error: Uninitialized variable: dest [uninitvar]\\n strncpy(dest, \"hello\", sizeof(dest));\\n ^\\n'\n___________________ test_va_start_wrong_parameter_first_arg ____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkvaarg_gaps.py:47: in test_va_start_wrong_parameter_first_arg\n assert \"'first' given to va_start()\" in result.combined_output\nE assert \"'first' given to va_start()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, first); // Wrong - should be 'third'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, a); // Wrong - should be 'b'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, z); // Correct - z is the last named parameter\\n ^\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, first); // Wrong - should be 'third'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, a); // Wrong - should be 'b'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, z); // Correct - z is the last named parameter\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, first); // Wrong - should be 'third'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, a); // Wrong - should be 'b'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, z); // Correct - z is the last named parameter\\n ^\\n\").combined_output\n_____________________ test_string_cstr_return_performance ______________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:965: in test_string_cstr_return_performance\n assert \"stlcstrReturn\" in stderr\nE assert 'stlcstrReturn' in \"/tmp/tmpynlcebyr/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpynlcebyr/test.cpp:4:13: style: The function 'test_return' is never used. [unusedFunction]\\nstd::string test_return() {\\n ^\\n/tmp/tmpynlcebyr/test.cpp:9:20: style: The function 'test_return_ref' is never used. [unusedFunction]\\nconst std::string& test_return_ref() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n______________________ test_array_argument_size_mismatch _______________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:367: in test_array_argument_size_mismatch\n assert len(error_lines) == 1, f\"Expected exactly one ctuArrayIndex error at line 2, got: {lines}\"\nE AssertionError: Expected exactly one ctuArrayIndex error at line 2, got: [\"/tmp/tmp8p9ck_6z/test.c:5:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n_________________________ test_scanf_hhu_modifier_int __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:432: in test_scanf_hhu_modifier_int\n assert \"%hhu in format string (no. 1) requires 'unsigned char *'\" in stderr\nE assert \"%hhu in format string (no. 1) requires 'unsigned char *'\" in ''\n________________ test_operator_eq_throws_to_prevent_assignment _________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps_round2.py:263: in test_operator_eq_throws_to_prevent_assignment\n assert 'operatorEqShouldBeLeftUnimplemented' in output\nE AssertionError: assert 'operatorEqShouldBeLeftUnimplemented' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_throws_exception.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_throws_exception.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'\n_______________________ test_scanf_length_modifier_short _______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:428: in test_scanf_length_modifier_short\n assert \"%hd in format string (no. 1) requires 'short *' but the argument type is 'signed int *'\" in stderr\nE assert \"%hd in format string (no. 1) requires 'short *' but the argument type is 'signed int *'\" in ''\n_______________________ test_combined_math_domain_errors _______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:255: in test_combined_math_domain_errors\n assert result.combined_output.count('invalidFunctionArg') >= 5\nE assert 4 >= 5\nE + where 4 = ('invalidFunctionArg')\nE + where = \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:5:20: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double a = log(-5);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:6:21: error: Invalid sqrt() argument nr 1. The value is -2 but the valid values are '0.0:'. [invalidFunctionArg]\\n double b = sqrt(-2);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:11:21: error: Invalid acos() argument nr 1. The value is 3 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double g = acos(3);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:12:21: error: Invalid asin() argument nr 1. The value is -2 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double h = asin(-2);\\n ^\\n\".count\nE + where \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:5:20: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double a = log(-5);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:6:21: error: Invalid sqrt() argument nr 1. The value is -2 but the valid values are '0.0:'. [invalidFunctionArg]\\n double b = sqrt(-2);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:11:21: error: Invalid acos() argument nr 1. The value is 3 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double g = acos(3);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:12:21: error: Invalid asin() argument nr 1. The value is -2 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double h = asin(-2);\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:5:20: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double a = log(-5);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:6:21: error: Invalid sqrt() argument nr 1. The value is -2 but the valid values are '0.0:'. [invalidFunctionArg]\\n double b = sqrt(-2);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:11:21: error: Invalid acos() argument nr 1. The value is 3 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double g = acos(3);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:12:21: error: Invalid asin() argument nr 1. The value is -2 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double h = asin(-2);\\n ^\\n\").combined_output\n____________________ test_printf_hh_modifier_short_not_char ____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:406: in test_printf_hh_modifier_short_not_char\n assert \"%hhd in format string (no. 1) requires 'char'\" in stderr\nE assert \"%hhd in format string (no. 1) requires 'char'\" in ''\n__________________ test_class_member_not_freed_in_destructor ___________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:333: in test_class_member_not_freed_in_destructor\n assert 'unsafeClassCanLeak' in stderr\nE AssertionError: assert 'unsafeClassCanLeak' in ''\n_____________________ test_sizeof_calculation_bitwise_xor ______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checksizeof_gaps.py:493: in test_sizeof_calculation_bitwise_xor\n assert 'sizeofCalculation' in stderr\nE AssertionError: assert 'sizeofCalculation' in ''\n______________________ test_va_start_reference_parameter _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkvaarg_gaps.py:73: in test_va_start_reference_parameter\n assert \"Using reference 'ref_param' as parameter for va_start()\" in result.combined_output\nE assert \"Using reference 'ref_param' as parameter for va_start()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, ref_param); // Error - reference parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, normal_param); // OK - normal parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:3:6: style: The function 'func_ref' is never used. [unusedFunction]\\nvoid func_ref(int& ref_param, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:9:6: style: The function 'func_normal' is never used. [unusedFunction]\\nvoid func_normal(int normal_param, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, ref_param); // Error - reference parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, normal_param); // OK - normal parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:3:6: style: The function 'func_ref' is never used. [unusedFunction]\\nvoid func_ref(int& ref_param, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:9:6: style: The function 'func_normal' is never used. [unusedFunction]\\nvoid func_normal(int normal_param, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, ref_param); // Error - reference parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, normal_param); // OK - normal parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:3:6: style: The function 'func_ref' is never used. [unusedFunction]\\nvoid func_ref(int& ref_param, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:9:6: style: The function 'func_normal' is never used. [unusedFunction]\\nvoid func_normal(int normal_param, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output\n___________________ test_string_find_inefficient_comparison ____________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:991: in test_string_find_inefficient_comparison\n assert \"stlIfStrFind\" in stderr\nE AssertionError: assert 'stlIfStrFind' in ''\n_________________________ test_scanf_lld_modifier_int __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:445: in test_scanf_lld_modifier_int\n assert \"%lld in format string (no. 1) requires 'long long *'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long *'\" in ''\n______________________ test_string_literal_out_of_bounds _______________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:387: in test_string_literal_out_of_bounds\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexOutOfBounds error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 3, got: [\"/tmp/tmptotpedvm/test.c:3:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\", ' char c = str[10]; // Beyond string literal', ' ^', \"/tmp/tmptotpedvm/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n_________________ test_virtual_destructor_with_actual_deletion _________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkclass_gaps_round2.py:288: in test_virtual_destructor_with_actual_deletion\n assert 'virtualDestructor' in output\nE assert 'virtualDestructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/base_class_deleted_through_derived.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/base_class_deleted_through_derived.cpp:4:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/base_class_deleted_through_derived.cpp:17:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_______________________ test_scanf_length_modifier_long ________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:439: in test_scanf_length_modifier_long\n assert \"%ld in format string (no. 1) requires 'long *' but the argument type is 'signed int *'\" in stderr\nE assert \"%ld in format string (no. 1) requires 'long *' but the argument type is 'signed int *'\" in ''\n_________________________ test_memset_boundary_values __________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:281: in test_memset_boundary_values\n assert result.combined_output.count('memsetValueOutOfRange') == 2 # 256 and -129\nE AssertionError: assert 0 == 2\nE + where 0 = ('memsetValueOutOfRange')\nE + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:16:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf1, 0, 0); // Zero bytes\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:17:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 0, 0); // Zero bytes for wmemset\\n ^\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:16:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf1, 0, 0); // Zero bytes\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:17:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 0, 0); // Zero bytes for wmemset\\n ^\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c ...\\n', stderr='/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:16:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf1, 0, 0); // Zero bytes\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:17:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 0, 0); // Zero bytes for wmemset\\n ^\\n').combined_output\n_____________________ test_printf_hh_modifier_int_not_char _____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:419: in test_printf_hh_modifier_int_not_char\n assert \"%hhd in format string (no. 1) requires 'char'\" in stderr\nE assert \"%hhd in format string (no. 1) requires 'char'\" in ''\n________________ test_class_member_allocated_in_public_function ________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkmemoryleak_gaps.py:354: in test_class_member_allocated_in_public_function\n assert 'publicAllocationError' in stderr\nE AssertionError: assert 'publicAllocationError' in ''\n_____________________ test_iterator_erase_invalidation_map _____________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:30: in test_iterator_erase_invalidation_map\n assert \"eraseDereference\" in stderr\nE assert 'eraseDereference' in \"/tmp/tmp4rb2fjph/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp4rb2fjph/test.cpp:4:6: style: The function 'test_map_erase_invalidation' is never used. [unusedFunction]\\nvoid test_map_erase_invalidation() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n__________________________ test_va_end_missing_basic ___________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkvaarg_gaps.py:95: in test_va_end_missing_basic\n assert \"va_list 'args' was opened but not closed by va_end()\" in result.combined_output\nE assert \"va_list 'args' was opened but not closed by va_end()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:3:6: style: The function 'func_missing_va_end' is never used. [unusedFunction]\\nvoid func_missing_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:9:6: style: The function 'func_with_va_end' is never used. [unusedFunction]\\nvoid func_with_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:15:6: style: The function 'func_return_without_va_end' is never used. [unusedFunction]\\nvoid func_return_without_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:3:6: style: The function 'func_missing_va_end' is never used. [unusedFunction]\\nvoid func_missing_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:9:6: style: The function 'func_with_va_end' is never used. [unusedFunction]\\nvoid func_with_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:15:6: style: The function 'func_return_without_va_end' is never used. [unusedFunction]\\nvoid func_return_without_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:3:6: style: The function 'func_missing_va_end' is never used. [unusedFunction]\\nvoid func_missing_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:9:6: style: The function 'func_with_va_end' is never used. [unusedFunction]\\nvoid func_with_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:15:6: style: The function 'func_return_without_va_end' is never used. [unusedFunction]\\nvoid func_return_without_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output\n____________________ test_use_stl_algorithm_any_of_pattern _____________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:1019: in test_use_stl_algorithm_any_of_pattern\n assert \"useStlAlgorithm\" in stderr\nE AssertionError: assert 'useStlAlgorithm' in ''\n____________________ test_struct_array_member_out_of_bounds ____________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:410: in test_struct_array_member_out_of_bounds\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexOutOfBounds error at line 7, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 7, got: ['/tmp/tmpm2k3s_51/test.cpp:7:5: error: Uninitialized struct member: s.arr [uninitStructMember]', ' s.arr[10] = 1; // Access array member out of bounds', ' ^', \"/tmp/tmpm2k3s_51/test.cpp:7:15: style: Variable 's.arr[10]' is assigned a value that is never used. [unreadVariable]\", ' s.arr[10] = 1; // Access array member out of bounds', ' ^', \"/tmp/tmpm2k3s_51/test.cpp:6:7: style: Variable 's' is not assigned a value. [unassignedVariable]\", ' S s;', ' ^', \"/tmp/tmpm2k3s_51/test.cpp:5:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n_________________________ test_scanf_lld_modifier_long _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:458: in test_scanf_lld_modifier_long\n assert \"%lld in format string (no. 1) requires 'long long *'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long *'\" in ''\n_____________________ test_scanf_length_modifier_long_long _____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:450: in test_scanf_length_modifier_long_long\n assert \"%lld in format string (no. 1) requires 'long long *' but the argument type is 'signed long *'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long *' but the argument type is 'signed long *'\" in ''\n________________________ test_math_with_const_variables ________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:301: in test_math_with_const_variables\n assert result.combined_output.count('invalidFunctionArg') == 3\nE AssertionError: assert 0 == 3\nE + where 0 = ('invalidFunctionArg')\nE + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_variables.c ...\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_variables.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_variables.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_variables.c ...\\n', stderr='').combined_output\n______________________ test_clangimport_extern_variables _______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_error_handling.py:360: in test_clangimport_extern_variables\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n________________ test_printf_hh_modifier_unsigned_int_not_uchar ________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:432: in test_printf_hh_modifier_unsigned_int_not_uchar\n assert \"%hhu in format string (no. 1) requires 'unsigned char'\" in stderr\nE assert \"%hhu in format string (no. 1) requires 'unsigned char'\" in ''\n__________________________ test_clangimport_do_while ___________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:67: in test_clangimport_do_while\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n___________________ test_iterator_erase_invalidation_vector ____________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:55: in test_iterator_erase_invalidation_vector\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmp1xnlik53/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp1xnlik53/test.cpp:4:6: style: The function 'test_vector_erase_invalidation' is never used. [unusedFunction]\\nvoid test_vector_erase_invalidation() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_______________________ test_va_list_used_before_started _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkvaarg_gaps.py:116: in test_va_list_used_before_started\n assert \"va_list 'args' used before va_start() was called\" in result.combined_output\nE assert \"va_list 'args' used before va_start() was called\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:20: error: Uninitialized variable: args [uninitvar]\\n int x = va_arg(args, int); // Error - used before va_start\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:12:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:19:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used before va_start\\n ...ace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:21:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used after va_end\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:18:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:3:6: style: The function 'func_use_before_start' is never used. [unusedFunction]\\nvoid func_use_before_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:10:6: style: The function 'func_correct_order' is never used. [unusedFunction]\\nvoid func_correct_order(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:17:6: style: The function 'func_use_after_va_end' is never used. [unusedFunction]\\nvoid func_use_after_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:20: error: Uninitialized variable: args [uninitvar]\\n int x = va_arg(args, int); // Error - used before va_start\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:12:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:19:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used before va_start\\n ...ace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:21:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used after va_end\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:18:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:3:6: style: The function 'func_use_before_start' is never used. [unusedFunction]\\nvoid func_use_before_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:10:6: style: The function 'func_correct_order' is never used. [unusedFunction]\\nvoid func_correct_order(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:17:6: style: The function 'func_use_after_va_end' is never used. [unusedFunction]\\nvoid func_use_after_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:20: error: Uninitialized variable: args [uninitvar]\\n int x = va_arg(args, int); // Error - used before va_start\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:12:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:19:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_be...ce/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:21:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used after va_end\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:18:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:3:6: style: The function 'func_use_before_start' is never used. [unusedFunction]\\nvoid func_use_before_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:10:6: style: The function 'func_correct_order' is never used. [unusedFunction]\\nvoid func_correct_order(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:17:6: style: The function 'func_use_after_va_end' is never used. [unusedFunction]\\nvoid func_use_after_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output\n__________________ test_use_stl_algorithm_accumulate_pattern ___________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:1045: in test_use_stl_algorithm_accumulate_pattern\n assert \"useStlAlgorithm\" in stderr\nE AssertionError: assert 'useStlAlgorithm' in ''\n__________________________ test_strcat_buffer_overrun __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:431: in test_strcat_buffer_overrun\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmp2jbwv769/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmp2jbwv769/test.c:5:5: error: Buffer is accessed out of bounds: dest [bufferAccessOutOfBounds]', ' strcat(dest, \"this is a very long string\"); // Overflows dest', ' ^', \"/tmp/tmp2jbwv769/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n________________________ test_scanf_Lf_modifier_double _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:471: in test_scanf_Lf_modifier_double\n assert \"%Lf in format string (no. 1) requires 'long double *'\" in stderr\nE assert \"%Lf in format string (no. 1) requires 'long double *'\" in ''\n______________________ test_scanf_length_modifier_size_t _______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:461: in test_scanf_length_modifier_size_t\n assert \"%zd in format string (no. 1) requires 'ssize_t *' but the argument type is 'signed int *'\" in stderr\nE assert \"%zd in format string (no. 1) requires 'ssize_t *' but the argument type is 'signed int *'\" in ''\n__________________________ test_ignored_return_values __________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkfunctions_gaps.py:325: in test_ignored_return_values\n assert 'leakReturnValNotUsed' in result.combined_output\nE AssertionError: assert 'leakReturnValNotUsed' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:8:5: warning: Return value of function malloc() is not used. [ignoredReturnValue]\\n malloc(100); // Returns pointer (memory leak if not stored)\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:9:5: warning: Return value of function realloc() is not used. [ignoredReturnValue]\\n realloc(NULL, 100); // Returns pointer\\n ^\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:8:5: warning: Return value of function malloc() is not used. [ignoredReturnValue]\\n malloc(100); // Returns pointer (memory leak if not stored)\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:9:5: warning: Return value of function realloc() is not used. [ignoredReturnValue]\\n realloc(NULL, 100); // Returns pointer\\n ^\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c ...\\n', stderr='/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:8:5: warning: Return value of function malloc() is not used. [ignoredReturnValue]\\n malloc(100); // Returns pointer (memory leak if not stored)\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:9:5: warning: Return value of function realloc() is not used. [ignoredReturnValue]\\n realloc(NULL, 100); // Returns pointer\\n ^\\n').combined_output\n__________________ test_printf_ll_modifier_long_not_long_long __________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:445: in test_printf_ll_modifier_long_not_long_long\n assert \"%lld in format string (no. 1) requires 'long long'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long'\" in ''\n_______________________ test_clangimport_const_variables _______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_error_handling.py:395: in test_clangimport_const_variables\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_______________________ test_vector_out_of_bounds_index ________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:78: in test_vector_out_of_bounds_index\n assert \"containerOutOfBounds\" in stderr\nE assert 'containerOutOfBounds' in \"/tmp/tmpw8bbar_l/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpw8bbar_l/test.cpp:6:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = vec[10];\\n ^\\n/tmp/tmpw8bbar_l/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n________________________ test_va_start_subsequent_calls ________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkvaarg_gaps.py:140: in test_va_start_subsequent_calls\n assert \"va_start() or va_copy() called subsequently on 'args'\" in result.combined_output\nE assert \"va_start() or va_copy() called subsequently on 'args'\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:12:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:13:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK - va_copy from va_start'd list\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:20:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_c...;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:11:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:19:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:3:6: style: The function 'func_double_va_start' is never used. [unusedFunction]\\nvoid func_double_va_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:10:6: style: The function 'func_va_start_then_va_copy' is never used. [unusedFunction]\\nvoid func_va_start_then_va_copy(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:18:6: style: The function 'func_va_copy_on_started' is never used. [unusedFunction]\\nvoid func_va_copy_on_started(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:12:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:13:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK - va_copy from va_start'd list\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:20:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_c...;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:11:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:19:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:3:6: style: The function 'func_double_va_start' is never used. [unusedFunction]\\nvoid func_double_va_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:10:6: style: The function 'func_va_start_then_va_copy' is never used. [unusedFunction]\\nvoid func_va_start_then_va_copy(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:18:6: style: The function 'func_va_copy_on_started' is never used. [unusedFunction]\\nvoid func_va_copy_on_started(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:12:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:13:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK - va_copy from va_start'd list\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:20...\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:11:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:19:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:3:6: style: The function 'func_double_va_start' is never used. [unusedFunction]\\nvoid func_double_va_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:10:6: style: The function 'func_va_start_then_va_copy' is never used. [unusedFunction]\\nvoid func_va_start_then_va_copy(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:18:6: style: The function 'func_va_copy_on_started' is never used. [unusedFunction]\\nvoid func_va_copy_on_started(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output\n_______________________ test_clangimport_break_continue ________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:103: in test_clangimport_break_continue\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n__________________ test_use_stl_algorithm_max_element_pattern __________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:1072: in test_use_stl_algorithm_max_element_pattern\n assert \"useStlAlgorithm\" in stderr\nE AssertionError: assert 'useStlAlgorithm' in ''\n_______________________ test_conditional_negative_index ________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:453: in test_conditional_negative_index\n assert len(error_lines) == 1, f\"Expected exactly one negativeIndex warning at line 6, got: {lines}\"\nE AssertionError: Expected exactly one negativeIndex warning at line 6, got: [\"/tmp/tmpn2j1lysa/test.c:4:16: style: Variable 'arr[n]' is assigned a value that is never used. [unreadVariable]\", ' arr[n] = 1; // Safe access', ' ^', \"/tmp/tmpn2j1lysa/test.c:6:12: style: Variable 'arr[n]' is assigned a value that is never used. [unreadVariable]\", ' arr[n] = 2; // Potentially unsafe - n could be negative', ' ^', \"/tmp/tmpn2j1lysa/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(int n) {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n__________________________ test_ftell_on_closed_file ___________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:484: in test_ftell_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE AssertionError: assert '[useClosedFile]' in ''\n_____________________ test_scanf_unsigned_length_modifiers _____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps.py:472: in test_scanf_unsigned_length_modifiers\n assert \"%hu in format string (no. 1) requires 'unsigned short *' but the argument type is 'signed int *'\" in stderr\nE assert \"%hu in format string (no. 1) requires 'unsigned short *' but the argument type is 'signed int *'\" in ''\n___________________________ test_shift_longlong_type ___________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:523: in test_shift_longlong_type\n assert \"shiftTooManyBits\" in output\nE assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_longlong.c ...\\n/workspace/eval/test_resources/test_checktype/shift_longlong.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n__________________ test_printf_ll_modifier_int_not_long_long ___________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:458: in test_printf_ll_modifier_int_not_long_long\n assert \"%lld in format string (no. 1) requires 'long long'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long'\" in ''\n__________________________ test_clangimport_volatile ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_error_handling.py:429: in test_clangimport_volatile\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_________________________ test_vector_out_of_bounds_at _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:101: in test_vector_out_of_bounds_at\n assert \"containerOutOfBounds\" in stderr\nE assert 'containerOutOfBounds' in \"/tmp/tmpvajxr7d2/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpvajxr7d2/test.cpp:6:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = vec.at(10);\\n ^\\n/tmp/tmpvajxr7d2/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_______________________ test_va_copy_source_not_started ________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkvaarg_gaps.py:161: in test_va_copy_source_not_started\n assert \"va_list 'args1' used before va_start() was called\" in result.combined_output\nE assert \"va_list 'args1' used before va_start() was called\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:20: error: Uninitialized variable: args1 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:11:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:12:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK\\n ^\\n/workspace/eval/test_resources/t... args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:4:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:13: style: Variable 'args1' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:3:6: style: The function 'func_va_copy_not_started' is never used. [unusedFunction]\\nvoid func_va_copy_not_started(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:9:6: style: The function 'func_va_copy_correct' is never used. [unusedFunction]\\nvoid func_va_copy_correct(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:20: error: Uninitialized variable: args1 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:11:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:12:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK\\n ^\\n/workspace/eval/test_resources/t... args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:4:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:13: style: Variable 'args1' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:3:6: style: The function 'func_va_copy_not_started' is never used. [unusedFunction]\\nvoid func_va_copy_not_started(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:9:6: style: The function 'func_va_copy_correct' is never used. [unusedFunction]\\nvoid func_va_copy_correct(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:20: error: Uninitialized variable: args1 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:11:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_g...args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:4:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:13: style: Variable 'args1' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:3:6: style: The function 'func_va_copy_not_started' is never used. [unusedFunction]\\nvoid func_va_copy_not_started(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:9:6: style: The function 'func_va_copy_correct' is never used. [unusedFunction]\\nvoid func_va_copy_correct(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output\n_______________________ test_clangimport_cpp_new_delete ________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:139: in test_clangimport_cpp_new_delete\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n________________________ test_find_insert_optimization _________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:1096: in test_find_insert_optimization\n assert \"stlFindInsert\" in stderr\nE AssertionError: assert 'stlFindInsert' in ''\n________________________ test_sprintf_integer_overflow _________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:476: in test_sprintf_integer_overflow\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 6, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 6, got: ['/tmp/tmpwltv0aio/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', \"/tmp/tmpwltv0aio/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n__________________________ test_fseek_on_append_mode ___________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:495: in test_fseek_on_append_mode\n assert \"[seekOnAppendedFile]\" in stderr\nE AssertionError: assert '[seekOnAppendedFile]' in ''\n________________________ test_fread_without_positioning ________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:27: in test_fread_without_positioning\n assert \"[IOWithoutPositioning]\" in stderr\nE AssertionError: assert '[IOWithoutPositioning]' in ''\n_____________________________ test_shift_bool_type _____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:542: in test_shift_bool_type\n assert \"shiftTooManyBits\" in output\nE assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_bool.cpp ...\\n/workspace/eval/test_resources/test_checktype/shift_bool.cpp:3:12: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n bool y = x << 35;\\n ^\\n/workspace/eval/test_resources/test_checktype/shift_bool.cpp:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_______________ test_printf_ll_modifier_unsigned_int_not_ullong ________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_round3.py:471: in test_printf_ll_modifier_unsigned_int_not_ullong\n assert \"%llu in format string (no. 1) requires 'unsigned long long'\" in stderr\nE assert \"%llu in format string (no. 1) requires 'unsigned long long'\" in ''\n_______________________ test_clangimport_inline_function _______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_error_handling.py:461: in test_clangimport_inline_function\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n__________________________ test_string_out_of_bounds ___________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:124: in test_string_out_of_bounds\n assert stderr.count(\"containerOutOfBounds\") == 2\nE assert 0 == 2\nE + where 0 = ('containerOutOfBounds')\nE + where = \"/tmp/tmpsa392fjp/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpsa392fjp/test.cpp:6:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n char c = str[10];\\n ^\\n/tmp/tmpsa392fjp/test.cpp:7:12: style: Variable 'd' is assigned a value that is never used. [unreadVariable]\\n char d = str.at(10);\\n ^\\n/tmp/tmpsa392fjp/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\".count\n______________________ test_va_list_as_function_argument _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkvaarg_gaps.py:181: in test_va_list_as_function_argument\n assert \"va_list 'args' used before va_start() was called\" in result.combined_output\nE assert \"va_list 'args' used before va_start() was called\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:9:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:16:12: error: Uninitialized variable: args [uninitvar]\\n helper(args); // Should be OK per the code - args passed as argument\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // OK - args passed as argument is considered started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:8:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:7:6: style: The function 'func_pass_va_list' is never used. [unusedFunction]\\nvoid func_pass_va_list(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:14:6: style: The function 'func_pass_uninitialized_va_list' is never used. [unusedFunction]\\nvoid func_pass_uninitialized_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:9:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:16:12: error: Uninitialized variable: args [uninitvar]\\n helper(args); // Should be OK per the code - args passed as argument\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // OK - args passed as argument is considered started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:8:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:7:6: style: The function 'func_pass_va_list' is never used. [unusedFunction]\\nvoid func_pass_va_list(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:14:6: style: The function 'func_pass_uninitialized_va_list' is never used. [unusedFunction]\\nvoid func_pass_uninitialized_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:9:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:16:12: error: Uninitialized variable: args [uninitvar]\\n helper(args); // Should be OK per the code - args passed as argument\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // OK - args passed as argument is considered started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:8:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:7:6: style: The function 'func_pass_va_list' is never used. [unusedFunction]\\nvoid func_pass_va_list(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:14:6: style: The function 'func_pass_uninitialized_va_list' is never used. [unusedFunction]\\nvoid func_pass_uninitialized_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output\n_______________________ test_clangimport_cpp_throw_catch _______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:172: in test_clangimport_cpp_throw_catch\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n____________________ test_negative_container_index_literal _____________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:1119: in test_negative_container_index_literal\n assert \"negativeContainerIndex\" in stderr\nE AssertionError: assert 'negativeContainerIndex' in ''\n_________________________ test_strncat_buffer_overrun __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:497: in test_strncat_buffer_overrun\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmpcu4su71f/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmpcu4su71f/test.c:5:5: error: Buffer is accessed out of bounds: dest [bufferAccessOutOfBounds]', ' strncat(dest, \"hello world\", 15); // Trying to append 15 chars to 10-byte buffer', ' ^', \"/tmp/tmpcu4su71f/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n__________________________ test_fseek_on_closed_file ___________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:506: in test_fseek_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE AssertionError: assert '[useClosedFile]' in ''\n_______________________ test_fwrite_without_positioning ________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:39: in test_fwrite_without_positioning\n assert \"[IOWithoutPositioning]\" in stderr\nE AssertionError: assert '[IOWithoutPositioning]' in ''\n_______________________ test_array_element_uninitialized _______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkuninitvar_gaps.py:86: in test_array_element_uninitialized\n assert 'error: Uninitialized variable: arr [legacyUninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: arr [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:13: error: Uninitialized variable: arr [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:3:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:2:6: style: The function 'test_array_element' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:13: error: Uninitialized variable: arr [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:3:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:2:6: style: The function 'test_array_element' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:13: error: Uninitialized variable: arr [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:3:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:2:6: style: The function 'test_array_element' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr\n______________________ test_wide_character_string_compare ______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:324: in test_wide_character_string_compare\n assert \"literalWithCharPtrCompare\" in stderr\nE assert 'literalWithCharPtrCompare' in '/tmp/tmpzahth9w1/test.c:5:9: warning: Unnecessary comparison of static strings. [staticStringCompare]\\n if (wcscmp(L\"hello\", L\"hello\") == 0) {\\n ^\\n'\n___________________________ test_array_out_of_bounds ___________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:147: in test_array_out_of_bounds\n assert \"containerOutOfBounds\" in stderr\nE assert 'containerOutOfBounds' in \"/tmp/tmpyx85xlb5/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpyx85xlb5/test.cpp:6:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = arr[10];\\n ^\\n/tmp/tmpyx85xlb5/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n____________________________ test_va_list_with_goto ____________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkvaarg_gaps.py:198: in test_va_list_with_goto\n assert \"va_list 'args' was opened but not closed by va_end()\" in result.combined_output\nE assert \"va_list 'args' was opened but not closed by va_end()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:13:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:12:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:3:6: style: The function 'func_with_goto' is never used. [unusedFunction]\\nvoid func_with_goto(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:11:6: style: The function 'func_normal_missing' is never used. [unusedFunction]\\nvoid func_normal_missing(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:13:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:12:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:3:6: style: The function 'func_with_goto' is never used. [unusedFunction]\\nvoid func_with_goto(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:11:6: style: The function 'func_normal_missing' is never used. [unusedFunction]\\nvoid func_normal_missing(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:13:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:12:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:3:6: style: The function 'func_with_goto' is never used. [unusedFunction]\\nvoid func_with_goto(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:11:6: style: The function 'func_normal_missing' is never used. [unusedFunction]\\nvoid func_normal_missing(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output\n______________________ test_clangimport_restrict_pointer _______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_error_handling.py:498: in test_clangimport_restrict_pointer\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n______________________ test_clangimport_cpp_this_pointer _______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:208: in test_clangimport_cpp_this_pointer\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n____________________ test_negative_container_index_variable ____________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:1142: in test_negative_container_index_variable\n assert \"negativeContainerIndex\" in stderr\nE AssertionError: assert 'negativeContainerIndex' in ''\n________________________ test_fgets_size_exceeds_buffer ________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:518: in test_fgets_size_exceeds_buffer\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmpi4834zpp/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmpi4834zpp/test.c:5:5: error: Buffer is accessed out of bounds: buf [bufferAccessOutOfBounds]', ' fgets(buf, 20, f); // Size argument exceeds buffer', ' ^', \"/tmp/tmpi4834zpp/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(FILE *f) {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n_____________________________ test_fflush_on_stdin _____________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:517: in test_fflush_on_stdin\n assert \"[fflushOnInputStream]\" in stderr\nE AssertionError: assert '[fflushOnInputStream]' in ''\n_________________ test_conditional_initialization_always_taken _________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkuninitvar_gaps.py:129: in test_conditional_initialization_always_taken\n assert 'Uninitialized variable: x' not in result.stderr\nE AssertionError: assert 'Uninitialized variable: x' not in '/tmp/pytest...ersReport]\\n'\nE \nE 'Uninitialized variable: x' is contained here:\nE /tmp/pytest-of-root/pytest-0/popen-gw3/test_conditional_initializatio2/test.c:7:13: error: Uninitialized variable: x [uninitvar]\nE ? +++++++++++++++++++++++++\nE /tmp/pytest-of-root/pytest-0/popen-gw3/test_conditional_initializatio2/test.c:7:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\nE /tmp/pytest-of-root/pytest-0/popen-gw3/test_conditional_initializatio2/test.c:2:6: style: The function 'test_conditiona...\nE \nE ...Full output truncated (2 lines hidden), use '-vv' to show\n_______________________ test_memcmp_and_wmemcmp_literals _______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:352: in test_memcmp_and_wmemcmp_literals\n assert stderr.count(\"staticStringCompare\") == 2\nE assert 1 == 2\nE + where 1 = ('staticStringCompare')\nE + where = '/tmp/tmpo1vb4xsn/test.c:5:9: warning: Unnecessary comparison of static strings. [staticStringCompare]\\n if (memcmp(\"test\", \"test\", 4) == 0) {\\n ^\\n'.count\n________________________ test_negative_container_index _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:169: in test_negative_container_index\n assert \"negativeContainerIndex\" in stderr\nE assert 'negativeContainerIndex' in \"/tmp/tmpxq49jaxg/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxq49jaxg/test.cpp:6:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = vec[-1];\\n ^\\n/tmp/tmpxq49jaxg/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_______________________ test_va_list_with_break_in_loop ________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkvaarg_gaps.py:218: in test_va_list_with_break_in_loop\n assert 'va_end_missing' in result.combined_output\nE assert 'va_end_missing' in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:16:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:3:6: style: The function 'func_with_break_in_loop' is never used. [unusedFunction]\\nvoid func_with_break_in_loop(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:14:6: style: The function 'func_break_missing_va_end' is never used. [unusedFunction]\\nvoid func_break_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:16:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:3:6: style: The function 'func_with_break_in_loop' is never used. [unusedFunction]\\nvoid func_with_break_in_loop(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:14:6: style: The function 'func_break_missing_va_end' is never used. [unusedFunction]\\nvoid func_break_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:16:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:3:6: style: The function 'func_with_break_in_loop' is never used. [unusedFunction]\\nvoid func_with_break_in_loop(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:14:6: style: The function 'func_break_missing_va_end' is never used. [unusedFunction]\\nvoid func_break_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output\n_________________________ test_template_predefined_gcc _________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errorlogger.py:281: in test_template_predefined_gcc\n assert len(lines) == 1\nE assert 0 == 1\nE + where 0 = len([])\n________________________ test_dereference_end_iterator _________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:1165: in test_dereference_end_iterator\n assert \"derefInvalidIterator\" in stderr\nE AssertionError: assert 'derefInvalidIterator' in ''\n______________________ test_clangimport_cpp_constructors _______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:247: in test_clangimport_cpp_constructors\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_________________________ test_check_version_mismatch __________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cmdlineparser.py:182: in test_check_version_mismatch\n assert result.stdout == (RESOURCES / \"error_check_version_mismatch.golden\").read_text()\nE assert 'cppcheck: er...g_version\".\\n' == 'cppcheck: er.... Aborting.\\n'\nE \nE - cppcheck: error: --check-version check failed. Aborting.\nE + cppcheck: error: unrecognized command line option: \"--check-version=wrong_version\".\n_______________ test_multidimensional_second_dimension_overflow ________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkbufferoverrun_gaps.py:537: in test_multidimensional_second_dimension_overflow\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexOutOfBounds error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 3, got: [\"/tmp/tmpqbqp6obr/test.c:3:11: error: Array 'arr[2][3][4]' accessed at index arr[2][2][5], which is out of bounds. [arrayIndexOutOfBounds]\", ' arr[2][5] = 1; // Second dimension out of bounds', ' ^', \"/tmp/tmpqbqp6obr/test.c:3:15: style: Variable 'arr[2][5]' is assigned a value that is never used. [unreadVariable]\", ' arr[2][5] = 1; // Second dimension out of bounds', ' ^', \"/tmp/tmpqbqp6obr/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])\n________________________ test_fflush_on_read_mode_file _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:529: in test_fflush_on_read_mode_file\n assert \"[fflushOnInputStream]\" in stderr\nE AssertionError: assert '[fflushOnInputStream]' in ''\n________________________ test_malloc_uninitialized_data ________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkuninitvar_gaps.py:166: in test_malloc_uninitialized_data\n assert 'error: Memory is allocated but not initialized: p [uninitdata]' in result.stderr\nE assert 'error: Memory is allocated but not initialized: p [uninitdata]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:3:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:2:6: style: The function 'test_malloc' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:3:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:2:6: style: The function 'test_malloc' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:3:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:2:6: style: The function 'test_malloc' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr\n______________________ test_snprintf_overlapping_buffers _______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:400: in test_snprintf_overlapping_buffers\n assert \"sprintfOverlappingData\" in stderr\nE AssertionError: assert 'sprintfOverlappingData' in ''\n________________________ test_cstr_on_temporary_string _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:193: in test_cstr_on_temporary_string\n assert \"danglingTemporaryLifetime\" in stderr\nE assert 'danglingTemporaryLifetime' in \"/tmp/tmpie_hr1ce/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpie_hr1ce/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpie_hr1ce/test.cpp:7:5: warning: Return value of function strlen() is not used. [ignoredReturnValue]\\n strlen(ptr);\\n ^\\n/tmp/tmpie_hr1ce/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n______________________ test_va_list_with_throw_statement _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkvaarg_gaps.py:237: in test_va_list_with_throw_statement\n assert 'va_end_missing' in result.combined_output\nE assert 'va_end_missing' in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:3:6: style: The function 'func_with_throw' is never used. [unusedFunction]\\nvoid func_with_throw(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:9:6: style: The function 'func_normal_missing_cpp' is never used. [unusedFunction]\\nvoid func_normal_missing_cpp(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:3:6: style: The function 'func_with_throw' is never used. [unusedFunction]\\nvoid func_with_throw(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:9:6: style: The function 'func_normal_missing_cpp' is never used. [unusedFunction]\\nvoid func_normal_missing_cpp(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:3:6: style: The function 'func_with_throw' is never used. [unusedFunction]\\nvoid func_with_throw(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:9:6: style: The function 'func_normal_missing_cpp' is never used. [unusedFunction]\\nvoid func_normal_missing_cpp(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output\n______________________ test_iterator_invalidated_by_clear ______________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:1190: in test_iterator_invalidated_by_clear\n assert \"invalidContainer\" in stderr\nE AssertionError: assert 'invalidContainer' in ''\n_________________________ test_clangimport_cpp_nullptr _________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:279: in test_clangimport_cpp_nullptr\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_____________________________ test_empty_platform ______________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cmdlineparser.py:288: in test_empty_platform\n assert result.stdout == (RESOURCES / \"error_platform_empty.golden\").read_text()\nE assert \"cppcheck: er...atform: ''.\\n\" == 'cppcheck: er... specified.\\n'\nE \nE - cppcheck: error: empty platform specified.\nE + cppcheck: error: unrecognized platform: ''.\n___________________________ test_showtime_mode_empty ___________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cmdlineparser.py:351: in test_showtime_mode_empty\n assert result.stdout == (RESOURCES / \"error_showtime_empty.golden\").read_text()\nE AssertionError: assert 'cppcheck: er...aths given.\\n' == 'cppcheck: er... --showtime\\n'\nE \nE - cppcheck: error: no mode provided for --showtime\nE + cppcheck: error: could not find or open any of the paths given.\n__________________________ test_rewind_on_closed_file __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:540: in test_rewind_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE AssertionError: assert '[useClosedFile]' in ''\n___________________________ test_plist_output_format ___________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errorlogger.py:1043: in test_plist_output_format\n assert len(plist_files) == 1, f\"Expected 1 plist file, got {len(plist_files)}\"\nE AssertionError: Expected 1 plist file, got 0\nE assert 0 == 1\nE + where 0 = len([])\n______________________ test_swprintf_overlapping_buffers _______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:423: in test_swprintf_overlapping_buffers\n assert \"sprintfOverlappingData\" in stderr\nE AssertionError: assert 'sprintfOverlappingData' in ''\n_____________________ test_cstr_after_string_modification ______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:219: in test_cstr_after_string_modification\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmpr92d5evq/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpr92d5evq/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpr92d5evq/test.cpp:9:5: warning: Return value of function strlen() is not used. [ignoredReturnValue]\\n strlen(ptr);\\n ^\\n/tmp/tmpr92d5evq/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n______________________ test_va_list_complex_control_flow _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkvaarg_gaps.py:265: in test_va_list_complex_control_flow\n assert normalize_paths(result.combined_output) == normalize_paths((RESOURCES / 'va_list_complex_control_flow.golden').read_text())\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_complex_control_flow.c ...\nE /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_complex_control_flow.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\nE #include \nE ^\nE + /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_complex_control_flow.c:6:14: error: Uninitialized variable: args1 [uninitvar]\nE + va_start(args1, count);...\nE \nE ...Full output truncated (39 lines hidden), use '-vv' to show\n___________________ test_ternary_operator_with_uninit_branch ___________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkuninitvar_gaps.py:294: in test_ternary_operator_with_uninit_branch\n assert 'error: Uninitialized variable: x [legacyUninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: x [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:20: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:2:6: style: The function 'test_ternary_uninit' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:20: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:2:6: style: The function 'test_ternary_uninit' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:20: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:2:6: style: The function 'test_ternary_uninit' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr\n____________________ test_erase_dereference_same_statement _____________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:1215: in test_erase_dereference_same_statement\n assert \"eraseDereference\" in stderr\nE AssertionError: assert 'eraseDereference' in ''\n_____________________ test_clangimport_cpp_range_based_for _____________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:312: in test_clangimport_cpp_range_based_for\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_______________________ test_project_configuration_empty _______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cmdlineparser.py:324: in test_project_configuration_empty\n assert result.stdout == (RESOURCES / \"error_project_configuration_empty.golden\").read_text()\nE AssertionError: assert 'cppcheck: er...aths given.\\n' == 'cppcheck: er...r is empty.\\n'\nE \nE - cppcheck: error: --project-configuration parameter is empty.\nE + cppcheck: error: could not find or open any of the paths given.\n_______________________ test_tmpfile_without_positioning _______________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:551: in test_tmpfile_without_positioning\n assert \"[IOWithoutPositioning]\" in stderr\nE AssertionError: assert '[IOWithoutPositioning]' in ''\n_________________ test_guideline_and_classification_attributes _________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errorlogger.py:1122: in test_guideline_and_classification_attributes\n assert 'guideline' in uninit_error.attrib, \"guideline attribute missing\"\nE AssertionError: guideline attribute missing\nE assert 'guideline' in {'cwe': '457', 'file0': '/tmp/pytest-of-root/pytest-0/popen-gw4/test_guideline_and_classificat2/guideline_test.c', 'id': 'uninitvar', 'msg': 'Uninitialized variable: x', ...}\nE + where {'cwe': '457', 'file0': '/tmp/pytest-of-root/pytest-0/popen-gw4/test_guideline_and_classificat2/guideline_test.c', 'id': 'uninitvar', 'msg': 'Uninitialized variable: x', ...} = .attrib\n________________________ test_project_with_source_files ________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cmdlineparser.py:421: in test_project_with_source_files\n assert result.stdout == (RESOURCES / \"error_project_with_files.golden\").read_text()\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == 'cppcheck: er...urce files.\\n'\nE \nE - cppcheck: error: --project cannot be used in conjunction with source files.\nE + cppcheck: error: failed to load project '/tmp/tmp3xf5o9s5.json'. The format is unknown.\n___________________________ test_wide_char_plus_char ___________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:443: in test_wide_char_plus_char\n assert \"strPlusChar\" in stderr\nE AssertionError: assert 'strPlusChar' in ''\n_______________________ test_cstr_return_local_variable ________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:242: in test_cstr_return_local_variable\n assert \"returnDanglingLifetime\" in stderr\nE assert 'returnDanglingLifetime' in \"/tmp/tmpk0w8qr7e/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpk0w8qr7e/test.cpp:4:13: style: The function 'get_cstr' is never used. [unusedFunction]\\nconst char* get_cstr() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n________________________ test_va_list_conditional_paths ________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkvaarg_gaps.py:280: in test_va_list_conditional_paths\n assert 'va_list_usedBeforeStarted' in result.combined_output\nE assert 'va_list_usedBeforeStarted' in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:6:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:29:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:5:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:28:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:4:6: style: The function 'func_missing_va_end_in_branch' is never used. [unusedFunction]\\nvoid func_missing_va_end_in_branch(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:15:6: style: The function 'func_va_end_all_branches' is never used. [unusedFunction]\\nvoid func_va_end_all_branches(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:27:6: style: The function 'func_early_return_middle' is never used. [unusedFunction]\\nvoid func_early_return_middle(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:6:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:29:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:5:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:28:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:4:6: style: The function 'func_missing_va_end_in_branch' is never used. [unusedFunction]\\nvoid func_missing_va_end_in_branch(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:15:6: style: The function 'func_va_end_all_branches' is never used. [unusedFunction]\\nvoid func_va_end_all_branches(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:27:6: style: The function 'func_early_return_middle' is never used. [unusedFunction]\\nvoid func_early_return_middle(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:6:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:29:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:5:13: style: Variable 'args' is not assign...\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:28:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:4:6: style: The function 'func_missing_va_end_in_branch' is never used. [unusedFunction]\\nvoid func_missing_va_end_in_branch(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:15:6: style: The function 'func_va_end_all_branches' is never used. [unusedFunction]\\nvoid func_va_end_all_branches(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:27:6: style: The function 'func_early_return_middle' is never used. [unusedFunction]\\nvoid func_early_return_middle(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output\n_______________________ test_while_loop_may_not_execute ________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkuninitvar_gaps.py:316: in test_while_loop_may_not_execute\n assert 'warning: Uninitialized variable: x [uninitvar]' in result.stderr\nE assert 'warning: Uninitialized variable: x [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:8:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:2:6: style: The function 'test_while_maybe_init' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:8:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:2:6: style: The function 'test_while_maybe_init' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:8:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:2:6: style: The function 'test_while_maybe_init' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr\n_________________ test_mismatching_container_iterator_in_erase _________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:1239: in test_mismatching_container_iterator_in_erase\n assert \"mismatchingContainerIterator\" in stderr\nE AssertionError: assert 'mismatchingContainerIterator' in ''\n_______________________ test_clangimport_cpp_static_cast _______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:344: in test_clangimport_cpp_static_cast\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n__________________________ test_relative_paths_empty ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cmdlineparser.py:342: in test_relative_paths_empty\n assert result.stdout == (RESOURCES / \"error_rp_no_paths.golden\").read_text()\nE assert 'cppcheck: er...aths given.\\n' == \"cppcheck: er...p=' option.\\n\"\nE \nE - cppcheck: error: no paths specified for the '-rp=' option.\nE + cppcheck: error: could not find or open any of the paths given.\n_____________________ test_ungetc_after_read_before_write ______________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:562: in test_ungetc_after_read_before_write\n assert \"[IOWithoutPositioning]\" in stderr\nE assert '[IOWithoutPositioning]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'\n__________________________ test_multiple_report_types __________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errorlogger.py:1178: in test_multiple_report_types\n assert 'guideline' in uninit_certc.attrib\nE AssertionError: assert 'guideline' in {'cwe': '457', 'file0': '/tmp/pytest-of-root/pytest-0/popen-gw4/test_multiple_report_types2/report_types.c', 'id': 'uninitvar', 'msg': 'Uninitialized variable: x', ...}\nE + where {'cwe': '457', 'file0': '/tmp/pytest-of-root/pytest-0/popen-gw4/test_multiple_report_types2/report_types.c', 'id': 'uninitvar', 'msg': 'Uninitialized variable: x', ...} = .attrib\n_______________________ test_strcmp_not_operator_overlap _______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:467: in test_strcmp_not_operator_overlap\n assert \"overlappingStrcmp\" in stderr\nE AssertionError: assert 'overlappingStrcmp' in ''\n_________________________ test_multiple_files_analysis _________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cppcheck_core.py:60: in test_multiple_files_analysis\n assert 'memleak' in output # from file2.c\nE assert 'memleak' in \"Checking /workspace/eval/test_resources/test_cppcheck_core/file1.c ...\\n1/3 files checked 26% done\\nChecking /workspace/eval/test_resources/test_cppcheck_core/file2.c ...\\n2/3 files checked 65% done\\nChecking /workspace/eval/test_resources/test_cppcheck_core/file3.cpp ...\\n3/3 files checked 100% done\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: error: Null pointer dereference: p [nullPointer]\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:4:14: note: Assignment 'p=NULL', assigned value is 0\\n int *p = NULL;\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: note: Null pointer dereference\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:10:8: error: Array 'arr[10]' accessed at index 15, which is out of bounds. [arrayIndexOutOfBounds]\\n arr[15] = 0; // Buffer overflow\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:4:10: style: Variable 'data' can be declared as pointer to const [constVariablePointer]\\n int *data = malloc(10 * sizeof(int));\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:4:15: style: Variable 'data' is assigned a value that is never used. [unreadVariable]\\n int *data = malloc(10 * sizeof(int));\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:10:13: style: Variable 'arr[15]' is assigned a value that is never used. [unreadVariable]\\n arr[15] = 0; // Buffer overflow\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file3.cpp:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = v[5]; // Out of bounds access\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:3:6: style: The function 'function1' is never used. [unusedFunction]\\nvoid function1() {\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:8:6: style: The function 'function2' is never used. [unusedFunction]\\nvoid function2() {\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file3.cpp:5:10: style: The function 'method' is never used. [unusedFunction]\\n void method() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_____________________ test_mismatching_container_iterators _____________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:272: in test_mismatching_container_iterators\n assert \"mismatchingContainers\" in stderr\nE assert 'mismatchingContainers' in \"/tmp/tmpw241sfix/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpw241sfix/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_____________________ test_va_list_pointer_and_array_types _____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkvaarg_gaps.py:307: in test_va_list_pointer_and_array_types\n assert 'va_end_missing' in result.combined_output\nE assert 'va_end_missing' in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Variable 'args_ptr' can be declared as pointer to const [constVariablePointer]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Unused variable: args_ptr [unusedVariable]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:11:13: style: Unused variable: args [unusedVariable]\\n va_list args[2];\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:4:6: style: The function 'func_with_va_list_ptr' is never used. [unusedFunction]\\nvoid func_with_va_list_ptr(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:10:6: style: The function 'func_with_va_list_array' is never used. [unusedFunction]\\nvoid func_with_va_list_array(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:16:6: style: The function 'func_normal_va_list' is never used. [unusedFunction]\\nvoid func_normal_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Variable 'args_ptr' can be declared as pointer to const [constVariablePointer]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Unused variable: args_ptr [unusedVariable]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:11:13: style: Unused variable: args [unusedVariable]\\n va_list args[2];\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:4:6: style: The function 'func_with_va_list_ptr' is never used. [unusedFunction]\\nvoid func_with_va_list_ptr(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:10:6: style: The function 'func_with_va_list_array' is never used. [unusedFunction]\\nvoid func_with_va_list_array(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:16:6: style: The function 'func_normal_va_list' is never used. [unusedFunction]\\nvoid func_normal_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Variable 'args_ptr' can be declared as pointer to const [constVariablePointer]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Unused variable: args_ptr [unusedVariable]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:11:13: style: Unused variable: args [unusedVariable]\\n va_list args[2];\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:4:6: style: The function 'func_with_va_list_ptr' is never used. [unusedFunction]\\nvoid func_with_va_list_ptr(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:10:6: style: The function 'func_with_va_list_array' is never used. [unusedFunction]\\nvoid func_with_va_list_array(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:16:6: style: The function 'func_normal_va_list' is never used. [unusedFunction]\\nvoid func_normal_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output\n_______________________ test_nested_struct_member_uninit _______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkuninitvar_gaps.py:393: in test_nested_struct_member_uninit\n assert 'error: Uninitialized variable: obj.inner.value [uninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: obj.inner.value [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:12:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:11:18: style: Variable 'obj' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:10:6: style: The function 'test_nested_struct' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:12:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:11:18: style: Variable 'obj' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:10:6: style: The function 'test_nested_struct' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:12:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:11:18: style: Variable 'obj' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:10:6: style: The function 'test_nested_struct' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr\n__________________ test_mismatching_containers_in_comparison ___________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:1265: in test_mismatching_containers_in_comparison\n assert \"mismatchingContainers\" in stderr\nE AssertionError: assert 'mismatchingContainers' in ''\n____________________ test_clangimport_cpp_operator_overload ____________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:378: in test_clangimport_cpp_operator_overload\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_________________________ test_clearerr_on_closed_file _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:573: in test_clearerr_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'\n________________________ test_rethrow_multiple_catches _________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_exceptionsafety_gaps.py:337: in test_rethrow_multiple_catches\n assert 'rethrowNoCurrentException' in output\nE AssertionError: assert 'rethrowNoCurrentException' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/multiple_catches.cpp ...\\n'\n___________________ test_unequal_string_literal_comparisons ____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:494: in test_unequal_string_literal_comparisons\n assert \"staticStringCompare\" in stderr\nE AssertionError: assert 'staticStringCompare' in ''\n_______________________ test_plist_with_multiple_errors ________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_errorlogger.py:1648: in test_plist_with_multiple_errors\n assert len(plist_files) == 1\nE assert 0 == 1\nE + where 0 = len([])\n___________________ test_mismatching_iterators_in_algorithm ____________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:298: in test_mismatching_iterators_in_algorithm\n assert \"mismatchingContainers\" in stderr\nE assert 'mismatchingContainers' in \"/tmp/tmplvibkfzv/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmplvibkfzv/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmplvibkfzv/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_____________________ test_va_list_with_lambda_expressions _____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkvaarg_gaps.py:326: in test_va_list_with_lambda_expressions\n assert \"va_list 'args' was opened but not closed by va_end()\" in result.combined_output\nE assert \"va_list 'args' was opened but not closed by va_end()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:3:6: style: The function 'func_with_lambda' is never used. [unusedFunction]\\nvoid func_with_lambda(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:16:6: style: The function 'func_lambda_missing_va_end' is never used. [unusedFunction]\\nvoid func_lambda_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:3:6: style: The function 'func_with_lambda' is never used. [unusedFunction]\\nvoid func_with_lambda(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:16:6: style: The function 'func_lambda_missing_va_end' is never used. [unusedFunction]\\nvoid func_lambda_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:3:6: style: The function 'func_with_lambda' is never used. [unusedFunction]\\nvoid func_with_lambda(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:16:6: style: The function 'func_lambda_missing_va_end' is never used. [unusedFunction]\\nvoid func_lambda_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output\n_____________________ test_pointer_to_uninitialized_array ______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkuninitvar_gaps.py:413: in test_pointer_to_uninitialized_array\n assert 'unassignedVariable' in result.stderr\nE assert 'unassignedVariable' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:2:6: style: The function 'test_pointer_to_array' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:2:6: style: The function 'test_pointer_to_array' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:2:6: style: The function 'test_pointer_to_array' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr\n__________________________ test_dump_file_generation ___________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cppcheck_core.py:159: in test_dump_file_generation\n assert '' in dump_content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n__________________ test_invalid_iterator_after_erase_in_loop ___________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:1293: in test_invalid_iterator_after_erase_in_loop\n assert \"invalidContainer\" in stderr\nE AssertionError: assert 'invalidContainer' in ''\n____________________ test_clangimport_cpp_template_function ____________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:411: in test_clangimport_cpp_template_function\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n___________________________ test_feof_on_closed_file ___________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:584: in test_feof_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'\n____________________ test_used_assignment_with_return_value ____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_fwdanalysis.py:99: in test_used_assignment_with_return_value\n assert \"unreadVariable\" not in normalized\nE AssertionError: assert 'unreadVariable' not in '/tmp/test.c...eadVariable]'\nE \nE 'unreadVariable' is contained here:\nE /tmp/test.c:3:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\nE /tmp/test.c:2:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\nE ? ++++++++++++++\n________________________ test_sprintf_with_cast_overlap ________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:516: in test_sprintf_with_cast_overlap\n assert \"sprintfOverlappingData\" in stderr\nE AssertionError: assert 'sprintfOverlappingData' in ''\n________________________ test_destructor_throw_noexcept ________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_exceptionsafety_gaps.py:42: in test_destructor_throw_noexcept\n assert 'exceptThrowInDestructor' in output\nE AssertionError: assert 'exceptThrowInDestructor' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/destructor_throw.cpp ...\\n'\n______________________ test_iterator_from_wrong_container ______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:323: in test_iterator_from_wrong_container\n assert \"mismatchingContainerIterator\" in stderr\nE assert 'mismatchingContainerIterator' in \"/tmp/tmpgtky2eqw/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpgtky2eqw/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_______________________ test_clangimport_basic_function ________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport.py:33: in test_clangimport_basic_function\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_________________________ test_cpp_reference_to_uninit _________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkuninitvar_gaps.py:430: in test_cpp_reference_to_uninit\n assert 'error: Uninitialized variable: ref [uninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: ref [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:4:16: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:2:6: style: The function 'test_reference' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:4:16: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:2:6: style: The function 'test_reference' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:4:16: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:2:6: style: The function 'test_reference' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr\n__________________________ test_syntax_error_handling __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cppcheck_core.py:220: in test_syntax_error_handling\n assert 'syntaxError' in output\nE AssertionError: assert 'syntaxError' in 'Checking /workspace/eval/test_resources/test_cppcheck_core/syntax_error.c ...\\n'\n__________________ test_same_iterator_expression_in_algorithm __________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:1321: in test_same_iterator_expression_in_algorithm\n assert \"sameIteratorExpression\" in stderr\nE AssertionError: assert 'sameIteratorExpression' in ''\n____________________ test_clangimport_cpp_initializer_list _____________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:446: in test_clangimport_cpp_initializer_list\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n__________________________ test_ferror_on_closed_file __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkio_gaps_round2.py:595: in test_ferror_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'\n_____________________ test_sprintf_multiple_format_params ______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:539: in test_sprintf_multiple_format_params\n assert \"sprintfOverlappingData\" in stderr\nE AssertionError: assert 'sprintfOverlappingData' in ''\n_______________________ test_dealloc_throw_inconclusive ________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_exceptionsafety_gaps.py:66: in test_dealloc_throw_inconclusive\n assert 'exceptDeallocThrow' in output\nE AssertionError: assert 'exceptDeallocThrow' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/dealloc_throw2.cpp ...\\n'\n________________________ test_struct_member_assignment _________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_fwdanalysis.py:220: in test_struct_member_assignment\n assert \"s.a\" in normalized\nE assert 's.a' in \"/tmp/test.c:1:23: style: struct member 'S::b' is never used. [unusedStructMember]\"\n________________________ test_find_result_used_as_bool _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:349: in test_find_result_used_as_bool\n assert \"stlIfFind\" in stderr\nE assert 'stlIfFind' in \"/tmp/tmpfei0xl8v/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpfei0xl8v/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpfei0xl8v/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n________________________ test_logical_and_short_circuit ________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkuninitvar_gaps.py:451: in test_logical_and_short_circuit\n assert 'error: Uninitialized variable: x [legacyUninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: x [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:9: style: Condition 'y' is always false [knownConditionTrueFalse]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:14: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:2:6: style: The function 'test_logical_and' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:9: style: Condition 'y' is always false [knownConditionTrueFalse]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:14: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:2:6: style: The function 'test_logical_and' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:9: style: Condition 'y' is always false [knownConditionTrueFalse]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:14: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:2:6: style: The function 'test_logical_and' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr\n________________________ test_clangimport_syntax_error _________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport.py:64: in test_clangimport_syntax_error\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n____________________________ test_suppressions_file ____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cppcheck_core.py:260: in test_suppressions_file\n assert 'nullPointer' not in output\nE AssertionError: assert 'nullPointer' not in 'Checking /w...ce\\n ^\\n'\nE \nE 'nullPointer' is contained here:\nE Checking /workspace/eval/test_resources/test_cppcheck_core/file1.c ...\nE /workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: error: Null pointer dereference: p [nullPointer]\nE ? +++++++++++\nE *p = 5; // Null pointer dereference\nE ^...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n_______________________ test_cstr_same_variable_compare ________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:84: in test_cstr_same_variable_compare\n assert \"stringCompare\" in stderr\nE AssertionError: assert 'stringCompare' in ''\n_______________________ test_clangimport_cpp_member_call _______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:481: in test_clangimport_cpp_member_call\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_________________________ test_basepath_relative_path __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:229: in test_basepath_relative_path\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n___________________________ test_shift_signed_bits_c ___________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:68: in test_shift_signed_bits_c\n assert \"Shifting signed 32-bit value by 31 bits is undefined behaviour\" in output\nE assert 'Shifting signed 32-bit value by 31 bits is undefined behaviour' in \"Checking /workspace/eval/test_resources/test_checktype/shift_signed_31.c ...\\n/workspace/eval/test_resources/test_checktype/shift_signed_31.c:3:15: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned]\\n int y = x << 31;\\n ^\\n/workspace/eval/test_resources/test_checktype/shift_signed_31.c:3:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = x << 31;\\n ^\\n/workspace/eval/test_resources/test_checktype/shift_signed_31.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n______________________________ test_rethrow_copy _______________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_exceptionsafety_gaps.py:84: in test_rethrow_copy\n assert 'exceptRethrowCopy' in output\nE AssertionError: assert 'exceptRethrowCopy' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/rethrow_copy.cpp ...\\n'\n________________________ test_array_element_assignment _________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_fwdanalysis.py:241: in test_array_element_assignment\n assert \"redundantAssignment\" in normalized\nE assert 'redundantAssignment' in \"/tmp/test.c:3:12: style: Variable 'arr[0]' is assigned a value that is never used. [unreadVariable]\\n/tmp/test.c:4:12: style: Variable 'arr[0]' is assigned a value that is never used. [unreadVariable]\"\n______________________ test_string_find_inefficient_check ______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:373: in test_string_find_inefficient_check\n assert \"stlIfStrFind\" in stderr\nE assert 'stlIfStrFind' in \"/tmp/tmp8goghu0o/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp8goghu0o/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n________________________ test_clangimport_cpp_features _________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport.py:105: in test_clangimport_cpp_features\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_______________________ test_self_assignment_with_uninit _______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkuninitvar_gaps.py:563: in test_self_assignment_with_uninit\n assert 'error: Uninitialized variable: x [uninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: x [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Redundant assignment of 'x' to itself. [selfAssignment]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:2:6: style: The function 'test_self_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Redundant assignment of 'x' to itself. [selfAssignment]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:2:6: style: The function 'test_self_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Redundant assignment of 'x' to itself. [selfAssignment]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:2:6: style: The function 'test_self_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr\n___________________________ test_template_gcc_format ___________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cppcheck_core.py:308: in test_template_gcc_format\n assert 'warning:' in output\nE assert 'warning:' in \"Checking /workspace/eval/test_resources/test_cppcheck_core/file1.c ...\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: error: Null pointer dereference: p [nullPointer]\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:4:14: note: Assignment 'p=NULL', assigned value is 0\\n int *p = NULL;\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: note: Null pointer dereference\\n *p = 5; // Null pointer dereference\\n ^\\n\"\n____________________________ test_qt_string_compare ____________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:106: in test_qt_string_compare\n assert \"staticStringCompare\" in stderr\nE AssertionError: assert 'staticStringCompare' in ''\n_____________________ test_clangimport_character_literals ______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:513: in test_clangimport_character_literals\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_________________________ test_basepath_absolute_path __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:243: in test_basepath_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find or open any of the paths given.\nE \nE assert 1 == 0\n________________________ test_catch_exception_by_value _________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_exceptionsafety_gaps.py:104: in test_catch_exception_by_value\n assert 'catchExceptionByValue' in output\nE AssertionError: assert 'catchExceptionByValue' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/catch_by_value.cpp ...\\n'\n_____________________ test_sign_conversion_negative_value ______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:109: in test_sign_conversion_negative_value\n assert \"signConversion\" in output\nE assert 'signConversion' in \"Checking /workspace/eval/test_resources/test_checktype/sign_conversion.c ...\\n/workspace/eval/test_resources/test_checktype/sign_conversion.c:4:20: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n unsigned int z = x * y;\\n ^\\n/workspace/eval/test_resources/test_checktype/sign_conversion.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_________________________ test_map_find_result_as_bool _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:398: in test_map_find_result_as_bool\n assert \"stlIfFind\" in stderr\nE assert 'stlIfFind' in \"/tmp/tmpwzi8h2vh/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpwzi8h2vh/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n___________________________ test_do_while_dead_store ___________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_fwdanalysis.py:309: in test_do_while_dead_store\n assert \"unreadVariable\" in normalized\nE AssertionError: assert 'unreadVariable' in ''\n________________________ test_clangimport_with_include _________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport.py:140: in test_clangimport_with_include\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_______________________ test_compound_assignment_uninit ________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkuninitvar_gaps.py:580: in test_compound_assignment_uninit\n assert 'error: Uninitialized variable: x [legacyUninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: x [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:4:5: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:2:6: style: The function 'test_compound_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:4:5: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:2:6: style: The function 'test_compound_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:4:5: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:2:6: style: The function 'test_compound_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr\n______________________________ test_parallel_jobs ______________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_cppcheck_core.py:328: in test_parallel_jobs\n assert 'memleak' in output\nE assert 'memleak' in \"/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: error: Null pointer dereference: p [nullPointer]\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:4:14: note: Assignment 'p=NULL', assigned value is 0\\n int *p = NULL;\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: note: Null pointer dereference\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:10:8: error: Array 'arr[10]' accessed at index 15, which is out of bounds. [arrayIndexOutOfBounds]\\n arr[15] = 0; // Buffer overflow\\n ^\\n\"\n________________________ test_string_pointer_comparison ________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:133: in test_string_pointer_comparison\n assert \"staticStringCompare\" in stderr\nE assert 'staticStringCompare' in '/tmp/tmpqyig8o9o/test.c:7:13: warning: String literal compared with variable \\'str\\'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare]\\n if (str == \"test\") {\\n ^\\n'\n_______________________ test_clangimport_floating_point ________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:544: in test_clangimport_floating_point\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n__________________________ test_vs_project_local_path __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:253: in test_vs_project_local_path\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'\n_____________________________ test_nothrow_throws ______________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_exceptionsafety_gaps.py:123: in test_nothrow_throws\n assert 'throwInNoexceptFunction' in output\nE AssertionError: assert 'throwInNoexceptFunction' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/nothrow_throws.cpp ...\\n'\n__________________________ test_long_cast_assignment ___________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:130: in test_long_cast_assignment\n assert \"truncLongCastAssignment\" in output\nE assert 'truncLongCastAssignment' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_assign3.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_assign3.c:3:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n______________________ test_find_then_insert_inefficient _______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:422: in test_find_then_insert_inefficient\n assert \"stlFindInsert\" in stderr\nE assert 'stlFindInsert' in \"/tmp/tmp9k2k3g0s/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp9k2k3g0s/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_____________________ test_compound_assignment_dead_store ______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_fwdanalysis.py:368: in test_compound_assignment_dead_store\n assert \"unreadVariable\" in normalized\nE AssertionError: assert 'unreadVariable' in ''\n__________________________ test_clangimport_operators __________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport.py:180: in test_clangimport_operators\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_________________________ test_char_pointer_comparison _________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:152: in test_char_pointer_comparison\n assert \"charLiteralWithCharPtrCompare\" in stderr\nE AssertionError: assert 'charLiteralWithCharPtrCompare' in ''\n______________________ test_multidimensional_array_uninit ______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkuninitvar_gaps.py:631: in test_multidimensional_array_uninit\n assert 'error: Uninitialized variable: arr [legacyUninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: arr [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:2:6: style: The function 'test_array_2d' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:2:6: style: The function 'test_array_2d' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:2:6: style: The function 'test_array_2d' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr\n___________________________ test_clangimport_typedef ___________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:581: in test_clangimport_typedef\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n____________________ test_vs_project_local_path_select_one _____________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:266: in test_vs_project_local_path_select_one\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'\n______________________ test_rethrow_no_current_exception _______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_exceptionsafety_gaps.py:141: in test_rethrow_no_current_exception\n assert 'rethrowNoCurrentException' in output\nE AssertionError: assert 'rethrowNoCurrentException' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/rethrow_no_current.cpp ...\\n'\n________________________________ test_libraries ________________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_dumpfile.py:37: in test_libraries\n assert '' in dump\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n____________________________ test_long_cast_return _____________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:150: in test_long_cast_return\n assert \"truncLongCastReturn\" in output\nE assert 'truncLongCastReturn' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_return.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_return.c:3:11: style: The function 'test' is never used. [unusedFunction]\\nlong long test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n______________________ test_useless_substr_entire_string _______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:445: in test_useless_substr_entire_string\n assert \"uselessCallsSubstr\" in stderr\nE assert 'uselessCallsSubstr' in \"/tmp/tmp9xf1u5sg/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp9xf1u5sg/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_____________________ test_increment_decrement_dead_store ______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_fwdanalysis.py:384: in test_increment_decrement_dead_store\n assert \"unreadVariable\" in normalized\nE AssertionError: assert 'unreadVariable' in ''\n________________________ test_string_literal_as_boolean ________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:199: in test_string_literal_as_boolean\n assert \"incorrectStringBooleanError\" in stderr\nE AssertionError: assert 'incorrectStringBooleanError' in ''\n______________________ test_address_of_then_deref_uninit _______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkuninitvar_gaps.py:665: in test_address_of_then_deref_uninit\n assert 'error: Uninitialized variable: *p [uninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: *p [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:2:6: style: The function 'test_addressof' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:2:6: style: The function 'test_addressof' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:2:6: style: The function 'test_addressof' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr\n________________________ test_clangimport_control_flow _________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport.py:232: in test_clangimport_control_flow\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n___________________________ test_clangimport_sizeof ____________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:610: in test_clangimport_sizeof\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n____________________ test_unhandled_exception_specification ____________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_exceptionsafety_gaps.py:161: in test_unhandled_exception_specification\n assert 'unhandledExceptionSpecification' in output\nE AssertionError: assert 'unhandledExceptionSpecification' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/unhandled_exception_spec.cpp ...\\n'\n________________________ test_float_to_integer_overflow ________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:170: in test_float_to_integer_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_to_int_overflow.c ...\\n/workspace/eval/test_resources/test_checktype/float_to_int_overflow.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = (int)f;\\n ^\\n/workspace/eval/test_resources/test_checktype/float_to_int_overflow.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n________________ test_vs_project_local_path_select_one_multiple ________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:280: in test_vs_project_local_path_select_one_multiple\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'\n_____________________________ test_config_invalid ______________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_lookup.py:826: in test_config_invalid\n assert result.returncode == 1, stdout if stdout else stderr\nE AssertionError: looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\nE looking for '/tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/tempbin/cppcheck.cfg'\nE no configuration found\nE Checking /tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/test.c ...\nE \nE assert 0 == 1\nE + where 0 = CompletedProcess(args=['/tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/tempbin/executable', '--debug-lookup=config', '/tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/test.c'], returncode=0, stdout=b\"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\\nlooking for '/tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/tempbin/cppcheck.cfg'\\nno configuration found\\nChecking /tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/test.c ...\\n\", stderr=b'').returncode\n________________________ test_useless_swap_with_itself _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:468: in test_useless_swap_with_itself\n assert \"uselessCallsSwap\" in stderr\nE assert 'uselessCallsSwap' in \"/tmp/tmp62xga0u8/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp62xga0u8/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_____________________ test_volatile_prevents_optimization ______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_fwdanalysis.py:402: in test_volatile_prevents_optimization\n assert \"unreadVariable\" not in normalized or \"Variable 'x'\" not in normalized\nE assert ('unreadVariable' not in '/tmp/test.c...eadVariable]'\nE \nE 'unreadVariable' is contained here:\nE /tmp/test.c:3:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\nE /tmp/test.c:2:20: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\nE ? ++++++++++++++\nE /tmp/test.c:3:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable] or \"Variable 'x'\" not in '/tmp/test.c...eadVariable]'\nE \nE \"Variable 'x'\" is contained here:\nE /tmp/test.c:3:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\nE /tmp/test.c:2:20: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\nE ? ++++++++++++\nE /tmp/test.c:3:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable])\n_________________________ test_substr_length_mismatch __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:227: in test_substr_length_mismatch\n assert \"incorrectStringCompare\" in stderr\nE AssertionError: assert 'incorrectStringCompare' in ''\n______________________ test_clangimport_switch_statement _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport.py:270: in test_clangimport_switch_statement\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_____________________ test_nested_struct_member_assignment _____________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_fwdanalysis.py:641: in test_nested_struct_member_assignment\n assert \"o.inner.value\" in normalized\nE AssertionError: assert 'o.inner.value' in ''\n_____________________ test_clangimport_compound_assignment _____________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:644: in test_clangimport_compound_assignment\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n______________ test_destructor_try_blocks_and_uncaught_exception _______________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_exceptionsafety_gaps.py:182: in test_destructor_try_blocks_and_uncaught_exception\n assert 'StillBad is not safe, destructor throws exception' in output\nE AssertionError: assert 'StillBad is not safe, destructor throws exception' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/destructor_with_try.cpp ...\\n'\n_________________________ test_shift_conditional_value _________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:190: in test_shift_conditional_value\n assert \"shiftTooManyBits\" in output\nE assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_conditional.c ...\\n/workspace/eval/test_resources/test_checktype/shift_conditional.c:9:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = x << shift_amount;\\n ^\\n/workspace/eval/test_resources/test_checktype/shift_conditional.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test(int n) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n__________________ test_vs_project_local_path_no_analyze_all ___________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:293: in test_vs_project_local_path_no_analyze_all\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'\n______________________ test_useless_remove_without_erase _______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:492: in test_useless_remove_without_erase\n assert \"uselessCallsRemove\" in stderr\nE assert 'uselessCallsRemove' in \"/tmp/tmpjvdetj47/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjvdetj47/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjvdetj47/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_____________________ test_lookup_path[platform-avr8.xml] ______________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_lookup.py:877: in test_lookup_path\n assert result.returncode == 0, stdout if stdout else stderr\nE AssertionError: looking for platform 'avr8.xml'\nE try to load platform file '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/avr8.xml.xml\nE try to load platform file '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/platforms/avr8.xml.xml\nE try to load platform file '/workspace/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/avr8.xml.xml\nE try to load platform file '/workspace/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms/avr8.xml.xml\nE try to load platform file '/usr/local/share/Cppcheck/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/avr8.xml.xml\nE cppcheck: error: unrecognized platform: 'avr8.xml'.\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '--debug-lookup=platform', '--platform=avr8.xml', '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/test.c'], returncode=1, stdout=b\"looking for platform 'avr8.xml'\\ntry to load platform file '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/avr8.xml.xml\\ntry to load platform file '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/platforms/avr8.xml.xml\\ntry to load platform file '/workspace/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/avr8.xml.xml\\ntry to load platform file '/workspace/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms/avr8.xml.xml\\ntry to load platform file '/usr/local/share/Cppcheck/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/avr8.xml.xml\\ncppcheck: error: unrecognized platform: 'avr8.xml'.\\n\", stderr=b'').returncode\n_________________________ test_union_member_assignment _________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_fwdanalysis.py:510: in test_union_member_assignment\n assert \"u.a\" in normalized\nE AssertionError: assert 'u.a' in ''\n_______________________ test_sprintf_overlapping_buffers _______________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:250: in test_sprintf_overlapping_buffers\n assert \"sprintfOverlappingData\" in stderr\nE AssertionError: assert 'sprintfOverlappingData' in ''\n_______________________ test_array_in_struct_assignment ________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_fwdanalysis.py:663: in test_array_in_struct_assignment\n assert \"redundantAssignment\" in normalized\nE assert 'redundantAssignment' in \"/tmp/test.c:4:5: error: Uninitialized struct member: s.arr [uninitStructMember]\\n/tmp/test.c:4:14: style: Variable 's.arr[0]' is assigned a value that is never used. [unreadVariable]\\n/tmp/test.c:5:14: style: Variable 's.arr[0]' is assigned a value that is never used. [unreadVariable]\\n/tmp/test.c:3:14: style: Variable 's' is not assigned a value. [unassignedVariable]\"\n_______________________ test_clangimport_arrays_pointers _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport.py:307: in test_clangimport_arrays_pointers\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_______________________ test_clangimport_unary_operators _______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:679: in test_clangimport_unary_operators\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_____________________ test_integer_overflow_multiplication _____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:211: in test_integer_overflow_multiplication\n assert \"integerOverflow\" in output\nE assert 'integerOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/int_overflow_conditional.c ...\\n/workspace/eval/test_resources/test_checktype/int_overflow_conditional.c:6:11: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n z = x * y;\\n ^\\n/workspace/eval/test_resources/test_checktype/int_overflow_conditional.c:8:11: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n z = 5;\\n ^\\n/workspace/eval/test_resources/test_checktype/int_overflow_conditional.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test(int n) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n__________________ test_rethrow_copy_nested_and_member_access __________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_exceptionsafety_gaps.py:217: in test_rethrow_copy_nested_and_member_access\n assert 'exceptRethrowCopy' in output\nE AssertionError: assert 'exceptRethrowCopy' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/rethrow_copy_complex.cpp ...\\n'\n_______________________ test_redundant_if_before_remove ________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:518: in test_redundant_if_before_remove\n assert \"redundantIfRemove\" in stderr\nE assert 'redundantIfRemove' in \"/tmp/tmpzc9gn1fs/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpzc9gn1fs/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n________________________ test_vs_project_relative_path _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:305: in test_vs_project_relative_path\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n________________________ test_dummy_metrics_xml_report _________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_metrics.py:75: in test_dummy_metrics_xml_report\n assert xml.find(expected) >= 0, f\"Expected metric not found: {expected}\"\nE AssertionError: Expected metric not found: \nE assert -1 >= 0\nE + where -1 = ('')\nE + where = '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ...seWholeProgram\"/>\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'.find\n______________________ test_overlapping_strcmp_conditions ______________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:274: in test_overlapping_strcmp_conditions\n assert \"overlappingStrcmp\" in stderr\nE AssertionError: assert 'overlappingStrcmp' in ''\n_______________________ test_build_dir_jobs_suppressions _______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_inline_suppress.py:541: in test_build_dir_jobs_suppressions\n assert os.path.exists(a1Path)\nE AssertionError: assert False\nE + where False = ('/tmp/pytest-of-root/pytest-0/popen-gw4/test_build_dir_jobs_suppressio2/d.a1')\nE + where = .exists\nE + where = os.path\n___________________________ test_clangimport_structs ___________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport.py:346: in test_clangimport_structs\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_______________________ test_bitwise_compound_assignment _______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_fwdanalysis.py:791: in test_bitwise_compound_assignment\n assert \"unreadVariable\" in normalized\nE AssertionError: assert 'unreadVariable' in ''\n__________________________ test_clangimport_namespace __________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:714: in test_clangimport_namespace\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n________________________ test_long_cast_float_to_double ________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:231: in test_long_cast_float_to_double\n assert \"truncLongCastAssignment\" in output\nE assert 'truncLongCastAssignment' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_float.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_float.c:6:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n double c = a * b;\\n ^\\n/workspace/eval/test_resources/test_checktype/long_cast_float.c:3:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n____________________ test_noexcept_calls_throwing_functions ____________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_exceptionsafety_gaps.py:235: in test_noexcept_calls_throwing_functions\n assert 'throwInNoexceptFunction' in output\nE AssertionError: assert 'throwInNoexceptFunction' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/noexcept_calls_throwing.cpp ...\\n'\n________________________ test_vs_project_absolute_path _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:320: in test_vs_project_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to open project '/workspace/eval/test/cli/helloworld/helloworld.vcxproj'. The file does not exist.\nE \nE assert 1 == 0\n___________________ test_stl_boundaries_less_than_comparison ___________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:545: in test_stl_boundaries_less_than_comparison\n assert \"stlBoundaries\" in stderr\nE assert 'stlBoundaries' in \"/tmp/tmpjfgni3bn/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjfgni3bn/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n__________________________ test_dummy_metrics_stdout ___________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_metrics.py:93: in test_dummy_metrics_stdout\n assert result.stderr.find(expected) >= 0, f\"Expected metric not found: {expected}\"\nE AssertionError: Expected metric not found: \nE assert -1 >= 0\nE + where -1 = ('')\nE + where = '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ...seWholeProgram\"/>\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'.find\nE + where '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ...seWholeProgram\"/>\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n' = CompletedProcess(args=['/workspace/executable', '--addon=/tmp/pytest-of-root/pytest-0/popen-gw1/test_dummy_metrics_stdout2/addon.py', '--xml-version=3', '/tmp/pytest-of-root/pytest-0/popen-gw1/test_dummy_metrics_stdout2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw1/test_dummy_metrics_stdout2/test.c ...\\n', stderr='\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n').stderr\n_______________________ test_string_literal_write_error ________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstring_gaps.py:296: in test_string_literal_write_error\n assert \"stringLiteralWrite\" in stderr\nE AssertionError: assert 'stringLiteralWrite' in ''\n________________________ test_build_dir_unused_template ________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_inline_suppress.py:569: in test_build_dir_unused_template\n assert stdout == ''\nE assert 'cppcheck: er...build-dir\".\\n' == ''\nE \nE + cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\n____________________________ test_clangimport_enums ____________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport.py:384: in test_clangimport_enums\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n________________________ test_shift_compound_assignment ________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_fwdanalysis.py:807: in test_shift_compound_assignment\n assert \"unreadVariable\" in normalized\nE AssertionError: assert 'unreadVariable' in ''\n______________________ test_clangimport_access_specifiers ______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:750: in test_clangimport_access_specifiers\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n____________________________ test_attribute_nothrow ____________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_exceptionsafety_gaps.py:253: in test_attribute_nothrow\n assert 'throwInNoexceptFunction' in output\nE AssertionError: assert 'throwInNoexceptFunction' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/attribute_nothrow.cpp ...\\n'\n____________________________ test_shift_long_64bit _____________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:288: in test_shift_long_64bit\n assert \"shiftTooManyBits\" in output\nE assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_long.c ...\\n/workspace/eval/test_resources/test_checktype/shift_long.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n___________________ test_missing_comparison_extra_increment ____________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:572: in test_missing_comparison_extra_increment\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmpg7p3fp_j/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpg7p3fp_j/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_______________________ test_cppcheck_project_local_path _______________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:332: in test_cppcheck_project_local_path\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'\n_____________________________ test_project_force_U _____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:94: in test_project_force_U\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_force_U2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n__________________________ test_platform_lookup_path ___________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_lookup.py:412: in test_platform_lookup_path\n assert result.returncode == 0, result.stdout if result.stdout else result.stderr\nE AssertionError: looking for platform '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml'\nE try to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\nE try to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\nE try to load platform file '/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\nE try to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\nE try to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\nE cppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml'.\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '--debug-lookup=platform', '--platform=/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.c'], returncode=1, stdout=\"looking for platform '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml'\\ntry to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ntry to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ntry to load platform file '/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ntry to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ntry to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ncppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml'.\\n\", stderr='').returncode\n______________________ test_clangimport_function_pointers ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport.py:420: in test_clangimport_function_pointers\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_____________________ test_unmatched_polyspace_suppression _____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_inline_suppress_polyspace.py:41: in test_unmatched_polyspace_suppression\n assert 'test.c:1:0: information: Unmatched suppression: misra-c2012-8.2 [unmatchedPolyspaceSuppression]' in stderr_lines\nE AssertionError: assert 'test.c:1:0: information: Unmatched suppression: misra-c2012-8.2 [unmatchedPolyspaceSuppression]' in []\n__________________________ test_shared_items_project ___________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:1039: in test_shared_items_project\n exitcode, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_more_projects.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n______________________ test_clangimport_nonexistent_file _______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_error_handling.py:19: in test_clangimport_nonexistent_file\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n____________________________ test_entrypoint_throws ____________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_exceptionsafety_gaps.py:270: in test_entrypoint_throws\n assert 'throwInEntryPoint' in output\nE AssertionError: assert 'throwInEntryPoint' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/entrypoint_throws.cpp ...\\n'\n__________________________ test_float_assign_overflow __________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:307: in test_float_assign_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_assign_overflow.c ...\\n/workspace/eval/test_resources/test_checktype/float_assign_overflow.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = f;\\n ^\\n/workspace/eval/test_resources/test_checktype/float_assign_overflow.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_________________ test_deref_invalid_iterator_after_push_back __________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:597: in test_deref_invalid_iterator_after_push_back\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmpwratd5k0/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpwratd5k0/test.cpp:8:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = *it;\\n ^\\n/tmp/tmpwratd5k0/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_________________________ test_project_custom_platform _________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:140: in test_project_custom_platform\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_custom_platform2/Project.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n_________________ test_cppcheck_project_local_path_analyze_all _________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:377: in test_cppcheck_project_local_path_analyze_all\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'\n__________________________________ test_block __________________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_inline_suppress_polyspace.py:87: in test_block\n assert 'test.c:3:6: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-8.2]' in stderr_lines\nE AssertionError: assert 'test.c:3:6: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-8.2]' in []\n_______________________ test_clangimport_with_clang_path _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport.py:452: in test_clangimport_with_clang_path\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n________________________ test_platform_lookup_absolute _________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_lookup.py:519: in test_platform_lookup_absolute\n assert result.returncode == 0, result.stdout if result.stdout else result.stderr\nE AssertionError: looking for platform '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml'\nE try to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\nE cppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml'.\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '--debug-lookup=platform', '--platform=/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.c'], returncode=1, stdout=\"looking for platform '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml'\\ntry to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ntry to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ntry to load platform file '/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ntry to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ntry to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ncppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml'.\\n\", stderr='').returncode\n___________________________ test_project_file_nested ___________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:1080: in test_project_file_nested\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_file_nested2/level1.cppcheck'. Project files are not supported.\"]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...t supported.']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_file_nested2/level1.cppcheck'. Project files are not supported.\" != 'cppcheck: error: nested Cppcheck GUI projects are not supported.'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: nested Cppcheck GUI projects are not supported.',\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n_____________________ test_clangimport_file_with_warnings ______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_error_handling.py:51: in test_clangimport_file_with_warnings\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n______________________ test_dealloc_throw_static_pointer _______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_exceptionsafety_gaps.py:287: in test_dealloc_throw_static_pointer\n assert 'exceptDeallocThrow' in output\nE AssertionError: assert 'exceptDeallocThrow' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/dealloc_throw_static.cpp ...\\n'\n__________________________ test_float_return_overflow __________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:326: in test_float_return_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_return_overflow.c ...\\n/workspace/eval/test_resources/test_checktype/float_return_overflow.c:1:5: style: The function 'test' is never used. [unusedFunction]\\nint test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n____________________ test_iterator_arithmetic_out_of_bounds ____________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:619: in test_iterator_arithmetic_out_of_bounds\n assert \"containerOutOfBounds\" in stderr\nE assert 'containerOutOfBounds' in \"/tmp/tmp1ysu5dbi/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp1ysu5dbi/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_________________________ test_project_empty_platform __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:155: in test_project_empty_platform\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_empty_platform2/Project.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n_____________________ test_cppcheck_project_relative_path ______________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:390: in test_cppcheck_project_relative_path\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n_________________________ test_clangimport_empty_file __________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport.py:479: in test_clangimport_empty_file\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_______________________ test_lib_lookup_notfound_project _______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_lookup.py:175: in test_lib_lookup_notfound_project\n assert \"looking for library 'none.cfg'\" in lines\nE assert \"looking for library 'none.cfg'\" in [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw4/test_lib_lookup_notfound_proje2/project.cppcheck'. Project files are not supported.\"]\n______________________ test_addon_lookup_notfound_project ______________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_lookup.py:618: in test_addon_lookup_notfound_project\n assert \"looking for addon 'none.py'\" in lines\nE assert \"looking for addon 'none.py'\" in [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_addon_lookup_notfound_pro2/project.cppcheck'. Project files are not supported.\"]\n_________________ test_project_file_no_analyze_all_vs_configs __________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:1099: in test_project_file_no_analyze_all_vs_configs\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_file_no_analyze_a2/project.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n_______________________ test_dealloc_throw_array_delete ________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_exceptionsafety_gaps.py:304: in test_dealloc_throw_array_delete\n assert 'exceptDeallocThrow' in output\nE AssertionError: assert 'exceptDeallocThrow' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/dealloc_throw_array.cpp ...\\n'\n_________________________ test_float_negative_overflow _________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:345: in test_float_negative_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_negative_overflow.c ...\\n/workspace/eval/test_resources/test_checktype/float_negative_overflow.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = (int)f;\\n ^\\n/workspace/eval/test_resources/test_checktype/float_negative_overflow.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_____________________ test_clangimport_complex_expressions _____________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_error_handling.py:80: in test_clangimport_complex_expressions\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n___________________ test_known_empty_container_in_algorithm ____________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:642: in test_known_empty_container_in_algorithm\n assert \"knownEmptyContainer\" in stderr\nE assert 'knownEmptyContainer' in \"/tmp/tmpd8r2jnr8/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpd8r2jnr8/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpd8r2jnr8/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n______________________ test_project_unspecified_platform _______________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:171: in test_project_unspecified_platform\n assert stdout == \"cppcheck: error: unrecognized platform: 'Unspecified'.\\n\"\nE assert 'cppcheck: er... supported.\\n' == \"cppcheck: er...specified'.\\n\"\nE \nE - cppcheck: error: unrecognized platform: 'Unspecified'.\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_unspecified_platf2/Project.cppcheck'. Project files are not supported.\n_____________________ test_cppcheck_project_absolute_path ______________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:406: in test_cppcheck_project_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to open project '/workspace/eval/test/cli/helloworld/helloworld.cppcheck'. The file does not exist.\nE \nE assert 1 == 0\n___________________ test_clangimport_preprocessor_directives ___________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport.py:518: in test_clangimport_preprocessor_directives\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_______________________ test_lib_lookup_notfound_compdb ________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_lookup.py:193: in test_lib_lookup_notfound_compdb\n assert \"looking for library 'none.cfg'\" in lines\nE assert \"looking for library 'none.cfg'\" in [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw4/test_lib_lookup_notfound_compd2/compile_commands.json'. Project files are not supported.\"]\n______________________ test_addon_lookup_notfound_compdb _______________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_lookup.py:631: in test_addon_lookup_notfound_compdb\n assert \"looking for addon 'none.py'\" in lines\nE assert \"looking for addon 'none.py'\" in [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_addon_lookup_notfound_com2/compile_commands.json'. Project files are not supported.\"]\n_______________________ test_project_progress[1-thread] ________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:1135: in test_project_progress\n assert '1/2 files checked 50% done' in stdout\nE assert '1/2 files checked 50% done' in \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_progress_1_thread2/compile_commands.json'. Project files are not supported.\\n\"\n_________________________ test_float_to_char_overflow __________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:364: in test_float_to_char_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_to_char.c ...\\n/workspace/eval/test_resources/test_checktype/float_to_char.c:3:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n char c = (char)f;\\n ^\\n/workspace/eval/test_resources/test_checktype/float_to_char.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_______________________________ test_language_c ________________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_dumpfile.py:50: in test_language_c\n dump_s = (tmp_path / 'test.c.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_c2/test.c.dump'\n______________________ test_clangimport_nested_structures ______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_error_handling.py:120: in test_clangimport_nested_structures\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_____________________ test_known_empty_container_range_for _____________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:665: in test_known_empty_container_range_for\n assert \"knownEmptyContainer\" in stderr\nE assert 'knownEmptyContainer' in \"/tmp/tmpteyojrcw/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpteyojrcw/test.cpp:6:14: style: Unused variable: x [unusedVariable]\\n for (int x : vec) {\\n ^\\n/tmp/tmpteyojrcw/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n________________________ test_project_unknown_platform _________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:186: in test_project_unknown_platform\n assert stdout == \"cppcheck: error: unrecognized platform: 'dummy'.\\n\"\nE assert 'cppcheck: er... supported.\\n' == \"cppcheck: er...m: 'dummy'.\\n\"\nE \nE - cppcheck: error: unrecognized platform: 'dummy'.\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_unknown_platform2/Project.cppcheck'. Project files are not supported.\n______________________ test_suppress_command_line_related ______________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:417: in test_suppress_command_line_related\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n_________________________ test_clangimport_goto_label __________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_advanced.py:33: in test_clangimport_goto_label\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_______________________________ test_file_order ________________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1307: in test_file_order\n assert lines == [\nE AssertionError: assert ['Checking /t...0% done', ...] == ['Checking /t...5% done', ...]\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_order2/a.c ...' != 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_order2/c.c ...'\nE \nE Full diff:\nE [\nE + 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_order2/a.c ...',\nE + '1/4 files checked 0% done',...\nE \nE ...Full output truncated (16 lines hidden), use '-vv' to show\n_______________________ test_project_progress[2-thread] ________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:1135: in test_project_progress\n assert '1/2 files checked 50% done' in stdout\nE assert '1/2 files checked 50% done' in \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_progress_2_thread2/compile_commands.json'. Project files are not supported.\\n\"\n_________________________ test_float_to_short_overflow _________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:383: in test_float_to_short_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_to_short.c ...\\n/workspace/eval/test_resources/test_checktype/float_to_short.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n___________________________ test_language_c_force_c ____________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_dumpfile.py:65: in test_language_c_force_c\n dump_s = (tmp_path / 'test.c.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_c_force_c2/test.c.dump'\n__________________ test_clangimport_function_with_many_params __________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_error_handling.py:150: in test_clangimport_function_with_many_params\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n___________________ test_vector_insert_invalidates_iterators ___________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:709: in test_vector_insert_invalidates_iterators\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmp5wsrzp6z/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp5wsrzp6z/test.cpp:8:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = *it;\\n ^\\n/tmp/tmp5wsrzp6z/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n__________________________ test_project_empty_fields ___________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:276: in test_project_empty_fields\n assert stdout == 'cppcheck: error: no C or C++ source files found.\\n'\nE AssertionError: assert 'cppcheck: er... supported.\\n' == 'cppcheck: er...iles found.\\n'\nE \nE - cppcheck: error: no C or C++ source files found.\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_empty_fields2/Project.cppcheck'. Project files are not supported.\n________________________________ test_filelist _________________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1917: in test_filelist\n lines.remove('{}/{} files checked {}% done'.format(i, len(expected), int(100 * i // len(expected))))\nE ValueError: list.remove(x): x not in list\n_____________________ test_suppress_command_line_absolute ______________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:429: in test_suppress_command_line_absolute\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find or open any of the paths given.\nE \nE assert 1 == 0\n_____________________ test_ignore_file_relative_backslash ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2099: in test_ignore_file_relative_backslash\n __test_ignore_file(tmpdir, 'src\\\\test.cpp')\ntests/test_harvest_other.py:2070: in __test_ignore_file\n assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_file_relative_back2/src/test.cpp ...\nE \nE assert 0 == 1\n_______________________ test_project_progress[2-process] _______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:1135: in test_project_progress\n assert '1/2 files checked 50% done' in stdout\nE assert '1/2 files checked 50% done' in \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_progress_2_proces2/compile_commands.json'. Project files are not supported.\\n\"\n_________________________________ test_markup __________________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1346: in test_markup\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_other.py:223: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: ['Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_1.qml ...', '1/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_2.cpp ...', '2/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_3.qml ...', '3/4 files checked 0% done', ...]\nE assert ['Checking /t...0% done', ...] == ['Checking /t...5% done', ...]\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_1.qml ...' != 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_2.cpp ...'\nE \nE Full diff:\nE [\nE + 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_1.qml '\nE + '...',...\nE \nE ...Full output truncated (22 lines hidden), use '-vv' to show\n________________________ test_sign_conversion_constant _________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:403: in test_sign_conversion_constant\n assert \"signConversion\" in output\nE assert 'signConversion' in \"Checking /workspace/eval/test_resources/test_checktype/sign_conversion_const.c ...\\n/workspace/eval/test_resources/test_checktype/sign_conversion_const.c:3:20: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n unsigned int y = -5 * x;\\n ^\\n/workspace/eval/test_resources/test_checktype/sign_conversion_const.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n__________________________ test_language_c_force_cpp ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_dumpfile.py:80: in test_language_c_force_cpp\n dump_s = (tmp_path / 'test.c.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_c_force_cpp2/test.c.dump'\n______________________ test_clangimport_variadic_function ______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_error_handling.py:187: in test_clangimport_variadic_function\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n______________________ test_string_iterator_after_reserve ______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checkstl_gaps.py:733: in test_string_iterator_after_reserve\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmpzeag3zrn/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpzeag3zrn/test.cpp:8:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n char c = *it;\\n ^\\n/tmp/tmpzeag3zrn/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_______________________ test_project_missing_subproject ________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:288: in test_project_missing_subproject\n assert stdout == \"cppcheck: error: failed to open project '{}/dummy.json'. The file does not exist.\\n\".format(str(tmpdir).replace('\\\\', '/'))\nE AssertionError: assert 'cppcheck: er... supported.\\n' == 'cppcheck: er... not exist.\\n'\nE \nE - cppcheck: error: failed to open project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_missing_subprojec2/dummy.json'. The file does not exist.\nE ? ^^^ ^^^^^ ^^^^ ^^ ^^^ - ^^^^\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_missing_subprojec2/Project.cppcheck'. Project files are not supported.\nE ? + ^^ ^^^^^^^ ^^^^^^^^ ^^^^ ++ ^^^^ +++++++ ^\n________________________________ test_cpp_probe ________________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1955: in test_cpp_probe\n assert lines == []\nE AssertionError: assert ['Defines:', ...tform:native'] == []\nE \nE Left contains 4 more items, first extra item: 'Defines:'\nE \nE Full diff:\nE - []\nE + [\nE + 'Defines:',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n________________________ test_suppress_project_relative ________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:435: in test_suppress_project_relative\n shutil.copytree(os.path.join(SCRIPT_DIR, 'helloworld'), tmp_path / 'helloworld')\n/usr/lib/python3.10/shutil.py:557: in copytree\n with os.scandir(src) as itr:\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'\n________________________________ test_markup_j _________________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1369: in test_markup_j\n assert sorted(lines) == [\nE AssertionError: assert ['1/4 files c...cpp ...', ...] == ['1/4 files c...cpp ...', ...]\nE \nE At index 0 diff: '1/4 files checked 0% done' != '1/4 files checked 25% done'\nE \nE Full diff:\nE [\nE - '1/4 files checked 25% done',\nE ? ^^...\nE \nE ...Full output truncated (21 lines hidden), use '-vv' to show\n_________________ test_ignore_file_relative_wildcard_backslash _________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2107: in test_ignore_file_relative_wildcard_backslash\n __test_ignore_file(tmpdir, 'src\\\\test.c*')\ntests/test_harvest_other.py:2070: in __test_ignore_file\n assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_file_relative_wild3/src/test.cpp ...\nE \nE assert 0 == 1\n____________________________ test_integer_underflow ____________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:423: in test_integer_underflow\n assert \"integerOverflow\" in output\nE assert 'integerOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/int_underflow.c ...\\n/workspace/eval/test_resources/test_checktype/int_underflow.c:3:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = x - 500000000;\\n ^\\n/workspace/eval/test_resources/test_checktype/int_underflow.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n______________________________ test_language_cpp _______________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_dumpfile.py:95: in test_language_cpp\n dump_s = (tmp_path / 'test.cpp.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_cpp2/test.cpp.dump'\n________________________ test_color_non_tty[env0-True] _________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:380: in test_color_non_tty\n assert (__ANSI_BOLD in stderr) == color_expected\nE AssertionError: assert ('\\x1b[1m' in '/tmp/pytest-of-root/pytest-0/popen-gw3/test_color_non_tty_env0_True_2/test.c:1:2: error: #error test [preprocessorErrorDirective]\\n#error test\\n ^\\n') == True\n_______________________________ test_project_std _______________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:315: in test_project_std\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_std2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n__________________________ test_clangimport_bitfields __________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_error_handling.py:225: in test_clangimport_bitfields\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n_______________________________ test_xml_output ________________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2730: in test_xml_output\n assert (stderr_1 ==\nE assert '\\n' == '\\n'\nE \nE \nE \nE \nE \nE - \nE - ...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n________________________ test_suppress_project_absolute ________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:452: in test_suppress_project_absolute\n shutil.copytree(os.path.join(SCRIPT_DIR, 'helloworld'), tmp_path / 'helloworld')\n/usr/lib/python3.10/shutil.py:557: in copytree\n with os.scandir(src) as itr:\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'\n_____________________________ test_config_invalid ______________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1992: in test_config_invalid\n assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_config_invalid2/test.c ...\nE \nE assert 0 == 1\n________________________ test_sign_conversion_division _________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:443: in test_sign_conversion_division\n assert \"signConversion\" in output\nE assert 'signConversion' in \"Checking /workspace/eval/test_resources/test_checktype/sign_conversion_div.c ...\\n/workspace/eval/test_resources/test_checktype/sign_conversion_div.c:4:20: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n unsigned int z = x / y;\\n ^\\n/workspace/eval/test_resources/test_checktype/sign_conversion_div.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_____________________________ test_valueflow_debug _____________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1422: in test_valueflow_debug\n assert stdout == '''##file {}\nE AssertionError: assert '##file /tmp/...i = 0 ;\\n7: }' == '##file /tmp/...n 0 always 0'\nE \nE - ##file /tmp/pytest-of-root/pytest-0/popen-gw4/test_valueflow_debug2/test2.h\nE ? ^ ^\nE + ##file /tmp/pytest-of-root/pytest-0/popen-gw4/test_valueflow_debug2/test_1.cpp\nE ? ^^ ^^^\nE 2: void f2 ( )\nE 3: {...\nE \nE ...Full output truncated (45 lines hidden), use '-vv' to show\n_____________________ test_ignore_path_relative_backslash ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2115: in test_ignore_path_relative_backslash\n __test_ignore_file(tmpdir, 'src\\\\')\ntests/test_harvest_other.py:2070: in __test_ignore_file\n assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_path_relative_back2/src/test.cpp ...\nE \nE assert 0 == 1\n_________________________ test_language_cpp_force_cpp __________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_dumpfile.py:110: in test_language_cpp_force_cpp\n dump_s = (tmp_path / 'test.cpp.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_cpp_force_cpp2/test.cpp.dump'\n____________________ test_project_file_filter[file_filter0] ____________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:383: in test_project_file_filter\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_file_2/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n____________________________ test_clangimport_union ____________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_error_handling.py:261: in test_clangimport_union\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n__________________________ test_color_tty[env1-False] __________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:396: in test_color_tty\n assert (__ANSI_BOLD in stderr) == color_expected\nE AssertionError: assert ('\\x1b[1m' in '\\x1b[1m/tmp/pytest-of-root/pytest-0/popen-gw3/test_color_tty_env1_False_2/test.c:1:2: \\x1b[31merror:\\x1b[39m #error test [preprocessorErrorDirective]\\x1b[0m\\n#error test\\n ^\\n') == False\n_________________________ test_internal_error_loc_int __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2798: in test_internal_error_loc_int\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...ternalError]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_internal_error_loc_int2/test.c:3:13: error: Internal Error. MathLib::toBigUNumber: out_of_range: 0x10000000000000000 [internalError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_internal_error_loc_int2/test.c:3:13: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n_________________________________ test_exclude _________________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:474: in test_exclude\n ret, stdout, _ = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n_______________________ test_checkers_report_misra_json ________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2041: in test_checkers_report_misra_json\n assert '' in stderr\nE assert '' in '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n________________________ test_long_cast_shift_operator _________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:464: in test_long_cast_shift_operator\n assert \"truncLongCastAssignment\" in output\nE assert 'truncLongCastAssignment' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_shift.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_shift.c:3:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n____________________________ test_file_duplicate_2 _____________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1498: in test_file_duplicate_2\n assert lines == [\nE AssertionError: assert ['Checking /t...cked 0% done'] == ['Checking /t...ed 100% done']\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_duplicate_22/a.c ...' != 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_duplicate_22/c.c ...'\nE \nE Full diff:\nE [\nE 'Checking '\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_file_duplicate_22/c.c ...',...\nE \nE ...Full output truncated (16 lines hidden), use '-vv' to show\n__________________________ test_language_cpp_force_c ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_dumpfile.py:125: in test_language_cpp_force_c\n dump_s = (tmp_path / 'test.cpp.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_cpp_force_c2/test.cpp.dump'\n____________________ test_project_file_filter[file_filter1] ____________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:383: in test_project_file_filter\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_file_5/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n_________________ test_ignore_path_relative_wildcard_backslash _________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2123: in test_ignore_path_relative_wildcard_backslash\n __test_ignore_file(tmpdir, 'src*\\\\')\ntests/test_harvest_other.py:2070: in __test_ignore_file\n assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_path_relative_wild3/src/test.cpp ...\nE \nE assert 0 == 1\n___________________ test_clangimport_multidimensional_arrays ___________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_error_handling.py:295: in test_clangimport_multidimensional_arrays\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n________________________________ test_progress _________________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:437: in test_progress\n assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: unrecognized command line option: \"--report-progress=0\".\nE \nE assert 1 == 0\n___________________________ test_addon_suppr_inline ____________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2833: in test_addon_suppr_inline\n __test_addon_suppr(tmp_path, ['--inline-suppr', '-j1'])\ntests/test_harvest_other.py:2824: in __test_addon_suppr\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_inline2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_inline2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n__________________________ test_build_dir_dump_output __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:491: in test_build_dir_dump_output\n run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n________________________ test_ignore_project_2_abspath _________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2317: in test_ignore_project_2_abspath\n __test_ignore_project_2(tmpdir, ['-i$path'], inject_path=True)\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_ignore_project_2_abspath2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw9/test_ignore_project_2_abspath2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n----------------------------- Captured stdout call -----------------------------\n['-i/tmp/pytest-of-root/pytest-0/popen-gw9/test_ignore_project_2_abspath0/src/test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw9/test_ignore_project_2_abspath0/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-i/tmp/pytest-of-root/pytest-0/popen-gw9/test_ignore_project_2_abspath1/src/test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw9/test_ignore_project_2_abspath1/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-i/tmp/pytest-of-root/pytest-0/popen-gw9/test_ignore_project_2_abspath2/src/test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw9/test_ignore_project_2_abspath2/compile_commands.json']\n_________________________ test_shift_win64_long_32bit __________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:484: in test_shift_win64_long_32bit\n assert \"shiftTooManyBits\" in output\nE assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_win64.c ...\\n/workspace/eval/test_resources/test_checktype/shift_win64.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 114/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_______________________________ test_language_h ________________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_dumpfile.py:140: in test_language_h\n dump_s = (tmp_path / 'test.h.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_h2/test.h.dump'\n____________________________ test_file_duplicate_3 _____________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1527: in test_file_duplicate_3\n assert lines == [\nE AssertionError: assert ['Checking /t...cked 0% done'] == ['Checking a.c ...']\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_duplicate_32/a.c ...' != 'Checking a.c ...'\nE Left contains 3 more items, first extra item: '1/2 files checked 0% done'\nE \nE Full diff:\nE [\nE + 'Checking '...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n____________________ test_project_file_filter[file_filter2] ____________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:383: in test_project_file_filter\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_file_8/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n___________________ test_clangimport_static_local_variables ____________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_clangimport_error_handling.py:328: in test_clangimport_static_local_variables\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'\n___________________________ test_ignore_project_file ___________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2178: in test_ignore_project_file\n __test_ignore_project(tmpdir, 'test.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n_______________________________ test_progress_j ________________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:470: in test_progress_j\n assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: unrecognized command line option: \"--report-progress=0\".\nE \nE assert 1 == 0\n__________________________ test_addon_suppr_inline_j ___________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2839: in test_addon_suppr_inline_j\n __test_addon_suppr(tmp_path, ['--inline-suppr', '-j2'])\ntests/test_harvest_other.py:2824: in __test_addon_suppr\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_inline_j2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_inline_j2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n_____________________________ test_checkers_report _____________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:508: in test_checkers_report\n run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n________________________ test_builddir_hash_check_level ________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2373: in test_builddir_hash_check_level\n assert stderr == '{}:0:0: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...axBranches]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw9/test_builddir_hash_check_level2/test.c:0:0: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches]\n____________________ test_long_cast_return_float_to_double _____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_checktype_gaps.py:504: in test_long_cast_return_float_to_double\n assert \"truncLongCastReturn\" in output\nE assert 'truncLongCastReturn' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_return_float.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_return_float.c:3:8: style: The function 'test' is never used. [unusedFunction]\\ndouble test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n___________________________ test_language_h_force_c ____________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_dumpfile.py:155: in test_language_h_force_c\n dump_s = (tmp_path / 'test.h.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_h_force_c2/test.h.dump'\n____________________ test_project_file_filter[file_filter3] ____________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:383: in test_project_file_filter\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_file_11/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n________________________ test_addon_json_invalid_no_obj ________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1613: in test_addon_json_invalid_no_obj\n __test_addon_json_invalid(tmpdir, json.dumps([]), \"JSON is not an object.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1\n_______________________ test_active_unusedfunction_only ________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:4373: in test_active_unusedfunction_only\n __test_active_checkers(tmp_path, 1, 186, use_unusedfunction_only=True)\ntests/test_harvest_other.py:4356: in __test_active_checkers\n assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\nE \nE assert 1 == 0\n_____________________ test_ignore_project_file_cli_prepend _____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2182: in test_ignore_project_file_cli_prepend\n __test_ignore_project(tmpdir, ign_proj='test2.cpp', ign_cli='test.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_cli_p2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_cli_p2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n______________________ test_execute_addon_failure_py_auto ______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:487: in test_execute_addon_failure_py_auto\n assert stderr == '{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to auto detect python [internalError]\\n\\n^\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw3/test_execute_addon_failure_py_2/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to auto detect python [internalError]\nE - \nE - ^\n_________________________ test_missing_include_system __________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:534: in test_missing_include_system\n _, _, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n__________________________ test_addon_suppr_cli_line ___________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2843: in test_addon_suppr_cli_line\n __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:*:3'])\ntests/test_harvest_other.py:2824: in __test_addon_suppr\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_line2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_line2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n________________________________ test_def_undef ________________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2416: in test_def_undef\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...nullPointer]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_def_undef2/test.c:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw9/test_def_undef2/test.c:5:14: '\nE - 'error: Null pointer dereference: (int*)0 [nullPointer]',\nE - ]\n___________________ test_execute_addon_failure_json_notexist ___________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:524: in test_execute_addon_failure_json_notexist\n assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is {} [internalError]\\n\\n^\\n\".format(test_file, ec)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_execute_addon_failure_jso2/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is 127 [internalError]\nE - \nE - ^\n__________________________ test_language_h_force_cpp ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_dumpfile.py:170: in test_language_h_force_cpp\n dump_s = (tmp_path / 'test.h.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_h_force_cpp2/test.h.dump'\n__________________ test_project_file_filter_cpp[file_filter0] __________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:414: in test_project_file_filter_cpp\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_cpp_f2/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n________________________ test_addon_json_invalid_args_1 ________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1617: in test_addon_json_invalid_args_1\n __test_addon_json_invalid(tmpdir, json.dumps({'args':0}), \"'args' must be an array.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1\n___________________ test_active_unusedfunction_only_builddir ___________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:4380: in test_active_unusedfunction_only_builddir\n __test_active_checkers(tmp_path, 1, 186, use_unusedfunction_only=True, checkers_exp=checkers_exp)\ntests/test_harvest_other.py:4358: in __test_active_checkers\n assert stderr.splitlines() == [\nE AssertionError: assert ['nofile:0:0:...sReport]', ''] == ['nofile:0:0:...sReport]', '']\nE \nE At index 0 diff: 'nofile:0:0: information: Active checkers: 41/186 (use --checkers-report= to see details) [checkersReport]' != 'nofile:0:0: information: Active checkers: 1/186 (use --checkers-report= to see details) [checkersReport]'\nE \nE Full diff:\nE [\nE - 'nofile:0:0: information: Active checkers: 1/186 (use '\nE + 'nofile:0:0: information: Active checkers: 41/186 (use '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n_____________________ test_ignore_project_file_cli_append ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2186: in test_ignore_project_file_cli_append\n __test_ignore_project(tmpdir, ign_proj='test2.cpp', ign_cli='test.cpp', append_cli=True)\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_cli_a2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_cli_a2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n____________________ test_execute_addon_failure_py_notexist ____________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:502: in test_execute_addon_failure_py_notexist\n assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'naming' - exitcode is {} [internalError]\\n\\n^\\n\".format(test_file, ec)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw3/test_execute_addon_failure_py_5/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'naming' - exitcode is 127 [internalError]\nE - \nE - ^\n__________________________________ test_sarif __________________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:544: in test_sarif\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n________________________ test_addon_suppr_cli_file_line ________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2847: in test_addon_suppr_cli_file_line\n __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:test.c:3'])\ntests/test_harvest_other.py:2824: in __test_addon_suppr\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_file_line2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_file_line2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n__________________________________ test_undef __________________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2507: in test_undef\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...nullPointer]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_undef2/test.c:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw9/test_undef2/test.c:5:14: error: '\nE - 'Null pointer dereference: (int*)0 [nullPointer]',\nE - ]\n_________________ test_execute_addon_failure_json_ctu_notexist _________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:578: in test_execute_addon_failure_json_ctu_notexist\n assert stderr.splitlines() == [\nE assert [] == ['/tmp/pytest...ternalError]']\nE \nE Right contains 2 more items, first extra item: \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_execute_addon_failure_jso5/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is 127 [internalError]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw6/test_execute_addon_failure_jso5/test.cpp:0:0: '...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n__________________ test_project_file_filter_cpp[file_filter1] __________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:414: in test_project_file_filter_cpp\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_cpp_f5/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n______________________________ test_language_unk _______________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_dumpfile.py:185: in test_language_unk\n dump_s = (tmp_path / 'test.src.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_unk2/test.src.dump'\n____________________ test_active_unusedfunction_only_misra _____________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:4384: in test_active_unusedfunction_only_misra\n __test_active_checkers(tmp_path, 1, 386, use_unusedfunction_only=True, use_misra=True)\ntests/test_harvest_other.py:4356: in __test_active_checkers\n assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\nE \nE assert 1 == 0\n________________________ test_addon_json_invalid_args_2 ________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1621: in test_addon_json_invalid_args_2\n __test_addon_json_invalid(tmpdir, json.dumps({'args':[0]}), \"'args' entry is not a string.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1\n____________________ test_ignore_project_file_wildcard_back ____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2190: in test_ignore_project_file_wildcard_back\n __test_ignore_project(tmpdir, 'test.c*')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_wildc2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_wildc2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n_______________________ test_suppress_unmatched_wildcard _______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3615: in test_suppress_unmatched_wildcard\n assert stderr.splitlines() == [\nE AssertionError: assert ['test*.c:-1:...ession]', ...] == ['test*.c:-1:...Suppression]']\nE \nE At index 0 diff: 'test*.c:-1:0: information: Unmatched suppression: nullPointer [unmatchedSuppression]' != 'test*.c:-1:0: information: Unmatched suppression: id [unmatchedSuppression]'\nE Left contains 4 more items, first extra item: 'tes?.c:-1:0: information: Unmatched suppression: id2 [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'test*.c:-1:0: information: Unmatched suppression: nullPointer '...\nE \nE ...Full output truncated (14 lines hidden), use '-vv' to show\n___________________________ test_xml_checkers_report ___________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:567: in test_xml_checkers_report\n assert exitcode == 0\nE assert 1 == 0\n______________________ test_addon_suppr_cli_absfile_line _______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2852: in test_addon_suppr_cli_absfile_line\n __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:{}:3'.format(test_file)])\ntests/test_harvest_other.py:2824: in __test_addon_suppr\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_absfile_l2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_absfile_l2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n______________________ test_inline_suppr_builddir_cached _______________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\n[XPASS(strict)] \n___________________________ test_execute_addon_file0 ___________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:592: in test_execute_addon_file0\n assert 'misra-c2012-8.2' in stderr\nE assert 'misra-c2012-8.2' in '\\n\\n \\n \\n \\n\\n'\n___________________ test_project_file_filter_c[file_filter0] ___________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:445: in test_project_file_filter_c\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_c_fil2/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n__________________________ test_language_unk_force_c ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_dumpfile.py:200: in test_language_unk_force_c\n dump_s = (tmp_path / 'test.src.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_unk_force_c2/test.src.dump'\n________________ test_active_unusedfunction_only_misra_builddir ________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:4391: in test_active_unusedfunction_only_misra_builddir\n __test_active_checkers(tmp_path, 1, 386, use_unusedfunction_only=True, use_misra=True, checkers_exp=checkers_exp)\ntests/test_harvest_other.py:4358: in __test_active_checkers\n assert stderr.splitlines() == [\nE AssertionError: assert ['nofile:0:0:...sReport]', ''] == ['nofile:0:0:...sReport]', '']\nE \nE At index 0 diff: 'nofile:0:0: information: Active checkers: 41/186 (use --checkers-report= to see details) [checkersReport]' != 'nofile:0:0: information: Active checkers: 1/386 (use --checkers-report= to see details) [checkersReport]'\nE \nE Full diff:\nE [\nE - 'nofile:0:0: information: Active checkers: 1/386 (use '\nE ? ^...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n_________________________ test_addon_json_invalid_ctu __________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1625: in test_addon_json_invalid_ctu\n __test_addon_json_invalid(tmpdir, json.dumps({'ctu':0}), \"'ctu' must be a boolean.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1\n____________________________________ test_1 ____________________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_inline_suppress.py:71: in test_1\n assert stderr == ''\nE AssertionError: assert 'proj-inline-.... [zerodiv]\\n' == ''\nE \nE + proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]\n___________________ test_ignore_project_file_wildcard_front ____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2194: in test_ignore_project_file_wildcard_front\n __test_ignore_project(tmpdir, '*test.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_wildc5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_wildc5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n_________________________ test_preprocess_enforced_cpp _________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3691: in test_preprocess_enforced_cpp\n assert stderr.splitlines() == [\nE assert ['/tmp/pytest...orDirective]'] == ['/tmp/pytest...orDirective]']\nE \nE At index 0 diff: '/tmp/pytest-of-root/pytest-0/popen-gw3/test_preprocess_enforced_cpp2/test.c:2:2: error: #error\"err\" [preprocessorErrorDirective]' != '/tmp/pytest-of-root/pytest-0/popen-gw3/test_preprocess_enforced_cpp2/test.c:2:2: error: #error \"err\" [preprocessorErrorDirective]'\nE \nE Full diff:\nE [\nE '/tmp/pytest-of-root/pytest-0/popen-gw3/test_preprocess_enforced_cpp2/test.c:2:2: '\nE - 'error: #error \"err\" [preprocessorErrorDirective]',...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n____________________________ test_ctu_path_builddir ____________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2896: in test_ctu_path_builddir\n assert stderr_1.splitlines() == stderr_exp\nE AssertionError: assert [] == ['/tmp/pytest... ^', ...]\nE \nE Right contains 12 more items, first extra item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_ctu_path_builddir2/test.c:2:19: error: Null pointer dereference: p [ctunullpointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_ctu_path_builddir2/test.c:2:19: '...\nE \nE ...Full output truncated (16 lines hidden), use '-vv' to show\n_____________________ test_inline_suppr_builddir_j_cached ______________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\n[XPASS(strict)] \n___________________ test_project_file_filter_c[file_filter1] ___________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:445: in test_project_file_filter_c\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_c_fil5/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n___________________________ test_addon_ctu_exitcode ____________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:626: in test_addon_ctu_exitcode\n assert '2.3' in stderr, stderr\nE AssertionError: \nE assert '2.3' in ''\n_________________________ test_language_unk_force_cpp __________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_dumpfile.py:215: in test_language_unk_force_cpp\n dump_s = (tmp_path / 'test.src.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_unk_force_cpp2/test.src.dump'\n___________________________________ test_xml ___________________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_inline_suppress.py:102: in test_xml\n assert '' in stderr\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n______________________________ test_analyzerinfo _______________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:4432: in test_analyzerinfo\n run_and_assert_cppcheck([\ntests/test_harvest_other.py:4425: in run_and_assert_cppcheck\n assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--debug-analyzerinfo\".\nE \nE assert 1 == 0\n________________________ test_addon_json_invalid_python ________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1629: in test_addon_json_invalid_python\n __test_addon_json_invalid(tmpdir, json.dumps({'python':0}), \"'python' must be a string.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1\n_____________________ test_ignore_project_file_placeholder _____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2198: in test_ignore_project_file_placeholder\n __test_ignore_project(tmpdir, 't?st.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_place2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_place2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n______________________________ test_debug_normal _______________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3766: in test_debug_normal\n __test_debug_normal(tmp_path, False)\ntests/test_harvest_other.py:3749: in __test_debug_normal\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw3/test_debug_normal2/test.c\\n1: void f ( )\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find\n__________________________________ test_debug __________________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2958: in test_debug\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw8/test_debug2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find\n__________________________ test_duplicate_suppression __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2649: in test_duplicate_suppression\n assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1\n___________________ test_project_relpath_file_filter_abspath ___________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:475: in test_project_relpath_file_filter_abspath\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines, cwd=tmpdir)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n_________________________ test_duplicate_file_entries __________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_dumpfile.py:242: in test_duplicate_file_entries\n assert result.returncode == 0\nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '--project=compile_commands.json', '--dump'], returncode=1, stdout=\"cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\\n\", stderr='').returncode\n_______________________________ test_addon_misra _______________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:648: in test_addon_misra\n assert stderr == '{}:2:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]\\ntypedef int MISRA_5_6_VIOLATION;\\n^\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...OLATION;\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_misra2/test.cpp:2:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]\nE - typedef int MISRA_5_6_VIOLATION;\nE - ^\n_________________________ test_backwards_compatibility _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_inline_suppress.py:168: in test_backwards_compatibility\n assert lines == []\nE AssertionError: assert ['proj-inline...o. [zerodiv]'] == []\nE \nE Left contains one more item: 'proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]'\nE \nE Full diff:\nE - []\nE + [\nE + 'proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]',\nE + ]\n______________________ test_addon_json_invalid_executable ______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1633: in test_addon_json_invalid_executable\n __test_addon_json_invalid(tmpdir, json.dumps({'executable':0}), \"'executable' must be a string.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1\n______________________ test_ignore_project_file_relative _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2202: in test_ignore_project_file_relative\n __test_ignore_project(tmpdir, 'src/test.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_relat2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_relat2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n____________________________ test_debug_simplified _____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3811: in test_debug_simplified\n __test_debug_simplified(tmp_path, False)\ntests/test_harvest_other.py:3799: in __test_debug_simplified\n assert stdout.find('##file ') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##file ')\nE + where = ''.find\n________________________________ test_debug_xml ________________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2994: in test_debug_xml\n debug_xml = ElementTree.fromstring(stdout)\n/usr/lib/python3.10/xml/etree/ElementTree.py:1342: in XML\n parser.feed(text)\nE xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 3, column 1\n_______________________ test_duplicate_suppressions_list _______________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2675: in test_duplicate_suppressions_list\n assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1\n___________________ test_project_abspath_file_filter_relpath ___________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:505: in test_project_abspath_file_filter_relpath\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines, cwd=tmpdir)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n____________________________ test_container_methods ____________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_dumpfile.py:262: in test_container_methods\n assert '' in dump\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n_______________________________ test_addon_y2038 _______________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:671: in test_addon_y2038\n assert stderr == '{}:4:21: warning: time is Y2038-unsafe [y2038-unsafe-call]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nsafe-call]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_y20382/test.cpp:4:21: warning: time is Y2038-unsafe [y2038-unsafe-call]\n____________________ test_compile_commands_unused_function _____________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_inline_suppress.py:187: in test_compile_commands_unused_function\n assert lines == [\nE assert [] == ['/workspace/...sedFunction]']\nE \nE Right contains one more item: \"/workspace/test/cli/proj-inline-suppress-unusedFunction/B.cpp:6:9: style: The function 'unusedFunctionTest' is never used. [unusedFunction]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/workspace/test/cli/proj-inline-suppress-unusedFunction/B.cpp:6:9: style: '\nE - \"The function 'unusedFunctionTest' is never used. [unusedFunction]\",\nE - ]\n_________________ test_ignore_project_file_relative_backslash __________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2206: in test_ignore_project_file_relative_backslash\n __test_ignore_project(tmpdir, 'src\\\\test.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_relat5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_relat5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n_______________________ test_addon_json_invalid_script_1 _______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1637: in test_addon_json_invalid_script_1\n __test_addon_json_invalid(tmpdir, json.dumps({'Script':''}), \"'script' is missing.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1\n_____________________ test_debug_simplified_verbose_nodiff _____________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3816: in test_debug_simplified_verbose_nodiff\n assert __test_debug_simplified(tmp_path, False) == __test_debug_simplified(tmp_path, True)\ntests/test_harvest_other.py:3799: in __test_debug_simplified\n assert stdout.find('##file ') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##file ')\nE + where = ''.find\n______________________________ test_debug_verbose ______________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3027: in test_debug_verbose\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = 'Defines:\\nUndefines:\\nIncludes:\\nPlatform:native\\n\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw8/test_debug_verbose2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find\n______________________ test_duplicate_suppressions_mixed _______________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2699: in test_duplicate_suppressions_mixed\n assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1\n_______________________ test_project_pathmatch_other_cwd _______________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:573: in test_project_pathmatch_other_cwd\n assert 0 == exitcode\nE assert 0 == 1\n___________________________ test_addon_threadsafety ____________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:692: in test_addon_threadsafety\n assert stderr == '{}:4:12: warning: strerror is MT-unsafe [threadsafety-unsafe-call]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nsafe-call]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_threadsafety2/test.cpp:4:12: warning: strerror is MT-unsafe [threadsafety-unsafe-call]\n______________________________ test_relative_path ______________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:114: in test_relative_path\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n________________________ test_unused_function_unmatched ________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_inline_suppress.py:230: in test_unused_function_unmatched\n assert lines == [\nE AssertionError: assert [] == ['proj-inline...Suppression]']\nE \nE Right contains 2 more items, first extra item: 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n______________________ test_ignore_project_path_relative _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2210: in test_ignore_project_path_relative\n __test_ignore_project(tmpdir, 'src/')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_path_relat2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_path_relat2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n_______________________ test_addon_json_invalid_script_2 _______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1641: in test_addon_json_invalid_script_2\n __test_addon_json_invalid(tmpdir, json.dumps({'script':0}), \"'script' must be a string.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1\n____________________________ test_debug_verbose_xml ____________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3064: in test_debug_verbose_xml\n debug_xml = ElementTree.fromstring(stdout)\n/usr/lib/python3.10/xml/etree/ElementTree.py:1342: in XML\n parser.feed(text)\nE xml.etree.ElementTree.ParseError: syntax error: line 1, column 0\n_______________________________ test_debug_symdb _______________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3855: in test_debug_symdb\n __test_debug_symdb(tmp_path, False)\ntests/test_harvest_other.py:3845: in __test_debug_symdb\n assert stdout.find('### Symbol database ###') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('### Symbol database ###')\nE + where = ''.find\n______________________________ test_absolute_path ______________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_proj2.py:149: in test_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_absolute_path2/proj2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n______________________ test_project_file_filter_no_match _______________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:599: in test_project_file_filter_no_match\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_no_ma2/test.cppcheck'. Project files are not supported.\"]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...e filter:*.c']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_no_ma2/test.cppcheck'. Project files are not supported.\" != 'cppcheck: error: could not find any files matching the filter:*.c'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: could not find any files matching the filter:*.c',\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n______________________________ test_addon_naming _______________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:722: in test_addon_naming\n assert stderr == '{}:2:1: style: Variable Var violates naming convention [naming-varname]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...ng-varname]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_naming2/test.cpp:2:1: style: Variable Var violates naming convention [naming-varname]\n_______________________________ test_local_path ________________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:126: in test_local_path\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'\n__________________ test_unused_function_disabled_unmatched_j ___________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_inline_suppress.py:383: in test_unused_function_disabled_unmatched_j\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['proj-inline...Suppression]']\nE \nE Right contains one more item: 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: '\nE - 'Unmatched suppression: uninitvar [unmatchedSuppression]',\nE - ]\n_________________ test_ignore_project_path_relative_backslash __________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2214: in test_ignore_project_path_relative_backslash\n __test_ignore_project(tmpdir, 'src\\\\')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_path_relat5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_path_relat5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n______________________________ test_ast_max_depth ______________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:4010: in test_ast_max_depth\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...nalAstError]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_ast_max_depth2/test.cpp:12:5: error: maximum AST depth exceeded [internalAstError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_ast_max_depth2/test.cpp:12:5: '\nE - 'error: maximum AST depth exceeded [internalAstError]',\nE - ]\n_____________________________ test_debug_template ______________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3132: in test_debug_template\n __test_debug_template(tmp_path, verbose=False)\ntests/test_harvest_other.py:3124: in __test_debug_template\n assert stdout.count('### Template Simplifier pass ') == 1\nE AssertionError: assert 0 == 1\nE + where 0 = ('### Template Simplifier pass ')\nE + where = ''.count\n__________________ test_gui_project_loads_compile_commands_1 ___________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_proj2.py:162: in test_gui_project_loads_compile_commands_1\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/proj2.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n________________________________ test_debug_ast ________________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3900: in test_debug_ast\n __test_debug_ast(tmp_path, False)\ntests/test_harvest_other.py:3891: in __test_debug_ast\n assert stdout.find('##AST') != -1\nE assert -1 != -1\nE + where -1 = ('##AST')\nE + where = \"1:1 'void' varId=0 type=12 scope=0\\n1:6 'f' varId=0 type=14 scope=0\\n1:7 '(' varId=0 type=9 scope=0\\n1:8 ')' varId=0 type=9 scope=0\\n2:1 '{' varId=0 type=9 scope=0\\n3:5 '(' varId=0 type=9 op1='*' scope=5\\n3:6 'void' varId=0 type=12 scope=5\\n3:10 ')' varId=0 type=9 scope=5\\n3:11 '(' varId=0 type=9 scope=5\\n3:12 '*' varId=0 type=8 parent='(' op1='(' scope=5\\n3:13 '(' varId=0 type=9 scope=5\\n3:14 '(' varId=0 type=9 parent='*' op1='0' scope=5 val=0K\\n3:15 'int' varId=0 type=12 scope=5\\n3:18 '*' varId=0 type=8 scope=5\\n3:19 ')' varId=0 type=9 scope=5\\n3:20 '0' varId=0 type=3 parent='(' scope=5 val=0K\\n3:21 ')' varId=0 type=9 scope=5\\n3:22 ')' varId=0 type=9 scope=5\\n3:23 ';' varId=0 type=8 scope=5\\n4:1 '}' varId=0 type=9 scope=0\\n\\n\".find\n___________________________ test_project_file_order ____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:632: in test_project_file_order\n assert exitcode == 0\nE assert 1 == 0\n_____________________________ test_addon_namingng ______________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:900: in test_addon_namingng\n assert lines == expect\nE AssertionError: assert [' ^', '#incl...singInclude]'] == [' ... ^', ...]\nE \nE At index 0 diff: ' ^' != ' ^'\nE Right contains 56 more items, first extra item: ' ^'\nE \nE Full diff:\nE [\nE - ' ^',...\nE \nE ...Full output truncated (115 lines hidden), use '-vv' to show\n______________________________ test_absolute_path ______________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:139: in test_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find or open any of the paths given.\nE \nE assert 1 == 0\n________________________ test_misra_disabled_unmatched _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_inline_suppress.py:400: in test_misra_disabled_unmatched\n assert stderr.splitlines() == [\nE AssertionError: assert ['proj-inline...Suppression]'] == ['proj-inline...Suppression]']\nE \nE At index 0 diff: 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: misra-c2012-20.5 [unmatchedSuppression]' != 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n_________________________ test_ignore_project_abspath __________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2218: in test_ignore_project_abspath\n __test_ignore_project(tmpdir, '$path', inject_path_proj=True)\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_abspath2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_abspath2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n________________________ test_misra_disabled_unmatched _________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:4033: in test_misra_disabled_unmatched\n assert stderr.splitlines() == [\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['nofile:0:0:...Suppression]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: misra-c2012-20.5 [unmatchedSuppression]' != 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: misra-c2012-20.5 '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n__________________ test_gui_project_loads_compile_commands_2 ___________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_proj2.py:179: in test_gui_project_loads_compile_commands_2\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n_________________________ test_project_file_duplicate __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:667: in test_project_file_duplicate\n assert exitcode == 0\nE assert 1 == 0\n______________________ test_debug_template_verbose_nodiff ______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3137: in test_debug_template_verbose_nodiff\n assert __test_debug_template(tmp_path, verbose=False) == __test_debug_template(tmp_path, verbose=True)\ntests/test_harvest_other.py:3124: in __test_debug_template\n assert stdout.count('### Template Simplifier pass ') == 1\nE AssertionError: assert 0 == 1\nE + where 0 = ('### Template Simplifier pass ')\nE + where = ''.count\n________________________ test_debug_ast_verbose_nodiff _________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3905: in test_debug_ast_verbose_nodiff\n assert __test_debug_ast(tmp_path, False) == __test_debug_ast(tmp_path, True)\ntests/test_harvest_other.py:3891: in __test_debug_ast\n assert stdout.find('##AST') != -1\nE assert -1 != -1\nE + where -1 = ('##AST')\nE + where = \"1:1 'void' varId=0 type=12 scope=0\\n1:6 'f' varId=0 type=14 scope=0\\n1:7 '(' varId=0 type=9 scope=0\\n1:8 ')' varId=0 type=9 scope=0\\n2:1 '{' varId=0 type=9 scope=0\\n3:5 '(' varId=0 type=9 op1='*' scope=5\\n3:6 'void' varId=0 type=12 scope=5\\n3:10 ')' varId=0 type=9 scope=5\\n3:11 '(' varId=0 type=9 scope=5\\n3:12 '*' varId=0 type=8 parent='(' op1='(' scope=5\\n3:13 '(' varId=0 type=9 scope=5\\n3:14 '(' varId=0 type=9 parent='*' op1='0' scope=5 val=0K\\n3:15 'int' varId=0 type=12 scope=5\\n3:18 '*' varId=0 type=8 scope=5\\n3:19 ')' varId=0 type=9 scope=5\\n3:20 '0' varId=0 type=3 parent='(' scope=5 val=0K\\n3:21 ')' varId=0 type=9 scope=5\\n3:22 ')' varId=0 type=9 scope=5\\n3:23 ';' varId=0 type=8 scope=5\\n4:1 '}' varId=0 type=9 scope=0\\n\\n\".find\n__________________________ test_addon_namingng_config __________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:966: in test_addon_namingng_config\n lines.pop(0)\nE IndexError: pop from empty list\n____________________________ test_addon_local_path _____________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:151: in test_addon_local_path\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'\n_______________________ test_premium_disabled_unmatched ________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_inline_suppress.py:417: in test_premium_disabled_unmatched\n assert stderr.splitlines() == [\nE AssertionError: assert ['proj-inline...Suppression]'] == ['proj-inline...Suppression]']\nE \nE At index 0 diff: 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: premium-misra-cpp-2023-12.2.1 [unmatchedSuppression]' != 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n_________________ test_gui_project_loads_relative_vs_solution __________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_proj2.py:192: in test_gui_project_loads_relative_vs_solution\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n_______________________ test_premium_disabled_unmatched ________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:4058: in test_premium_disabled_unmatched\n assert stderr.splitlines() == [\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['nofile:0:0:...Suppression]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: premium-misra-cpp-2023-12.2.1 [unmatchedSuppression]' != 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n__________________________ test_ignore_project_2_file __________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2264: in test_ignore_project_2_file\n __test_ignore_project_2(tmpdir, ['-itest.cpp'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n----------------------------- Captured stdout call -----------------------------\n['-itest.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file0/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-itest.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file1/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-itest.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file2/compile_commands.json']\n________________________ test_project_file_duplicate_2 _________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:706: in test_project_file_duplicate_2\n assert exitcode == 0\nE assert 1 == 0\n__________________________ test_debug_template_debug ___________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3141: in test_debug_template_debug\n __test_debug_template(tmp_path, debug=True)\ntests/test_harvest_other.py:3110: in __test_debug_template\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw8/test_debug_template_debug2/test.cpp\\n1: template < class T > class TemplCl ;\\n2: void f ( )\\n3: {\\n4: ( void ) ( * ( ( int * ) nullptr ) ) ;\\n5: }\\n'.find\n_____________________________ test_debug_valueflow _____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3944: in test_debug_valueflow\n __test_debug_valueflow(tmp_path, False)\ntests/test_harvest_other.py:3933: in __test_debug_valueflow\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = ''.find\n_____________________________ test_addon_findcasts _____________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1009: in test_addon_findcasts\n assert stderr == '{}:4:21: information: found a cast [findcasts-cast]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...casts-cast]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_findcasts2/test.cpp:4:21: information: found a cast [findcasts-cast]\n_______________________ test_addon_local_path_not_enable _______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:164: in test_addon_local_path_not_enable\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'\n______________ test_compile_commands_unused_function_suppression _______________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_inline_suppress.py:439: in test_compile_commands_unused_function_suppression\n assert stdout == ''\nE AssertionError: assert 'cppcheck: er... supported.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw5/test_compile_commands_unused_f5/proj-inline-suppress-unusedFunction/compile_commands.json'. Project files are not supported.\n_________________ test_gui_project_loads_absolute_vs_solution __________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_proj2.py:212: in test_gui_project_loads_absolute_vs_solution\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n_____________________________ test_unmatched_file ______________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:4110: in test_unmatched_file\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['lib/test.c:...Suppression]']\nE \nE Right contains 6 more items, first extra item: 'lib/test.c:-1:0: information: Unmatched suppression: error [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'lib/test.c:-1:0: information: Unmatched suppression: error '...\nE \nE ...Full output truncated (12 lines hidden), use '-vv' to show\n________________________ test_project_file_duplicate_3 _________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:751: in test_project_file_duplicate_3\n assert exitcode == 0\nE assert 1 == 0\n______________________ test_ignore_project_2_file_append _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2269: in test_ignore_project_2_file_append\n __test_ignore_project_2(tmpdir, ['-itest.cpp'], append=True)\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_app2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_app2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n----------------------------- Captured stdout call -----------------------------\n['--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_app0/compile_commands.json', '-itest.cpp']\n----------------------------- Captured stdout call -----------------------------\n['--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_app1/compile_commands.json', '-itest.cpp']\n----------------------------- Captured stdout call -----------------------------\n['--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_app2/compile_commands.json', '-itest.cpp']\n_____________________ test_debug_valueflow_verbose_nodiff ______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3949: in test_debug_valueflow_verbose_nodiff\n assert __test_debug_valueflow(tmp_path, False) == __test_debug_valueflow(tmp_path, True)\ntests/test_harvest_other.py:3933: in __test_debug_valueflow\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = ''.find\n__________________________ test_debug_valueflow_data ___________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3198: in test_debug_valueflow_data\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = ''.find\n_______________________________ test_addon_misc ________________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1030: in test_addon_misc\n assert stderr == '{}:4:26: style: String concatenation in array initialization, missing comma? [misc-stringConcatInArrayInit]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nArrayInit]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_misc2/test.cpp:4:26: style: String concatenation in array initialization, missing comma? [misc-stringConcatInArrayInit]\n___________________________ test_addon_absolute_path ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:179: in test_addon_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find or open any of the paths given.\nE \nE assert 1 == 0\n_________________ test_safety_suppress_syntax_error_implicitly _________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_suppress_syntaxerror.py:40: in test_safety_suppress_syntax_error_implicitly\n assert result.returncode == 1, result.stdout\nE AssertionError: \nE assert 0 == 1\nE + where 0 = CompletedProcess(args=['/workspace/executable', '-q', '--safety', '--suppress=*', 'proj-suppress-syntaxError', '-j1'], returncode=0, stdout='', stderr='').returncode\n________________ test_gui_project_loads_relative_vs_solution_2 _________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_proj2.py:239: in test_gui_project_loads_relative_vs_solution_2\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n___________________________ test_project_file_ignore ___________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:833: in test_project_file_ignore\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore2/test.cppcheck'. Project files are not supported.\"]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore2/test.cppcheck'. Project files are not supported.\" != 'cppcheck: error: could not find or open any of the paths given.'\nE Right contains one more item: 'cppcheck: Maybe all paths were ignored?'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: could not find or open any of the paths given.',...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n________________________ test_simplecpp_unhandled_char _________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:4159: in test_simplecpp_unhandled_char\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...handledChar]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_unhandled_char2/test.c:2:5: error: The code contains unhandled character(s) (character code=228). Neither unicode nor extended ascii is supported. [unhandledChar]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_unhandled_char2/test.c:2:5: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n___________________ test_ignore_project_2_file_wildcard_back ___________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2273: in test_ignore_project_2_file_wildcard_back\n __test_ignore_project_2(tmpdir, ['-itest.c*'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n----------------------------- Captured stdout call -----------------------------\n['-itest.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil0/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-itest.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil1/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-itest.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil2/compile_commands.json']\n___________________________ test_debug_syntaxerror_c ___________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3974: in test_debug_syntaxerror_c\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw3/test_debug_syntaxerror_c2/test.c\\n2: template < class T > class TemplCl ;\\n3: void f ( )\\n4: {\\n5: ( void ) ( * ( ( int * ) 0 ) ) ;\\n6: }\\n'.find\n________________________ test_debug_valueflow_data_xml _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3251: in test_debug_valueflow_data_xml\n debug_xml = ElementTree.fromstring(stdout)\n/usr/lib/python3.10/xml/etree/ElementTree.py:1343: in XML\n return parser.close()\nE xml.etree.ElementTree.ParseError: no element found: line 1, column 0\n___________________________ test_invalid_addon_json ____________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1046: in test_invalid_addon_json\n assert exitcode == 1\nE assert 0 == 1\n___________________________ test_addon_relative_path ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:192: in test_addon_relative_path\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n_________________ test_safety_suppress_syntax_error_explicitly _________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_suppress_syntaxerror.py:51: in test_safety_suppress_syntax_error_explicitly\n assert result.returncode == 1, result.stdout\nE AssertionError: \nE assert 0 == 1\nE + where 0 = CompletedProcess(args=['/workspace/executable', '-q', '--safety', '--suppress=syntaxError', 'proj-suppress-syntaxError', '-j1'], returncode=0, stdout='', stderr='nofile:0:0: information: Active checkers: 40/186 (use --checkers-report= to see details) [checkersReport]\\n\\n').returncode\n___________ test_gui_project_loads_relative_vs_solution_with_exclude ___________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_proj2.py:257: in test_gui_project_loads_relative_vs_solution_with_exclude\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n__________________________ test_project_file_ignore_2 __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:860: in test_project_file_ignore_2\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore_22/test.cppcheck'. Project files are not supported.\"]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore_22/test.cppcheck'. Project files are not supported.\" != 'cppcheck: error: could not find or open any of the paths given.'\nE Right contains one more item: 'cppcheck: Maybe all paths were ignored?'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: could not find or open any of the paths given.',...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n___________________ test_simplecpp_include_nested_too_deeply ___________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:4189: in test_simplecpp_include_nested_too_deeply\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...edTooDeeply]']\nE \nE Right contains 2 more items, first extra item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_include_nested_2/test_398.h:1:2: error: #include nested too deeply [includeNestedTooDeeply]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_include_nested_2/test_398.h:1:2: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n__________________ test_ignore_project_2_file_wildcard_front ___________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2277: in test_ignore_project_2_file_wildcard_front\n __test_ignore_project_2(tmpdir, ['-i*test.cpp'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n----------------------------- Captured stdout call -----------------------------\n['-i*test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil3/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-i*test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil4/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-i*test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil5/compile_commands.json']\n_ test_empty_project[vcxproj-Visual Studio project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] _\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_project.py:66: in test_empty_project\n __test_project_error(tmp_path, project_ext, None, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_vcxproj_Vis2/file.vcxproj'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_vcxproj_Vis2/file.vcxproj'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to show\n______________________________ test_check_headers ______________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3324: in test_check_headers\n assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-check-headers\".\nE \nE assert 1 == 0\n_________________________ test_addon_with_gui_project __________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_helloworld.py:203: in test_addon_with_gui_project\n shutil.copytree(os.path.join(SCRIPT_DIR, 'helloworld'), tmp_path / 'helloworld')\n/usr/lib/python3.10/shutil.py:557: in copytree\n with os.scandir(src) as itr:\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'\n____________________________ test_invalid_addon_py _____________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1075: in test_invalid_addon_py\n assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1 [internalError]\\n\\n^\\n\".format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_invalid_addon_py2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1 [internalError]\nE - \nE - ^\n____________________________ test_unused_functions _____________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_unused_function.py:40: in test_unused_functions\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...-build-dir\".'] == []\nE \nE Left contains one more item: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".'\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: unrecognized command line option: '\nE + '\"--no-cppcheck-build-dir\".',\nE + ]\n________________ test_gui_project_loads_absolute_vs_solution_2 _________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_proj2.py:277: in test_gui_project_loads_absolute_vs_solution_2\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n__________________________ test_project_file_ignore_3 __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:887: in test_project_file_ignore_3\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore_32/test.cppcheck'. Project files are not supported.\"]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore_32/test.cppcheck'. Project files are not supported.\" != 'cppcheck: error: could not find or open any of the paths given.'\nE Right contains one more item: 'cppcheck: Maybe all paths were ignored?'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: could not find or open any of the paths given.',...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n_________________________ test_simplecpp_syntax_error __________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:4211: in test_simplecpp_syntax_error\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...syntaxError]']\nE \nE Right contains 2 more items, first extra item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_syntax_error2/test.c:1:2: error: No header in #include [syntaxError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_syntax_error2/test.c:1:2: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n_ test_empty_project[bpr-Borland project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] _\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_project.py:66: in test_empty_project\n __test_project_error(tmp_path, project_ext, None, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Borland project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_bpr_Borland2/file.bpr'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_bpr_Borland2/file.bpr'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to show\n____________________ test_ignore_project_2_file_placeholder ____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2281: in test_ignore_project_2_file_placeholder\n __test_ignore_project_2(tmpdir, ['-it?st.cpp'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_pla2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_pla2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n----------------------------- Captured stdout call -----------------------------\n['-it?st.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_pla0/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-it?st.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_pla1/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-it?st.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_pla2/compile_commands.json']\n______________________________ test_unique_error _______________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:3350: in test_unique_error\n assert stderr.splitlines() == [\nE assert [] == ['/tmp/pytest...OutOfBounds]']\nE \nE Right contains 2 more items, first extra item: \"/tmp/pytest-of-root/pytest-0/popen-gw8/test_unique_error2/test.c:4:13: error: Array 'm[9]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unique_error2/test.c:4:13: '...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n________________________ test_invalid_addon_py_verbose _________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1116: in test_invalid_addon_py_verbose\n assert stderr.startswith(\"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \".format(test_file))\nE assert False\nE + where False = (\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_invalid_addon_py_verbose2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \")\nE + where = ''.startswith\nE + and \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_invalid_addon_py_verbose2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \" = ('/tmp/pytest-of-root/pytest-0/popen-gw6/test_invalid_addon_py_verbose2/file.cpp')\nE + where = \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \".format\n___________________________ test_unused_functions_j ____________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_unused_function.py:61: in test_unused_functions_j\n assert result.stdout.splitlines() == [\nE assert ['cppcheck: e...-build-dir\".'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".' != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n______ test_empty_project[json-compilation database is not a JSON array] _______\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_project.py:66: in test_empty_project\n __test_project_error(tmp_path, project_ext, None, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er...is unknown.\\n'\nE \nE + cppcheck: error: compilation database is not a JSON array\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_empty_project_json_compil2/file.json'. The format is unknown.\nE ? ^^ ^^ ^^^^^^^ ^^^^^^\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_empty_project_json_compil2/file.json'. An error occurred.\nE ? ^^^ ^^ ^^^^ ^^^^\n_________________________________ test_samples _________________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_samples.py:87: in test_samples\n assert failures == {}, f\"Failures in {len(failures)} samples:\\n\" + \"\\n\".join(failures.keys())\nE AssertionError: Failures in 12 samples:\nE /workspace/samples/AssignmentAddressToInteger/bad.c\nE /workspace/samples/accessMoved/bad.cpp\nE /workspace/samples/arrayIndexOutOfBounds_2/bad.c\nE /workspace/samples/autoVariables/bad.c\nE /workspace/samples/bufferAccessOutOfBounds/bad.c\nE /workspace/samples/invalidContainer/bad.cpp\nE /workspace/samples/memleak/bad.c\nE /workspace/samples/multiCondition/bad.c\nE /workspace/samples/passedByValue_1/bad.cpp\nE /workspace/samples/passedByValue_2/bad.cpp\nE /workspace/samples/resourceLeak/bad.c\nE /workspace/samples/unreadVariable/bad.cpp\nE assert {'/workspace/...riables', ...} == {}\nE \nE Left contains 12 more items:\nE {'/workspace/samples/AssignmentAddressToInteger/bad.c': 'Output mismatch for '\nE 'AssignmentAddressToInteger',\nE '/workspace/samples/accessMoved/bad.cpp': \"Bad sample didn't produce exit \"\nE 'code 1 (got 0):\\n'\nE 'nofile:0:0: information: Active '...\nE \nE ...Full output truncated (102 lines hidden), use '-vv' to show\n____________________________ test_json_file_ignore _____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:912: in test_json_file_ignore\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_json_file_ignore2/test.json'. The format is unknown.\"]\nE assert ['cppcheck: e... is unknown.'] == ['cppcheck: e...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_json_file_ignore2/test.json'. The format is unknown.\" != 'cppcheck: error: no C or C++ source files found.'\nE Right contains one more item: 'cppcheck: all paths were ignored'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: no C or C++ source files found.',...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n_ test_empty_project[cppcheck-Cppcheck GUI project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT] _\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_project.py:66: in test_empty_project\n __test_project_error(tmp_path, project_ext, None, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Cppcheck GUI project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_cppcheck_Cp2/file.cppcheck'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_cppcheck_Cp2/file.cppcheck'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to show\n_____________________ test_max_configs[None-20-True-True] ______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:4256: in test_max_configs\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...manyconfigs]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_None_20_True_2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_None_20_True_2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n_____________________ test_ignore_project_2_file_relative ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2285: in test_ignore_project_2_file_relative\n __test_ignore_project_2(tmpdir, ['-isrc/test.cpp'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n----------------------------- Captured stdout call -----------------------------\n['-isrc/test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel0/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-isrc/test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel1/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-isrc/test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel2/compile_commands.json']\n________________________ test_unused_functions_project _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_unused_function.py:158: in test_unused_functions_project\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n______________________________ test_addon_result _______________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1145: in test_addon_result\n assert stderr == 'test.cpp:1:1: style: msg [addon1-id]\\n\\n^\\n'\nE AssertionError: assert '' == 'test.cpp:1:1...n1-id]\\n\\n^\\n'\nE \nE - test.cpp:1:1: style: msg [addon1-id]\nE - \nE - ^\n________________________ test_suppress_inline_builddir _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:158: in test_suppress_inline_builddir\n __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\ntests/test_harvest_whole_program.py:139: in __test_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n_________ test_empty_project[sln-Visual Studio solution file is empty] _________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_project.py:66: in test_empty_project\n __test_project_error(tmp_path, project_ext, None, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio solution file is empty\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_empty_project_sln_Visual_2/file.sln'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_empty_project_sln_Visual_2/file.sln'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to show\n___________________________ test_json_file_ignore_2 ____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:937: in test_json_file_ignore_2\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_json_file_ignore_22/test.json'. The format is unknown.\"]\nE assert ['cppcheck: e... is unknown.'] == ['cppcheck: e...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_json_file_ignore_22/test.json'. The format is unknown.\" != 'cppcheck: error: no C or C++ source files found.'\nE Right contains one more item: 'cppcheck: all paths were ignored'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: no C or C++ source files found.',...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n________________________ test_json_entry_file_not_found ________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_project.py:92: in test_json_entry_file_not_found\n assert ret == 0\nE assert 1 == 0\n_________________________ test_c89_keywords_valid_code _________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_keywords.py:54: in test_c89_keywords_valid_code\n assert combined_output == golden_normalized, \\\nE AssertionError: Output differs from golden file.\nE Expected:\nE Checking /workspace/eval/test_resources/test_keywords/valid_c89.c ...\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:14:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue]\nE continue;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:37:9: style: struct member 'test_struct::field' is never used. [unusedStructMember]\nE int field;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:41:9: style: union member 'test_union::i' is never used. [unusedStructMember]\nE int i;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:42:11: style: union member 'test_union::f' is never used. [unusedStructMember]\nE float f;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:27:8: style: The function 'test_double' is never used. [unusedFunction]\nE double test_double(void) {\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:47:6: style: The function 'goto_test' is never used. [unusedFunction]\nE void goto_test(void) {\nE ^\nE nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\nE \nE \nE \nE Got:\nE Checking /workspace/eval/test_resources/test_keywords/valid_c89.c ...\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:37:9: style: struct member 'test_struct::field' is never used. [unusedStructMember]\nE int field;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:7:15: style: Variable 'count' is assigned a value that is never used. [unreadVariable]\nE int count = 0;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:27:8: style: The function 'test_double' is never used. [unusedFunction]\nE double test_double(void) {\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:47:6: style: The function 'goto_test' is never used. [unusedFunction]\nE void goto_test(void) {\nE ^\nE nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\nE \nE \nE assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/valid_c89.c ...\nE - /workspace/eval/test_resources/test_keywords/valid_c89.c:14:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue]\nE - continue;\nE - ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:37:9: style: struct member 'test_struct::field' is never used. [unusedStructMember]\nE int field;...\nE \nE ...Full output truncated (19 lines hidden), use '-vv' to show\n______________________ test_max_configs[6-20-False-False] ______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:4254: in test_max_configs\n assert stderr.splitlines() == []\nE AssertionError: assert ['/tmp/pytest...manyconfigs]'] == []\nE \nE Left contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_6_20_False_Fa2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 6 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE - []\nE + [\nE + '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_6_20_False_Fa2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n________________ test_ignore_project_2_file_relative_backslash _________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2289: in test_ignore_project_2_file_relative_backslash\n __test_ignore_project_2(tmpdir, ['-isrc\\\\test.cpp'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel3/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel4/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel5/compile_commands.json']\n_______________________ test_unused_functions_project_j ________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_unused_function.py:180: in test_unused_functions_project_j\n assert result.stdout.splitlines() == [\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\" != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n_________________________ test_unused_function_include _________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1184: in test_unused_function_include\n __test_unused_function_include(tmpdir, [])\ntests/test_harvest_other.py:1180: in __test_unused_function_include\n assert stderr == \"{}:4:26: style: The function 'f' is never used. [unusedFunction]\\n\".format(test_h_file)\nE AssertionError: assert '' == '/tmp/pytest-...edFunction]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_unused_function_include2/test.h:4:26: style: The function 'f' is never used. [unusedFunction]\n_____________________ test_suppress_inline_builddir_cached _____________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:164: in test_suppress_inline_builddir_cached\n __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\ntests/test_harvest_whole_program.py:139: in __test_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n_________________________ test_compile_commands_basic __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:48: in test_compile_commands_basic\n assert returncode == 0\nE assert 1 == 0\n________________________________ test_compdb_D _________________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_more_projects.py:1019: in test_compdb_D\n assert stdout.splitlines() == out_expected\nE assert ['cppcheck: e...t supported.'] == ['Checking /t...GNUC__=1;...']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_compdb_D2/compile_commands.json'. Project files are not supported.\" != 'Checking /tmp/pytest-of-root/pytest-0/popen-gw1/test_compdb_D2/test.cpp ...'\nE Right contains one more item: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw1/test_compdb_D2/test.cpp: __GNUC__=1;...'\nE \nE Full diff:\nE [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n____________________________ test_json_no_arguments ____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_project.py:106: in test_json_no_arguments\n __test_project_error(tmp_path, \"json\", json.dumps(compilation_db), expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er...is unknown.\\n'\nE \nE + cppcheck: error: no 'arguments' or 'command' field found in compilation database entry\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_json_no_arguments2/file.json'. The format is unknown.\nE ? ^^ ^^ ^^^^^^^ ^^^^^^\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_json_no_arguments2/file.json'. An error occurred.\nE ? ^^^ ^^ ^^^^ ^^^^\n____________________ test_c99_keywords_inline_restrict_bool ____________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_keywords.py:87: in test_c99_keywords_inline_restrict_bool\n assert combined == golden_normalized\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/c99_keywords.c ...\nE /workspace/eval/test_resources/test_keywords/c99_keywords.c:7:16: style: Variable 'flag' is assigned a value that is never used. [unreadVariable]\nE _Bool flag = 1;\nE ^\nE - /workspace/eval/test_resources/test_keywords/c99_keywords.c:8:23: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\nE - _Complex double z = 1.0 + 2.0 * _Complex_I;...\nE \nE ...Full output truncated (12 lines hidden), use '-vv' to show\n_______________________ test_max_configs[6-20-True-True] _______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:4256: in test_max_configs\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...manyconfigs]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_6_20_True_Tru2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 6 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_6_20_True_Tru2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n____________________ test_unused_functions_project_builddir ____________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_unused_function.py:205: in test_unused_functions_project_builddir\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n_________________ test_ignore_project_2_file_relative_wildcard _________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2293: in test_ignore_project_2_file_relative_wildcard\n __test_ignore_project_2(tmpdir, ['-isrc/test.c*'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel8/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel8/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n----------------------------- Captured stdout call -----------------------------\n['-isrc/test.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel6/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-isrc/test.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel7/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-isrc/test.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel8/compile_commands.json']\n___________________________ test_showtime_top5_file ____________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1204: in test_showtime_top5_file\n assert len(lines) == 7\nE assert 0 == 7\nE + where 0 = len([])\n__________________ test_compile_commands_with_arguments_array __________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:81: in test_compile_commands_with_arguments_array\n assert returncode == 0\nE assert 1 == 0\n_______________________ test_suppress_inline_builddir_j ________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:171: in test_suppress_inline_builddir_j\n __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\ntests/test_harvest_whole_program.py:139: in __test_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n________________________ test_addon_no_artifacts[False] ________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:281: in test_addon_no_artifacts\n shutil.copyfile(os.path.join(SCRIPT_DIR, 'whole-program', 'whole1.c'), tmp_path / 'whole1.c')\n/usr/lib/python3.10/shutil.py:254: in copyfile\n with open(src, 'rb') as fsrc:\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/whole-program/whole1.c'\n_________________________ test_json_invalid_arguments __________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_project.py:120: in test_json_invalid_arguments\n __test_project_error(tmp_path, \"json\", json.dumps(compilation_db), expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er...is unknown.\\n'\nE \nE + cppcheck: error: 'arguments' field in compilation database entry is not a JSON array\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_json_invalid_arguments2/file.json'. The format is unknown.\nE ? ^^ ^^ ^^^^^^^ ^^^^^^\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_json_invalid_arguments2/file.json'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to show\n________________ test_cpp20_keywords_concept_coroutines_char8t _________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_keywords.py:187: in test_cpp20_keywords_concept_coroutines_char8t\n assert combined == golden_normalized\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/cpp20_keywords.cpp ...\nE /workspace/eval/test_resources/test_keywords/cpp20_keywords.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\nE #include \nE ^\nE /workspace/eval/test_resources/test_keywords/cpp20_keywords.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\nE #include ...\nE \nE ...Full output truncated (42 lines hidden), use '-vv' to show\n_______________ test_unused_functions_project_builddir_j_thread ________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_unused_function.py:231: in test_unused_functions_project_builddir_j_thread\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n_________________________ test_no_valid_configuration __________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:4282: in test_no_valid_configuration\n assert stdout.splitlines() == [\nE AssertionError: assert ['Checking /t...F_1=DEF_1...'] == ['Checking /t...2/test.c ...']\nE \nE Left contains one more item: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_no_valid_configuration2/test.c: DEF_1=DEF_1...'\nE \nE Full diff:\nE [\nE 'Checking '\nE '/tmp/pytest-of-root/pytest-0/popen-gw4/test_no_valid_configuration2/test.c '...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n____________ test_ignore_project_2_file_relative_wildcard_backslash ____________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2297: in test_ignore_project_2_file_relative_wildcard_backslash\n __test_ignore_project_2(tmpdir, ['-isrc\\\\test.c*'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel11/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel11/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\test.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel9/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\test.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel10/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\test.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel11/compile_commands.json']\n______________________________ test_missing_addon ______________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:1223: in test_missing_addon\n assert lines == [\nE AssertionError: assert ['Did not fin...on misra3.py'] == ['Did not fin...on misra3.py']\nE \nE At index 0 diff: 'Did not find addon misra3.py' != 'Did not find addon misra2.py'\nE Right contains one more item: 'Did not find addon misra3.py'\nE \nE Full diff:\nE [\nE - 'Did not find addon misra2.py',\nE 'Did not find addon misra3.py',\nE ]\n______________________ test_compile_commands_invalid_json ______________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:111: in test_compile_commands_invalid_json\n assert 'compilation database is not a JSON array' in output\nE assert 'compilation database is not a JSON array' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/invalid.json'. The format is unknown.\\n\"\n_____________________ test_inline_suppr_builddir_j_cached ______________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:177: in test_inline_suppr_builddir_j_cached\n __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\ntests/test_harvest_whole_program.py:139: in __test_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n________________________ test_addon_no_artifacts[True] _________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:281: in test_addon_no_artifacts\n shutil.copyfile(os.path.join(SCRIPT_DIR, 'whole-program', 'whole1.c'), tmp_path / 'whole1.c')\n/usr/lib/python3.10/shutil.py:254: in copyfile\n with open(src, 'rb') as fsrc:\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/whole-program/whole1.c'\n____________________________ test_sln_invalid_file _____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_project.py:129: in test_sln_invalid_file\n __test_project_error(tmp_path, \"sln\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio solution file header not found\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_invalid_file2/file.sln'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_invalid_file2/file.sln'. An error occurred.\nE ? ^^^^^ ^^^ ^^\n_________________ test_cpp03_keywords_class_template_namespace _________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_keywords.py:259: in test_cpp03_keywords_class_template_namespace\n assert combined == golden_normalized\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/cpp03_only.cpp ...\nE /workspace/eval/test_resources/test_keywords/cpp03_only.cpp:4:14: warning: Member variable 'TestClass::cache' is not initialized in the constructor. [uninitMemberVar]\nE explicit TestClass(int x) : value(x) {}\nE ^\nE /workspace/eval/test_resources/test_keywords/cpp03_only.cpp:17:17: style: class member 'TestClass::cache' is never used. [unusedStructMember]\nE mutable int cache;...\nE \nE ...Full output truncated (15 lines hidden), use '-vv' to show\n_______________ test_unused_functions_project_builddir_j_process _______________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_unused_function.py:258: in test_unused_functions_project_builddir_j_process\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n___________________ test_no_valid_configuration_check_config ___________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:4322: in test_no_valid_configuration_check_config\n assert stderr.splitlines() == [\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['/tmp/pytest...syntaxError]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: checkersReport [unmatchedSuppression]' != '/tmp/pytest-of-root/pytest-0/popen-gw4/test_no_valid_configuration_ch2/test.c:1:2: error: No header in #include [syntaxError]'\nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_no_valid_configuration_ch2/test.c:1:2: error: No header in #include [syntaxError]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: checkersReport '...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n_____________________ test_ignore_project_2_path_relative ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2301: in test_ignore_project_2_path_relative\n __test_ignore_project_2(tmpdir, ['-isrc/'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n----------------------------- Captured stdout call -----------------------------\n['-isrc/', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel0/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-isrc/', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel1/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-isrc/', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel2/compile_commands.json']\n________________ test_compile_commands_missing_directory_field _________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:124: in test_compile_commands_missing_directory_field\n assert \"'directory' field in compilation database entry missing\" in output\nE assert \"'directory' field in compilation database entry missing\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/missing_directory.json'. The format is unknown.\\n\"\n_________________________ test_suppress_inline_project _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:208: in test_suppress_inline_project\n __test_suppress_inline_project(tmp_path, ['-j1', '--no-cppcheck-build-dir'])\ntests/test_harvest_whole_program.py:199: in __test_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n_______________________________ test_checkclass ________________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:325: in test_checkclass\n __test_checkclass(['-j1'])\ntests/test_harvest_whole_program.py:315: in __test_checkclass\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n______________________________ test_sln_no_header ______________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_project.py:139: in test_sln_no_header\n __test_project_error(tmp_path, \"sln\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio solution file header not found\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_no_header2/file.sln'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_no_header2/file.sln'. An error occurred.\nE ? ^^^^^ ^^^ ^^\n_____________________ test_integer_multiplication_overflow _____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_mathlib_gaps.py:538: in test_integer_multiplication_overflow\n assert \"integerOverflow\" in output\nE AssertionError: assert 'integerOverflow' in 'Checking /tmp/tmp7fnq2_m3/test.c ...\\n'\n____________________ test_cpp03_backwards_compat_with_cpp20 ____________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_keywords.py:289: in test_cpp03_backwards_compat_with_cpp20\n assert combined == golden_normalized\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/cpp03_only.cpp ...\nE /workspace/eval/test_resources/test_keywords/cpp03_only.cpp:4:14: warning: Member variable 'TestClass::cache' is not initialized in the constructor. [uninitMemberVar]\nE explicit TestClass(int x) : value(x) {}\nE ^\nE /workspace/eval/test_resources/test_keywords/cpp03_only.cpp:17:17: style: class member 'TestClass::cache' is never used. [unusedStructMember]\nE mutable int cache;...\nE \nE ...Full output truncated (15 lines hidden), use '-vv' to show\n_________________________ test_unused_functions_compdb _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_unused_function.py:300: in test_unused_functions_compdb\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unused_functions_compdb2/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n_____________________ test_compile_commands_compiler_flags _____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:371: in test_compile_commands_compiler_flags\n assert returncode == 0\nE assert 1 == 0\n________________ test_ignore_project_2_path_relative_backslash _________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2305: in test_ignore_project_2_path_relative_backslash\n __test_ignore_project_2(tmpdir, ['-isrc\\\\'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel3/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel4/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel5/compile_commands.json']\n_____________ test_compile_commands_missing_command_and_arguments ______________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:137: in test_compile_commands_missing_command_and_arguments\n assert \"no 'arguments' or 'command' field found\" in output\nE assert \"no 'arguments' or 'command' field found\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/missing_command.json'. The format is unknown.\\n\"\n_____________________________ test_sln_no_projects _____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_project.py:149: in test_sln_no_projects\n __test_project_error(tmp_path, \"sln\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: no projects found in Visual Studio solution file\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_no_projects2/file.sln'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_no_projects2/file.sln'. An error occurred.\nE ? ^^^^^ ^^^ ^^\n____________________ test_suppress_inline_project_builddir _____________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:219: in test_suppress_inline_project_builddir\n __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\ntests/test_harvest_whole_program.py:199: in __test_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n___________________________ test_checkclass_builddir ___________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:336: in test_checkclass_builddir\n __test_checkclass(['--cppcheck-build-dir={}'.format(build_dir)])\ntests/test_harvest_whole_program.py:315: in __test_checkclass\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n__________________________ test_shift_boundary_values __________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_mathlib_gaps.py:660: in test_shift_boundary_values\n assert \"shiftTooManyBitsSigned\" in output\nE AssertionError: assert 'shiftTooManyBitsSigned' in 'Checking /tmp/tmp6s9a2pnv/test.c ...\\n'\n______________________ test_cpp14_keywords_same_as_cpp11 _______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_keywords.py:355: in test_cpp14_keywords_same_as_cpp11\n assert combined == golden_normalized\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/cpp14_code.cpp ...\nE /workspace/eval/test_resources/test_keywords/cpp14_code.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\nE #include \nE ^\nE + /workspace/eval/test_resources/test_keywords/cpp14_code.cpp:6:29: style: Variable 'factorial' can be declared as pointer to const [constVariablePointer]\nE + return n <= 1 ? 1 : n * factorial(n-1);...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n________________________ test_unused_functions_compdb_j ________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_unused_function.py:323: in test_unused_functions_compdb_j\n assert result.stdout.splitlines() == [\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unused_functions_compdb_j2/compile_commands.json'. Project files are not supported.\" != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n_____________________ test_compile_commands_relative_path ______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:386: in test_compile_commands_relative_path\n assert returncode == 0\nE assert 1 == 0\n_________________ test_ignore_project_2_path_relative_wildcard _________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2309: in test_ignore_project_2_path_relative_wildcard\n __test_ignore_project_2(tmpdir, ['-isrc*/'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel8/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel8/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n----------------------------- Captured stdout call -----------------------------\n['-isrc*/', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel6/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-isrc*/', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel7/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-isrc*/', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel8/compile_commands.json']\n______________ test_compile_commands_unbalanced_quotes_in_command ______________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:150: in test_compile_commands_unbalanced_quotes_in_command\n assert 'Missing closing quote' in output\nE assert 'Missing closing quote' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/unbalanced_quotes.json'. The format is unknown.\\n\"\n_______________________ test_sln_project_file_not_found ________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_project.py:170: in test_sln_project_file_not_found\n __test_project_error(tmp_path, \"sln\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio project file is not a valid XML - XML_ERROR_FILE_NOT_FOUND\nE + cppcheck: error: failed to load '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_project_file_not_foun2/cli/cli.vcxproj' from Visual Studio solution\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_project_file_not_foun2/file.sln'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: faile...\nE \nE ...Full output truncated (2 lines hidden), use '-vv' to show\n_________________ test_suppress_inline_project_builddir_cached _________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:225: in test_suppress_inline_project_builddir_cached\n __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\ntests/test_harvest_whole_program.py:199: in __test_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n__________________________ test_checkclass_builddir_j __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:342: in test_checkclass_builddir_j\n __test_checkclass(['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\ntests/test_harvest_whole_program.py:315: in __test_checkclass\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n_______________________ test_integer_overflow_detection ________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_mathlib_gaps.py:120: in test_integer_overflow_detection\n assert \"integerOverflow\" in output\nE AssertionError: assert 'integerOverflow' in 'Checking /tmp/tmpm0csvjq5/test.c ...\\n'\n_______________ test_multiplication_overflow_and_special_values ________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_mathlib_round2.py:671: in test_multiplication_overflow_and_special_values\n assert \"integerOverflow\" in output\nE AssertionError: assert 'integerOverflow' in 'Checking /tmp/tmpmzjuuecr/test.c ...\\n'\n________________ test_unused_functions_compdb_buildir_j_thread _________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_unused_function.py:349: in test_unused_functions_compdb_buildir_j_thread\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unused_functions_compdb_b2/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n_____________________ test_compile_commands_absolute_path ______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:399: in test_compile_commands_absolute_path\n assert returncode == 0\nE assert 1 == 0\n____________________ test_compile_commands_complex_quoting _____________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:174: in test_compile_commands_complex_quoting\n assert returncode == 0\nE assert 1 == 0\n____________ test_ignore_project_2_path_relative_wildcard_backslash ____________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_other.py:2313: in test_ignore_project_2_path_relative_wildcard_backslash\n __test_ignore_project_2(tmpdir, ['-isrc*\\\\'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel11/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel11/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n----------------------------- Captured stdout call -----------------------------\n['-isrc*\\\\', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel9/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-isrc*\\\\', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel10/compile_commands.json']\n----------------------------- Captured stdout call -----------------------------\n['-isrc*\\\\', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel11/compile_commands.json']\n___________________________ test_vcxproj_no_xml_root ___________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_project.py:179: in test_vcxproj_no_xml_root\n __test_project_error(tmp_path, \"vcxproj\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio project file has no XML root node\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_vcxproj_no_xml_root2/file.vcxproj'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_vcxproj_no_xml_root2/file.vcxproj'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to show\n___________________ test_suppress_inline_project_builddir_j ____________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:232: in test_suppress_inline_project_builddir_j\n __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\ntests/test_harvest_whole_program.py:199: in __test_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n___________________________ test_checkclass_project ____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:373: in test_checkclass_project\n __test_checkclass_project(tmpdir, ['-j1'])\ntests/test_harvest_whole_program.py:363: in __test_checkclass_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n_______________ test_unused_functions_compdb_builddir_j_process ________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_unused_function.py:376: in test_unused_functions_compdb_builddir_j_process\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unused_functions_compdb_b5/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n________________________ test_shift_overflow_detection _________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_mathlib_gaps.py:227: in test_shift_overflow_detection\n assert \"shiftTooManyBitsSigned\" in output\nE AssertionError: assert 'shiftTooManyBitsSigned' in 'Checking /tmp/tmpd_xg539x/test.c ...\\n/tmp/tmpd_xg539x/test.c:3:15: error: Shifting 32-bit value by 32 bits is undefined behaviour [shiftTooManyBits]\\n int b = 1 << 32;\\n ^\\n/tmp/tmpd_xg539x/test.c:4:15: error: Shifting 32-bit value by 64 bits is undefined behaviour [shiftTooManyBits]\\n int c = 1 << 64;\\n ^\\n/tmp/tmpd_xg539x/test.c:6:25: error: Shifting 32-bit value by 32 bits is undefined behaviour [shiftTooManyBits]\\n unsigned int e = 1U << 32;\\n ^\\n'\n____________________ test_compile_commands_duplicate_files _____________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:431: in test_compile_commands_duplicate_files\n assert returncode == 0\nE assert 1 == 0\n______________________ test_arithmetic_overflow_detection ______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:402: in test_arithmetic_overflow_detection\n assert '' in content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n__________________ test_compile_commands_wrong_type_directory __________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:291: in test_compile_commands_wrong_type_directory\n assert \"'directory' field in compilation database entry is not a string\" in output\nE assert \"'directory' field in compilation database entry is not a string\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/wrong_type_directory.json'. The format is unknown.\\n\"\n_____________________________ test_bpr_no_xml_root _____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_project.py:188: in test_bpr_no_xml_root\n __test_project_error(tmp_path, \"bpr\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Borland project file has no XML root node\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_bpr_no_xml_root2/file.bpr'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_bpr_no_xml_root2/file.bpr'. An error occurred.\nE ? ^^^^^ ^^^ ^^\n________________ test_suppress_inline_project_builddir_j_cached ________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:238: in test_suppress_inline_project_builddir_j_cached\n __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\ntests/test_harvest_whole_program.py:199: in __test_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n_____________________ test_simple_constant_value_tracking ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:72: in test_simple_constant_value_tracking\n assert \"Condition 'y==15' is always true\" in result.stderr\nE assert \"Condition 'y==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:9:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:9:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:9:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\").stderr\n_______________________ test_checkclass_project_builddir _______________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:384: in test_checkclass_project_builddir\n __test_checkclass_project(tmpdir, ['-j1', '--cppcheck-build-dir={}'.format(build_dir)])\ntests/test_harvest_whole_program.py:363: in __test_checkclass_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n__________________________ test_addon_suppress_inline __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:96: in test_addon_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n______________________ test_compile_commands_empty_array _______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:448: in test_compile_commands_empty_array\n assert 'no C or C++ source files found' in output\nE assert 'no C or C++ source files found' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/empty_array.json'. The format is unknown.\\n\"\n_______________________ test_hex_out_of_range_detection ________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_mathlib_gaps.py:332: in test_hex_out_of_range_detection\n assert \"Internal Error. MathLib::toBigUNumber: out_of_range:\" in output\nE AssertionError: assert 'Internal Error. MathLib::toBigUNumber: out_of_range:' in 'Checking /tmp/tmpaiovxhvq/test.c ...\\n'\n____________________ test_nested_conditional_value_tracking ____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:471: in test_nested_conditional_value_tracking\n assert '' in content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n___________________ test_compile_commands_wrong_type_command ___________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:304: in test_compile_commands_wrong_type_command\n assert \"'command' field in compilation database entry is not a string\" in output\nE assert \"'command' field in compilation database entry is not a string\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/wrong_type_command.json'. The format is unknown.\\n\"\n__________________________ test_cppcheck_no_xml_root ___________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_project.py:197: in test_cppcheck_no_xml_root\n __test_project_error(tmp_path, \"cppcheck\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Cppcheck GUI project file has no XML root node\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_cppcheck_no_xml_root2/file.cppcheck'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_cppcheck_no_xml_root2/file.cppcheck'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to show\n_____________________ test_conditional_value_flow_branches _____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:106: in test_conditional_value_flow_branches\n assert valueflow is not None\nE assert None is not None\n___________________________ test_addon_rerun[False] ____________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:255: in test_addon_rerun\n _, _, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n______________________ test_checkclass_project_builddir_j ______________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:390: in test_checkclass_project_builddir_j\n __test_checkclass_project(tmpdir, ['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\ntests/test_harvest_whole_program.py:363: in __test_checkclass_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n_____________________________ test_sln_empty_file ______________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:459: in test_sln_empty_file\n assert 'Visual Studio solution file is empty' in output\nE assert 'Visual Studio solution file is empty' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/empty.sln'. Project files are not supported.\\n\"\n______________________ test_array_element_value_tracking _______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:134: in test_array_element_value_tracking\n assert '' in content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ... \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n______________________ test_addon_suppress_inline_project ______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:118: in test_addon_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n_______________________ test_switch_case_value_tracking ________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:506: in test_switch_case_value_tracking\n assert '' in content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n__________________ test_compile_commands_wrong_type_arguments __________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:316: in test_compile_commands_wrong_type_arguments\n assert \"'arguments' field in compilation database entry is not a JSON array\" in output\nE assert \"'arguments' field in compilation database entry is not a JSON array\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/wrong_type_arguments.json'. The format is unknown.\\n\"\n____________________________ test_unused_functions _____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_qml.py:47: in test_unused_functions\n run_unused_functions_test(['-j1', '--no-cppcheck-build-dir'])\ntests/test_harvest_qml.py:30: in run_unused_functions_test\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...-build-dir\".'] == []\nE \nE Left contains one more item: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".'\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: unrecognized command line option: '\nE + '\"--no-cppcheck-build-dir\".',\nE + ]\n______________________ test_increment_decrement_tracking _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:790: in test_increment_decrement_tracking\n assert \"Condition 'x==6' is always true\" in result.stderr\nE assert \"Condition 'x==6' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr\n____________________________ test_addon_rerun[True] ____________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:255: in test_addon_rerun\n _, _, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n___________________________ test_sln_invalid_format ____________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:472: in test_sln_invalid_format\n assert 'Visual Studio solution file header not found' in output\nE assert 'Visual Studio solution file header not found' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/invalid.sln'. Project files are not supported.\\n\"\n_____________________________ test_ctu_odr_config ______________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:403: in test_ctu_odr_config\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n___________________ test_pointer_aliasing_value_modification ___________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:164: in test_pointer_aliasing_value_modification\n assert '' in content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n_____________________________ test_suppress_inline _____________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:147: in test_suppress_inline\n __test_suppress_inline(['-j1', '--no-cppcheck-build-dir'])\ntests/test_harvest_whole_program.py:139: in __test_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n_____________________ test_ternary_operator_value_tracking _____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:529: in test_ternary_operator_value_tracking\n assert '' in content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n_____________________ test_compile_commands_multiple_files _____________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:347: in test_compile_commands_multiple_files\n assert returncode == 0\nE assert 1 == 0\n___________________________ test_unused_functions_j ____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_qml.py:59: in test_unused_functions_j\n assert \"cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.\" in stdout_lines\nE assert 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.' in ['cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".']\n__________________________ test_const_value_tracking ___________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:811: in test_const_value_tracking\n assert \"Condition 'y==15' is always true\" in result.stderr\nE assert \"Condition 'y==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr\n_______________________ test_addon_builddir_use_ctuinfo ________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:268: in test_addon_builddir_use_ctuinfo\n _, _, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n___________________________ test_vcxproj_invalid_xml ___________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:484: in test_vcxproj_invalid_xml\n assert 'Visual Studio project file is not a valid XML' in output\nE assert 'Visual Studio project file is not a valid XML' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/invalid.vcxproj'. Project files are not supported.\\n\"\n______________________ test_struct_member_value_tracking _______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:214: in test_struct_member_value_tracking\n assert \"Condition 'sum==15' is always true\" in result.stderr\nE assert \"Condition 'sum==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c:13:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c:13:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c:13:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr\n____________________________ test_nullpointer_file0 ____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:434: in test_nullpointer_file0\n __test_nullpointer_file0(['-j1'])\ntests/test_harvest_whole_program.py:422: in __test_nullpointer_file0\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n________________________ test_switch_statement_reverse _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_reverseanalyzer.py:145: in test_switch_statement_reverse\n assert output.count('unreadVariable') >= 3\nE assert 2 >= 3\nE + where 2 = ('unreadVariable')\nE + where = \"Checking /workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:22:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:31:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n y = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:2:6: style: The function 'test_switch' is never used. [unusedFunction]\\nvoid test_switch() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:20:6: style: The function 'test_switch_fallthrough' is never used. [unusedFunction]\\nvoid test_switch_fallthrough() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:36:6: style: The function 'test_switch_no_default' is never used. [unusedFunction]\\nvoid test_switch_no_default() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\".count\n_____________________ test_function_return_value_tracking ______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:558: in test_function_return_value_tracking\n assert '' in content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n_____________________ test_shift_operation_value_tracking ______________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:602: in test_shift_operation_value_tracking\n assert \"Condition 'y==16' is always true\" in result.stderr\nE assert \"Condition 'y==16' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr\n________________________ test_unused_functions_builddir ________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_qml.py:68: in test_unused_functions_builddir\n run_unused_functions_test([f'--cppcheck-build-dir={build_dir}'])\ntests/test_harvest_qml.py:41: in run_unused_functions_test\n assert lines == expected\nE assert ['/workspace/...sedFunction]'] == ['/workspace/...sedFunction]']\nE \nE At index 0 diff: '/workspace/test/cli/QML-Samples-TableView/TableRow.qml:20:57: error: syntax error [syntaxError]' != \"/workspace/test/cli/QML-Samples-TableView/samplemodel.cpp:15:23: style: The function 'data' is never used. [unusedFunction]\"\nE Left contains one more item: \"/workspace/test/cli/QML-Samples-TableView/samplemodel.cpp:9:18: style: The function 'rowCount' is never used. [unusedFunction]\"\nE \nE Full diff:\nE [\nE + '/workspace/test/cli/QML-Samples-TableView/TableRow.qml:20:57: error: '...\nE \nE ...Full output truncated (8 lines hidden), use '-vv' to show\n_____________________ test_macro_defined_constant_tracking _____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:855: in test_macro_defined_constant_tracking\n assert \"Condition 'x==42' is always true\" in result.stderr\nE assert \"Condition 'x==42' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: style: The comparison 'x == 42' is always true. [knownConditionTrueFalse]\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:5:13: note: 'x' is assigned value '42' here.\\n int x = VALUE;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: note: The comparison 'x == 42' is always true.\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: style: The comparison 'x == 42' is always true. [knownConditionTrueFalse]\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:5:13: note: 'x' is assigned value '42' here.\\n int x = VALUE;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: note: The comparison 'x == 42' is always true.\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: style: The comparison 'x == 42' is always true. [knownConditionTrueFalse]\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:5:13: note: 'x' is assigned value '42' here.\\n int x = VALUE;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: note: The comparison 'x == 42' is always true.\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr\n____________________________ test_vcxproj_empty_xml ____________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:496: in test_vcxproj_empty_xml\n assert 'Visual Studio project file has no XML root node' in output\nE assert 'Visual Studio project file has no XML root node' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/empty.vcxproj'. Project files are not supported.\\n\"\n_____________________ test_container_size_tracking_vector ______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:244: in test_container_size_tracking_vector\n assert \"Condition 'vec.size()==3' is always true\" in result.stderr\nE assert \"Condition 'vec.size()==3' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:11:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:15:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 2;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:11:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:15:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 2;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:11:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:15:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 2;\\n ^\\n\").stderr\n________________________ test_pointer_analysis_reverse _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_reverseanalyzer.py:160: in test_pointer_analysis_reverse\n assert 'knownConditionTrueFalse' in output\nE assert 'knownConditionTrueFalse' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n int* p = &x;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:20:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n int* p = nullptr;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:2:6: style: The function 'test_pointer_basic' is never used. [unusedFunction]\\nvoid test_pointer_basic() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:10:6: style: The function 'test_pointer_assignment' is never used. [unusedFunction]\\nvoid test_pointer_assignment() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:19:6: style: The function 'test_nullptr' is never used. [unusedFunction]\\nvoid test_nullptr() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:26:6: style: The function 'test_array_access' is never used. [unusedFunction]\\nvoid test_array_access() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n______________________ test_nullpointer_file0_builddir_j _______________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:445: in test_nullpointer_file0_builddir_j\n __test_nullpointer_file0(['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\ntests/test_harvest_whole_program.py:422: in __test_nullpointer_file0\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'\n____________________ test_bitwise_operation_value_tracking _____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:581: in test_bitwise_operation_value_tracking\n assert \"Condition 'z==1' is always true\" in result.stderr\nE assert \"Condition 'z==1' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\").stderr\n_____________________ test_modulo_operation_value_tracking _____________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:623: in test_modulo_operation_value_tracking\n assert \"Condition 'y==1' is always true\" in result.stderr\nE assert \"Condition 'y==1' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr\n___________________ test_multiple_inheritance_symboldatabase ___________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_symboldatabase.py:69: in test_multiple_inheritance_symboldatabase\n assert derived_type is not None, \"Derived class type not found in symboldatabase\"\nE AssertionError: Derived class type not found in symboldatabase\nE assert None is not None\n___________________ test_variable_attributes_symboldatabase ____________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_symboldatabase.py:307: in test_variable_attributes_symboldatabase\n assert holder_scope is not None, \"DataHolder class not found\"\nE AssertionError: DataHolder class not found\nE assert None is not None\n_______________________ test_logical_and_value_tracking ________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:896: in test_logical_and_value_tracking\n assert \"Condition 'result' is always true\" in result.stderr\nE assert \"Condition 'result' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr\n_________________ test_compile_commands_defines_without_values _________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:522: in test_compile_commands_defines_without_values\n assert returncode == 0\nE assert 1 == 0\n_____________________ test_container_empty_value_tracking ______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:277: in test_container_empty_value_tracking\n assert len(empty_conditions) >= 2\nE assert 0 >= 2\nE + where 0 = len([])\n__________________________ test_complex_control_flow ___________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_reverseanalyzer.py:183: in test_complex_control_flow\n assert output.count('knownConditionTrueFalse') >= 6\nE assert 5 >= 6\nE + where 5 = ('knownConditionTrueFalse')\nE + where = \"Checking /workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:34:11: style: Condition 'x<5' is always false [knownConditionTrueFalse]\\n if (x < 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:33:13: note: Assignment 'x=10', assigned value is 10\\n int x = 10;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:34:11: note: Condition 'x<5' is always false\\n if (x < 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:37:11: style: Condition 'x>15' is always false [knownConditionTrueFalse]\\n if (x > 15) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:33:13: note: Assignment 'x=10', assigned value is 10\\n int x = 10;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:37:11: note: Condition 'x>15' is always false\\n if (x > 15) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:5:11: style: The comparison '...on 'test_nested_if' is never used. [unusedFunction]\\nvoid test_nested_if() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:13:6: style: The function 'test_nested_loops' is never used. [unusedFunction]\\nvoid test_nested_loops() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:21:6: style: The function 'test_goto_label' is never used. [unusedFunction]\\nvoid test_goto_label() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:32:6: style: The function 'test_multiple_returns' is never used. [unusedFunction]\\nvoid test_multiple_returns() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:44:6: style: The function 'test_compound_assignment' is never used. [unusedFunction]\\nvoid test_compound_assignment() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:52:6: style: The function 'test_increment_decrement' is never used. [unusedFunction]\\nvoid test_increment_decrement() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\".count\n____________________ test_nullpointer_out_of_memory[False] _____________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_whole_program.py:484: in test_nullpointer_out_of_memory\n assert results == ['[ctunullpointerOutOfMemory]']\nE AssertionError: assert [] == ['[ctunullpoi...OutOfMemory]']\nE \nE Right contains one more item: '[ctunullpointerOutOfMemory]'\nE \nE Full diff:\nE + []\nE - [\nE - '[ctunullpointerOutOfMemory]',\nE - ]\n_______________________ test_equality_operators_tracking _______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:981: in test_equality_operators_tracking\n assert \"Condition 'eq' is always true\" in result.stderr\nE assert \"Condition 'eq' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:3:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: note: The comparison 'x == 5' is always true.\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:7:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:3:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: note: The comparison 'x == 5' is always true.\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:7:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:3:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: note: The comparison 'x == 5' is always true.\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:7:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr\n_________________________ test_negative_value_tracking _________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:644: in test_negative_value_tracking\n assert \"Condition 'y==5' is always true\" in result.stderr\nE assert \"Condition 'y==5' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr\n________________________ test_enum_types_symboldatabase ________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_symboldatabase.py:144: in test_enum_types_symboldatabase\n assert len(enum_scopes) >= 2, f\"Expected at least 2 enum scopes, got {len(enum_scopes)}\"\nE AssertionError: Expected at least 2 enum scopes, got 0\nE assert 0 >= 2\nE + where 0 = len([])\n_____________________ test_namespace_scopes_symboldatabase _____________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_symboldatabase.py:362: in test_namespace_scopes_symboldatabase\n assert len(namespace_scopes) >= 2, \\\nE AssertionError: Expected at least 2 namespace scopes (Outer, Inner), got 0\nE assert 0 >= 2\nE + where 0 = len([])\n________________________ test_logical_or_value_tracking ________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:917: in test_logical_or_value_tracking\n assert \"Condition 'result' is always true\" in result.stderr\nE assert \"Condition 'result' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr\n_______________________ test_compile_commands_undefines ________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:551: in test_compile_commands_undefines\n assert returncode == 0\nE assert 1 == 0\n______________________ test_multiple_assignments_tracking ______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:305: in test_multiple_assignments_tracking\n assert \"Condition 'x==15' is always true\" in result.stderr\nE assert \"Condition 'x==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: style: Condition 'x==5' is always false [knownConditionTrueFalse]\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: Assignment 'x=15', assigned value is 15\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: note: Condition 'x==5' is always false\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: note: x is initialized\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: note: x is overwritten\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:7: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment]\\n x = 15;\\n ^\\n/tmp/...:11: style: The comparison 'x == 15' is always true. [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: 'x' is assigned value '15' here.\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:6:11: note: The comparison 'x == 15' is always true.\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:10:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 2;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: style: Condition 'x==5' is always false [knownConditionTrueFalse]\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: Assignment 'x=15', assigned value is 15\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: note: Condition 'x==5' is always false\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: note: x is initialized\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: note: x is overwritten\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:7: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment]\\n x = 15;\\n ^\\n/tmp/...:11: style: The comparison 'x == 15' is always true. [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: 'x' is assigned value '15' here.\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:6:11: note: The comparison 'x == 15' is always true.\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:10:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 2;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: style: Condition 'x==5' is always false [knownConditionTrueFalse]\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: Assignment 'x=15', assigned value is 15\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: note: Condition 'x==5' is always false\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: note: x is initialized\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test...11: style: The comparison 'x == 15' is always true. [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: 'x' is assigned value '15' here.\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:6:11: note: The comparison 'x == 15' is always true.\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:10:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 2;\\n ^\\n\").stderr\n___________________________ test_dead_code_detection ___________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_reverseanalyzer.py:218: in test_dead_code_detection\n assert \"The condition 'x != 0' is redundant since 'x == 5' is sufficient\" in output\nE assert \"The condition 'x != 0' is redundant since 'x == 5' is sufficient\" in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:18:16: style: Redundant condition: x == 5. 'x != 0 && x == 5' is equivalent to 'x == 5' [redundantCondition]\\n if (x != 0 && x == 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:17:13: note: 'x' is assigned value '0' here.\\n int x = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:18:16: note: Redundant condition: x == 5. 'x != 0 && x == 5' is equivalent to 'x == 5'\\n if (x != 0 && x == 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:26:21: style: Condition 'x==2' is always false [knownConditionTrueFalse]\\n if (x == 1 || x == 2) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:25:13: note: Assignment 'x=1', assigned value is 1\\n int x = 1;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:26:21: note: Condition 'x==2' is always false\\n if (x == 1 || x == 2) {\\n ^\\n/workspace/eval/test_resources/test_reversea... that is never used. [unreadVariable]\\n x = 10;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:2:6: style: The function 'test_dead_after_return' is never used. [unusedFunction]\\nvoid test_dead_after_return() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:8:6: style: The function 'test_dead_in_false_condition' is never used. [unusedFunction]\\nvoid test_dead_in_false_condition() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:16:6: style: The function 'test_dead_in_and_operator' is never used. [unusedFunction]\\nvoid test_dead_in_and_operator() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:24:6: style: The function 'test_dead_in_or_operator' is never used. [unusedFunction]\\nvoid test_dead_in_or_operator() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:32:6: style: The function 'test_unreachable_after_unconditional_branch' is never used. [unusedFunction]\\nvoid test_unreachable_after_unconditional_branch() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n______________________ test_elif_without_initial_if_error ______________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_simplecpp.py:605: in test_elif_without_initial_if_error\n assert \"syntaxError\" in output\nE AssertionError: assert 'syntaxError' in 'Checking /tmp/tmp68ifjcpq/test.c ...\\n/tmp/tmp68ifjcpq/test.c:1:2: error: #elif without #if [preprocessorErrorDirective]\\n#elif VERSION == 2\\n ^\\n'\n____________________ test_parenthesized_expression_tracking ____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:1005: in test_parenthesized_expression_tracking\n assert \"Condition 'result==20' is always true\" in result.stderr\nE assert \"Condition 'result==20' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr\n_________________________ test_unsigned_value_tracking _________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:665: in test_unsigned_value_tracking\n assert \"Condition 'y==15' is always true\" in result.stderr\nE assert \"Condition 'y==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr\n______________________ test_nested_classes_symboldatabase ______________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_symboldatabase.py:217: in test_nested_classes_symboldatabase\n assert outer_scope is not None, \"Outer class not found\"\nE AssertionError: Outer class not found\nE assert None is not None\n_______________________ test_logical_not_value_tracking ________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:937: in test_logical_not_value_tracking\n assert \"Condition 'result' is always true\" in result.stderr\nE assert \"Condition 'result' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c:6:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c:6:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c:6:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr\n___________________ test_friend_declarations_symboldatabase ____________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_symboldatabase.py:420: in test_friend_declarations_symboldatabase\n assert base_scope is not None, \"Base class not found\"\nE AssertionError: Base class not found\nE assert None is not None\n_____________________ test_compile_commands_standard_flag ______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:568: in test_compile_commands_standard_flag\n assert returncode == 0\nE assert 1 == 0\n_____________________ test_expression_evaluation_in_memory _____________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:329: in test_expression_evaluation_in_memory\n assert \"Condition 'x==20' is always true\" in result.stderr\nE assert \"Condition 'x==20' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr\n________________________ test_struct_and_class_members _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_reverseanalyzer.py:233: in test_struct_and_class_members\n assert 'knownConditionTrueFalse' in output\nE assert 'knownConditionTrueFalse' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp:7:6: style: The function 'test_struct_member_access' is never used. [unusedFunction]\\nvoid test_struct_member_access() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp:23:10: style: The function 'increment' is never used. [unusedFunction]\\n void increment() { value++; }\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp:26:6: style: The function 'test_class_member' is never used. [unusedFunction]\\nvoid test_class_member() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp:34:6: style: The function 'test_struct_initialization' is never used. [unusedFunction]\\nvoid test_struct_initialization() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n__________________________ test_else_without_if_error __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_simplecpp.py:627: in test_else_without_if_error\n assert \"syntaxError\" in output\nE AssertionError: assert 'syntaxError' in 'Checking /tmp/tmpvud0x9jy/test.c ...\\n/tmp/tmpvud0x9jy/test.c:1:2: error: #else without #if [preprocessorErrorDirective]\\n#else\\n ^\\n'\n_______________________ test_unary_minus_value_tracking ________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:1025: in test_unary_minus_value_tracking\n assert \"Condition 'y==-5' is always true\" in result.stderr\nE assert \"Condition 'y==-5' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr\n___________________________ test_char_value_tracking ___________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:686: in test_char_value_tracking\n assert \"Condition 'x==66' is always true\" in result.stderr\nE assert \"Condition 'x==66' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr\n___________________ test_function_overloading_symboldatabase ___________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_symboldatabase.py:267: in test_function_overloading_symboldatabase\n assert calc_scope is not None, \"Calculator class not found\"\nE AssertionError: Calculator class not found\nE assert None is not None\n__________________ test_constructor_destructor_symboldatabase __________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_symboldatabase.py:462: in test_constructor_destructor_symboldatabase\n assert len(functions) >= 5, f\"Expected at least 5 functions, got {len(functions)}\"\nE AssertionError: Expected at least 5 functions, got 0\nE assert 0 >= 5\nE + where 0 = len([])\n______________________ test_comparison_operators_tracking ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:959: in test_comparison_operators_tracking\n assert \"Condition 'greater' is always true\" in result.stderr\nE assert \"Condition 'greater' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c:8:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c:8:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c:8:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr\n_________________ test_compile_commands_visual_studio_patterns _________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_importproject.py:593: in test_compile_commands_visual_studio_patterns\n assert returncode == 0\nE assert 1 == 0\n______________________ test_string_literal_value_tracking ______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:1152: in test_string_literal_value_tracking\n assert '' in content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n___________________________ test_complex_expressions ___________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_reverseanalyzer.py:255: in test_complex_expressions\n assert 'knownConditionTrueFalse' in output\nE assert 'knownConditionTrueFalse' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:2:6: style: The function 'test_arithmetic_expressions' is never used. [unusedFunction]\\nvoid test_arithmetic_expressions() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:11:6: style: The function 'test_boolean_expressions' is never used. [unusedFunction]\\nvoid test_boolean_expressions() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:21:6: style: The function 'test_comparison_chain' is never used. [unusedFunction]\\nvoid test_comparison_chain() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:29:6: style: The function 'test_bitwise_operations' is never used. [unusedFunction]\\nvoid test_bitwise_operations() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:37:6: style: The function 'test_modulo_operation' is never used. [unusedFunction]\\nvoid test_modulo_operation() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:45:6: style: The function 'test_division' is never used. [unusedFunction]\\nvoid test_division() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_________________________ test_endif_without_if_error __________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_simplecpp.py:648: in test_endif_without_if_error\n assert \"syntaxError\" in output\nE AssertionError: assert 'syntaxError' in 'Checking /tmp/tmp527o82bm/test.c ...\\n/tmp/tmp527o82bm/test.c:2:2: error: #endif without #if [preprocessorErrorDirective]\\n#endif\\n ^\\n'\n________________________ test_unary_plus_value_tracking ________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:1045: in test_unary_plus_value_tracking\n assert \"Condition 'y==5' is always true\" in result.stderr\nE assert \"Condition 'y==5' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr\n________________________ test_bitwise_or_value_tracking ________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:707: in test_bitwise_or_value_tracking\n assert \"Condition 'z==7' is always true\" in result.stderr\nE assert \"Condition 'z==7' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\").stderr\n__________________ test_variadic_template_class_and_function ___________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:64: in test_variadic_template_class_and_function\n assert \"unreadVariable\" in output # Expected warning on 't'\nE AssertionError: assert 'unreadVariable' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/variadic_template.cpp ...\\n'\n____________________ test_access_specifiers_symboldatabase _____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_symboldatabase.py:665: in test_access_specifiers_symboldatabase\n assert access_test is not None, \"AccessTest class not found\"\nE AssertionError: AccessTest class not found\nE assert None is not None\n___________________ test_operator_overloading_symboldatabase ___________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_symboldatabase.py:522: in test_operator_overloading_symboldatabase\n assert complex_scope is not None, \"Complex class not found\"\nE AssertionError: Complex class not found\nE assert None is not None\n______________________ test_template_non_type_parameters _______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:218: in test_template_non_type_parameters\n assert \"Buffer < 100 >\" in output\nE assert 'Buffer < 100 >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:3:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass Buffer {\\n^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:22:13: error: Uninitialized struct member: buf1.getSize [uninitStructMember]\\n int x = buf1.getSize();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:23:13: error: Uninitialized struct member: buf2.getSize [uninitStructMember]\\n int y = buf2.getSize();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:4:10: style: class member 'Buffer::data' is never used. [unusedStructMember]\\n char data[SIZE];\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:26:14: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n double w = multiply(3.14);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:28:12: style: Variable 'v1' is assigned a value that is never used. [unreadVariable]\\n int v1 = Conditional::value;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:29:12: style: Variable 'v2' is assigned a value that is never used. [unreadVariable]\\n int v2 = Conditional::value;\\n ^\\n\"\n_________________ test_multiple_operators_precedence_tracking __________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:1175: in test_multiple_operators_precedence_tracking\n assert \"Condition 'result==14' is always true\" in result.stderr\nE assert \"Condition 'result==14' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr\n______________________ test_template_operator_overloading ______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:418: in test_template_operator_overloading\n assert \"Value < int >\" in output\nE assert 'Value < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp:6:5: style: Class 'Value' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Value(T v) : val(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp:13:31: style: Variable 'factor' can be declared as pointer to const [constVariablePointer]\\n return Value(val * factor);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp:13:31: style: Unused variable: factor [unusedVariable]\\n return Value(val * factor);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp:28:13: style: Variable 'eq' is assigned a value that is never used. [unreadVariable]\\n bool eq = (v1 == v2);\\n ^\\n\"\n_______________________ test_bitwise_not_value_tracking ________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:1065: in test_bitwise_not_value_tracking\n assert \"Condition 'y==-1' is always true\" in result.stderr\nE assert \"Condition 'y==-1' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr\n_______________________ test_bitwise_xor_value_tracking ________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:728: in test_bitwise_xor_value_tracking\n assert \"Condition 'z==6' is always true\" in result.stderr\nE assert \"Condition 'z==6' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\").stderr\n__________________ test_constexpr_if_conditional_compilation ___________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_round2.py:474: in test_constexpr_if_conditional_compilation\n assert dump_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/workspace/eval/test_resources/test_templatesimplifier_round2/constexpr_if.cpp.dump').exists\n_____________ test_template_default_parameters_class_and_function ______________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:81: in test_template_default_parameters_class_and_function\n assert \"Array < int , 10 >\" in output\nE assert 'Array < int , 10 >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/default_template_params.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/default_template_params.cpp:4:7: style: class member 'Array::data' is never used. [unusedStructMember]\\n T data[N];\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/default_template_params.cpp:18:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = convert(3.14); // Uses defaults: T=int, U=double\\n ^\\n\"\n______________________ test_typedef_using_symboldatabase _______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_symboldatabase.py:558: in test_typedef_using_symboldatabase\n assert len(types) > 0, \"No types found in symboldatabase\"\nE AssertionError: No types found in symboldatabase\nE assert 0 > 0\nE + where 0 = len([])\n______________________ test_static_members_symboldatabase ______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_symboldatabase.py:726: in test_static_members_symboldatabase\n assert counter_scope is not None, \"Counter class not found\"\nE AssertionError: Counter class not found\nE assert None is not None\n________________________ test_template_member_functions ________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:239: in test_template_member_functions\n assert \"Container < int >\" in output\nE assert 'Container < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_member_functions.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_member_functions.cpp:6:5: style: Class 'Container' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Container(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_member_functions.cpp:21:14: style: Variable 'd' is assigned a value that is never used. [unreadVariable]\\n double d = c1.convert();\\n ^\\n\"\n_____________________ test_mixed_arithmetic_types_tracking _____________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:1197: in test_mixed_arithmetic_types_tracking\n assert \"Condition 'result==60' is always true\" in result.stderr\nE assert \"Condition 'result==60' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr\n______________ test_template_constexpr_recursive_metaprogramming _______________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:436: in test_template_constexpr_recursive_metaprogramming\n assert \"StaticArray < int , 5 >\" in output\nE assert 'StaticArray < int , 5 >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_constexpr.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_constexpr.cpp:25:16: style: Variable 'fact10' is assigned a value that is never used. [unreadVariable]\\n int fact10 = Factorial<10>::value;\\n ^\\n\"\n___________________________ test_cast_value_tracking ___________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:1085: in test_cast_value_tracking\n assert \"Condition 'c=='A'' is always true\" in result.stderr\nE assert \"Condition 'c=='A'' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr\n_______________________ test_right_shift_value_tracking ________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:748: in test_right_shift_value_tracking\n assert \"Condition 'y==4' is always true\" in result.stderr\nE assert \"Condition 'y==4' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr\n_________________________ test_nested_template_classes _________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:106: in test_nested_template_classes\n assert \"Outer < double >\" in output\nE AssertionError: assert 'Outer < double >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/nested_templates.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/nested_templates.cpp:22:19: style: Unused variable: outer [unusedVariable]\\n Outer outer;\\n ^\\n'\n______________________ test_recursive_template_factorial _______________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_round3.py:46: in test_recursive_template_factorial\n assert 'Factorial < 0 >' in dump_content, \"Base case Factorial<0> must be instantiated\"\nE AssertionError: Base case Factorial<0> must be instantiated\nE assert 'Factorial < 0 >' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n_______________________ test_struct_union_symboldatabase _______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_symboldatabase.py:601: in test_struct_union_symboldatabase\n assert simple_struct is not None, \"SimpleStruct not found\"\nE AssertionError: SimpleStruct not found\nE assert None is not None\n____________________ test_function_pointers_symboldatabase _____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_symboldatabase.py:775: in test_function_pointers_symboldatabase\n assert holder_scope is not None, \"FunctionHolder class not found\"\nE AssertionError: FunctionHolder class not found\nE assert None is not None\n_________________________ test_template_static_members _________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:261: in test_template_static_members\n assert \"Counter < int >\" in output\nE AssertionError: assert 'Counter < int >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_static_members_v3.cpp ...\\n'\n_____________________ test_short_circuit_and_side_effects ______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:1224: in test_short_circuit_and_side_effects\n assert \"Condition 'y==10' is always true\" in result.stderr\nE assert \"Condition 'y==10' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: style: Condition 'x' is always false [knownConditionTrueFalse]\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:3:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: note: Condition 'x' is always false\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:10:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: style: Condition 'x' is always false [knownConditionTrueFalse]\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:3:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: note: Condition 'x' is always false\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:10:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: style: Condition 'x' is always false [knownConditionTrueFalse]\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:3:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: note: Condition 'x' is always false\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:10:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\").stderr\n____________________ test_template_recursive_instantiation _____________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:452: in test_template_recursive_instantiation\n assert \"TreeNode < int , 2 >\" in output\nE assert 'TreeNode < int , 2 >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_recursive.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_recursive.cpp:23:5: style: Class 'TreeNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n TreeNode(T v) : value(v), left(nullptr), right(nullptr) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_recursive.cpp:37:15: style: Variable 'fib10' is assigned a value that is never used. [unreadVariable]\\n int fib10 = Fibonacci<10>::value;\\n ^\\n\"\n______________________ test_compound_assignment_tracking _______________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_programmemory.py:769: in test_compound_assignment_tracking\n assert \"Condition 'x==15' is always true\" in result.stderr\nE assert \"Condition 'x==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: style: Condition 'x==15' is always false [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:3:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: note: Condition 'x==15' is always false\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: style: Condition 'x==15' is always false [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:3:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: note: Condition 'x==15' is always false\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: style: Condition 'x==15' is always false [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:3:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: note: Condition 'x==15' is always false\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr\n______________________ test_template_friend_declarations _______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_round3.py:320: in test_template_friend_declarations\n assert 'Wrapper < int >' in output, \"Should mention Wrapper\"\nE AssertionError: Should mention Wrapper\nE assert 'Wrapper < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_friend.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_friend.cpp:14:5: style: Class 'Wrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Wrapper(T v) : value(v) {}\\n ^\\n\"\n____________________ test_template_full_specialization_bool ____________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:123: in test_template_full_specialization_bool\n assert \"Calculator < int >\" in output\nE assert 'Calculator < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:19:20: style: Parameter 'a' can be declared as pointer to const [constParameterPointer]\\n T* multiply(T* a, T* b) { return nullptr; }\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:19:26: style: Parameter 'b' can be declared as pointer to const [constParameterPointer]\\n T* multiply(T* a, T* b) { return nullptr; }\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:30:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n double* p = calc_ptr.multiply(nullptr, nullptr);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:27:12: style: Variable 'b' is assigned a value that is never used. [unreadVariable]\\n bool b = calc_bool.multiply(true, false);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:30:15: style: Variable 'p' is assigned a value that is never used. [unreadVariable]\\n double* p = calc_ptr.multiply(nullptr, nullptr);\\n ^\\n\"\n________________________ test_sfinae_enable_if_pattern _________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_round3.py:73: in test_sfinae_enable_if_pattern\n assert 'unusedStructMember' in output, \"Should detect unused struct members\"\nE AssertionError: Should detect unused struct members\nE assert 'unusedStructMember' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/sfinae_enable_if.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/sfinae_enable_if.cpp:38:10: style: Variable 'result_ptr' can be declared as pointer to const [constVariablePointer]\\n int* result_ptr = get_pointer(ptr);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/sfinae_enable_if.cpp:38:21: style: Variable 'result_ptr' is assigned a value that is never used. [unreadVariable]\\n int* result_ptr = get_pointer(ptr);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/sfinae_enable_if.cpp:39:20: style: Variable 'result_val' is assigned a value that is never used. [unreadVariable]\\n int result_val = get_value(val);\\n ^\\n\"\n__________________________ test_template_inheritance ___________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:284: in test_template_inheritance\n assert \"Derived < int >\" in output\nE assert 'Derived < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_inheritance.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_inheritance.cpp:7:5: style: Class 'Base' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Base(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_inheritance.cpp:33:14: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n double y = d2.getValue();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_inheritance.cpp:37:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n char c = md.getExtra();\\n ^\\n\"\n___________________ test_complex_nontype_template_parameters ___________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_round3.py:169: in test_complex_nontype_template_parameters\n assert 'functionStatic' in output, \"Should detect functions that can be static\"\nE AssertionError: Should detect functions that can be static\nE assert 'functionStatic' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:68:19: warning: Found suspicious operator '>', result is not used. [constStatement]\\n CharHolder<'X'> ch;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:71:12: error: Uninitialized struct member: arr.size [uninitStructMember]\\n return arr.size() + mat.rows() + ph1.value() + rh.get() + ct.process() + ch.get();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:71:25: error: Uninitialized struct member: mat.rows [uninitStructMember]\\n return arr.size() + mat.rows() + ph1.value() + rh.get() + ct.process() + ch.get();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:71:63: error: Uninitialized struct member: ct.process [uninitStructMember]\\n return arr.size() + mat.rows() + ph1.value() + rh.get() + ct.process() + ch.get();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:4:9: style: struct member 'Array::data' is never used. [unusedStructMember]\\n int data[N];\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:10:9: style: struct member 'Matrix::data' is never used. [unusedStructMember]\\n int data[N][M];\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:60:36: style: Unused variable: ph2 [unusedVariable]\\n PointerHolder<&another_global> ph2;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:66:24: style: Unused variable: cf [unusedVariable]\\n Conditional cf;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:69:22: style: Unused variable: cr [unusedVariable]\\n ColorHolder cr;\\n ^\\n\"\n_______________________ test_array_types_symboldatabase ________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_symboldatabase.py:819: in test_array_types_symboldatabase\n assert holder_scope is not None, \"ArrayHolder class not found\"\nE AssertionError: ArrayHolder class not found\nE assert None is not None\n________________________ test_conditional_reverse_flow _________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_reverseanalyzer.py:80: in test_conditional_reverse_flow\n assert \"Condition 'result==100' is always true\" in output\nE assert \"Condition 'result==100' is always true\" in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:4:11: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n if (x == 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:3:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:4:11: note: The comparison 'x == 5' is always true.\\n if (x == 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:24:11: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n if (x == 5 && y == 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:22:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:24:11: note: The comparison 'x == 5' is always true.\\n if (x == 5 && y == 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:24:2...iable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = x + y; // Should be 15\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:2:6: style: The function 'test_if_condition' is never used. [unusedFunction]\\nvoid test_if_condition() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:10:6: style: The function 'test_if_else' is never used. [unusedFunction]\\nvoid test_if_else() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:21:6: style: The function 'test_short_circuit_and' is never used. [unusedFunction]\\nvoid test_short_circuit_and() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:30:6: style: The function 'test_short_circuit_or' is never used. [unusedFunction]\\nvoid test_short_circuit_or() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:38:6: style: The function 'test_ternary' is never used. [unusedFunction]\\nvoid test_ternary() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_______________________ test_template_pointer_to_member ________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:470: in test_template_pointer_to_member\n assert \"Holder < int >\" in output\nE assert 'Holder < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_pointer_member.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_pointer_member.cpp:6:5: style: Class 'Holder' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Holder(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_pointer_member.cpp:22:14: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n double y = h2.*ptr2;\\n ^\\n\"\n________________ test_crtp_curiously_recurring_template_pattern ________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_round3.py:498: in test_crtp_curiously_recurring_template_pattern\n assert 'functionStatic' in output, \"Should detect functions can be static\"\nE AssertionError: Should detect functions can be static\nE assert 'functionStatic' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:49:5: error: Uninitialized struct member: d1.interface [uninitStructMember]\\n d1.interface();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:52:5: error: Uninitialized struct member: d2.interface [uninitStructMember]\\n d2.interface();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:54:12: style: Unused variable: m1 [unusedVariable]\\n MyType m1, m2, m3;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:54:16: style: Unused variable: m2 [unusedVariable]\\n MyType m1, m2, m3;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:54:20: style: Unused variable: m3 [unusedVariable]\\n MyType m1, m2, m3;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:55:15: style: Unused variable: o1 [unusedVariable]\\n OtherType o1, o2;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:55:19: style: Unused variable: o2 [unusedVariable]\\n OtherType o1, o2;\\n ^\\n'\n______________________ test_template_operator_overloading ______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_round3.py:374: in test_template_operator_overloading\n assert output.count('unreadVariable') == 3, f\"Expected 3 unreadVariable warnings\"\nE AssertionError: Expected 3 unreadVariable warnings\nE assert 2 == 3\nE + where 2 = ('unreadVariable')\nE + where = \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_operators.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_operators.cpp:7:5: style: Struct 'Value' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Value(T d) : data(d) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_operators.cpp:57:13: style: Variable 'eq' is assigned a value that is never used. [unreadVariable]\\n bool eq = (v1 == v2);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_operators.cpp:58:13: style: Variable 'lt' is assigned a value that is never used. [unreadVariable]\\n bool lt = (v1 < v2);\\n ^\\n\".count\n____________________ test_template_typename_dependent_types ____________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:167: in test_template_typename_dependent_types\n assert \"Container < std :: vector < int > >\" in output\nE AssertionError: assert 'Container < std :: vector < int > >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_typename.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_typename.cpp:21:33: style: Unused variable: cont [unusedVariable]\\n Container> cont;\\n ^\\n'\n________________ test_dependent_typename_and_template_keywords _________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_round3.py:124: in test_dependent_typename_and_template_keywords\n assert 'functionStatic' in output, \"Should detect function can be static\"\nE AssertionError: Should detect function can be static\nE assert 'functionStatic' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/dependent_typename.cpp ...\\n'\n______________________ test_template_template_parameters _______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:304: in test_template_template_parameters\n assert \"Wrapper < SimpleContainer , int >\" in output\nE assert 'Wrapper < SimpleContainer , int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_template_param.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_template_param.cpp:6:5: style: Class 'SimpleContainer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n SimpleContainer(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_template_param.cpp:14:5: style: Class 'Wrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Wrapper(T val) : container(val) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_template_param.cpp:23:14: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n double y = w2.getValue();\\n ^\\n\"\n______________________ test_const_methods_symboldatabase _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_symboldatabase.py:863: in test_const_methods_symboldatabase\n assert container_scope is not None, \"Container class not found\"\nE AssertionError: Container class not found\nE assert None is not None\n_____________________ test_template_aliases_using_keyword ______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_round3.py:223: in test_template_aliases_using_keyword\n assert 'constVariablePointer' in output, \"Should detect const pointer opportunity\"\nE AssertionError: Should detect const pointer opportunity\nE assert 'constVariablePointer' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/alias_template.cpp ...\\n'\n____________________________ test_loop_reverse_flow ____________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_reverseanalyzer.py:102: in test_loop_reverse_flow\n assert 'unreadVariable' in output\nE assert 'unreadVariable' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:4:14: style: Condition 'x<10' is always true [knownConditionTrueFalse]\\n while (x < 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:3:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:4:14: note: Condition 'x<10' is always true\\n while (x < 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:32:14: style: Condition 'x<100' is always true [knownConditionTrueFalse]\\n while (x < 100) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:31:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:32:14: note: Condition 'x<100' is always true\\n while (x < 100) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:44:18: style: Condition 'count<10' is always true [knownConditionTrueFalse...kspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:44:18: note: Condition 'count<10' is always true\\n while (count < 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:2:6: style: The function 'test_while_loop' is never used. [unusedFunction]\\nvoid test_while_loop() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:12:6: style: The function 'test_for_loop' is never used. [unusedFunction]\\nvoid test_for_loop() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:20:6: style: The function 'test_do_while' is never used. [unusedFunction]\\nvoid test_do_while() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:30:6: style: The function 'test_loop_with_break' is never used. [unusedFunction]\\nvoid test_loop_with_break() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:41:6: style: The function 'test_loop_with_continue' is never used. [unusedFunction]\\nvoid test_loop_with_continue() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n__________________________ test_nested_struct_typedef __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:306: in test_nested_struct_typedef\n assert typedef_info is not None, \"Should record Nested typedef\"\nE AssertionError: Should record Nested typedef\nE assert None is not None\n___________________ test_policy_based_design_with_templates ____________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_round3.py:524: in test_policy_based_design_with_templates\n assert 'functionStatic' in output, \"Should detect functions can be static\"\nE AssertionError: Should detect functions can be static\nE assert 'functionStatic' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_policy.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_policy.cpp:19:7: style: struct member 'StaticStorage::data' is never used. [unusedStructMember]\\n T data[100];\\n ^\\n\"\n____________________ test_template_compile_time_constraints ____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_round3.py:393: in test_template_compile_time_constraints\n assert 'functionStatic' in output, \"Should detect function can be static\"\nE AssertionError: Should detect function can be static\nE assert 'functionStatic' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_static_assert.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_static_assert.cpp:32:5: error: Uninitialized struct member: p10.array [uninitStructMember]\\n p10.array[0] = 1;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_static_assert.cpp:32:18: style: Variable 'p10.array[0]' is assigned a value that is never used. [unreadVariable]\\n p10.array[0] = 1;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_static_assert.cpp:31:22: style: Variable 'p10' is not assigned a value. [unassignedVariable]\\n PositiveOnly<10> p10;\\n ^\\n\"\n____________________ test_template_using_alias_declaration _____________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:192: in test_template_using_alias_declaration\n assert \"Wrapper < int >\" in output\nE AssertionError: assert 'Wrapper < int >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_using_v2.cpp ...\\n'\n__________________________ test_typedef_pointer_type ___________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:81: in test_typedef_pointer_type\n assert var is not None\nE assert None is not None\n________________________ test_template_friend_functions ________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:340: in test_template_friend_functions\n assert \"Printer < int >\" in output\nE assert 'Printer < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_friend_function.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_friend_function.cpp:6:5: style: Class 'Printer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Printer(T v) : value(v) {}\\n ^\\n\"\n____________________ test_default_arguments_symboldatabase _____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_symboldatabase.py:913: in test_default_arguments_symboldatabase\n assert calc_scope is not None, \"Calculator class not found\"\nE AssertionError: Calculator class not found\nE assert None is not None\n_________________ test_nested_template_specialization_patterns _________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_round3.py:249: in test_nested_template_specialization_patterns\n assert 'unusedStructMember' in output, \"Should detect unused struct member\"\nE AssertionError: Should detect unused struct member\nE assert 'unusedStructMember' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/nested_specialization.cpp ...\\n'\n__________________________ test_function_call_reverse __________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_reverseanalyzer.py:123: in test_function_call_reverse\n assert 'knownConditionTrueFalse' in output\nE assert 'knownConditionTrueFalse' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:26:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = x + 1;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:10:6: style: The function 'test_function_return' is never used. [unusedFunction]\\nvoid test_function_return() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:17:6: style: The function 'test_function_parameter' is never used. [unusedFunction]\\nvoid test_function_parameter() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:23:6: style: The function 'test_const_function' is never used. [unusedFunction]\\nvoid test_const_function(const int x) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:30:5: style: The function 'test_return_value' is never used. [unusedFunction]\\nint test_return_value() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n_________________________ test_template_angle_brackets _________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:328: in test_template_angle_brackets\n assert template_info is not None, \"Should have TemplateSimplifier section\"\nE AssertionError: Should have TemplateSimplifier section\nE assert None is not None\n________________ test_type_traits_and_template_metaprogramming _________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_round3.py:552: in test_type_traits_and_template_metaprogramming\n assert 'knownConditionTrueFalse' in output, \"Should detect known conditions\"\nE AssertionError: Should detect known conditions\nE assert 'knownConditionTrueFalse' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_traits.cpp ...\\n'\n______________________ test_template_conversion_operators ______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_round3.py:422: in test_template_conversion_operators\n assert output.count('noExplicitConstructor') == 2, \"Two classes with non-explicit constructors\"\nE AssertionError: Two classes with non-explicit constructors\nE assert 1 == 2\nE + where 1 = ('noExplicitConstructor')\nE + where = \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:6:5: style: Struct 'Wrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Wrapper(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:25:14: style: Parameter 'p' can be declared as pointer to const [constParameterPointer]\\n Smart(T* p = nullptr) : ptr(p) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:44:10: style: Variable 'rawptr' can be declared as pointer to const [constVariablePointer]\\n int* rawptr = sp; // Conversion to int*\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:39:12: style: Variable 'b' is assigned a value that is never used. [unreadVariable]\\n bool b = static_cast(wi);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:44:17: style: Variable 'rawptr' is assigned a value that is never used. [unreadVariable]\\n int* rawptr = sp; // Conversion to int*\\n ^\\n\".count\n__________________ test_template_array_with_multi_dimensional __________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_round3.py:651: in test_template_array_with_multi_dimensional\n assert 'functionStatic' in output, \"Should detect function can be static\"\nE AssertionError: Should detect function can be static\nE assert 'functionStatic' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_array_operations.cpp ...\\n'\n________________________ test_typedef_struct_definition ________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:105: in test_typedef_struct_definition\n assert typedef_info is not None\nE assert None is not None\n_______________________ test_template_argument_deduction _______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:361: in test_template_argument_deduction\n assert \"Container < int >\" in output\nE AssertionError: assert 'Container < int >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_deduction_v2.cpp ...\\n'\n_____________ test_multiple_template_instantiations_same_template ______________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_gaps.py:37: in test_multiple_template_instantiations_same_template\n assert \"Stack < int >\" in output\nE assert 'Stack < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp:8:5: style: Class 'Stack' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Stack(int cap) : capacity(cap), top(-1) {\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp:33:11: style: Variable 'z' can be declared as pointer to const [constVariablePointer]\\n char* z = s3.pop();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp:29:14: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n double y = s2.pop();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp:33:13: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n char* z = s3.pop();\\n ^\\n\"\n_____________________________ test_inline_function _____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:805: in test_inline_function\n assert len(functions) >= 1\nE assert 0 >= 1\nE + where 0 = len([])\n________________________ test_function_with_parameters _________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:513: in test_function_with_parameters\n assert len(functions) >= 2, \"Should have at least 2 functions\"\nE AssertionError: Should have at least 2 functions\nE assert 0 >= 2\nE + where 0 = len([])\n______________________ test_compound_assignment_operators ______________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:377: in test_compound_assignment_operators\n assert tok.get(\"isAssignmentOp\") == \"true\", f\"{tok.get('str')} should be assignment op\"\nE AssertionError: >>= should be assignment op\nE assert None == 'true'\nE + where None = ('isAssignmentOp')\nE + where = .get\n___________________ test_expression_sfinae_member_detection ____________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_round3.py:627: in test_expression_sfinae_member_detection\n assert output.count('unusedStructMember') == 2, \"Two unused members\"\nE AssertionError: Two unused members\nE assert 1 == 2\nE + where 1 = ('unusedStructMember')\nE + where = \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_expression_sfinae.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_expression_sfinae.cpp:20:9: style: struct member 'WithoutValueType::data' is never used. [unusedStructMember]\\n int data;\\n ^\\n\".count\n____________________ test_template_with_lambda_expressions _____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_templatesimplifier_round3.py:473: in test_template_with_lambda_expressions\n assert 'functionStatic' in output, \"Should detect functions can be static\"\nE AssertionError: Should detect functions can be static\nE assert 'functionStatic' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_lambda.cpp ...\\n'\n_____________________ test_typedef_simple_int_substitution _____________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:52: in test_typedef_simple_int_substitution\n assert type_token.get(\"originalName\") == \"INT\"\nE AssertionError: assert None == 'INT'\nE + where None = ('originalName')\nE + where = .get\n_________________________ test_array_size_tokenization _________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:158: in test_array_size_tokenization\n assert arr_var is not None\nE assert None is not None\n__________________________ test_array_initialization ___________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:1171: in test_array_initialization\n assert array_count >= 3, f\"Expected at least 3 arrays, got {array_count}\"\nE AssertionError: Expected at least 3 arrays, got 0\nE assert 0 >= 3\n______________________ test_class_constructor_destructor _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:669: in test_class_constructor_destructor\n assert len(functions) >= 3\nE assert 0 >= 3\nE + where 0 = len([])\n___________________________ test_auto_keyword_cpp11 ____________________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:1265: in test_auto_keyword_cpp11\n assert len(variables) >= 2\nE assert 0 >= 2\nE + where 0 = len([])\n__________________________ test_struct_member_access ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:555: in test_struct_member_access\n assert arrow_found, \"Should have -> operator (simplified to . with originalName)\"\nE AssertionError: Should have -> operator (simplified to . with originalName)\nE assert False\n___________________ test_pointer_and_reference_declarations ____________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:402: in test_pointer_and_reference_declarations\n assert \"p\" in var_map\nE AssertionError: assert 'p' in {}\n____________________ test_typedef_function_pointer_complex _____________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:931: in test_typedef_function_pointer_complex\n assert \"CompareFunc\" in funcptr_names\nE AssertionError: assert 'CompareFunc' in []\n___________________________ test_hex_octal_literals ____________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:1008: in test_hex_octal_literals\n assert \"hex\" in var_names\nE AssertionError: assert 'hex' in []\n_____________________________ test_long_long_type ______________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:1071: in test_long_long_type\n assert \"x\" in var_map\nE AssertionError: assert 'x' in {}\n________________________ test_function_pointer_typedef _________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:177: in test_function_pointer_typedef\n assert typedef_info is not None\nE assert None is not None\n_________________________ test_conditional_compilation _________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:1194: in test_conditional_compilation\n assert directives is not None\nE assert None is not None\n__________________________ test_for_loop_tokenization __________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:718: in test_for_loop_tokenization\n assert \"i\" in var_names\nE AssertionError: assert 'i' in []\n___________________ test_double_minus_to_plus_simplification ___________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize_round2.py:172: in test_double_minus_to_plus_simplification\n assert found_plus_in_b, \"Should simplify - - to + in expression a - -5\"\nE AssertionError: Should simplify - - to + in expression a - -5\nE assert False\n___________________________ test_raw_string_literals ___________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize_round2.py:311: in test_raw_string_literals\n assert has_newline, \"Raw string with newlines should preserve them as actual newline characters\"\nE AssertionError: Raw string with newlines should preserve them as actual newline characters\nE assert False\n_____________________ test_static_and_extern_storage_class _____________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:437: in test_static_and_extern_storage_class\n assert \"s\" in var_map\nE AssertionError: assert 's' in {}\n____________________________ test_character_literal ____________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:1044: in test_character_literal\n assert \"a\" in var_names\nE AssertionError: assert 'a' in []\n______________________ test_array_access_reversed_syntax _______________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize_round2.py:106: in test_array_access_reversed_syntax\n assert '*' in token_strs, \"Should have dereference operator after array access simplification\"\nE AssertionError: Should have dereference operator after array access simplification\nE assert '*' in ['int', 'main', '(', ')', '{', 'int', ...]\n___________________________ test_noexcept_specifier ____________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize_round2.py:478: in test_noexcept_specifier\n assert noexcept_count >= 4, f\"Should find at least 4 noexcept keywords, found {noexcept_count}\"\nE AssertionError: Should find at least 4 noexcept keywords, found 0\nE assert 0 >= 4\n______________________________ test_nullptr_cpp11 ______________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:1246: in test_nullptr_cpp11\n assert \"p\" in var_map\nE AssertionError: assert 'p' in {}\n___________________________ test_static_assert_cpp11 ___________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize_round2.py:704: in test_static_assert_cpp11\n assert static_assert_count >= 2, f\"Should find at least 2 static_assert, found {static_assert_count}\"\nE AssertionError: Should find at least 2 static_assert, found 1\nE assert 1 >= 2\n___________________________ test_unicode_identifiers ___________________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize_round2.py:932: in test_unicode_identifiers\n dump, retcode, stderr = run_cppcheck_dump(code, std='c++11')\ntests/test_tokenize_round2.py:27: in run_cppcheck_dump\n return dumpfile.read_text(), result.returncode, result.stderr\n/usr/lib/python3.10/pathlib.py:1135: in read_text\n return f.read()\n/usr/lib/python3.10/codecs.py:322: in decode\n (result, consumed) = self._buffer_decode(data, self.errors, final)\nE UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 732: invalid continuation byte\n___________________________ test_constexpr_if_cpp17 ____________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize_round2.py:1440: in test_constexpr_if_cpp17\n assert dump is not None\nE assert None is not None\n_____________________ test_simplify_platform_types_size_t ______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenlist.py:73: in test_simplify_platform_types_size_t\n assert len(size_t_tokens) >= 2, \"Should find at least 2 simplified size_t tokens\"\nE AssertionError: Should find at least 2 simplified size_t tokens\nE assert 0 >= 2\nE + where 0 = len([])\n___________________________ test_volatile_qualifier ____________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize.py:467: in test_volatile_qualifier\n assert \"v\" in var_map\nE AssertionError: assert 'v' in {}\n_______________________ test_simplify_stdtype_long_long ________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenlist.py:159: in test_simplify_stdtype_long_long\n assert len(ll_vars) >= 2, f\"Should find at least 2 'long long' variables, got {len(ll_vars)}\"\nE AssertionError: Should find at least 2 'long long' variables, got 0\nE assert 0 >= 2\nE + where 0 = len([])\n____________________________ test_constexpr_keyword ____________________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize_round2.py:445: in test_constexpr_keyword\n assert len(constexpr_tokens) >= 3, f\"Should find at least 3 constexpr keywords, found {len(constexpr_tokens)}\"\nE AssertionError: Should find at least 3 constexpr keywords, found 0\nE assert 0 >= 3\nE + where 0 = len([])\n________________________ test_tokenlist_multiline_macro ________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenlist.py:295: in test_tokenlist_multiline_macro\n assert len(directives) >= 1, f\"Should find at least 1 directive, got {len(directives)}\"\nE AssertionError: Should find at least 1 directive, got 0\nE assert 0 >= 1\nE + where 0 = len([])\n__________________________ test_override_final_cpp11 ___________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenize_round2.py:775: in test_override_final_cpp11\n assert override_count >= 2, f\"Should find at least 2 'override', found {override_count}\"\nE AssertionError: Should find at least 2 'override', found 0\nE assert 0 >= 2\n________________________ test_tokenlist_template_basic _________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenlist.py:492: in test_tokenlist_template_basic\n assert len(max_tokens) >= 1, f\"Should have template instantiation like 'max < int >', got max-related tokens: {[t.get('str') for t in tokens if 'max' in (t.get('str') or '')]}\"\nE AssertionError: Should have template instantiation like 'max < int >', got max-related tokens: ['max', 'max']\nE assert 0 >= 1\nE + where 0 = len([])\n______________________ test_tokenlist_complex_expression _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenlist.py:615: in test_tokenlist_complex_expression\n assert len(logical_ops) >= 3, f\"Should have at least 3 logical operators (2 && and 1 ||), got {len(logical_ops)}\"\nE AssertionError: Should have at least 3 logical operators (2 && and 1 ||), got 0\nE assert 0 >= 3\nE + where 0 = len([])\n____________________ test_simplify_platform_types_ptrdiff_t ____________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenlist.py:105: in test_simplify_platform_types_ptrdiff_t\n assert len(signed_ptr_tokens) >= 2, f\"Expected 2+ signed ptr tokens, got {len(signed_ptr_tokens)}\"\nE AssertionError: Expected 2+ signed ptr tokens, got 0\nE assert 0 >= 2\nE + where 0 = len([])\n_____________________ test_simplify_stdtype_implicit_int_c _____________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenlist.py:135: in test_simplify_stdtype_implicit_int_c\n assert len(implicit_int_tokens) >= 3, f\"Expected at least 3 implicit int tokens, got {len(implicit_int_tokens)}\"\nE AssertionError: Expected at least 3 implicit int tokens, got 0\nE assert 0 >= 3\nE + where 0 = len([])\n_________________________ test_tokenlist_hexfloat_c99 __________________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenlist.py:1089: in test_tokenlist_hexfloat_c99\n assert hf.get('isFloat') == 'true', f\"Hex float {hf.get('str')} should be marked as float\"\nE AssertionError: Hex float 0x1.0p0 should be marked as float\nE assert None == 'true'\nE + where None = ('isFloat')\nE + where = .get\n_________________________ test_simplify_stdtype_short __________________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenlist.py:206: in test_simplify_stdtype_short\n assert len(s_var) >= 1, f\"Should find variable 's', got {len(s_var)}\"\nE AssertionError: Should find variable 's', got 0\nE assert 0 >= 1\nE + where 0 = len([])\n____________________ test_signed_integer_overflow_detection ____________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_vf_common.py:55: in test_signed_integer_overflow_detection\n assert normalize_paths(output) == normalize_paths((RESOURCES / 'signed_overflow.golden').read_text())\nE AssertionError: assert 'Checking eva...rflow.c ...\\n' == 'Checking eva... ^\\n'\nE \nE Checking eval/test_resources/test_vf_common/signed_overflow.c ...\nE - eval/test_resources/test_vf_common/signed_overflow.c:9:11: error: Signed integer overflow for expression 'i+1'. [integerOverflow]\nE - i = i + 1; // Overflow\nE - ^\nE - eval/test_resources/test_vf_common/signed_overflow.c:8:20: note: Assignment 'i=2147483647', assigned value is 2147483647\nE - signed int i = 2147483647;...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n__________________________ test_tokenlist_empty_file ___________________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenlist.py:344: in test_tokenlist_empty_file\n assert dump_file.exists(), \"Dump file should exist even for empty source\"\nE AssertionError: Dump file should exist even for empty source\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-0/popen-gw5/test_tokenlist_empty_file2/empty.c.dump').exists\n_____________________ test_tokenlist_very_long_identifier ______________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenlist.py:381: in test_tokenlist_very_long_identifier\n assert len(var_decl) >= 1, f\"Should find variable declaration, got {len(var_decl)}\"\nE AssertionError: Should find variable declaration, got 0\nE assert 0 >= 1\nE + where 0 = len([])\n___________________________ test_sizeof_basic_types ____________________________\n[gw1] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_vf_common.py:161: in test_sizeof_basic_types\n assert valueflow is not None\nE assert None is not None\n____________________ test_float_to_int_conversion_overflow _____________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_vf_common.py:259: in test_float_to_int_conversion_overflow\n assert normalize_paths(output) == normalize_paths((RESOURCES / 'float_to_int_cast.golden').read_text())\nE AssertionError: assert 'Checking eva..._cast.c ...\\n' == 'Checking eva... ^\\n'\nE \nE Checking eval/test_resources/test_vf_common/float_to_int_cast.c ...\nE - eval/test_resources/test_vf_common/float_to_int_cast.c:9:14: error: Undefined behaviour: float (1e+20) to integer conversion overflow. [floatConversionOverflow]\nE - int i3 = (int)f2; // Undefined behavior\nE - ^\nE - eval/test_resources/test_vf_common/float_to_int_cast.c:8:16: note: Assignment 'f2=1e20f', assigned value is 1e+20\nE - float f2 = 1e20f;...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n______________________ test_sizeof_multidimensional_array ______________________\n[gw3] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_vf_common.py:295: in test_sizeof_multidimensional_array\n assert 'isArray=\"true\"' in content\nE assert 'isArray=\"true\"' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n________________________ test_tokenlist_cast_expression ________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenlist.py:875: in test_tokenlist_cast_expression\n assert len(cast_parens) >= 3, f\"Should have at least 3 cast parentheses marked, got {len(cast_parens)}\"\nE AssertionError: Should have at least 3 cast parentheses marked, got 0\nE assert 0 >= 3\nE + where 0 = len([])\n_____________________ test_tokenlist_wide_string_literals ______________________\n[gw2] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenlist.py:1121: in test_tokenlist_wide_string_literals\n assert wide_strings[0].get('valueType-originalTypeName') == 'wchar_t', f\"Wide string should be wchar_t, got {wide_strings[0].get('valueType-originalTypeName')}\"\nE AssertionError: Wide string should be wchar_t, got None\nE assert None == 'wchar_t'\nE + where None = ('valueType-originalTypeName')\nE + where = .get\n_____________________ test_value_flow_dump_bool_constants ______________________\n[gw6] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_vf_common.py:78: in test_value_flow_dump_bool_constants\n assert valueflow is not None\nE assert None is not None\n___________________ test_tokenlist_raw_string_literal_cpp11 ____________________\n[gw9] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_tokenlist.py:1178: in test_tokenlist_raw_string_literal_cpp11\n assert first_str.get('str') == expected_first, f\"First string should be {expected_first!r}, got {first_str.get('str')!r}\"\nE AssertionError: First string should be '\"This is a \\\\\"raw\\\\\" string\\nwith newlines\"', got '\"This is a \\\\\"raw\\\\\" string\\\\nwith newlines\"'\nE assert '\"This is a \\...ith newlines\"' == '\"This is a \\...ith newlines\"'\nE \nE + \"This is a \\\"raw\\\" string\\nwith newlines\"\nE - \"This is a \\\"raw\\\" string\nE - with newlines\"\n____________________ test_value_flow_char_literal_constants ____________________\n[gw5] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_vf_common.py:113: in test_value_flow_char_literal_constants\n assert valueflow is not None\nE assert None is not None\n_______________________ test_value_flow_float_constants ________________________\n[gw4] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_vf_common.py:132: in test_value_flow_float_constants\n assert 'valueType-type=\"float\"' in content\nE assert 'valueType-type=\"float\"' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n______________________ test_zero_initialization_patterns _______________________\n[gw0] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_vf_common.py:275: in test_zero_initialization_patterns\n assert normalize_paths(output) == normalize_paths((RESOURCES / 'zero_initialization.golden').read_text())\nE AssertionError: assert 'Checking eva...\\n ^\\n' == 'Checking eva...n ^\\n'\nE \nE Checking eval/test_resources/test_vf_common/zero_initialization.c ...\nE - eval/test_resources/test_vf_common/zero_initialization.c:8:10: error: Uninitialized variable: p [legacyUninitvar]\nE ? ^ ^^ ^ ^^^^^^^\nE + eval/test_resources/test_vf_common/zero_initialization.c:3:9: error: Uninitialized variable: y [uninitvar]\nE ? ^ ^ ^ ^\nE - int *p = int*();...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n_________________________ test_sizeof_string_literals __________________________\n[gw8] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_vf_common.py:342: in test_sizeof_string_literals\n assert 'strlen=\"5\"' in content # for \"hello\"\nE assert 'strlen=\"5\"' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n___________________________ test_stack_overflow_AST ____________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_performance.py:203: in test_stack_overflow_AST\n assert ret == 0\nE assert -11 == 0\n----------------------------- Captured stdout call -----------------------------\n~~~~~~~~~~~~~~~~~~~~~ Stack of (140056543618624) ~~~~~~~~~~~~~~~~~~~~~\n File \"/usr/local/lib/python3.10/dist-packages/execnet/gateway_base.py\", line 411, in _perform_spawn\n reply.run()\n File \"/usr/local/lib/python3.10/dist-packages/execnet/gateway_base.py\", line 341, in run\n self._result = func(*args, **kwargs)\n File \"/usr/local/lib/python3.10/dist-packages/execnet/gateway_base.py\", line 1160, in _thread_receiver\n msg = Message.from_io(io)\n File \"/usr/local/lib/python3.10/dist-packages/execnet/gateway_base.py\", line 567, in from_io\n header = io.read(9) # type 1, channel 4, payload 4\n File \"/usr/local/lib/python3.10/dist-packages/execnet/gateway_base.py\", line 534, in read\n data = self._read(numbytes - len(buf))\n________________________ test_crash_array_in_namespace _________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_performance.py:305: in test_crash_array_in_namespace\n assert ret == 0\nE assert -11 == 0\n----------------------------- Captured stdout call -----------------------------\n~~~~~~~~~~~~~~~~~~~~~ Stack of (140056543618624) ~~~~~~~~~~~~~~~~~~~~~\n File \"/usr/local/lib/python3.10/dist-packages/execnet/gateway_base.py\", line 411, in _perform_spawn\n reply.run()\n File \"/usr/local/lib/python3.10/dist-packages/execnet/gateway_base.py\", line 341, in run\n self._result = func(*args, **kwargs)\n File \"/usr/local/lib/python3.10/dist-packages/execnet/gateway_base.py\", line 1160, in _thread_receiver\n msg = Message.from_io(io)\n File \"/usr/local/lib/python3.10/dist-packages/execnet/gateway_base.py\", line 567, in from_io\n header = io.read(9) # type 1, channel 4, payload 4\n File \"/usr/local/lib/python3.10/dist-packages/execnet/gateway_base.py\", line 534, in read\n data = self._read(numbytes - len(buf))\n__________________________ test_crash_array_in_array ___________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_performance.py:328: in test_crash_array_in_array\n assert ret == 0\nE assert -11 == 0\n----------------------------- Captured stdout call -----------------------------\n~~~~~~~~~~~~~~~~~~~~~ Stack of (140056543618624) ~~~~~~~~~~~~~~~~~~~~~\n File \"/usr/local/lib/python3.10/dist-packages/execnet/gateway_base.py\", line 411, in _perform_spawn\n reply.run()\n File \"/usr/local/lib/python3.10/dist-packages/execnet/gateway_base.py\", line 341, in run\n self._result = func(*args, **kwargs)\n File \"/usr/local/lib/python3.10/dist-packages/execnet/gateway_base.py\", line 1160, in _thread_receiver\n msg = Message.from_io(io)\n File \"/usr/local/lib/python3.10/dist-packages/execnet/gateway_base.py\", line 567, in from_io\n header = io.read(9) # type 1, channel 4, payload 4\n File \"/usr/local/lib/python3.10/dist-packages/execnet/gateway_base.py\", line 534, in read\n data = self._read(numbytes - len(buf))\n______________________ test_misra_c_builtin_style_checks _______________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_premium.py:64: in test_misra_c_builtin_style_checks\n assert result.returncode == 0\nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['./cppcheck', '--premium=autosar', '--xml', 'test.cpp'], returncode=1, stdout='cppcheck: error: unrecognized command line option: \"--premium=autosar\".\\n', stderr='').returncode\n_____________________ test_build_dir_hash_cppcheck_product _____________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_premium.py:126: in test_build_dir_hash_cppcheck_product\n with open(hash_file, 'rt') as f:\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw7/test_build_dir_hash_cppcheck_p2/b/test.a1'\n__________________________ test_invalid_license_retry __________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_premium.py:202: in test_invalid_license_retry\n assert 'Invalid license' in result.stderr\nE assert 'Invalid license' in '\\n\\n \\n \\n \\n \\n\\n'\nE + where '\\n\\n \\n \\n \\n \\n\\n' = CompletedProcess(args=['/workspace/executable', '--addon=/tmp/pytest-of-root/pytest-0/popen-gw7/test_invalid_license_retry2/premiumaddon.py', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/popen-gw7/test_invalid_license_retry2/b', '--xml', '--enable=all', '/tmp/pytest-of-root/pytest-0/popen-gw7/test_invalid_license_retry2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw7/test_invalid_license_retry2/test.c ...\\n', stderr='\\n\\n \\n \\n \\n \\n\\n').stderr\n__________________________________ test_help ___________________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_premium.py:224: in test_help\n assert '--premium=' in result.stdout\nE assert '--premium=' in 'Cppcheck - A tool for static C/C++ code analysis\\n\\nSyntax:\\n cppcheck [OPTIONS] [files or paths]\\n\\nIf a directory is given instead of a filename, *.cpp, *.cxx, *.cc, *.c++, *.c, *.ipp,\\n*.ixx, *.tpp, and *.txx files are checked recursively from the given directory.\\n\\nOptions:\\n --addon=\\n Execute addon. i.e. --addon=misra. If options must be\\n provided a json configuration is needed.\\n --addon-python=\\n You can specify the python interpreter either in the\\n addon json files or through this command line option.\\n If not present, Cppcheck will try \"python3\" first and\\n then \"python\".\\n --cppcheck-build-dir=\\n Cppcheck work folder. Advantages:\\n * whole program analysis\\n * faster analysis; Cppcheck will reuse the results if\\n the hash for a file is unchanged.\\n * some useful debug information, i.e. commands used to\\n execute clang/clang-tidy/a...> Undefine preprocessor symbol. Use -U to explicitly\\n hide certain #ifdef code paths from checking.\\n Example: \\'-UDEBUG\\'\\n -v, --verbose Output more detailed error information.\\n Note that this option is not mutually exclusive with --quiet.\\n --version Print out version number.\\n --xml Write results in xml format to error stream (stderr).\\n\\nExample usage:\\n # Recursively check the current folder. Print the progress on the screen and\\n # write errors to a file:\\n cppcheck . 2> err.txt\\n\\n # Recursively check ../myproject/ and don\\'t print progress:\\n cppcheck --quiet ../myproject/\\n\\n # Check test.cpp, enable all checks:\\n cppcheck --enable=all --inconclusive --library=posix test.cpp\\n\\n # Check f.cpp and search include files from inc1/ and inc2/:\\n cppcheck -I inc1/ -I inc2/ f.cpp\\n\\nFor more information:\\n https://cppcheck.sourceforge.io/manual.pdf\\n\\nMany thanks to the 3rd party libraries we use:\\n * tinyxml2 -- loading project/library/ctu files.\\n * picojson -- loading compile database.\\n * pcre -- rules.\\n * qt -- used in GUI\\n\\n'\nE + where 'Cppcheck - A tool for static C/C++ code analysis\\n\\nSyntax:\\n cppcheck [OPTIONS] [files or paths]\\n\\nIf a directory is given instead of a filename, *.cpp, *.cxx, *.cc, *.c++, *.c, *.ipp,\\n*.ixx, *.tpp, and *.txx files are checked recursively from the given directory.\\n\\nOptions:\\n --addon=\\n Execute addon. i.e. --addon=misra. If options must be\\n provided a json configuration is needed.\\n --addon-python=\\n You can specify the python interpreter either in the\\n addon json files or through this command line option.\\n If not present, Cppcheck will try \"python3\" first and\\n then \"python\".\\n --cppcheck-build-dir=\\n Cppcheck work folder. Advantages:\\n * whole program analysis\\n * faster analysis; Cppcheck will reuse the results if\\n the hash for a file is unchanged.\\n * some useful debug information, i.e. commands used to\\n execute clang/clang-tidy/a...> Undefine preprocessor symbol. Use -U to explicitly\\n hide certain #ifdef code paths from checking.\\n Example: \\'-UDEBUG\\'\\n -v, --verbose Output more detailed error information.\\n Note that this option is not mutually exclusive with --quiet.\\n --version Print out version number.\\n --xml Write results in xml format to error stream (stderr).\\n\\nExample usage:\\n # Recursively check the current folder. Print the progress on the screen and\\n # write errors to a file:\\n cppcheck . 2> err.txt\\n\\n # Recursively check ../myproject/ and don\\'t print progress:\\n cppcheck --quiet ../myproject/\\n\\n # Check test.cpp, enable all checks:\\n cppcheck --enable=all --inconclusive --library=posix test.cpp\\n\\n # Check f.cpp and search include files from inc1/ and inc2/:\\n cppcheck -I inc1/ -I inc2/ f.cpp\\n\\nFor more information:\\n https://cppcheck.sourceforge.io/manual.pdf\\n\\nMany thanks to the 3rd party libraries we use:\\n * tinyxml2 -- loading project/library/ctu files.\\n * picojson -- loading compile database.\\n * pcre -- rules.\\n * qt -- used in GUI\\n\\n' = CompletedProcess(args=['./cppcheck', '--help'], returncode=0, stdout='Cppcheck - A tool for static C/C++ code analysis\\n\\nSyntax:\\n cppcheck [OPTIONS] [files or paths]\\n\\nIf a directory is given instead of a filename, *.cpp, *.cxx, *.cc, *.c++, *.c, *.ipp,\\n*.ixx, *.tpp, and *.txx files are checked recursively from the given directory.\\n\\nOptions:\\n --addon=\\n Execute addon. i.e. --addon=misra. If options must be\\n provided a json configuration is needed.\\n --addon-python=\\n You can specify the python interpreter either in the\\n addon json files or through this command line option.\\n If not present, Cppcheck will try \"python3\" first and\\n then \"python\".\\n --cppcheck-build-dir=\\n Cppcheck work folder. Advantages:\\n * whole program analysis\\n * faster analysis; Cppcheck will reuse the results if\\n the hash for a file is unchanged.\\n * some useful debug information, i.e. com... Undefine preprocessor symbol. Use -U to explicitly\\n hide certain #ifdef code paths from checking.\\n Example: \\'-UDEBUG\\'\\n -v, --verbose Output more detailed error information.\\n Note that this option is not mutually exclusive with --quiet.\\n --version Print out version number.\\n --xml Write results in xml format to error stream (stderr).\\n\\nExample usage:\\n # Recursively check the current folder. Print the progress on the screen and\\n # write errors to a file:\\n cppcheck . 2> err.txt\\n\\n # Recursively check ../myproject/ and don\\'t print progress:\\n cppcheck --quiet ../myproject/\\n\\n # Check test.cpp, enable all checks:\\n cppcheck --enable=all --inconclusive --library=posix test.cpp\\n\\n # Check f.cpp and search include files from inc1/ and inc2/:\\n cppcheck -I inc1/ -I inc2/ f.cpp\\n\\nFor more information:\\n https://cppcheck.sourceforge.io/manual.pdf\\n\\nMany thanks to the 3rd party libraries we use:\\n * tinyxml2 -- loading project/library/ctu files.\\n * picojson -- loading compile database.\\n * pcre -- rules.\\n * qt -- used in GUI\\n\\n', stderr='').stdout\n___________________________________ test_cwe ___________________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_premium.py:243: in test_cwe\n assert '\\n\\n \\n \\n \\n\\n'\nE + where '\\n\\n \\n \\n \\n\\n' = CompletedProcess(args=['/workspace/executable', '--addon=/tmp/pytest-of-root/pytest-0/popen-gw7/test_cwe2/premiumaddon.py', '--xml', '/tmp/pytest-of-root/pytest-0/popen-gw7/test_cwe2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw7/test_cwe2/test.c ...\\n', stderr='\\n\\n \\n \\n \\n\\n').stderr\n__________________________________ test_hash ___________________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_premium.py:259: in test_hash\n assert '\\n\\n \\n \\n \\n\\n'\nE + where '\\n\\n \\n \\n \\n\\n' = CompletedProcess(args=['/workspace/executable', '--addon=/tmp/pytest-of-root/pytest-0/popen-gw7/test_hash2/premiumaddon.py', '--xml', '/tmp/pytest-of-root/pytest-0/popen-gw7/test_hash2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw7/test_hash2/test.c ...\\n', stderr='\\n\\n \\n \\n \\n\\n').stderr\n_______________________________ test_file_filter _______________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_proj2.py:91: in test_file_filter\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find any files matching the filter:proj2/b*\nE \nE assert 1 == 0\n_______________________________ test_local_path ________________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_proj2.py:103: in test_local_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n____________________________ test_local_path_force _____________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_proj2.py:114: in test_local_path_force\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n__________________________ test_local_path_maxconfigs __________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_proj2.py:124: in test_local_path_maxconfigs\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n______________________________ test_relative_path ______________________________\n[gw7] linux -- Python 3.10.12 /usr/bin/python3\ntests/test_harvest_proj2.py:136: in test_relative_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED tests/test_checkassert_gaps.py::test_assignment_in_assert - AssertionE...\nFAILED tests/test_checkclass_gaps_round2.py::test_struct_without_constructor_messaging\nFAILED tests/test_checkfunctions_gaps.py::test_all_log_function_variants - As...\nFAILED tests/test_checkbufferoverrun_gaps.py::test_three_dimensional_array_overflow\nFAILED tests/test_checkio_gaps_round2.py::test_fgetpos_on_closed_file - asser...\nFAILED tests/test_checkother_part2.py::test_overlapping_write_union - assert ...\nFAILED tests/test_checkio_round3.py::test_printf_L_modifier_double_not_long_double\nFAILED tests/test_checkio_gaps_round2.py::test_fread_on_write_only_file - Ass...\nFAILED tests/test_checkautovariables_gaps.py::test_nested_pointer_levels - as...\nFAILED tests/test_checkmemoryleak_gaps.py::test_malloc_reassignment_leak - As...\nFAILED tests/test_checkassert_gaps.py::test_increment_operator_in_assert - As...\nFAILED tests/test_checkfunctions_gaps.py::test_math_with_evaluated_expressions\nFAILED tests/test_checkclass_gaps.py::test_missing_copy_constructor_with_dynamic_memory\nFAILED tests/test_checkother_part2.py::test_overlapping_write_memcpy_same_buffer\nFAILED tests/test_checkio_round3.py::test_printf_L_modifier_float_not_long_double\nFAILED tests/test_checkio_gaps_round2.py::test_fwrite_on_read_only_file - Ass...\nFAILED tests/test_checkio_gaps_round2.py::test_fsetpos_on_closed_file - asser...\nFAILED tests/test_checkautovariables_gaps.py::test_array_decay_assignment - a...\nFAILED tests/test_checkcondition_gaps.py::test_assignif_zero_result_or_check\nFAILED tests/test_checkmemoryleak_gaps.py::test_realloc_without_checking_null\nFAILED tests/test_checkassert_gaps.py::test_decrement_operator_in_assert - As...\nFAILED tests/test_checkclass_gaps.py::test_self_assignment_in_operator_equals\nFAILED tests/test_checkother_part2.py::test_invalid_free_with_offset - assert...\nFAILED tests/test_checkfunctions_gaps.py::test_memset_multiple_buffer_types\nFAILED tests/test_checkio_round3.py::test_printf_L_modifier_e_format_wrong_type\nFAILED tests/test_checkio_gaps_round2.py::test_fread_on_closed_file - Asserti...\nFAILED tests/test_checkautovariables_gaps.py::test_assign_local_to_global_pointer\nFAILED tests/test_checkmemoryleak_gaps.py::test_struct_member_allocation_leak\nFAILED tests/test_checkio_gaps_round2.py::test_printf_percent_n_no_pointer - ...\nFAILED tests/test_checkcondition_gaps.py::test_redundant_condition_overlapping_ranges\nFAILED tests/test_checkassert_gaps.py::test_compound_assignment_in_assert - A...\nFAILED tests/test_checkclass_gaps.py::test_missing_virtual_destructor_in_base_class\nFAILED tests/test_checkother_part2.py::test_duplicate_expression_ternary - as...\nFAILED tests/test_checkfunctions_gaps.py::test_math_errors_in_loops - Asserti...\nFAILED tests/test_checkio_round3.py::test_printf_L_modifier_g_format_wrong_type\nFAILED tests/test_checkio_gaps_round2.py::test_fwrite_on_closed_file - Assert...\nFAILED tests/test_checkautovariables_gaps.py::test_assign_local_to_struct_member_pointer\nFAILED tests/test_checkmemoryleak_gaps.py::test_struct_pointer_member_leak_on_return\nFAILED tests/test_checkio_gaps_round2.py::test_scanf_percent_n_with_wrong_preceding_type\nFAILED tests/test_checkcondition_gaps.py::test_modulo_always_true_unsigned - ...\nFAILED tests/test_checkother_part2.py::test_misused_scoped_object_lock_guard\nFAILED tests/test_checkassert_gaps.py::test_function_modifies_global_variable\nFAILED tests/test_checkio_round3.py::test_fseek_on_append_mode_file - Asserti...\nFAILED tests/test_checkio_gaps_round2.py::test_printf_j_modifier_int - assert...\nFAILED tests/test_checkclass_gaps.py::test_duplicate_inherited_member_warning\nFAILED tests/test_checkbool_gaps.py::test_bitwise_on_boolean_and - assert \"Di...\nFAILED tests/test_checkio_gaps.py::test_printf_type_mismatch_string_int - ass...\nFAILED tests/test_checkmemoryleak_gaps.py::test_unused_allocation_return_value\nFAILED tests/test_checkio_gaps_round2.py::test_scanf_field_width_overflow - a...\nFAILED tests/test_checkcondition_gaps.py::test_modulo_always_false_unsigned\nFAILED tests/test_checkassert_gaps.py::test_nonconst_member_function_no_body\nFAILED tests/test_checkio_round3.py::test_printf_complex_format_multiple_errors\nFAILED tests/test_checkio_gaps_round2.py::test_printf_ju_modifier_int - asser...\nFAILED tests/test_checkother_part2.py::test_pointer_less_than_zero - assert '...\nFAILED tests/test_checkbool_gaps.py::test_comparison_bool_with_int - assert '...\nFAILED tests/test_checkclass_gaps.py::test_virtual_function_call_in_constructor\nFAILED tests/test_checkio_gaps.py::test_printf_type_mismatch_int_string - ass...\nFAILED tests/test_checkmemoryleak_gaps.py::test_fclose_wrong_variable - Asser...\nFAILED tests/test_checkcondition_gaps.py::test_invalid_overflow_check_signed\nFAILED tests/test_checkio_round3.py::test_wprintf_type_mismatch_int_wchar_ptr\nFAILED tests/test_checkassert_gaps.py::test_function_modifies_reference_parameter\nFAILED tests/test_checkio_gaps_round2.py::test_printf_zu_modifier_int - asser...\nFAILED tests/test_checkio_round3.py::test_printf_complex_format_first_arg_wrong_type\nFAILED tests/test_checkclass_gaps.py::test_copy_constructor_without_assignment_operator\nFAILED tests/test_checkbool_gaps.py::test_assign_bool_to_float - assert 'Bool...\nFAILED tests/test_checkio_gaps.py::test_printf_type_mismatch_float_int - asse...\nFAILED tests/test_checkother_part2.py::test_redundant_assignment_same_value\nFAILED tests/test_checkmemoryleak_gaps.py::test_malloc_cast_leak - AssertionE...\nFAILED tests/test_checkcondition_gaps.py::test_unsigned_less_than_zero - asse...\nFAILED tests/test_checkio_round3.py::test_wprintf_type_mismatch_wchar_ptr_int\nFAILED tests/test_checkassert_gaps.py::test_function_modifies_pointer_parameter\nFAILED tests/test_checkio_gaps_round2.py::test_printf_zd_modifier_int - asser...\nFAILED tests/test_checkclass_gaps.py::test_missing_override_specifier - asser...\nFAILED tests/test_checkio_round3.py::test_printf_width_with_wrong_type - asse...\nFAILED tests/test_checkbool_gaps.py::test_pointer_arith_bool - AssertionError...\nFAILED tests/test_checkio_gaps.py::test_printf_type_mismatch_pointer_int - as...\nFAILED tests/test_checkother_part2.py::test_access_of_moved_variable - assert...\nFAILED tests/test_checkmemoryleak_gaps.py::test_allocation_in_function_argument_leak\nFAILED tests/test_checkcondition_gaps.py::test_pointer_arithmetic_result_not_null\nFAILED tests/test_checkio_round3.py::test_wprintf_type_mismatch_float_int - a...\nFAILED tests/test_checkassert_gaps.py::test_multiple_assignments_in_assert - ...\nFAILED tests/test_checkio_gaps_round2.py::test_printf_td_modifier_int - asser...\nFAILED tests/test_checkclass_gaps.py::test_suspicious_this_pointer_subtraction\nFAILED tests/test_checkio_round3.py::test_printf_precision_with_wrong_type - ...\nFAILED tests/test_checkbool_gaps.py::test_return_value_bool - AssertionError:...\nFAILED tests/test_checkio_gaps.py::test_printf_type_mismatch_unsigned_signed\nFAILED tests/test_checkother_part2.py::test_shadow_variable_global - assert '...\nFAILED tests/test_checkmemoryleak_gaps.py::test_multiple_allocations_one_freed\nFAILED tests/test_checkcondition_gaps.py::test_pointer_arithmetic_not_equal_zero\nFAILED tests/test_checkio_round3.py::test_wscanf_type_mismatch_wchar_ptr_int_ptr\nFAILED tests/test_checkassert_gaps.py::test_assignment_to_outer_scope_variable\nFAILED tests/test_checkio_gaps_round2.py::test_printf_tu_modifier_int - asser...\nFAILED tests/test_checkclass_gaps.py::test_member_variable_self_initialization\nFAILED tests/test_checkio_round3.py::test_printf_width_and_precision_with_wrong_type\nFAILED tests/test_checkbool_gaps.py::test_comparison_func_returning_bool - As...\nFAILED tests/test_checkio_gaps.py::test_scanf_wrong_type - assert \"%s in form...\nFAILED tests/test_checkmemoryleak_gaps.py::test_conditional_double_alloc_leak\nFAILED tests/test_checkother_part2.py::test_unknown_evaluation_order_increment\nFAILED tests/test_checkcondition_gaps.py::test_opposite_inner_condition_simple\nFAILED tests/test_checkio_round3.py::test_wscanf_missing_address_operator - a...\nFAILED tests/test_checkclass_gaps.py::test_initializer_list_order_mismatch - ...\nFAILED tests/test_checkio_gaps_round2.py::test_printf_I64d_modifier_int - ass...\nFAILED tests/test_checkbool_gaps.py::test_comparison_bool_with_bool - assert ...\nFAILED tests/test_checkio_round3.py::test_scanf_complex_format_last_arg_wrong_type\nFAILED tests/test_checkassert_gaps.py::test_function_with_return_modifies_global\nFAILED tests/test_checkio_gaps.py::test_scanf_missing_address_operator - asse...\nFAILED tests/test_checkmemoryleak_gaps.py::test_member_allocated_twice_leak\nFAILED tests/test_checkother_part2.py::test_unknown_evaluation_order_array_index\nFAILED tests/test_checkcondition_gaps.py::test_opposite_inner_with_compound_outer\nFAILED tests/test_checkio_round3.py::test_wscanf_width_too_large - assert 'Wi...\nFAILED tests/test_checkclass_gaps.py::test_complex_class_hierarchy_multiple_issues\nFAILED tests/test_checkio_gaps_round2.py::test_printf_I64u_modifier_int - ass...\nFAILED tests/test_checkbool_gaps.py::test_comparison_bool_with_invalid_comparator\nFAILED tests/test_checkio_round3.py::test_scanf_complex_format_first_arg_wrong_type\nFAILED tests/test_checkassert_gaps.py::test_postincrement_vs_preincrement - A...\nFAILED tests/test_checkio_gaps.py::test_scanf_width_too_large - assert 'Width...\nFAILED tests/test_checkmemoryleak_gaps.py::test_free_then_return_value - Asse...\nFAILED tests/test_checkcondition_gaps.py::test_opposite_inner_second_conjunct\nFAILED tests/test_checkio_round3.py::test_fwprintf_type_mismatch_int_wchar_ptr\nFAILED tests/test_checksizeof_gaps.py::test_sizeof_sizeof - assert \"Calling '...\nFAILED tests/test_checkclass_gaps.py::test_pure_virtual_function_call_in_constructor\nFAILED tests/test_checkio_gaps_round2.py::test_printf_I32d_modifier_short - a...\nFAILED tests/test_checkbool_gaps.py::test_comparison_two_funcs_returning_bool\nFAILED tests/test_checkassert_gaps.py::test_bitwise_assignment_operators - As...\nFAILED tests/test_checkio_round3.py::test_scanf_width_with_wrong_type - asser...\nFAILED tests/test_checkio_gaps.py::test_scanf_no_width_specifier - assert 'sc...\nFAILED tests/test_checkmemoryleak_gaps.py::test_leaked_on_exception_constructor\nFAILED tests/test_checkcondition_gaps.py::test_mismatchingbitand_error - asse...\nFAILED tests/test_checkio_round3.py::test_fwprintf_type_mismatch_wchar_ptr_int\nFAILED tests/test_checksizeof_gaps.py::test_sizeof_pointer_malloc - Assertion...\nFAILED tests/test_checkclass_gaps.py::test_useless_override_identical_to_base\nFAILED tests/test_checkbool_gaps.py::test_complex_bool_expressions - assert 0...\nFAILED tests/test_checkio_gaps_round2.py::test_printf_I32d_modifier_long - as...\nFAILED tests/test_checkio_gaps.py::test_cout_cerr_misuse_cout_to_cout - asser...\nFAILED tests/test_checkautovariables_gaps.py::test_return_reference_to_local_variable\nFAILED tests/test_checkother_gaps.py::test_cast_int_to_char_getchar - Asserti...\nFAILED tests/test_checkio_round3.py::test_sprintf_type_mismatch_int_string - ...\nFAILED tests/test_checkcondition_gaps.py::test_badbitmask_or_with_zero_operand\nFAILED tests/test_checkio_round3.py::test_fwprintf_type_mismatch_float_int - ...\nFAILED tests/test_checksizeof_gaps.py::test_sizeof_pointer_calloc - Assertion...\nFAILED tests/test_checkclass_gaps.py::test_return_reference_to_local_variable\nFAILED tests/test_checkbool_gaps.py::test_c_code_bool_operations - assert 're...\nFAILED tests/test_checkio_gaps_round2.py::test_printf_hhd_modifier_int - asse...\nFAILED tests/test_checkio_gaps.py::test_cout_cerr_misuse_cerr_to_cout - asser...\nFAILED tests/test_checkother_gaps.py::test_cast_int_to_char_variations - Asse...\nFAILED tests/test_checkio_round3.py::test_sprintf_type_mismatch_string_int - ...\nFAILED tests/test_checkautovariables_gaps.py::test_lambda_capture_local_by_reference\nFAILED tests/test_checkcondition_gaps.py::test_bitwise_or_non_zero_always_true\nFAILED tests/test_checkio_round3.py::test_fwprintf_type_mismatch_int_float - ...\nFAILED tests/test_checksizeof_gaps.py::test_sizeof_pointer_memset - Assertion...\nFAILED tests/test_checkclass_gaps.py::test_missing_constructor_with_private_members\nFAILED tests/test_checkbool_gaps.py::test_underscore_bool_type - assert 'retu...\nFAILED tests/test_checkio_gaps_round2.py::test_printf_hhd_modifier_short - as...\nFAILED tests/test_checkio_gaps.py::test_cout_cerr_misuse_cout_to_cerr - asser...\nFAILED tests/test_checkautovariables_gaps.py::test_return_reference_to_temporary\nFAILED tests/test_checkio_round3.py::test_snprintf_type_mismatch - assert \"%d...\nFAILED tests/test_checkcondition_gaps.py::test_modulo_with_equals_boundary - ...\nFAILED tests/test_checkother_gaps.py::test_incomplete_statement_sizeof - Asse...\nFAILED tests/test_checkio_round3.py::test_swprintf_wrong_arg_count_too_few - ...\nFAILED tests/test_checksizeof_gaps.py::test_sizeof_pointer_memcpy - Assertion...\nFAILED tests/test_checkclass_gaps.py::test_shallow_copy_in_copy_constructor\nFAILED tests/test_checkbool_gaps.py::test_edge_case_comparisons - AssertionEr...\nFAILED tests/test_checkio_gaps_round2.py::test_printf_hhu_modifier_int - asse...\nFAILED tests/test_checkio_gaps.py::test_cout_cerr_misuse_in_chain - assert \"I...\nFAILED tests/test_checkautovariables_gaps.py::test_deallocation_of_auto_variable\nFAILED tests/test_checkcondition_gaps.py::test_nested_if_else_with_opposite_in_else\nFAILED tests/test_checkother_gaps.py::test_char_bitop_sign_extension - Assert...\nFAILED tests/test_checkio_round3.py::test_sscanf_type_mismatch_int - assert \"...\nFAILED tests/test_checkio_round3.py::test_swprintf_wrong_arg_count_too_many\nFAILED tests/test_checksizeof_gaps.py::test_sizeof_void - AssertionError: ass...\nFAILED tests/test_checkclass_gaps.py::test_copy_constructor_and_destructor_without_assignment\nFAILED tests/test_checkbool_gaps.py::test_pointer_arith_complex_conditions - ...\nFAILED tests/test_checkio_gaps_round2.py::test_printf_lld_modifier_int - asse...\nFAILED tests/test_checkio_gaps.py::test_write_to_readonly_file - AssertionErr...\nFAILED tests/test_checkautovariables_gaps.py::test_dangling_pointer_after_scope_exit\nFAILED tests/test_checkcondition_gaps.py::test_signed_modulo_with_negative_range\nFAILED tests/test_checkio_round3.py::test_sscanf_type_mismatch_string - asser...\nFAILED tests/test_checkother_gaps.py::test_comparison_function_always_true_false\nFAILED tests/test_checkio_round3.py::test_swprintf_type_mismatch_int_wchar_ptr\nFAILED tests/test_checksizeof_gaps.py::test_sizeof_dereferenced_void_pointer\nFAILED tests/test_checkbool_gaps.py::test_casts_and_function_calls - assert '...\nFAILED tests/test_checkclass_gaps_round2.py::test_operator_eq_missing_return_statement\nFAILED tests/test_checkio_gaps_round2.py::test_printf_lld_modifier_long - ass...\nFAILED tests/test_checkio_gaps.py::test_read_from_writeonly_file - AssertionE...\nFAILED tests/test_checkautovariables_gaps.py::test_return_pointer_to_temporary_object_member\nFAILED tests/test_checkcondition_gaps.py::test_complex_nested_conditions_three_levels\nFAILED tests/test_checkio_round3.py::test_sscanf_width_too_large - assert 'Wi...\nFAILED tests/test_checkio_round3.py::test_swprintf_type_mismatch_wchar_ptr_int\nFAILED tests/test_checkother_part1.py::test_int_to_pointer_cast_decimal - Ass...\nFAILED tests/test_checksizeof_gaps.py::test_multiply_sizeof_error - Assertion...\nFAILED tests/test_checkclass_gaps_round2.py::test_operator_eq_returns_wrong_reference\nFAILED tests/test_checkio_gaps_round2.py::test_printf_Lf_modifier_double - as...\nFAILED tests/test_checkbufferoverrun_gaps.py::test_strcpy_buffer_overrun - As...\nFAILED tests/test_checkio_gaps.py::test_use_closed_file - AssertionError: ass...\nFAILED tests/test_checkautovariables_gaps.py::test_delete_auto_variable - ass...\nFAILED tests/test_checkfunctions_gaps.py::test_log_negative_argument - assert...\nFAILED tests/test_checkmemoryleak_gaps.py::test_realloc_direct_assignment_leak\nFAILED tests/test_checkio_round3.py::test_printf_positional_param_missing_arg\nFAILED tests/test_checkother_part1.py::test_const_statement_string_and_numeric\nFAILED tests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_addition\nFAILED tests/test_checkclass_gaps_round2.py::test_initializer_list_wrong_order\nFAILED tests/test_checkbufferoverrun_gaps.py::test_sprintf_buffer_overrun - A...\nFAILED tests/test_checkio_gaps_round2.py::test_scanf_jd_modifier_int - assert...\nFAILED tests/test_checkio_gaps.py::test_io_without_positioning - AssertionErr...\nFAILED tests/test_checkautovariables_gaps.py::test_delete_array_auto_variable\nFAILED tests/test_checkfunctions_gaps.py::test_atan2_both_zeros - AssertionEr...\nFAILED tests/test_checkio_round3.py::test_printf_positional_param_out_of_range\nFAILED tests/test_checkother_part1.py::test_nan_in_arithmetic_expression - as...\nFAILED tests/test_checkmemoryleak_gaps.py::test_malloc_delete_mismatch - Asse...\nFAILED tests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_subtraction\nFAILED tests/test_checkclass_gaps_round2.py::test_self_initialization_in_initializer_list\nFAILED tests/test_checkbufferoverrun_gaps.py::test_multidimensional_array_out_of_bounds\nFAILED tests/test_checkio_gaps_round2.py::test_scanf_ju_modifier_int - assert...\nFAILED tests/test_checkio_gaps.py::test_seek_on_append_mode - AssertionError:...\nFAILED tests/test_checkautovariables_gaps.py::test_nested_scope_dangling_pointer\nFAILED tests/test_checkfunctions_gaps.py::test_fmod_zero_divisor - AssertionE...\nFAILED tests/test_checkio_round3.py::test_printf_positional_param_type_mismatch\nFAILED tests/test_checkother_part1.py::test_variadic_func_null_ub - Assertion...\nFAILED tests/test_checkmemoryleak_gaps.py::test_new_free_mismatch - Assertion...\nFAILED tests/test_checksizeof_gaps.py::test_arithmetic_on_void_pointer_increment\nFAILED tests/test_checkclass_gaps_round2.py::test_virtual_function_call_in_constructor_indirect\nFAILED tests/test_checkio_gaps_round2.py::test_scanf_zu_modifier_int - assert...\nFAILED tests/test_checkbufferoverrun_gaps.py::test_pointer_arithmetic_out_of_bounds\nFAILED tests/test_checkio_gaps.py::test_format_specifier_unsigned_with_signed\nFAILED tests/test_checkautovariables_gaps.py::test_return_pointer_to_array_element\nFAILED tests/test_checkfunctions_gaps.py::test_pow_zero_base_negative_exponent\nFAILED tests/test_checkio_round3.py::test_printf_positional_param_string_type_mismatch\nFAILED tests/test_checkother_part1.py::test_incomplete_array_fill - Assertion...\nFAILED tests/test_checkmemoryleak_gaps.py::test_memory_leak_return_path - Ass...\nFAILED tests/test_checksizeof_gaps.py::test_sizeof_pointer_memmove - Assertio...\nFAILED tests/test_checkclass_gaps_round2.py::test_memset_on_class_with_reference_member\nFAILED tests/test_checkbufferoverrun_gaps.py::test_array_index_then_check - A...\nFAILED tests/test_checkio_gaps_round2.py::test_scanf_td_modifier_int - assert...\nFAILED tests/test_checkio_gaps.py::test_format_specifier_float_with_int - ass...\nFAILED tests/test_checkfunctions_gaps.py::test_log1p_invalid_argument - Asser...\nFAILED tests/test_checkautovariables_gaps.py::test_return_pointer_to_struct_member\nFAILED tests/test_checkio_round3.py::test_scanf_scanset_width_too_large - Ass...\nFAILED tests/test_checkmemoryleak_gaps.py::test_file_handle_leak - AssertionE...\nFAILED tests/test_checkother_part1.py::test_clarify_calculation_precedence - ...\nFAILED tests/test_checkstl_gaps.py::test_vector_clear_invalidates_all - asser...\nFAILED tests/test_checkclass_gaps_round2.py::test_this_subtraction_error - as...\nFAILED tests/test_checkbufferoverrun_gaps.py::test_strncpy_not_null_terminated\nFAILED tests/test_checkio_gaps.py::test_format_specifier_pointer_with_int - a...\nFAILED tests/test_checkio_gaps_round2.py::test_scanf_I64d_modifier_int - asse...\nFAILED tests/test_checkfunctions_gaps.py::test_memset_zero_bytes - AssertionE...\nFAILED tests/test_checkautovariables_gaps.py::test_pointer_arithmetic_on_local_array\nFAILED tests/test_checkio_round3.py::test_scanf_scanset_exact_width_boundary\nFAILED tests/test_checkmemoryleak_gaps.py::test_file_handle_leak_early_return\nFAILED tests/test_checkother_part1.py::test_redundant_pointer_operations - As...\nFAILED tests/test_checkstl_gaps.py::test_vector_at_with_loop_index - assert '...\nFAILED tests/test_checkclass_gaps_round2.py::test_missing_destructor_with_copy_and_operator_eq\nFAILED tests/test_checkbufferoverrun_gaps.py::test_negative_array_size_vla - ...\nFAILED tests/test_checkio_gaps.py::test_format_specifier_n_without_pointer - ...\nFAILED tests/test_checkio_gaps_round2.py::test_scanf_I64u_modifier_int - asse...\nFAILED tests/test_checkfunctions_gaps.py::test_memset_value_out_of_range - As...\nFAILED tests/test_checkautovariables_gaps.py::test_assign_local_to_reference_parameter\nFAILED tests/test_checkio_round3.py::test_scanf_scanset_no_width_warning - As...\nFAILED tests/test_checkmemoryleak_gaps.py::test_double_free_same_variable - A...\nFAILED tests/test_checkother_part1.py::test_shadow_variable_detection - asser...\nFAILED tests/test_checkstl_gaps.py::test_string_cstr_throw_error - assert 'st...\nFAILED tests/test_checkclass_gaps_round2.py::test_virtual_destructor_inconclusive_warning\nFAILED tests/test_checkio_gaps.py::test_format_specifier_long_modifiers - ass...\nFAILED tests/test_checkbufferoverrun_gaps.py::test_negative_memory_allocation_new\nFAILED tests/test_checkio_gaps_round2.py::test_scanf_I32d_modifier_short - as...\nFAILED tests/test_checkfunctions_gaps.py::test_memset_float_portability - Ass...\nFAILED tests/test_checkio_round3.py::test_printf_n_specifier_missing_address\nFAILED tests/test_checkautovariables_gaps.py::test_return_reference_through_binding\nFAILED tests/test_checkmemoryleak_gaps.py::test_use_after_free - AssertionErr...\nFAILED tests/test_checkother_part1.py::test_unreachable_code_after_return - a...\nFAILED tests/test_checkstl_gaps.py::test_string_cstr_stringstream_pointer_assignment\nFAILED tests/test_checkclass_gaps_round2.py::test_memset_on_class_with_vtable\nFAILED tests/test_checkio_gaps.py::test_format_specifier_size_t - assert \"%zu...\nFAILED tests/test_checkbufferoverrun_gaps.py::test_object_index_non_zero - As...\nFAILED tests/test_checkio_gaps_round2.py::test_scanf_I32d_modifier_long - ass...\nFAILED tests/test_checkfunctions_gaps.py::test_c99_math_precision_suggestions\nFAILED tests/test_checkio_round3.py::test_printf_n_specifier_multiple_args_missing_address\nFAILED tests/test_checkmemoryleak_gaps.py::test_conditional_allocation_leak\nFAILED tests/test_checkautovariables_gaps.py::test_assign_local_array_to_parameter\nFAILED tests/test_checkother_part1.py::test_comparison_function_identical_variables\nFAILED tests/test_checkstl_gaps.py::test_string_cstr_assignment_performance_string\nFAILED tests/test_checkclass_gaps_round2.py::test_memset_on_std_string_member\nFAILED tests/test_checkio_gaps.py::test_format_specifier_char_with_pointer - ...\nFAILED tests/test_checkio_gaps_round2.py::test_scanf_hhd_modifier_int - asser...\nFAILED tests/test_checkbufferoverrun_gaps.py::test_snprintf_buffer_size_mismatch\nFAILED tests/test_checkfunctions_gaps.py::test_sqrt_acos_asin_domain_errors\nFAILED tests/test_checkio_round3.py::test_printf_p_specifier_non_pointer_int\nFAILED tests/test_checkmemoryleak_gaps.py::test_calloc_allocation - Assertion...\nFAILED tests/test_checkother_part1.py::test_unsigned_variable_sign_check - As...\nFAILED tests/test_checkuninitvar_gaps.py::test_pointer_to_pointer_uninit - as...\nFAILED tests/test_checkstl_gaps.py::test_string_cstr_parameter_passing_performance\nFAILED tests/test_checkio_gaps_round2.py::test_scanf_hhd_modifier_short - ass...\nFAILED tests/test_checkbufferoverrun_gaps.py::test_memcpy_buffer_overrun - As...\nFAILED tests/test_checkclass_gaps_round2.py::test_constructor_variable_assignment_performance\nFAILED tests/test_checkio_gaps.py::test_width_and_precision_type_mismatch - a...\nFAILED tests/test_checkfunctions_gaps.py::test_alloca_obsolete_c99 - Assertio...\nFAILED tests/test_checkio_round3.py::test_printf_p_specifier_non_pointer_literal\nFAILED tests/test_checkmemoryleak_gaps.py::test_strdup_allocation - Assertion...\nFAILED tests/test_checksizeof_gaps.py::test_sizeof_pointer_strncpy - assert '...\nFAILED tests/test_checkvaarg_gaps.py::test_va_start_wrong_parameter_first_arg\nFAILED tests/test_checkstl_gaps.py::test_string_cstr_return_performance - ass...\nFAILED tests/test_checkbufferoverrun_gaps.py::test_array_argument_size_mismatch\nFAILED tests/test_checkio_gaps_round2.py::test_scanf_hhu_modifier_int - asser...\nFAILED tests/test_checkclass_gaps_round2.py::test_operator_eq_throws_to_prevent_assignment\nFAILED tests/test_checkio_gaps.py::test_scanf_length_modifier_short - assert ...\nFAILED tests/test_checkfunctions_gaps.py::test_combined_math_domain_errors - ...\nFAILED tests/test_checkio_round3.py::test_printf_hh_modifier_short_not_char\nFAILED tests/test_checkmemoryleak_gaps.py::test_class_member_not_freed_in_destructor\nFAILED tests/test_checksizeof_gaps.py::test_sizeof_calculation_bitwise_xor - ...\nFAILED tests/test_checkvaarg_gaps.py::test_va_start_reference_parameter - ass...\nFAILED tests/test_checkstl_gaps.py::test_string_find_inefficient_comparison\nFAILED tests/test_checkio_gaps_round2.py::test_scanf_lld_modifier_int - asser...\nFAILED tests/test_checkbufferoverrun_gaps.py::test_string_literal_out_of_bounds\nFAILED tests/test_checkclass_gaps_round2.py::test_virtual_destructor_with_actual_deletion\nFAILED tests/test_checkio_gaps.py::test_scanf_length_modifier_long - assert \"...\nFAILED tests/test_checkfunctions_gaps.py::test_memset_boundary_values - Asser...\nFAILED tests/test_checkio_round3.py::test_printf_hh_modifier_int_not_char - a...\nFAILED tests/test_checkmemoryleak_gaps.py::test_class_member_allocated_in_public_function\nFAILED tests/test_checkstl_gaps.py::test_iterator_erase_invalidation_map - as...\nFAILED tests/test_checkvaarg_gaps.py::test_va_end_missing_basic - assert \"va_...\nFAILED tests/test_checkstl_gaps.py::test_use_stl_algorithm_any_of_pattern - A...\nFAILED tests/test_checkbufferoverrun_gaps.py::test_struct_array_member_out_of_bounds\nFAILED tests/test_checkio_gaps_round2.py::test_scanf_lld_modifier_long - asse...\nFAILED tests/test_checkio_gaps.py::test_scanf_length_modifier_long_long - ass...\nFAILED tests/test_checkfunctions_gaps.py::test_math_with_const_variables - As...\nFAILED tests/test_clangimport_error_handling.py::test_clangimport_extern_variables\nFAILED tests/test_checkio_round3.py::test_printf_hh_modifier_unsigned_int_not_uchar\nFAILED tests/test_clangimport_advanced.py::test_clangimport_do_while - FileNo...\nFAILED tests/test_checkstl_gaps.py::test_iterator_erase_invalidation_vector\nFAILED tests/test_checkvaarg_gaps.py::test_va_list_used_before_started - asse...\nFAILED tests/test_checkstl_gaps.py::test_use_stl_algorithm_accumulate_pattern\nFAILED tests/test_checkbufferoverrun_gaps.py::test_strcat_buffer_overrun - As...\nFAILED tests/test_checkio_gaps_round2.py::test_scanf_Lf_modifier_double - ass...\nFAILED tests/test_checkio_gaps.py::test_scanf_length_modifier_size_t - assert...\nFAILED tests/test_checkfunctions_gaps.py::test_ignored_return_values - Assert...\nFAILED tests/test_checkio_round3.py::test_printf_ll_modifier_long_not_long_long\nFAILED tests/test_clangimport_error_handling.py::test_clangimport_const_variables\nFAILED tests/test_checkstl_gaps.py::test_vector_out_of_bounds_index - assert ...\nFAILED tests/test_checkvaarg_gaps.py::test_va_start_subsequent_calls - assert...\nFAILED tests/test_clangimport_advanced.py::test_clangimport_break_continue - ...\nFAILED tests/test_checkstl_gaps.py::test_use_stl_algorithm_max_element_pattern\nFAILED tests/test_checkbufferoverrun_gaps.py::test_conditional_negative_index\nFAILED tests/test_checkio_gaps_round2.py::test_ftell_on_closed_file - Asserti...\nFAILED tests/test_checkio_gaps.py::test_scanf_unsigned_length_modifiers - ass...\nFAILED tests/test_checktype_gaps.py::test_shift_longlong_type - assert 'shift...\nFAILED tests/test_checkio_round3.py::test_printf_ll_modifier_int_not_long_long\nFAILED tests/test_clangimport_error_handling.py::test_clangimport_volatile - ...\nFAILED tests/test_checkstl_gaps.py::test_vector_out_of_bounds_at - assert 'co...\nFAILED tests/test_checkvaarg_gaps.py::test_va_copy_source_not_started - asser...\nFAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_new_delete - ...\nFAILED tests/test_checkstl_gaps.py::test_find_insert_optimization - Assertion...\nFAILED tests/test_checkbufferoverrun_gaps.py::test_sprintf_integer_overflow\nFAILED tests/test_checkio_gaps_round2.py::test_fseek_on_append_mode - Asserti...\nFAILED tests/test_checkio_gaps_round2.py::test_fread_without_positioning - As...\nFAILED tests/test_checktype_gaps.py::test_shift_bool_type - assert 'shiftTooM...\nFAILED tests/test_checkio_round3.py::test_printf_ll_modifier_unsigned_int_not_ullong\nFAILED tests/test_clangimport_error_handling.py::test_clangimport_inline_function\nFAILED tests/test_checkstl_gaps.py::test_string_out_of_bounds - assert 0 == 2\nFAILED tests/test_checkvaarg_gaps.py::test_va_list_as_function_argument - ass...\nFAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_throw_catch\nFAILED tests/test_checkstl_gaps.py::test_negative_container_index_literal - A...\nFAILED tests/test_checkbufferoverrun_gaps.py::test_strncat_buffer_overrun - A...\nFAILED tests/test_checkio_gaps_round2.py::test_fseek_on_closed_file - Asserti...\nFAILED tests/test_checkio_gaps_round2.py::test_fwrite_without_positioning - A...\nFAILED tests/test_checkuninitvar_gaps.py::test_array_element_uninitialized - ...\nFAILED tests/test_checkstring_gaps.py::test_wide_character_string_compare - a...\nFAILED tests/test_checkstl_gaps.py::test_array_out_of_bounds - assert 'contai...\nFAILED tests/test_checkvaarg_gaps.py::test_va_list_with_goto - assert \"va_lis...\nFAILED tests/test_clangimport_error_handling.py::test_clangimport_restrict_pointer\nFAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_this_pointer\nFAILED tests/test_checkstl_gaps.py::test_negative_container_index_variable - ...\nFAILED tests/test_checkbufferoverrun_gaps.py::test_fgets_size_exceeds_buffer\nFAILED tests/test_checkio_gaps_round2.py::test_fflush_on_stdin - AssertionErr...\nFAILED tests/test_checkuninitvar_gaps.py::test_conditional_initialization_always_taken\nFAILED tests/test_checkstring_gaps.py::test_memcmp_and_wmemcmp_literals - ass...\nFAILED tests/test_checkstl_gaps.py::test_negative_container_index - assert 'n...\nFAILED tests/test_checkvaarg_gaps.py::test_va_list_with_break_in_loop - asser...\nFAILED tests/test_errorlogger.py::test_template_predefined_gcc - assert 0 == 1\nFAILED tests/test_checkstl_gaps.py::test_dereference_end_iterator - Assertion...\nFAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_constructors\nFAILED tests/test_cmdlineparser.py::test_check_version_mismatch - assert 'cpp...\nFAILED tests/test_checkbufferoverrun_gaps.py::test_multidimensional_second_dimension_overflow\nFAILED tests/test_checkio_gaps_round2.py::test_fflush_on_read_mode_file - Ass...\nFAILED tests/test_checkuninitvar_gaps.py::test_malloc_uninitialized_data - as...\nFAILED tests/test_checkstring_gaps.py::test_snprintf_overlapping_buffers - As...\nFAILED tests/test_checkstl_gaps.py::test_cstr_on_temporary_string - assert 'd...\nFAILED tests/test_checkvaarg_gaps.py::test_va_list_with_throw_statement - ass...\nFAILED tests/test_checkstl_gaps.py::test_iterator_invalidated_by_clear - Asse...\nFAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_nullptr - Fil...\nFAILED tests/test_cmdlineparser.py::test_empty_platform - assert \"cppcheck: e...\nFAILED tests/test_cmdlineparser.py::test_showtime_mode_empty - AssertionError...\nFAILED tests/test_checkio_gaps_round2.py::test_rewind_on_closed_file - Assert...\nFAILED tests/test_errorlogger.py::test_plist_output_format - AssertionError: ...\nFAILED tests/test_checkstring_gaps.py::test_swprintf_overlapping_buffers - As...\nFAILED tests/test_checkstl_gaps.py::test_cstr_after_string_modification - ass...\nFAILED tests/test_checkvaarg_gaps.py::test_va_list_complex_control_flow - Ass...\nFAILED tests/test_checkuninitvar_gaps.py::test_ternary_operator_with_uninit_branch\nFAILED tests/test_checkstl_gaps.py::test_erase_dereference_same_statement - A...\nFAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_range_based_for\nFAILED tests/test_cmdlineparser.py::test_project_configuration_empty - Assert...\nFAILED tests/test_checkio_gaps_round2.py::test_tmpfile_without_positioning - ...\nFAILED tests/test_errorlogger.py::test_guideline_and_classification_attributes\nFAILED tests/test_cmdlineparser.py::test_project_with_source_files - Assertio...\nFAILED tests/test_checkstring_gaps.py::test_wide_char_plus_char - AssertionEr...\nFAILED tests/test_checkstl_gaps.py::test_cstr_return_local_variable - assert ...\nFAILED tests/test_checkvaarg_gaps.py::test_va_list_conditional_paths - assert...\nFAILED tests/test_checkuninitvar_gaps.py::test_while_loop_may_not_execute - a...\nFAILED tests/test_checkstl_gaps.py::test_mismatching_container_iterator_in_erase\nFAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_static_cast\nFAILED tests/test_cmdlineparser.py::test_relative_paths_empty - assert 'cppch...\nFAILED tests/test_checkio_gaps_round2.py::test_ungetc_after_read_before_write\nFAILED tests/test_errorlogger.py::test_multiple_report_types - AssertionError...\nFAILED tests/test_checkstring_gaps.py::test_strcmp_not_operator_overlap - Ass...\nFAILED tests/test_cppcheck_core.py::test_multiple_files_analysis - assert 'me...\nFAILED tests/test_checkstl_gaps.py::test_mismatching_container_iterators - as...\nFAILED tests/test_checkvaarg_gaps.py::test_va_list_pointer_and_array_types - ...\nFAILED tests/test_checkuninitvar_gaps.py::test_nested_struct_member_uninit - ...\nFAILED tests/test_checkstl_gaps.py::test_mismatching_containers_in_comparison\nFAILED tests/test_clangimport_advanced.py::test_clangimport_cpp_operator_overload\nFAILED tests/test_checkio_gaps_round2.py::test_clearerr_on_closed_file - asse...\nFAILED tests/test_exceptionsafety_gaps.py::test_rethrow_multiple_catches - As...\nFAILED tests/test_checkstring_gaps.py::test_unequal_string_literal_comparisons\nFAILED tests/test_errorlogger.py::test_plist_with_multiple_errors - assert 0 ...\nFAILED tests/test_checkstl_gaps.py::test_mismatching_iterators_in_algorithm\nFAILED tests/test_checkvaarg_gaps.py::test_va_list_with_lambda_expressions - ...\nFAILED tests/test_checkuninitvar_gaps.py::test_pointer_to_uninitialized_array\nFAILED tests/test_cppcheck_core.py::test_dump_file_generation - assert '= 6\nFAILED tests/test_harvest_whole_program.py::test_nullpointer_out_of_memory[False]\nFAILED tests/test_programmemory.py::test_equality_operators_tracking - assert...\nFAILED tests/test_programmemory.py::test_negative_value_tracking - assert \"Co...\nFAILED tests/test_symboldatabase.py::test_enum_types_symboldatabase - Asserti...\nFAILED tests/test_symboldatabase.py::test_namespace_scopes_symboldatabase - A...\nFAILED tests/test_programmemory.py::test_logical_or_value_tracking - assert \"...\nFAILED tests/test_importproject.py::test_compile_commands_undefines - assert ...\nFAILED tests/test_programmemory.py::test_multiple_assignments_tracking - asse...\nFAILED tests/test_reverseanalyzer.py::test_dead_code_detection - assert \"The ...\nFAILED tests/test_simplecpp.py::test_elif_without_initial_if_error - Assertio...\nFAILED tests/test_programmemory.py::test_parenthesized_expression_tracking - ...\nFAILED tests/test_programmemory.py::test_unsigned_value_tracking - assert \"Co...\nFAILED tests/test_symboldatabase.py::test_nested_classes_symboldatabase - Ass...\nFAILED tests/test_programmemory.py::test_logical_not_value_tracking - assert ...\nFAILED tests/test_symboldatabase.py::test_friend_declarations_symboldatabase\nFAILED tests/test_importproject.py::test_compile_commands_standard_flag - ass...\nFAILED tests/test_programmemory.py::test_expression_evaluation_in_memory - as...\nFAILED tests/test_reverseanalyzer.py::test_struct_and_class_members - assert ...\nFAILED tests/test_simplecpp.py::test_else_without_if_error - AssertionError: ...\nFAILED tests/test_programmemory.py::test_unary_minus_value_tracking - assert ...\nFAILED tests/test_programmemory.py::test_char_value_tracking - assert \"Condit...\nFAILED tests/test_symboldatabase.py::test_function_overloading_symboldatabase\nFAILED tests/test_symboldatabase.py::test_constructor_destructor_symboldatabase\nFAILED tests/test_programmemory.py::test_comparison_operators_tracking - asse...\nFAILED tests/test_importproject.py::test_compile_commands_visual_studio_patterns\nFAILED tests/test_programmemory.py::test_string_literal_value_tracking - asse...\nFAILED tests/test_reverseanalyzer.py::test_complex_expressions - assert 'know...\nFAILED tests/test_simplecpp.py::test_endif_without_if_error - AssertionError:...\nFAILED tests/test_programmemory.py::test_unary_plus_value_tracking - assert \"...\nFAILED tests/test_programmemory.py::test_bitwise_or_value_tracking - assert \"...\nFAILED tests/test_templatesimplifier_gaps.py::test_variadic_template_class_and_function\nFAILED tests/test_symboldatabase.py::test_access_specifiers_symboldatabase - ...\nFAILED tests/test_symboldatabase.py::test_operator_overloading_symboldatabase\nFAILED tests/test_templatesimplifier_gaps.py::test_template_non_type_parameters\nFAILED tests/test_programmemory.py::test_multiple_operators_precedence_tracking\nFAILED tests/test_templatesimplifier_gaps.py::test_template_operator_overloading\nFAILED tests/test_programmemory.py::test_bitwise_not_value_tracking - assert ...\nFAILED tests/test_programmemory.py::test_bitwise_xor_value_tracking - assert ...\nFAILED tests/test_templatesimplifier_round2.py::test_constexpr_if_conditional_compilation\nFAILED tests/test_templatesimplifier_gaps.py::test_template_default_parameters_class_and_function\nFAILED tests/test_symboldatabase.py::test_typedef_using_symboldatabase - Asse...\nFAILED tests/test_symboldatabase.py::test_static_members_symboldatabase - Ass...\nFAILED tests/test_templatesimplifier_gaps.py::test_template_member_functions\nFAILED tests/test_programmemory.py::test_mixed_arithmetic_types_tracking - as...\nFAILED tests/test_templatesimplifier_gaps.py::test_template_constexpr_recursive_metaprogramming\nFAILED tests/test_programmemory.py::test_cast_value_tracking - assert \"Condit...\nFAILED tests/test_programmemory.py::test_right_shift_value_tracking - assert ...\nFAILED tests/test_templatesimplifier_gaps.py::test_nested_template_classes - ...\nFAILED tests/test_templatesimplifier_round3.py::test_recursive_template_factorial\nFAILED tests/test_symboldatabase.py::test_struct_union_symboldatabase - Asser...\nFAILED tests/test_symboldatabase.py::test_function_pointers_symboldatabase - ...\nFAILED tests/test_templatesimplifier_gaps.py::test_template_static_members - ...\nFAILED tests/test_programmemory.py::test_short_circuit_and_side_effects - ass...\nFAILED tests/test_templatesimplifier_gaps.py::test_template_recursive_instantiation\nFAILED tests/test_programmemory.py::test_compound_assignment_tracking - asser...\nFAILED tests/test_templatesimplifier_round3.py::test_template_friend_declarations\nFAILED tests/test_templatesimplifier_gaps.py::test_template_full_specialization_bool\nFAILED tests/test_templatesimplifier_round3.py::test_sfinae_enable_if_pattern\nFAILED tests/test_templatesimplifier_gaps.py::test_template_inheritance - ass...\nFAILED tests/test_templatesimplifier_round3.py::test_complex_nontype_template_parameters\nFAILED tests/test_symboldatabase.py::test_array_types_symboldatabase - Assert...\nFAILED tests/test_reverseanalyzer.py::test_conditional_reverse_flow - assert ...\nFAILED tests/test_templatesimplifier_gaps.py::test_template_pointer_to_member\nFAILED tests/test_templatesimplifier_round3.py::test_crtp_curiously_recurring_template_pattern\nFAILED tests/test_templatesimplifier_round3.py::test_template_operator_overloading\nFAILED tests/test_templatesimplifier_gaps.py::test_template_typename_dependent_types\nFAILED tests/test_templatesimplifier_round3.py::test_dependent_typename_and_template_keywords\nFAILED tests/test_templatesimplifier_gaps.py::test_template_template_parameters\nFAILED tests/test_symboldatabase.py::test_const_methods_symboldatabase - Asse...\nFAILED tests/test_templatesimplifier_round3.py::test_template_aliases_using_keyword\nFAILED tests/test_reverseanalyzer.py::test_loop_reverse_flow - assert 'unread...\nFAILED tests/test_tokenize.py::test_nested_struct_typedef - AssertionError: S...\nFAILED tests/test_templatesimplifier_round3.py::test_policy_based_design_with_templates\nFAILED tests/test_templatesimplifier_round3.py::test_template_compile_time_constraints\nFAILED tests/test_templatesimplifier_gaps.py::test_template_using_alias_declaration\nFAILED tests/test_tokenize.py::test_typedef_pointer_type - assert None is not...\nFAILED tests/test_templatesimplifier_gaps.py::test_template_friend_functions\nFAILED tests/test_symboldatabase.py::test_default_arguments_symboldatabase - ...\nFAILED tests/test_templatesimplifier_round3.py::test_nested_template_specialization_patterns\nFAILED tests/test_reverseanalyzer.py::test_function_call_reverse - assert 'kn...\nFAILED tests/test_tokenize.py::test_template_angle_brackets - AssertionError:...\nFAILED tests/test_templatesimplifier_round3.py::test_type_traits_and_template_metaprogramming\nFAILED tests/test_templatesimplifier_round3.py::test_template_conversion_operators\nFAILED tests/test_templatesimplifier_round3.py::test_template_array_with_multi_dimensional\nFAILED tests/test_tokenize.py::test_typedef_struct_definition - assert None i...\nFAILED tests/test_templatesimplifier_gaps.py::test_template_argument_deduction\nFAILED tests/test_templatesimplifier_gaps.py::test_multiple_template_instantiations_same_template\nFAILED tests/test_tokenize.py::test_inline_function - assert 0 >= 1\nFAILED tests/test_tokenize.py::test_function_with_parameters - AssertionError...\nFAILED tests/test_tokenize.py::test_compound_assignment_operators - Assertion...\nFAILED tests/test_templatesimplifier_round3.py::test_expression_sfinae_member_detection\nFAILED tests/test_templatesimplifier_round3.py::test_template_with_lambda_expressions\nFAILED tests/test_tokenize.py::test_typedef_simple_int_substitution - Asserti...\nFAILED tests/test_tokenize.py::test_array_size_tokenization - assert None is ...\nFAILED tests/test_tokenize.py::test_array_initialization - AssertionError: Ex...\nFAILED tests/test_tokenize.py::test_class_constructor_destructor - assert 0 >= 3\nFAILED tests/test_tokenize.py::test_auto_keyword_cpp11 - assert 0 >= 2\nFAILED tests/test_tokenize.py::test_struct_member_access - AssertionError: Sh...\nFAILED tests/test_tokenize.py::test_pointer_and_reference_declarations - Asse...\nFAILED tests/test_tokenize.py::test_typedef_function_pointer_complex - Assert...\nFAILED tests/test_tokenize.py::test_hex_octal_literals - AssertionError: asse...\nFAILED tests/test_tokenize.py::test_long_long_type - AssertionError: assert '...\nFAILED tests/test_tokenize.py::test_function_pointer_typedef - assert None is...\nFAILED tests/test_tokenize.py::test_conditional_compilation - assert None is ...\nFAILED tests/test_tokenize.py::test_for_loop_tokenization - AssertionError: a...\nFAILED tests/test_tokenize_round2.py::test_double_minus_to_plus_simplification\nFAILED tests/test_tokenize_round2.py::test_raw_string_literals - AssertionErr...\nFAILED tests/test_tokenize.py::test_static_and_extern_storage_class - Asserti...\nFAILED tests/test_tokenize.py::test_character_literal - AssertionError: asser...\nFAILED tests/test_tokenize_round2.py::test_array_access_reversed_syntax - Ass...\nFAILED tests/test_tokenize_round2.py::test_noexcept_specifier - AssertionErro...\nFAILED tests/test_tokenize.py::test_nullptr_cpp11 - AssertionError: assert 'p...\nFAILED tests/test_tokenize_round2.py::test_static_assert_cpp11 - AssertionErr...\nFAILED tests/test_tokenize_round2.py::test_unicode_identifiers - UnicodeDecod...\nFAILED tests/test_tokenize_round2.py::test_constexpr_if_cpp17 - assert None i...\nFAILED tests/test_tokenlist.py::test_simplify_platform_types_size_t - Asserti...\nFAILED tests/test_tokenize.py::test_volatile_qualifier - AssertionError: asse...\nFAILED tests/test_tokenlist.py::test_simplify_stdtype_long_long - AssertionEr...\nFAILED tests/test_tokenize_round2.py::test_constexpr_keyword - AssertionError...\nFAILED tests/test_tokenlist.py::test_tokenlist_multiline_macro - AssertionErr...\nFAILED tests/test_tokenize_round2.py::test_override_final_cpp11 - AssertionEr...\nFAILED tests/test_tokenlist.py::test_tokenlist_template_basic - AssertionErro...\nFAILED tests/test_tokenlist.py::test_tokenlist_complex_expression - Assertion...\nFAILED tests/test_tokenlist.py::test_simplify_platform_types_ptrdiff_t - Asse...\nFAILED tests/test_tokenlist.py::test_simplify_stdtype_implicit_int_c - Assert...\nFAILED tests/test_tokenlist.py::test_tokenlist_hexfloat_c99 - AssertionError:...\nFAILED tests/test_tokenlist.py::test_simplify_stdtype_short - AssertionError:...\nFAILED tests/test_vf_common.py::test_signed_integer_overflow_detection - Asse...\nFAILED tests/test_tokenlist.py::test_tokenlist_empty_file - AssertionError: D...\nFAILED tests/test_tokenlist.py::test_tokenlist_very_long_identifier - Asserti...\nFAILED tests/test_vf_common.py::test_sizeof_basic_types - assert None is not ...\nFAILED tests/test_vf_common.py::test_float_to_int_conversion_overflow - Asser...\nFAILED tests/test_vf_common.py::test_sizeof_multidimensional_array - assert '...\nFAILED tests/test_tokenlist.py::test_tokenlist_cast_expression - AssertionErr...\nFAILED tests/test_tokenlist.py::test_tokenlist_wide_string_literals - Asserti...\nFAILED tests/test_vf_common.py::test_value_flow_dump_bool_constants - assert ...\nFAILED tests/test_tokenlist.py::test_tokenlist_raw_string_literal_cpp11 - Ass...\nFAILED tests/test_vf_common.py::test_value_flow_char_literal_constants - asse...\nFAILED tests/test_vf_common.py::test_value_flow_float_constants - assert 'val...\nFAILED tests/test_vf_common.py::test_zero_initialization_patterns - Assertion...\nFAILED tests/test_vf_common.py::test_sizeof_string_literals - assert 'strlen=...\nFAILED tests/test_harvest_performance.py::test_stack_overflow_AST - assert -1...\nFAILED tests/test_harvest_performance.py::test_crash_array_in_namespace - ass...\nFAILED tests/test_harvest_performance.py::test_crash_array_in_array - assert ...\nFAILED tests/test_harvest_premium.py::test_misra_c_builtin_style_checks - ass...\nFAILED tests/test_harvest_premium.py::test_build_dir_hash_cppcheck_product - ...\nFAILED tests/test_harvest_premium.py::test_invalid_license_retry - assert 'In...\nFAILED tests/test_harvest_premium.py::test_help - assert '--premium=' in 'Cpp...\nFAILED tests/test_harvest_premium.py::test_cwe - assert '/workspace/eval/tests/test_checkmemoryleak_gaps.py:380: gold-env-limitation: requires posix.cfg library not available in eval environment/workspace/eval/tests/test_checkmemoryleak_gaps.py:402: gold-env-limitation: requires posix.cfg library not available in eval environmenttests/test_checkassert_gaps.py:27: in test_assignment_in_assert\n assert 'assignmentInAssert' in stderr\nE AssertionError: assert 'assignmentInAssert' in ''tests/test_checkclass_gaps_round2.py:326: in test_struct_without_constructor_messaging\n assert 'noConstructor' in output\nE assert 'noConstructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/struct_no_constructor.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/struct_no_constructor.cpp:4:9: style: struct member 'Config::value' is never used. [unusedStructMember]\\n int value;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/struct_no_constructor.cpp:5:9: style: struct member 'Config::size' is never used. [unusedStructMember]\\n int size;\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkfunctions_gaps.py:341: in test_all_log_function_variants\n assert result.combined_output.count('invalidFunctionArg') == 6\nE AssertionError: assert 0 == 6\nE + where 0 = <built-in method count of str object at 0x7f3f4d6dc270>('invalidFunctionArg')\nE + where <built-in method count of str object at 0x7f3f4d6dc270> = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/multiple_log_variants.c ...\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/multiple_log_variants.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/multiple_log_variants.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/multiple_log_variants.c ...\\n', stderr='').combined_outputtests/test_checkbufferoverrun_gaps.py:556: in test_three_dimensional_array_overflow\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexOutOfBounds error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 3, got: [\"/tmp/tmpof45ri_n/test.c:3:14: error: Array 'arr[1][2][2][3][4]' accessed at index arr[1][2][1][2][5], which is out of bounds. [arrayIndexOutOfBounds]\", ' arr[1][2][5] = 1; // Third dimension out of bounds', ' ^', \"/tmp/tmpof45ri_n/test.c:3:18: style: Variable 'arr[1][2][5]' is assigned a value that is never used. [unreadVariable]\", ' arr[1][2][5] = 1; // Third dimension out of bounds', ' ^', \"/tmp/tmpof45ri_n/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps_round2.py:606: in test_fgetpos_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'tests/test_checkother_part2.py:73: in test_overlapping_write_union\n assert 'overlappingWriteUnion' in result.stderr\nE assert 'overlappingWriteUnion' in \"/tmp/tmp1fhhk1sktest.c:7:6: style: The function 'test_overlap' is never used. [unusedFunction]\\nvoid test_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmp1fhhk1sktest.c:7:6: style: The function 'test_overlap' is never used. [unusedFunction]\\nvoid test_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmp1fhhk1sktest.c'], returncode=0, stdout='Checking /tmp/tmp1fhhk1sktest.c ...\\n', stderr=\"/tmp/tmp1fhhk1sktest.c:7:6: style: The function 'test_overlap' is never used. [unusedFunction]\\nvoid test_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").stderrtests/test_checkio_round3.py:484: in test_printf_L_modifier_double_not_long_double\n assert \"%Lf in format string (no. 1) requires 'long double'\" in stderr\nE assert \"%Lf in format string (no. 1) requires 'long double'\" in ''tests/test_checkio_gaps_round2.py:50: in test_fread_on_write_only_file\n assert \"[readWriteOnlyFile]\" in stderr\nE AssertionError: assert '[readWriteOnlyFile]' in ''tests/test_checkautovariables_gaps.py:655: in test_nested_pointer_levels\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmp_lbx9wgx/test.c ...\\n/tmp/tmp_lbx9wgx/test.c:2:11: style: The function 'nestedFunc' is never used. [unusedFunction]\\n int** nestedFunc() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkmemoryleak_gaps.py:474: in test_malloc_reassignment_leak\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''tests/test_checkassert_gaps.py:48: in test_increment_operator_in_assert\n assert 'assignmentInAssert' in stderr\nE AssertionError: assert 'assignmentInAssert' in ''tests/test_checkfunctions_gaps.py:366: in test_math_with_evaluated_expressions\n assert 'sqrt(y - 5.0)' in result.combined_output\nE assert 'sqrt(y - 5.0)' in \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:4:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: note: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'.\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:4:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: note: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'.\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:4:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: note: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'.\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n\").combined_outputtests/test_checkclass_gaps.py:37: in test_missing_copy_constructor_with_dynamic_memory\n assert 'noCopyConstructor' in output\nE AssertionError: assert 'noCopyConstructor' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/missing_copy_ctor.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n'tests/test_checkother_part2.py:104: in test_overlapping_write_memcpy_same_buffer\n assert result.stderr.count('overlappingWriteFunction') >= 2\nE assert 0 >= 2\nE + where 0 = <built-in method count of str object at 0x55ec02b62b30>('overlappingWriteFunction')\nE + where <built-in method count of str object at 0x55ec02b62b30> = \"/tmp/tmpjon3j3r8test.c:2:2: information: Include file: <string.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string.h>\\n ^\\n/tmp/tmpjon3j3r8test.c:4:6: style: The function 'test_memcpy_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:9:6: style: The function 'test_memcpy_offset_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_offset_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:14:6: style: The function 'test_memcpy_no_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_no_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\".count\nE + where \"/tmp/tmpjon3j3r8test.c:2:2: information: Include file: <string.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string.h>\\n ^\\n/tmp/tmpjon3j3r8test.c:4:6: style: The function 'test_memcpy_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:9:6: style: The function 'test_memcpy_offset_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_offset_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:14:6: style: The function 'test_memcpy_no_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_no_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmpjon3j3r8test.c'], returncode=0, stdout='Checking /tmp/tmpjon3j3r8test.c ...\\n', stderr=\"/tmp/tmpjon3j3r8test.c:2:2: information: Include file: <string.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string.h>\\n ^\\n/tmp/tmpjon3j3r8test.c:4:6: style: The function 'test_memcpy_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:9:6: style: The function 'test_memcpy_offset_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_offset_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:14:6: style: The function 'test_memcpy_no_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_no_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").stderrtests/test_checkio_round3.py:497: in test_printf_L_modifier_float_not_long_double\n assert \"%Lf in format string (no. 1) requires 'long double'\" in stderr\nE assert \"%Lf in format string (no. 1) requires 'long double'\" in ''tests/test_checkio_gaps_round2.py:61: in test_fwrite_on_read_only_file\n assert \"[writeReadOnlyFile]\" in stderr\nE AssertionError: assert '[writeReadOnlyFile]' in ''tests/test_checkio_gaps_round2.py:617: in test_fsetpos_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'tests/test_checkautovariables_gaps.py:678: in test_array_decay_assignment\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmpqro42r9k/test.c ...\\n/tmp/tmpqro42r9k/test.c:2:10: style: The function 'arrayDecay' is never used. [unusedFunction]\\n int* arrayDecay() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkcondition_gaps.py:65: in test_assignif_zero_result_or_check\n assert 'badBitmaskCheck' in stderr\nE assert 'badBitmaskCheck' in \"/tmp/tmpdwukzbrq/test.c:5:15: style: Condition 'y|2' is always true [knownConditionTrueFalse]\\n if (y | 2) {\\n ^\\n/tmp/tmpdwukzbrq/test.c:4:15: note: Assignment 'y=8&4', assigned value is 0\\n y = 8 & 4;\\n ^\\n/tmp/tmpdwukzbrq/test.c:5:15: note: Condition 'y|2' is always true\\n if (y | 2) {\\n ^\\n\"tests/test_checkmemoryleak_gaps.py:493: in test_realloc_without_checking_null\n assert 'memleakOnRealloc' in stderr\nE AssertionError: assert 'memleakOnRealloc' in ''tests/test_checkassert_gaps.py:69: in test_decrement_operator_in_assert\n assert 'assignmentInAssert' in stderr\nE AssertionError: assert 'assignmentInAssert' in ''tests/test_checkclass_gaps.py:50: in test_self_assignment_in_operator_equals\n assert 'operatorEqToSelf' in output\nE assert 'operatorEqToSelf' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/self_assignment.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/self_assignment.cpp:1:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass String {\\n^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkfunctions_gaps.py:385: in test_memset_multiple_buffer_types\n assert result.combined_output.count('memsetValueOutOfRange') == 2\nE AssertionError: assert 0 == 2\nE + where 0 = <built-in method count of str object at 0x55765095ae70>('memsetValueOutOfRange')\nE + where <built-in method count of str object at 0x55765095ae70> = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:10:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf, 5, 0); // char array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:11:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 10, 0); // wchar_t array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:12:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(ibuf, 0, 0); // int array (still valid memset target)\\n ^\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:10:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf, 5, 0); // char array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:11:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 10, 0); // wchar_t array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:12:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(ibuf, 0, 0); // int array (still valid memset target)\\n ^\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c ...\\n', stderr='/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:10:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf, 5, 0); // char array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:11:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 10, 0); // wchar_t array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:12:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(ibuf, 0, 0); // int array (still valid memset target)\\n ^\\n').combined_outputtests/test_checkother_part2.py:123: in test_invalid_free_with_offset\n assert 'invalidFree' in result.stderr\nE assert 'invalidFree' in \"/tmp/tmpxjv7thl_test.c:2:2: information: Include file: <stdlib.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdlib.h>\\n ^\\n/tmp/tmpxjv7thl_test.c:4:6: style: The function 'test_free_offset' is never used. [unusedFunction]\\nvoid test_free_offset() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmpxjv7thl_test.c:2:2: information: Include file: <stdlib.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdlib.h>\\n ^\\n/tmp/tmpxjv7thl_test.c:4:6: style: The function 'test_free_offset' is never used. [unusedFunction]\\nvoid test_free_offset() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmpxjv7thl_test.c'], returncode=0, stdout='Checking /tmp/tmpxjv7thl_test.c ...\\n', stderr=\"/tmp/tmpxjv7thl_test.c:2:2: information: Include file: <stdlib.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdlib.h>\\n ^\\n/tmp/tmpxjv7thl_test.c:4:6: style: The function 'test_free_offset' is never used. [unusedFunction]\\nvoid test_free_offset() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").stderrtests/test_checkio_round3.py:510: in test_printf_L_modifier_e_format_wrong_type\n assert \"%Le in format string (no. 1) requires 'long double'\" in stderr\nE assert \"%Le in format string (no. 1) requires 'long double'\" in ''tests/test_checkio_gaps_round2.py:72: in test_fread_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE AssertionError: assert '[useClosedFile]' in ''tests/test_checkautovariables_gaps.py:700: in test_assign_local_to_global_pointer\n assert 'danglingLifetime' in combined\nE assert 'danglingLifetime' in \"Checking /tmp/tmpmw0ivwzn/test.c ...\\n/tmp/tmpmw0ivwzn/test.c:3:10: style: The function 'setGlobalPtr' is never used. [unusedFunction]\\n void setGlobalPtr() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkmemoryleak_gaps.py:513: in test_struct_member_allocation_leak\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''tests/test_checkio_gaps_round2.py:676: in test_printf_percent_n_no_pointer\n assert \"%n in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%n in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:8:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*d\", 42); // Error: missing width argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:16:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%.*f\", 3.14159); // Error: missing precision argument, type mismatch\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:24:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 10, 3.14159); // Error: missing precision argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:28:5: error: printf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 3.14159); // Error: missing width and precision\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:33:5: error: scanf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d %d\", &x); // OK: first int is suppressed, second goes to x\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:37:5: error: scanf format string requires 2 parameters but only 0 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d\"); // OK: suppression assignment, no target needed\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:42:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // Error: %n needs pointer, got int\\n ^\\n'tests/test_checkcondition_gaps.py:169: in test_redundant_condition_overlapping_ranges\n assert \"condition 'y < 5' is redundant\" in stderr.lower()\nE assert \"condition 'y < 5' is redundant\" in \"/tmp/tmpsfilqdze/test.c:4:19: style: redundant condition: y < 10. 'y < 5 || y < 10' is equivalent to 'y < 10' [redundantcondition]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:4:13: error: uninitialized variable: y [uninitvar]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:3:13: style: variable 'y' is not assigned a value. [unassignedvariable]\\n int y;\\n ^\\n\"\nE + where \"/tmp/tmpsfilqdze/test.c:4:19: style: redundant condition: y < 10. 'y < 5 || y < 10' is equivalent to 'y < 10' [redundantcondition]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:4:13: error: uninitialized variable: y [uninitvar]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:3:13: style: variable 'y' is not assigned a value. [unassignedvariable]\\n int y;\\n ^\\n\" = <built-in method lower of str object at 0x7f02d8211e30>()\nE + where <built-in method lower of str object at 0x7f02d8211e30> = \"/tmp/tmpsfilqdze/test.c:4:19: style: Redundant condition: y < 10. 'y < 5 || y < 10' is equivalent to 'y < 10' [redundantCondition]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:4:13: error: Uninitialized variable: y [uninitvar]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:3:13: style: Variable 'y' is not assigned a value. [unassignedVariable]\\n int y;\\n ^\\n\".lowertests/test_checkassert_gaps.py:90: in test_compound_assignment_in_assert\n assert 'assignmentInAssert' in stderr\nE AssertionError: assert 'assignmentInAssert' in ''tests/test_checkclass_gaps.py:60: in test_missing_virtual_destructor_in_base_class\n assert 'virtualDestructor' in output\nE assert 'virtualDestructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/missing_virtual_dtor.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_virtual_dtor.cpp:5:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_virtual_dtor.cpp:16:6: style: The function 'usage' is never used. [unusedFunction]\\nvoid usage() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkother_part2.py:139: in test_duplicate_expression_ternary\n assert 'duplicateExpressionTernary' in result.stderr\nE assert 'duplicateExpressionTernary' in \"/tmp/tmph96_j_whtest.c:2:5: style: The function 'test_duplicate_ternary' is never used. [unusedFunction]\\nint test_duplicate_ternary(int x) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmph96_j_whtest.c:2:5: style: The function 'test_duplicate_ternary' is never used. [unusedFunction]\\nint test_duplicate_ternary(int x) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmph96_j_whtest.c'], returncode=0, stdout='Checking /tmp/tmph96_j_whtest.c ...\\n', stderr=\"/tmp/tmph96_j_whtest.c:2:5: style: The function 'test_duplicate_ternary' is never used. [unusedFunction]\\nint test_duplicate_ternary(int x) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").stderrtests/test_checkfunctions_gaps.py:404: in test_math_errors_in_loops\n assert 'log(-i - 1)' in result.combined_output\nE AssertionError: assert 'log(-i - 1)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_in_loops.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_in_loops.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_in_loops.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_in_loops.c ...\\n', stderr='').combined_outputtests/test_checkio_round3.py:523: in test_printf_L_modifier_g_format_wrong_type\n assert \"%Lg in format string (no. 1) requires 'long double'\" in stderr\nE assert \"%Lg in format string (no. 1) requires 'long double'\" in ''tests/test_checkio_gaps_round2.py:83: in test_fwrite_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE AssertionError: assert '[useClosedFile]' in ''tests/test_checkautovariables_gaps.py:724: in test_assign_local_to_struct_member_pointer\n assert 'autoVariables' in combined\nE assert 'autoVariables' in \"Checking /tmp/tmpa1rqgasf/test.cpp ...\\n/tmp/tmpa1rqgasf/test.cpp:5:10: style: The function 'setMemberPtr' is never used. [unusedFunction]\\n void setMemberPtr(Container* c) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkmemoryleak_gaps.py:538: in test_struct_pointer_member_leak_on_return\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''tests/test_checkio_gaps_round2.py:689: in test_scanf_percent_n_with_wrong_preceding_type\n assert \"%d in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:8:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*d\", 42); // Error: missing width argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:16:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%.*f\", 3.14159); // Error: missing precision argument, type mismatch\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:24:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 10, 3.14159); // Error: missing precision argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:28:5: error: printf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 3.14159); // Error: missing width and precision\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:33:5: error: scanf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d %d\", &x); // OK: first int is suppressed, second goes to x\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:37:5: error: scanf format string requires 2 parameters but only 0 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d\"); // OK: suppression assignment, no target needed\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:42:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // Error: %n needs pointer, got int\\n ^\\n'tests/test_checkcondition_gaps.py:188: in test_modulo_always_true_unsigned\n assert 'moduloAlwaysTrueFalse' in stderr\nE AssertionError: assert 'moduloAlwaysTrueFalse' in '/tmp/tmptrt5fjvj/test.c:4:13: error: Uninitialized variable: x [uninitvar]\\n if (x % 4 < 4) {\\n ^\\n'tests/test_checkother_part2.py:158: in test_misused_scoped_object_lock_guard\n assert 'unusedScopedObject' in result.stderr\nE assert 'unusedScopedObject' in \"/tmp/tmpxujwirgftest.cpp:2:2: information: Include file: <mutex> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <mutex>\\n ^\\n/tmp/tmpxujwirgftest.cpp:4:6: style: The function 'test_temporary_mutex' is never used. [unusedFunction]\\nvoid test_temporary_mutex() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmpxujwirgftest.cpp:2:2: information: Include file: <mutex> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <mutex>\\n ^\\n/tmp/tmpxujwirgftest.cpp:4:6: style: The function 'test_temporary_mutex' is never used. [unusedFunction]\\nvoid test_temporary_mutex() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmpxujwirgftest.cpp'], returncode=0, stdout='Checking /tmp/tmpxujwirgftest.cpp ...\\n', stderr=\"/tmp/tmpxujwirgftest.cpp:2:2: information: Include file: <mutex> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <mutex>\\n ^\\n/tmp/tmpxujwirgftest.cpp:4:6: style: The function 'test_temporary_mutex' is never used. [unusedFunction]\\nvoid test_temporary_mutex() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").stderrtests/test_checkassert_gaps.py:144: in test_function_modifies_global_variable\n assert 'assertWithSideEffect' in stderr\nE AssertionError: assert 'assertWithSideEffect' in ''tests/test_checkio_round3.py:536: in test_fseek_on_append_mode_file\n assert \"Repositioning operation performed on a file opened in append mode has no effect\" in stderr\nE AssertionError: assert 'Repositioning operation performed on a file opened in append mode has no effect' in ''tests/test_checkio_gaps_round2.py:94: in test_printf_j_modifier_int\n assert \"%jd in format string (no. 1) requires 'intmax_t'\" in stderr\nE assert \"%jd in format string (no. 1) requires 'intmax_t'\" in ''tests/test_checkclass_gaps.py:94: in test_duplicate_inherited_member_warning\n assert 'duplInheritedMember' in output\nE assert 'duplInheritedMember' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/duplicate_inherited.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/duplicate_inherited.cpp:4:9: style: class member 'Base::value' is never used. [unusedStructMember]\\n int value;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/duplicate_inherited.cpp:3:10: style: The function 'process' is never used. [unusedFunction]\\n void process() {}\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkbool_gaps.py:61: in test_bitwise_on_boolean_and\n assert \"Did you mean '&&'?\" in output\nE assert \"Did you mean '&&'?\" in \"Checking /workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp ...\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:5:11: style: Condition 'a&b' is always false [knownConditionTrueFalse]\\n if (a & b) { // Should trigger bitwiseOnBoolean\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:5:11: note: Condition 'a&b' is always false\\n if (a & b) { // Should trigger bitwiseOnBoolean\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:9:11: style: Condition 'a|b' is always true [knownConditionTrueFalse]\\n if (a | b) { // Should trigger bitwiseOnBoolean\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:9:11: note: Condition 'a|b' is always true\\n if (a | b) { // Should trigger bitwiseOnBoolean\\n ^\\n\"tests/test_checkio_gaps.py:61: in test_printf_type_mismatch_string_int\n assert \"%d in format string (no. 1) requires 'int' but the argument type is 'char *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int' but the argument type is 'char *'\" in ''tests/test_checkmemoryleak_gaps.py:555: in test_unused_allocation_return_value\n assert 'leakReturnValNotUsed' in stderr\nE AssertionError: assert 'leakReturnValNotUsed' in '/tmp/tmppi9ns7al/test.c:3:9: warning: Return value of function malloc() is not used. [ignoredReturnValue]\\n malloc(100);\\n ^\\n'tests/test_checkio_gaps_round2.py:702: in test_scanf_field_width_overflow\n assert \"Width 20 given in format string (no. 1) is larger than destination buffer\" in stderr\nE assert 'Width 20 given in format string (no. 1) is larger than destination buffer' in '/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:8:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*d\", 42); // Error: missing width argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:16:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%.*f\", 3.14159); // Error: missing precision argument, type mismatch\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:24:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 10, 3.14159); // Error: missing precision argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:28:5: error: printf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 3.14159); // Error: missing width and precision\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:33:5: error: scanf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d %d\", &x); // OK: first int is suppressed, second goes to x\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:37:5: error: scanf format string requires 2 parameters but only 0 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d\"); // OK: suppression assignment, no target needed\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:42:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // Error: %n needs pointer, got int\\n ^\\n'tests/test_checkcondition_gaps.py:209: in test_modulo_always_false_unsigned\n assert 'moduloAlwaysTrueFalse' in stderr\nE AssertionError: assert 'moduloAlwaysTrueFalse' in '/tmp/tmps33rfy9x/test.c:4:13: error: Uninitialized variable: x [uninitvar]\\n if (x % 8 > 10) {\\n ^\\n'tests/test_checkassert_gaps.py:172: in test_nonconst_member_function_no_body\n assert 'assertWithSideEffect' in stderr\nE AssertionError: assert 'assertWithSideEffect' in ''tests/test_checkio_round3.py:549: in test_printf_complex_format_multiple_errors\n assert \"%d in format string (no. 4) requires 'int'\" in stderr\nE assert \"%d in format string (no. 4) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'tests/test_checkio_gaps_round2.py:107: in test_printf_ju_modifier_int\n assert \"%ju in format string (no. 1) requires 'uintmax_t'\" in stderr\nE assert \"%ju in format string (no. 1) requires 'uintmax_t'\" in ''tests/test_checkother_part2.py:212: in test_pointer_less_than_zero\n assert 'pointerLessThanZero' in result.stderr\nE assert 'pointerLessThanZero' in \"/tmp/tmphdfsc4s3test.c:2:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\n/tmp/tmphdfsc4s3test.c:2:6: style: The function 'test_pointer_less_than_zero' is never used. [unusedFunction]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmphdfsc4s3test.c:2:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\n/tmp/tmphdfsc4s3test.c:2:6: style: The function 'test_pointer_less_than_zero' is never used. [unusedFunction]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmphdfsc4s3test.c'], returncode=0, stdout='Checking /tmp/tmphdfsc4s3test.c ...\\n', stderr=\"/tmp/tmphdfsc4s3test.c:2:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\n/tmp/tmphdfsc4s3test.c:2:6: style: The function 'test_pointer_less_than_zero' is never used. [unusedFunction]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").stderrtests/test_checkbool_gaps.py:78: in test_comparison_bool_with_int\n assert 'compareBoolExpressionWithInt' in output\nE assert 'compareBoolExpressionWithInt' in \"Checking /workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp ...\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:8:11: warning: Comparison of a boolean value using relational operator (<, >, <= or >=). [comparisonOfBoolWithInvalidComparator]\\n if (b == 2) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:4:12: style: Condition '!b==4' is always false [knownConditionTrueFalse]\\n if (!b == 4) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:2:14: note: Assignment 'b=true', assigned value is 1\\n bool b = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:4:12: note: Condition '!b==4' is always false\\n if (!b == 4) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:8:11: style: Condition 'b==2' is always false [knownConditionTrueFalse]\\n if (b == 2) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:2:14: note: Assignment 'b=true', assigned value is 1\\n bool b = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:8:11: note: Condition 'b==2' is always false\\n if (b == 2) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:12:11: style: Condition 'b<0' is always false [knownConditionTrueFalse]\\n if (b < 0) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:2:14: note: Assignment 'b=true', assigned value is 1\\n bool b = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:12:11: note: Condition 'b<0' is always false\\n if (b < 0) { // Should trigger comparisonOfBoolWithInt\\n ^\\n\"tests/test_checkclass_gaps.py:117: in test_virtual_function_call_in_constructor\n assert 'virtualCallInConstructor' in output\nE AssertionError: assert 'virtualCallInConstructor' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/virtual_in_ctor.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n'tests/test_checkio_gaps.py:73: in test_printf_type_mismatch_int_string\n assert \"%s in format string (no. 1) requires 'char *' but the argument type is 'signed int'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *' but the argument type is 'signed int'\" in ''tests/test_checkmemoryleak_gaps.py:577: in test_fclose_wrong_variable\n assert 'doubleFree' in stderr\nE AssertionError: assert 'doubleFree' in ''tests/test_checkcondition_gaps.py:229: in test_invalid_overflow_check_signed\n assert 'invalidTestForOverflow' in stderr\nE AssertionError: assert 'invalidTestForOverflow' in '/tmp/tmp4qos3_vy/test.c:4:13: error: Uninitialized variable: y [uninitvar]\\n if (y + 1 < y) {\\n ^\\n'tests/test_checkio_round3.py:51: in test_wprintf_type_mismatch_int_wchar_ptr\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:9:5: error: wprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:10:5: error: wprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d\", x, x); // Too many args\\n ^\\n'tests/test_checkassert_gaps.py:200: in test_function_modifies_reference_parameter\n assert 'assertWithSideEffect' in stderr\nE AssertionError: assert 'assertWithSideEffect' in ''tests/test_checkio_gaps_round2.py:120: in test_printf_zu_modifier_int\n assert \"%zu in format string (no. 1) requires 'size_t'\" in stderr\nE assert \"%zu in format string (no. 1) requires 'size_t'\" in ''tests/test_checkio_round3.py:561: in test_printf_complex_format_first_arg_wrong_type\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'tests/test_checkclass_gaps.py:129: in test_copy_constructor_without_assignment_operator\n assert 'noOperatorEq' in output\nE AssertionError: assert 'noOperatorEq' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/copy_ctor_combined.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n'tests/test_checkbool_gaps.py:116: in test_assign_bool_to_float\n assert 'Boolean value assigned to floating point variable' in output\nE assert 'Boolean value assigned to floating point variable' in \"Checking /workspace/eval/test_resources/test_checkbool/assign_bool_to_float.cpp ...\\n/workspace/eval/test_resources/test_checkbool/assign_bool_to_float.cpp:4:7: style: Variable 'f' is assigned a value that is never used. [unreadVariable]\\n f = b; // Should trigger assignBoolToFloat\\n ^\\n/workspace/eval/test_resources/test_checkbool/assign_bool_to_float.cpp:7:7: style: Variable 'd' is assigned a value that is never used. [unreadVariable]\\n d = b; // Should trigger assignBoolToFloat\\n ^\\n\"tests/test_checkio_gaps.py:85: in test_printf_type_mismatch_float_int\n assert \"%d in format string (no. 1) requires 'int' but the argument type is 'float'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int' but the argument type is 'float'\" in ''tests/test_checkother_part2.py:264: in test_redundant_assignment_same_value\n assert 'redundantAssignment' in result.stderr\nE assert 'redundantAssignment' in \"/tmp/tmp5z64qc2ptest.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmp5z64qc2ptest.cpp:4:6: style: The function 'test_redundant_copy' is never used. [unusedFunction]\\nvoid test_redundant_copy(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmp5z64qc2ptest.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmp5z64qc2ptest.cpp:4:6: style: The function 'test_redundant_copy' is never used. [unusedFunction]\\nvoid test_redundant_copy(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmp5z64qc2ptest.cpp'], returncode=0, stdout='Checking /tmp/tmp5z64qc2ptest.cpp ...\\n', stderr=\"/tmp/tmp5z64qc2ptest.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmp5z64qc2ptest.cpp:4:6: style: The function 'test_redundant_copy' is never used. [unusedFunction]\\nvoid test_redundant_copy(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").stderrtests/test_checkmemoryleak_gaps.py:596: in test_malloc_cast_leak\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''tests/test_checkcondition_gaps.py:249: in test_unsigned_less_than_zero\n assert 'unsignedLessThanZero' in stderr\nE assert 'unsignedLessThanZero' in \"/tmp/tmp8davcxzu/test.c:4:13: error: Uninitialized variable: x [uninitvar]\\n if (x + 1 < 0) {\\n ^\\n/tmp/tmp8davcxzu/test.c:3:22: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n unsigned int x;\\n ^\\n\"tests/test_checkio_round3.py:64: in test_wprintf_type_mismatch_wchar_ptr_int\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:9:5: error: wprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:10:5: error: wprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d\", x, x); // Too many args\\n ^\\n'tests/test_checkassert_gaps.py:226: in test_function_modifies_pointer_parameter\n assert 'assertWithSideEffect' in stderr\nE AssertionError: assert 'assertWithSideEffect' in ''tests/test_checkio_gaps_round2.py:133: in test_printf_zd_modifier_int\n assert \"%zd in format string (no. 1) requires 'ssize_t'\" in stderr\nE assert \"%zd in format string (no. 1) requires 'ssize_t'\" in ''tests/test_checkclass_gaps.py:141: in test_missing_override_specifier\n assert 'missingOverride' in output\nE assert 'missingOverride' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/missing_override.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_override.cpp:8:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass Circle : public Shape {\\n^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_override.cpp:3:18: style: The function 'draw' is never used. [unusedFunction]\\n virtual void draw() {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_override.cpp:4:20: style: The function 'area' is never used. [unusedFunction]\\n virtual double area() { return 0.0; }\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkio_round3.py:584: in test_printf_width_with_wrong_type\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'tests/test_checkbool_gaps.py:130: in test_pointer_arith_bool\n assert 'pointerArithBool' in output\nE AssertionError: assert 'pointerArithBool' in 'Checking /workspace/eval/test_resources/test_checkbool/pointer_arith_bool.cpp ...\\n'tests/test_checkio_gaps.py:97: in test_printf_type_mismatch_pointer_int\n assert \"%d in format string (no. 1) requires 'int' but the argument type is 'signed int *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int' but the argument type is 'signed int *'\" in ''tests/test_checkother_part2.py:284: in test_access_of_moved_variable\n assert 'accessMoved' in result.stderr\nE assert 'accessMoved' in \"/tmp/tmpznro5096test.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmpznro5096test.cpp:3:2: information: Include file: <utility> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <utility>\\n ^\\n/tmp/tmpznro5096test.cpp:5:5: style: The function 'test_use_after_move' is never used. [unusedFunction]\\nint test_use_after_move(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmpznro5096test.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmpznro5096test.cpp:3:2: information: Include file: <utility> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <utility>\\n ^\\n/tmp/tmpznro5096test.cpp:5:5: style: The function 'test_use_after_move' is never used. [unusedFunction]\\nint test_use_after_move(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--inconclusive', '--std=c++11', '/tmp/tmpznro5096test.cpp'], returncode=0, stdout='Checking /tmp/tmpznro5096test.cpp ...\\n', stderr=\"/tmp/tmpznro5096test.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmpznro5096test.cpp:3:2: information: Include file: <utility> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <utility>\\n ^\\n/tmp/tmpznro5096test.cpp:5:5: style: The function 'test_use_after_move' is never used. [unusedFunction]\\nint test_use_after_move(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").stderrtests/test_checkmemoryleak_gaps.py:636: in test_allocation_in_function_argument_leak\n assert 'leakNoVarFunctionCall' in stderr\nE AssertionError: assert 'leakNoVarFunctionCall' in ''tests/test_checkcondition_gaps.py:269: in test_pointer_arithmetic_result_not_null\n assert 'pointerArithBool' in stderr\nE AssertionError: assert 'pointerArithBool' in ''tests/test_checkio_round3.py:77: in test_wprintf_type_mismatch_float_int\n assert \"%f in format string (no. 1) requires 'double'\" in stderr\nE assert \"%f in format string (no. 1) requires 'double'\" in '/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:9:5: error: wprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:10:5: error: wprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d\", x, x); // Too many args\\n ^\\n'tests/test_checkassert_gaps.py:272: in test_multiple_assignments_in_assert\n assert stderr.count('assignmentInAssert') >= 2\nE AssertionError: assert 0 >= 2\nE + where 0 = <built-in method count of str object at 0x7f3cf04c8030>('assignmentInAssert')\nE + where <built-in method count of str object at 0x7f3cf04c8030> = ''.counttests/test_checkio_gaps_round2.py:146: in test_printf_td_modifier_int\n assert \"%td in format string (no. 1) requires 'ptrdiff_t'\" in stderr\nE assert \"%td in format string (no. 1) requires 'ptrdiff_t'\" in ''tests/test_checkclass_gaps.py:153: in test_suspicious_this_pointer_subtraction\n assert 'thisSubtraction' in output\nE assert 'thisSubtraction' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/this_subtraction.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/this_subtraction.cpp:6:9: style: The function 'distance' is never used. [unusedFunction]\\n int distance(Node* other) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkio_round3.py:596: in test_printf_precision_with_wrong_type\n assert \"%f in format string (no. 1) requires 'double'\" in stderr\nE assert \"%f in format string (no. 1) requires 'double'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'tests/test_checkbool_gaps.py:148: in test_return_value_bool\n assert 'returnNonBoolInBooleanFunction' in output\nE AssertionError: assert 'returnNonBoolInBooleanFunction' in 'Checking /workspace/eval/test_resources/test_checkbool/return_value_bool.cpp ...\\n'tests/test_checkio_gaps.py:109: in test_printf_type_mismatch_unsigned_signed\n assert \"%d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'\" in ''tests/test_checkother_part2.py:322: in test_shadow_variable_global\n assert 'shadowVariable' in result.stderr\nE assert 'shadowVariable' in \"/tmp/tmp1no0l9p3test.c:4:6: style: The function 'test_shadow_global' is never used. [unusedFunction]\\nvoid test_shadow_global() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmp1no0l9p3test.c:4:6: style: The function 'test_shadow_global' is never used. [unusedFunction]\\nvoid test_shadow_global() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--check-level=exhaustive', '/tmp/tmp1no0l9p3test.c'], returncode=0, stdout='Checking /tmp/tmp1no0l9p3test.c ...\\n', stderr=\"/tmp/tmp1no0l9p3test.c:4:6: style: The function 'test_shadow_global' is never used. [unusedFunction]\\nvoid test_shadow_global() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").stderrtests/test_checkmemoryleak_gaps.py:658: in test_multiple_allocations_one_freed\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''tests/test_checkcondition_gaps.py:293: in test_pointer_arithmetic_not_equal_zero\n assert 'knownConditionTrueFalse' in stderr\nE AssertionError: assert 'knownConditionTrueFalse' in ''tests/test_checkio_round3.py:102: in test_wscanf_type_mismatch_wchar_ptr_int_ptr\n assert \"%ls in format string (no. 1) requires a\" in stderr\nE assert '%ls in format string (no. 1) requires a' in '/workspace/eval/test_resources/test_checkio_round3/wscanf_errors.c:10:5: error: wscanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wscanf(L\"%d %d\", &x); // Too few args\\n ^\\n'tests/test_checkassert_gaps.py:298: in test_assignment_to_outer_scope_variable\n assert stderr.count('assignmentInAssert') >= 2\nE AssertionError: assert 0 >= 2\nE + where 0 = <built-in method count of str object at 0x7f3cf04c8030>('assignmentInAssert')\nE + where <built-in method count of str object at 0x7f3cf04c8030> = ''.counttests/test_checkio_gaps_round2.py:159: in test_printf_tu_modifier_int\n assert \"%tu in format string (no. 1) requires 'unsigned ptrdiff_t'\" in stderr\nE assert \"%tu in format string (no. 1) requires 'unsigned ptrdiff_t'\" in ''tests/test_checkclass_gaps.py:165: in test_member_variable_self_initialization\n assert 'selfInitialization' in output\nE assert 'selfInitialization' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/self_initialization.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/self_initialization.cpp:3:5: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Config(int val) : value(value) {} // Self-initialization!\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkio_round3.py:608: in test_printf_width_and_precision_with_wrong_type\n assert \"%f in format string (no. 1) requires 'double'\" in stderr\nE assert \"%f in format string (no. 1) requires 'double'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'tests/test_checkbool_gaps.py:165: in test_comparison_func_returning_bool\n assert 'comparisonOfFuncReturningBoolError' in output\nE AssertionError: assert 'comparisonOfFuncReturningBoolError' in 'Checking /workspace/eval/test_resources/test_checkbool/comparison_func_bool.cpp ...\\n'tests/test_checkio_gaps.py:133: in test_scanf_wrong_type\n assert \"%s in format string (no. 1) requires a 'char *' but the argument type is 'signed int *'\" in stderr\nE assert \"%s in format string (no. 1) requires a 'char *' but the argument type is 'signed int *'\" in '/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:5:5: error: scanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d\", &a); // Need 2 pointers, only 1 given\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:15:17: error: Uninitialized variable: a [uninitvar]\\n scanf(\"%d\", a); // Missing &, should be &a\\n ^\\n'tests/test_checkmemoryleak_gaps.py:679: in test_conditional_double_alloc_leak\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''tests/test_checkother_part2.py:358: in test_unknown_evaluation_order_increment\n assert 'unknownEvaluationOrder' in result.stderr\nE assert 'unknownEvaluationOrder' in \"/tmp/tmppvjv5v0ttest.c:2:5: style: The function 'test_eval_order' is never used. [unusedFunction]\\nint test_eval_order() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmppvjv5v0ttest.c:2:5: style: The function 'test_eval_order' is never used. [unusedFunction]\\nint test_eval_order() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmppvjv5v0ttest.c'], returncode=0, stdout='Checking /tmp/tmppvjv5v0ttest.c ...\\n', stderr=\"/tmp/tmppvjv5v0ttest.c:2:5: style: The function 'test_eval_order' is never used. [unusedFunction]\\nint test_eval_order() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").stderrtests/test_checkcondition_gaps.py:314: in test_opposite_inner_condition_simple\n assert 'oppositeInnerCondition' in stderr\nE AssertionError: assert 'oppositeInnerCondition' in ''tests/test_checkio_round3.py:115: in test_wscanf_missing_address_operator\n assert \"%d in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_round3/wscanf_errors.c:10:5: error: wscanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wscanf(L\"%d %d\", &x); // Too few args\\n ^\\n'tests/test_checkclass_gaps.py:176: in test_initializer_list_order_mismatch\n assert 'initializerList' in output\nE AssertionError: assert 'initializerList' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/init_list_order2.cpp ...\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n'tests/test_checkio_gaps_round2.py:172: in test_printf_I64d_modifier_int\n assert \"%I64d in format string (no. 1) requires '__int64'\" in stderr\nE assert \"%I64d in format string (no. 1) requires '__int64'\" in ''tests/test_checkbool_gaps.py:181: in test_comparison_bool_with_bool\n assert 'comparisonOfBoolWithBoolError' in output\nE assert 'comparisonOfBoolWithBoolError' in \"Checking /workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp ...\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:5:11: style: Condition 'a<b' is always false [knownConditionTrueFalse]\\n if (a < b) { // Should trigger comparisonOfBoolWithBool\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:5:11: note: Condition 'a<b' is always false\\n if (a < b) { // Should trigger comparisonOfBoolWithBool\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:9:11: style: Condition 'a>=b' is always true [knownConditionTrueFalse]\\n if (a >= b) { // Should trigger comparisonOfBoolWithBool\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:9:11: note: Condition 'a>=b' is always true\\n if (a >= b) { // Should trigger comparisonOfBoolWithBool\\n ^\\n\"tests/test_checkio_round3.py:620: in test_scanf_complex_format_last_arg_wrong_type\n assert \"%d in format string (no. 4) requires 'int *'\" in stderr\nE assert \"%d in format string (no. 4) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_round3/scanf_complex_formats.c:11:5: error: scanf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d %d\", &x, &y); // Missing third argument\\n ^\\n'tests/test_checkassert_gaps.py:371: in test_function_with_return_modifies_global\n assert stderr.count('assertWithSideEffect') >= 2\nE AssertionError: assert 0 >= 2\nE + where 0 = <built-in method count of str object at 0x7f3cf04c8030>('assertWithSideEffect')\nE + where <built-in method count of str object at 0x7f3cf04c8030> = ''.counttests/test_checkio_gaps.py:145: in test_scanf_missing_address_operator\n assert \"%d in format string (no. 1) requires 'int *' but the argument type is 'signed int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int *' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:5:5: error: scanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d\", &a); // Need 2 pointers, only 1 given\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:15:17: error: Uninitialized variable: a [uninitvar]\\n scanf(\"%d\", a); // Missing &, should be &a\\n ^\\n'tests/test_checkmemoryleak_gaps.py:700: in test_member_allocated_twice_leak\n assert 'publicAllocationError' in stderr\nE AssertionError: assert 'publicAllocationError' in ''tests/test_checkother_part2.py:375: in test_unknown_evaluation_order_array_index\n assert 'unknownEvaluationOrder' in result.stderr\nE assert 'unknownEvaluationOrder' in \"/tmp/tmp2agkconitest.c:2:6: style: The function 'test_eval_order2' is never used. [unusedFunction]\\nvoid test_eval_order2(int arr[]) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmp2agkconitest.c:2:6: style: The function 'test_eval_order2' is never used. [unusedFunction]\\nvoid test_eval_order2(int arr[]) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmp2agkconitest.c'], returncode=0, stdout='Checking /tmp/tmp2agkconitest.c ...\\n', stderr=\"/tmp/tmp2agkconitest.c:2:6: style: The function 'test_eval_order2' is never used. [unusedFunction]\\nvoid test_eval_order2(int arr[]) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").stderrtests/test_checkcondition_gaps.py:379: in test_opposite_inner_with_compound_outer\n assert 'oppositeInnerCondition' in stderr\nE AssertionError: assert 'oppositeInnerCondition' in ''tests/test_checkio_round3.py:128: in test_wscanf_width_too_large\n assert \"Width 30 given in format string (no. 1) is larger than destination buffer\" in stderr\nE assert 'Width 30 given in format string (no. 1) is larger than destination buffer' in '/workspace/eval/test_resources/test_checkio_round3/wscanf_errors.c:10:5: error: wscanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wscanf(L\"%d %d\", &x); // Too few args\\n ^\\n'tests/test_checkclass_gaps.py:189: in test_complex_class_hierarchy_multiple_issues\n assert \"Class 'Resource' does not have a copy constructor\" in output\nE assert \"Class 'Resource' does not have a copy constructor\" in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/complex_hierarchy.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/complex_hierarchy.cpp:15:5: warning: Member variable 'FileResource::fd' is not initialized in the constructor. [uninitMemberVar]\\n FileResource(const char* name) : filename(name) {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/complex_hierarchy.cpp:15:5: style: Class 'FileResource' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n FileResource(const char* name) : filename(name) {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/complex_hierarchy.cpp:24:5: style: Class 'NetworkResource' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n NetworkResource(int p) : port(p) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkio_gaps_round2.py:185: in test_printf_I64u_modifier_int\n assert \"%I64u in format string (no. 1) requires 'unsigned __int64'\" in stderr\nE assert \"%I64u in format string (no. 1) requires 'unsigned __int64'\" in ''tests/test_checkbool_gaps.py:198: in test_comparison_bool_with_invalid_comparator\n assert 'comparisonOfBoolWithInvalidComparator' in output\nE AssertionError: assert 'comparisonOfBoolWithInvalidComparator' in 'Checking /workspace/eval/test_resources/test_checkbool/comparison_bool_invalid.cpp ...\\n'tests/test_checkio_round3.py:632: in test_scanf_complex_format_first_arg_wrong_type\n assert \"%s in format string (no. 1) requires a 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires a 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/scanf_complex_formats.c:11:5: error: scanf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d %d\", &x, &y); // Missing third argument\\n ^\\n'tests/test_checkassert_gaps.py:416: in test_postincrement_vs_preincrement\n assert stderr.count('assignmentInAssert') >= 2\nE AssertionError: assert 0 >= 2\nE + where 0 = <built-in method count of str object at 0x7f3cf04c8030>('assignmentInAssert')\nE + where <built-in method count of str object at 0x7f3cf04c8030> = ''.counttests/test_checkio_gaps.py:157: in test_scanf_width_too_large\n assert \"Width 20 given in format string (no. 1) is larger than destination buffer\" in stderr\nE assert 'Width 20 given in format string (no. 1) is larger than destination buffer' in '/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:5:5: error: scanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d\", &a); // Need 2 pointers, only 1 given\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:15:17: error: Uninitialized variable: a [uninitvar]\\n scanf(\"%d\", a); // Missing &, should be &a\\n ^\\n'tests/test_checkmemoryleak_gaps.py:739: in test_free_then_return_value\n assert 'deallocret' in stderr\nE AssertionError: assert 'deallocret' in ''tests/test_checkcondition_gaps.py:398: in test_opposite_inner_second_conjunct\n assert 'oppositeInnerCondition' in stderr\nE AssertionError: assert 'oppositeInnerCondition' in ''tests/test_checkio_round3.py:165: in test_fwprintf_type_mismatch_int_wchar_ptr\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:11:5: error: fwprintf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d %d %d\", x, x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:12:5: error: fwprintf format string requires 1 parameter but 3 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d\", x, x, x); // Too many args\\n ^\\n'tests/test_checksizeof_gaps.py:109: in test_sizeof_sizeof\n assert \"Calling 'sizeof' on 'sizeof'\" in stderr\nE assert \"Calling 'sizeof' on 'sizeof'\" in \"/tmp/tmpxs2kxgac/test.c:3:13: warning: Calling sizeof for 'sizeof'. [sizeofsizeof]\\n int x = sizeof sizeof(int);\\n ^\\n\"tests/test_checkclass_gaps.py:209: in test_pure_virtual_function_call_in_constructor\n assert 'pureVirtualCall' in output\nE AssertionError: assert 'pureVirtualCall' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/pure_virtual_in_ctor.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n'tests/test_checkio_gaps_round2.py:198: in test_printf_I32d_modifier_short\n assert \"%I32d in format string (no. 1) requires '__int32'\" in stderr\nE assert \"%I32d in format string (no. 1) requires '__int32'\" in ''tests/test_checkbool_gaps.py:216: in test_comparison_two_funcs_returning_bool\n assert 'comparisonOfTwoFuncsReturningBoolError' in output\nE AssertionError: assert 'comparisonOfTwoFuncsReturningBoolError' in 'Checking /workspace/eval/test_resources/test_checkbool/comparison_two_funcs_bool.cpp ...\\n'tests/test_checkassert_gaps.py:440: in test_bitwise_assignment_operators\n assert 'assignmentInAssert' in stderr\nE AssertionError: assert 'assignmentInAssert' in ''tests/test_checkio_round3.py:655: in test_scanf_width_with_wrong_type\n assert \"%d in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_round3/scanf_complex_formats.c:11:5: error: scanf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d %d\", &x, &y); // Missing third argument\\n ^\\n'tests/test_checkio_gaps.py:170: in test_scanf_no_width_specifier\n assert \"scanf() without field width limits can crash with huge input data\" in stderr\nE assert 'scanf() without field width limits can crash with huge input data' in '/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:5:5: error: scanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d\", &a); // Need 2 pointers, only 1 given\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:15:17: error: Uninitialized variable: a [uninitvar]\\n scanf(\"%d\", a); // Missing &, should be &a\\n ^\\n'tests/test_checkmemoryleak_gaps.py:762: in test_leaked_on_exception_constructor\n assert 'unsafeClassCanLeak' in stderr\nE AssertionError: assert 'unsafeClassCanLeak' in ''tests/test_checkcondition_gaps.py:443: in test_mismatchingbitand_error\n assert \"Condition '(x&2)==0' is always false\" in stderr\nE assert \"Condition '(x&2)==0' is always false\" in \"/tmp/tmpcb27dd11/test.c:5:21: style: Condition 'x&2==0' is always false [knownConditionTrueFalse]\\n if ((x & 2) == 0) {\\n ^\\n/tmp/tmpcb27dd11/test.c:4:15: note: Assignment 'x=1|2', assigned value is 3\\n x = 1 | 2;\\n ^\\n/tmp/tmpcb27dd11/test.c:5:21: note: Condition 'x&2==0' is always false\\n if ((x & 2) == 0) {\\n ^\\n\"tests/test_checkio_round3.py:178: in test_fwprintf_type_mismatch_wchar_ptr_int\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:11:5: error: fwprintf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d %d %d\", x, x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:12:5: error: fwprintf format string requires 1 parameter but 3 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d\", x, x, x); // Too many args\\n ^\\n'tests/test_checksizeof_gaps.py:195: in test_sizeof_pointer_malloc\n assert 'pointerSize' in stderr\nE AssertionError: assert 'pointerSize' in ''tests/test_checkclass_gaps.py:221: in test_useless_override_identical_to_base\n assert 'uselessOverride' in output\nE assert 'uselessOverride' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/useless_override.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/useless_override.cpp:3:17: style: The function 'compute' is never used. [unusedFunction]\\n virtual int compute(int x) {\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/useless_override.cpp:6:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkbool_gaps.py:234: in test_complex_bool_expressions\n assert output.count('bitwiseOnBoolean') >= 3\nE assert 0 >= 3\nE + where 0 = <built-in method count of str object at 0x56321f4d1360>('bitwiseOnBoolean')\nE + where <built-in method count of str object at 0x56321f4d1360> = \"Checking /workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp ...\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:7:12: style: Condition 'a&b' is always false [knownConditionTrueFalse]\\n if ((a & b) || (a | b)) {\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:7:12: note: Condition 'a&b' is always false\\n if ((a & b) || (a | b)) {\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:7:23: style: Condition 'a|b' is always true [knownConditionTrueFalse]\\n if ((a & b) || (a | b)) {\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:7:23: note: Condition 'a|b' is always true\\n if ((a & b) || (a | b)) {\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:12:16: style: Variable 'result' is assigned a value that is never used. [unreadVariable]\\n int result = a + b * 2;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:22:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n bool c = (a & b) | (b & a);\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:1:6: style: The function 'test_complex_expressions' is never used. [unusedFunction]\\nvoid test_complex_expressions() {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\".counttests/test_checkio_gaps_round2.py:211: in test_printf_I32d_modifier_long\n assert \"%I32d in format string (no. 1) requires '__int32'\" in stderr\nE assert \"%I32d in format string (no. 1) requires '__int32'\" in ''tests/test_checkio_gaps.py:181: in test_cout_cerr_misuse_cout_to_cout\n assert \"Invalid usage of output stream: '<< std::cout'\" in stderr\nE assert \"Invalid usage of output stream: '<< std::cout'\" in ''tests/test_checkautovariables_gaps.py:49: in test_return_reference_to_local_variable\n assert 'returnReference' in combined\nE assert 'returnReference' in \"Checking /tmp/tmpzdth279m/test.cpp ...\\n/tmp/tmpzdth279m/test.cpp:2:10: style: The function 'returnLocalRef' is never used. [unusedFunction]\\n int& returnLocalRef() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkother_gaps.py:83: in test_cast_int_to_char_getchar\n assert 'checkCastIntToCharAndBack' in output\nE AssertionError: assert 'checkCastIntToCharAndBack' in 'Checking /tmp/tmpv5jogp9dtest.c ...\\n'tests/test_checkio_round3.py:688: in test_sprintf_type_mismatch_int_string\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:9:5: error: sprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:10:5: error: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d\", x, x); // Too many args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:15:5: error: snprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:16:5: error: snprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d\", x, x); // Too many args\\n ^\\n'tests/test_checkcondition_gaps.py:462: in test_badbitmask_or_with_zero_operand\n assert 'badBitmaskCheck' in stderr\nE assert 'badBitmaskCheck' in \"/tmp/tmpajatu650/test.c:4:15: style: Condition 'x|0' is always true [knownConditionTrueFalse]\\n if (x | 0) {\\n ^\\n/tmp/tmpajatu650/test.c:3:17: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/tmp/tmpajatu650/test.c:4:15: note: Condition 'x|0' is always true\\n if (x | 0) {\\n ^\\n\"tests/test_checkio_round3.py:190: in test_fwprintf_type_mismatch_float_int\n assert \"%f in format string (no. 1) requires 'double'\" in stderr\nE assert \"%f in format string (no. 1) requires 'double'\" in '/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:11:5: error: fwprintf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d %d %d\", x, x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:12:5: error: fwprintf format string requires 1 parameter but 3 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d\", x, x, x); // Too many args\\n ^\\n'tests/test_checksizeof_gaps.py:214: in test_sizeof_pointer_calloc\n assert 'pointerSize' in stderr\nE AssertionError: assert 'pointerSize' in ''tests/test_checkclass_gaps.py:233: in test_return_reference_to_local_variable\n assert 'returnReference' in output\nE assert 'returnReference' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/return_by_reference.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/return_by_reference.cpp:5:10: style: The function 'getValue' is never used. [unusedFunction]\\n int& getValue() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkbool_gaps.py:252: in test_c_code_bool_operations\n assert 'returnNonBoolInBooleanFunction' in output\nE assert 'returnNonBoolInBooleanFunction' in \"Checking /workspace/eval/test_resources/test_checkbool/c_code_bool.c ...\\n/workspace/eval/test_resources/test_checkbool/c_code_bool.c:14:6: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean]\\n a++; /* Should trigger incrementboolean */\\n ^\\n/workspace/eval/test_resources/test_checkbool/c_code_bool.c:9:12: style: Variable 'b' is assigned a value that is never used. [unreadVariable]\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/c_code_bool.c:12:7: style: Variable 'f' is assigned a value that is never used. [unreadVariable]\\n f = a; /* Should trigger assignBoolToFloat in C++ but not in C */\\n ^\\n\"tests/test_checkio_gaps_round2.py:224: in test_printf_hhd_modifier_int\n assert \"%hhd in format string (no. 1) requires 'char'\" in stderr\nE assert \"%hhd in format string (no. 1) requires 'char'\" in ''tests/test_checkio_gaps.py:193: in test_cout_cerr_misuse_cerr_to_cout\n assert \"Invalid usage of output stream: '<< std::cerr'\" in stderr\nE assert \"Invalid usage of output stream: '<< std::cerr'\" in ''tests/test_checkother_gaps.py:131: in test_cast_int_to_char_variations\n assert output.count('checkCastIntToCharAndBack') == 3\nE AssertionError: assert 0 == 3\nE + where 0 = <built-in method count of str object at 0x7f8f631fc330>('checkCastIntToCharAndBack')\nE + where <built-in method count of str object at 0x7f8f631fc330> = 'Checking /tmp/tmpxmqo0hl7test.c ...\\n'.counttests/test_checkio_round3.py:699: in test_sprintf_type_mismatch_string_int\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:9:5: error: sprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:10:5: error: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d\", x, x); // Too many args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:15:5: error: snprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:16:5: error: snprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d\", x, x); // Too many args\\n ^\\n'tests/test_checkautovariables_gaps.py:115: in test_lambda_capture_local_by_reference\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmp14t9q3vj/test.cpp ...\\n/tmp/tmp14t9q3vj/test.cpp:2:6: information: Include file: <functional> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n #include <functional>\\n ^\\n/tmp/tmp14t9q3vj/test.cpp:3:26: style: The function 'captureLambda' is never used. [unusedFunction]\\n std::function<int()> captureLambda() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkcondition_gaps.py:508: in test_bitwise_or_non_zero_always_true\n assert 'badBitmaskCheck' in stderr\nE assert 'badBitmaskCheck' in \"/tmp/tmpx5kn5eph/test.c:4:15: style: Condition '5|x' is always true [knownConditionTrueFalse]\\n if (5 | x) {\\n ^\\n/tmp/tmpx5kn5eph/test.c:3:17: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/tmp/tmpx5kn5eph/test.c:4:15: note: Condition '5|x' is always true\\n if (5 | x) {\\n ^\\n\"tests/test_checkio_round3.py:203: in test_fwprintf_type_mismatch_int_float\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:11:5: error: fwprintf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d %d %d\", x, x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:12:5: error: fwprintf format string requires 1 parameter but 3 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d\", x, x, x); // Too many args\\n ^\\n'tests/test_checksizeof_gaps.py:233: in test_sizeof_pointer_memset\n assert 'pointerSize' in stderr\nE AssertionError: assert 'pointerSize' in '/tmp/tmpr45pwr2f/test.c:6:12: error: Uninitialized variable: ptr [uninitvar]\\n memset(ptr, 0, sizeof(ptr));\\n ^\\n'tests/test_checkclass_gaps.py:245: in test_missing_constructor_with_private_members\n assert \"The class 'Configuration' does not declare a constructor although it has private member variables\" in output\nE assert \"The class 'Configuration' does not declare a constructor although it has private member variables\" in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:1:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass Configuration {\\n^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:3:17: style: class member 'Configuration::configFile' is never used. [unusedStructMember]\\n const char* configFile;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:4:10: style: class member 'Configuration::settings' is never used. [unusedStructMember]\\n int* settings;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:5:10: style: class member 'Configuration::initialized' is never used. [unusedStructMember]\\n bool initialized;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:8:10: style: The function 'load' is never used. [unusedFunction]\\n void load() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkbool_gaps.py:271: in test_underscore_bool_type\n assert 'returnNonBoolInBooleanFunction' in output\nE assert 'returnNonBoolInBooleanFunction' in \"Checking /workspace/eval/test_resources/test_checkbool/underscore_bool.cpp ...\\n/workspace/eval/test_resources/test_checkbool/underscore_bool.cpp:17:9: error: Boolean value assigned to pointer. [assignBoolToPointer]\\n ptr = x; // Should trigger assignBoolToPointer\\n ^\\n/workspace/eval/test_resources/test_checkbool/underscore_bool.cpp:4:6: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean]\\n b++; // Should trigger incrementboolean\\n ^\\n/workspace/eval/test_resources/test_checkbool/underscore_bool.cpp:12:11: style: Condition 'x<y' is always true [knownConditionTrueFalse]\\n if (x < y) { // Should trigger comparisonOfBoolWithBoolError\\n ^\\n/workspace/eval/test_resources/test_checkbool/underscore_bool.cpp:9:15: note: Assignment 'x=0', assigned value is 0\\n _Bool x = 0;\\n ^\\n/workspace/eval/test_resources/test_checkbool/underscore_bool.cpp:10:15: note: Assignment 'y=1', assigned value is 1\\n _Bool y = 1;\\n ^\\n/workspace/eval/test_resources/test_checkbool/underscore_bool.cpp:12:11: note: Condition 'x<y' is always true\\n if (x < y) { // Should trigger comparisonOfBoolWithBoolError\\n ^\\n/workspace/eval/test_resources/test_checkbool/underscore_bool.cpp:16:10: style: Variable 'ptr' can be declared as pointer to const [constVariablePointer]\\n int* ptr;\\n ^\\n/workspace/eval/test_resources/test_checkbool/underscore_bool.cpp:17:9: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable]\\n ptr = x; // Should trigger assignBoolToPointer\\n ^\\n/workspace/eval/test_resources/test_checkbool/underscore_bool.cpp:20:7: style: Variable 'f' is assigned a value that is never used. [unreadVariable]\\n f = y; // Should trigger assignBoolToFloat\\n ^\\n\"tests/test_checkio_gaps_round2.py:237: in test_printf_hhd_modifier_short\n assert \"%hhd in format string (no. 1) requires 'char'\" in stderr\nE assert \"%hhd in format string (no. 1) requires 'char'\" in ''tests/test_checkio_gaps.py:205: in test_cout_cerr_misuse_cout_to_cerr\n assert \"Invalid usage of output stream: '<< std::cout'\" in stderr\nE assert \"Invalid usage of output stream: '<< std::cout'\" in ''tests/test_checkautovariables_gaps.py:135: in test_return_reference_to_temporary\n assert 'returnTempReference' in combined\nE assert 'returnTempReference' in \"Checking /tmp/tmpbz22wwbb/test.cpp ...\\n/tmp/tmpbz22wwbb/test.cpp:2:24: style: The function 'getTempString' is never used. [unusedFunction]\\n const std::string& getTempString() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkio_round3.py:733: in test_snprintf_type_mismatch\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:9:5: error: sprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:10:5: error: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d\", x, x); // Too many args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:15:5: error: snprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:16:5: error: snprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d\", x, x); // Too many args\\n ^\\n'tests/test_checkcondition_gaps.py:527: in test_modulo_with_equals_boundary\n assert 'moduloAlwaysTrueFalse' in stderr\nE AssertionError: assert 'moduloAlwaysTrueFalse' in '/tmp/tmpsnqpa2yz/test.c:4:13: error: Uninitialized variable: x [uninitvar]\\n if (x % 5 >= 5) {\\n ^\\n'tests/test_checkother_gaps.py:284: in test_incomplete_statement_sizeof\n assert 'constStatement' in output\nE AssertionError: assert 'constStatement' in 'Checking /tmp/tmp7q0ma0kxtest.c ...\\n'tests/test_checkio_round3.py:216: in test_swprintf_wrong_arg_count_too_few\n assert \"swprintf format string requires 2 parameters but only 1 is given\" in stderr\nE AssertionError: assert 'swprintf format string requires 2 parameters but only 1 is given' in ''tests/test_checksizeof_gaps.py:252: in test_sizeof_pointer_memcpy\n assert 'pointerSize' in stderr\nE AssertionError: assert 'pointerSize' in '/tmp/tmp_59lpoqm/test.c:6:12: error: Uninitialized variable: dst [uninitvar]\\n memcpy(dst, src, sizeof(dst));\\n ^\\n/tmp/tmp_59lpoqm/test.c:6:17: error: Uninitialized variable: src [uninitvar]\\n memcpy(dst, src, sizeof(dst));\\n ^\\n'tests/test_checkclass_gaps.py:255: in test_shallow_copy_in_copy_constructor\n assert 'copyCtorPointerCopying' in output\nE assert 'copyCtorPointerCopying' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/shallow_copy.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/shallow_copy.cpp:3:5: style: Class 'Array' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Array(int size) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkbool_gaps.py:289: in test_edge_case_comparisons\n assert 'compareBoolExpressionWithInt' in output\nE AssertionError: assert 'compareBoolExpressionWithInt' in 'Checking /workspace/eval/test_resources/test_checkbool/edge_case_comparisons.cpp ...\\n'tests/test_checkio_gaps_round2.py:250: in test_printf_hhu_modifier_int\n assert \"%hhu in format string (no. 1) requires 'unsigned char'\" in stderr\nE assert \"%hhu in format string (no. 1) requires 'unsigned char'\" in ''tests/test_checkio_gaps.py:217: in test_cout_cerr_misuse_in_chain\n assert \"Invalid usage of output stream: '<< std::cout'\" in stderr\nE assert \"Invalid usage of output stream: '<< std::cout'\" in ''tests/test_checkautovariables_gaps.py:156: in test_deallocation_of_auto_variable\n assert 'autovarInvalidDeallocation' in combined\nE assert 'autovarInvalidDeallocation' in \"Checking /tmp/tmpnetta_y6/test.c ...\\n/tmp/tmpnetta_y6/test.c:2:10: style: The function 'deallocLocal' is never used. [unusedFunction]\\n void deallocLocal() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkcondition_gaps.py:550: in test_nested_if_else_with_opposite_in_else\n assert 'knownConditionTrueFalse' in stderr\nE AssertionError: assert 'knownConditionTrueFalse' in ''tests/test_checkother_gaps.py:311: in test_char_bitop_sign_extension\n assert 'charBitOp' in output\nE AssertionError: assert 'charBitOp' in 'Checking /tmp/tmplilne1pvtest.c ...\\n'tests/test_checkio_round3.py:767: in test_sscanf_type_mismatch_int\n assert \"%d in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:10:5: error: sscanf format string requires 4 parameters but only 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s %f %d\", &x, buf, &f); // Too few args (missing 4th)\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:11:5: error: sscanf format string requires 2 parameters but 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s\", &x, buf, &y); // Too many args\\n ^\\n'tests/test_checkio_round3.py:228: in test_swprintf_wrong_arg_count_too_many\n assert \"swprintf format string requires 1 parameter but 2 are given\" in stderr\nE AssertionError: assert 'swprintf format string requires 1 parameter but 2 are given' in ''tests/test_checksizeof_gaps.py:268: in test_sizeof_void\n assert 'sizeofVoid' in stderr\nE AssertionError: assert 'sizeofVoid' in ''tests/test_checkclass_gaps.py:266: in test_copy_constructor_and_destructor_without_assignment\n assert 'noOperatorEq' in output\nE AssertionError: assert 'noOperatorEq' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/copy_ctor_and_eq.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n'tests/test_checkbool_gaps.py:306: in test_pointer_arith_complex_conditions\n assert output.count('pointerArithBool') >= 6\nE AssertionError: assert 0 >= 6\nE + where 0 = <built-in method count of str object at 0x7fb9aed2fcc0>('pointerArithBool')\nE + where <built-in method count of str object at 0x7fb9aed2fcc0> = 'Checking /workspace/eval/test_resources/test_checkbool/pointer_arith_complex.cpp ...\\n/workspace/eval/test_resources/test_checkbool/pointer_arith_complex.cpp:4:18: error: Uninitialized variable: arr [uninitvar]\\n int* ptr2 = &arr[5];\\n ^\\n'.counttests/test_checkio_gaps_round2.py:263: in test_printf_lld_modifier_int\n assert \"%lld in format string (no. 1) requires 'long long'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long'\" in ''tests/test_checkio_gaps.py:229: in test_write_to_readonly_file\n assert \"Write operation on a file that was opened only for reading\" in stderr\nE AssertionError: assert 'Write operation on a file that was opened only for reading' in ''tests/test_checkautovariables_gaps.py:221: in test_dangling_pointer_after_scope_exit\n assert 'invalidLifetime' in combined\nE assert 'invalidLifetime' in \"Checking /tmp/tmp060jkw7g/test.cpp ...\\n/tmp/tmp060jkw7g/test.cpp:2:10: style: The function 'useDanglingRef' is never used. [unusedFunction]\\n void useDanglingRef() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkcondition_gaps.py:571: in test_signed_modulo_with_negative_range\n assert 'moduloAlwaysTrueFalse' in stderr\nE AssertionError: assert 'moduloAlwaysTrueFalse' in '/tmp/tmpgvak8wuh/test.c:4:13: error: Uninitialized variable: y [uninitvar]\\n if (y % 4 < 10) {\\n ^\\n'tests/test_checkio_round3.py:778: in test_sscanf_type_mismatch_string\n assert \"%s in format string (no. 1) requires a 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires a 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:10:5: error: sscanf format string requires 4 parameters but only 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s %f %d\", &x, buf, &f); // Too few args (missing 4th)\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:11:5: error: sscanf format string requires 2 parameters but 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s\", &x, buf, &y); // Too many args\\n ^\\n'tests/test_checkother_gaps.py:407: in test_comparison_function_always_true_false\n assert output.count('comparisonFunctionIsAlwaysTrueOrFalse') == 2\nE AssertionError: assert 0 == 2\nE + where 0 = <built-in method count of str object at 0x7f8f631fdfb0>('comparisonFunctionIsAlwaysTrueOrFalse')\nE + where <built-in method count of str object at 0x7f8f631fdfb0> = 'Checking /tmp/tmptg06bcsgtest.c ...\\n'.counttests/test_checkio_round3.py:240: in test_swprintf_type_mismatch_int_wchar_ptr\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in ''tests/test_checksizeof_gaps.py:287: in test_sizeof_dereferenced_void_pointer\n assert 'sizeofDereferencedVoidPointer' in stderr\nE AssertionError: assert 'sizeofDereferencedVoidPointer' in ''tests/test_checkbool_gaps.py:329: in test_casts_and_function_calls\n assert 'comparisonOfTwoFuncsReturningBoolError' in output\nE assert 'comparisonOfTwoFuncsReturningBoolError' in \"Checking /workspace/eval/test_resources/test_checkbool/casts_and_functions.cpp ...\\n/workspace/eval/test_resources/test_checkbool/casts_and_functions.cpp:13:19: style: Condition '(bool)5>b' is always true [knownConditionTrueFalse]\\n if ((bool)(5) > b) { // Should trigger comparisonOfFuncReturningBoolError or similar\\n ^\\n/workspace/eval/test_resources/test_checkbool/casts_and_functions.cpp:10:14: note: Assignment 'b=true', assigned value is 1\\n bool b = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/casts_and_functions.cpp:13:19: note: Condition '(bool)5>b' is always true\\n if ((bool)(5) > b) { // Should trigger comparisonOfFuncReturningBoolError or similar\\n ^\\n\"tests/test_checkclass_gaps_round2.py:44: in test_operator_eq_missing_return_statement\n assert 'operatorEqMissingReturnStatement' in output\nE AssertionError: assert 'operatorEqMissingReturnStatement' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_no_return.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_no_return.cpp:12:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn]\\n }\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n'tests/test_checkio_gaps_round2.py:276: in test_printf_lld_modifier_long\n assert \"%lld in format string (no. 1) requires 'long long'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long'\" in ''tests/test_checkio_gaps.py:241: in test_read_from_writeonly_file\n assert \"Read operation on a file that was opened only for writing\" in stderr\nE AssertionError: assert 'Read operation on a file that was opened only for writing' in ''tests/test_checkautovariables_gaps.py:245: in test_return_pointer_to_temporary_object_member\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmp_fg4cwvj/test.cpp ...\\n/tmp/tmp_fg4cwvj/test.cpp:6:16: style: The function 'getTempValue' is never used. [unusedFunction]\\n const int* getTempValue() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkcondition_gaps.py:593: in test_complex_nested_conditions_three_levels\n assert 'oppositeInnerCondition' in stderr\nE AssertionError: assert 'oppositeInnerCondition' in ''tests/test_checkio_round3.py:790: in test_sscanf_width_too_large\n assert \"Width 30 given in format string (no. 1) is larger than destination buffer\" in stderr\nE assert 'Width 30 given in format string (no. 1) is larger than destination buffer' in '/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:10:5: error: sscanf format string requires 4 parameters but only 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s %f %d\", &x, buf, &f); // Too few args (missing 4th)\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:11:5: error: sscanf format string requires 2 parameters but 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s\", &x, buf, &y); // Too many args\\n ^\\n'tests/test_checkio_round3.py:252: in test_swprintf_type_mismatch_wchar_ptr_int\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in ''tests/test_checkother_part1.py:90: in test_int_to_pointer_cast_decimal\n assert 'intToPointerCast' in output\nE AssertionError: assert 'intToPointerCast' in 'Checking /tmp/tmp5v1_xjittest.c ...\\n'tests/test_checksizeof_gaps.py:304: in test_multiply_sizeof_error\n assert 'multiplySizeof' in stderr\nE AssertionError: assert 'multiplySizeof' in ''tests/test_checkclass_gaps_round2.py:56: in test_operator_eq_returns_wrong_reference\n assert 'operatorEqRetRefThis' in output\nE AssertionError: assert 'operatorEqRetRefThis' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_returns_wrong_ref.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n'tests/test_checkio_gaps_round2.py:289: in test_printf_Lf_modifier_double\n assert \"%Lf in format string (no. 1) requires 'long double'\" in stderr\nE assert \"%Lf in format string (no. 1) requires 'long double'\" in ''tests/test_checkbufferoverrun_gaps.py:116: in test_strcpy_buffer_overrun\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmprcnrnd0h/test.c:1:2: information: Include file: <string.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include <string.h>', ' ^', '/tmp/tmprcnrnd0h/test.c:5:5: error: Buffer is accessed out of bounds: dest [bufferAccessOutOfBounds]', ' strcpy(dest, \"hello world\"); // Buffer overrun', ' ^', \"/tmp/tmprcnrnd0h/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps.py:253: in test_use_closed_file\n assert \"Used file that is not opened\" in stderr\nE AssertionError: assert 'Used file that is not opened' in ''tests/test_checkautovariables_gaps.py:266: in test_delete_auto_variable\n assert 'autovarInvalidDeallocation' in combined\nE assert 'autovarInvalidDeallocation' in \"Checking /tmp/tmpmz5apz_b/test.cpp ...\\n/tmp/tmpmz5apz_b/test.cpp:2:10: style: The function 'deleteLocal' is never used. [unusedFunction]\\n void deleteLocal() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkfunctions_gaps.py:41: in test_log_negative_argument\n assert 'log(-1.0)' in result.combined_output\nE assert 'log(-1.0)' in \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c:5:20: error: Invalid log() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double y = log(0);\\n ^\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c:5:20: error: Invalid log() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double y = log(0);\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c:5:20: error: Invalid log() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double y = log(0);\\n ^\\n\").combined_outputtests/test_checkmemoryleak_gaps.py:40: in test_realloc_direct_assignment_leak\n assert 'memleakOnRealloc' in stderr\nE AssertionError: assert 'memleakOnRealloc' in ''tests/test_checkio_round3.py:265: in test_printf_positional_param_missing_arg\n assert \"printf format string requires 2 parameters but only 1 is given\" in stderr\nE AssertionError: assert 'printf format string requires 2 parameters but only 1 is given' in ''tests/test_checkother_part1.py:129: in test_const_statement_string_and_numeric\n assert normalize_output(output) == normalize_output(golden)\nE assert 'test.c:3:5: ...of =\\n ^' == 'test.c:3:5: ...nstant\\n ^'\nE \nE test.c:3:5: warning: Redundant code: Found a statement that begins with string constant. [constStatement]\nE \"string constant\"; // incomplete statement\nE ^\nE test.c:4:5: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement]\nE 42; // numeric constant\nE - ^...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_checksizeof_gaps.py:322: in test_arithmetic_on_void_pointer_addition\n assert 'arithOperationsOnVoidPointer' in stderr\nE AssertionError: assert 'arithOperationsOnVoidPointer' in '/tmp/tmphbhjnv0g/test.c:4:20: error: Uninitialized variable: ptr [uninitvar]\\n void *result = ptr + 1;\\n ^\\n'tests/test_checkclass_gaps_round2.py:69: in test_initializer_list_wrong_order\n assert 'initializerList' in output\nE assert 'initializerList' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/initialization_list_order.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/initialization_list_order.cpp:9:5: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Config(int size) : currentSize(maxSize), maxSize(size) {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkbufferoverrun_gaps.py:137: in test_sprintf_buffer_overrun\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmpt16rz9jy/test.c:1:2: information: Include file: <stdio.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include <stdio.h>', ' ^', \"/tmp/tmpt16rz9jy/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps_round2.py:302: in test_scanf_jd_modifier_int\n assert \"%jd in format string (no. 1) requires 'intmax_t *'\" in stderr\nE assert \"%jd in format string (no. 1) requires 'intmax_t *'\" in ''tests/test_checkio_gaps.py:265: in test_io_without_positioning\n assert \"Read and write operations without a call to a positioning function\" in stderr\nE AssertionError: assert 'Read and write operations without a call to a positioning function' in ''tests/test_checkautovariables_gaps.py:287: in test_delete_array_auto_variable\n assert 'autovarInvalidDeallocation' in combined\nE assert 'autovarInvalidDeallocation' in \"Checking /tmp/tmpbgaphlto/test.cpp ...\\n/tmp/tmpbgaphlto/test.cpp:3:13: style: Variable 'arr' is not assigned a value. [unassignedVariable]\\n int arr[10];\\n ^\\n/tmp/tmpbgaphlto/test.cpp:2:10: style: The function 'deleteArrayLocal' is never used. [unusedFunction]\\n void deleteArrayLocal() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkfunctions_gaps.py:68: in test_atan2_both_zeros\n assert 'atan2(0.0, 0.0)' in result.combined_output\nE AssertionError: assert 'atan2(0.0, 0.0)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_atan2_zeros.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_atan2_zeros.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_atan2_zeros.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_atan2_zeros.c ...\\n', stderr='').combined_outputtests/test_checkio_round3.py:277: in test_printf_positional_param_out_of_range\n assert \"referencing parameter 3\" in stderr\nE AssertionError: assert 'referencing parameter 3' in ''tests/test_checkother_part1.py:180: in test_nan_in_arithmetic_expression\n assert 'nanInArithmeticExpression' in output\nE assert 'nanInArithmeticExpression' in \"Checking /tmp/tmp4k821f_3test.c ...\\n/tmp/tmp4k821f_3test.c:2:15: style: Variable 'd1' is assigned a value that is never used. [unreadVariable]\\n double d1 = 1.0 / 0.0 + 100.0; // NaN in arithmetic expression\\n ^\\n/tmp/tmp4k821f_3test.c:3:15: style: Variable 'd2' is assigned a value that is never used. [unreadVariable]\\n double d2 = 1.0 / 0.0 - 50.0; // NaN in arithmetic expression\\n ^\\n\"tests/test_checkmemoryleak_gaps.py:115: in test_malloc_delete_mismatch\n assert 'mismatchAllocDealloc' in stderr\nE AssertionError: assert 'mismatchAllocDealloc' in ''tests/test_checksizeof_gaps.py:340: in test_arithmetic_on_void_pointer_subtraction\n assert 'arithOperationsOnVoidPointer' in stderr\nE AssertionError: assert 'arithOperationsOnVoidPointer' in '/tmp/tmpnn6_36gm/test.c:4:20: error: Uninitialized variable: ptr [uninitvar]\\n void *result = ptr - 1;\\n ^\\n'tests/test_checkclass_gaps_round2.py:81: in test_self_initialization_in_initializer_list\n assert 'selfInitialization' in output\nE assert 'selfInitialization' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/self_initialization.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/self_initialization.cpp:9:5: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Config(int s) : size(size), capacity(s * 2) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkbufferoverrun_gaps.py:156: in test_multidimensional_array_out_of_bounds\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexOutOfBounds error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 3, got: [\"/tmp/tmpw7lwro6u/test.c:3:11: error: Array 'arr[3][3][4]' accessed at index arr[3][3][0], which is out of bounds. [arrayIndexOutOfBounds]\", ' arr[3][0] = 1; // First dimension out of bounds', ' ^', \"/tmp/tmpw7lwro6u/test.c:3:15: style: Variable 'arr[3][0]' is assigned a value that is never used. [unreadVariable]\", ' arr[3][0] = 1; // First dimension out of bounds', ' ^', \"/tmp/tmpw7lwro6u/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps_round2.py:315: in test_scanf_ju_modifier_int\n assert \"%ju in format string (no. 1) requires 'uintmax_t *'\" in stderr\nE assert \"%ju in format string (no. 1) requires 'uintmax_t *'\" in ''tests/test_checkio_gaps.py:277: in test_seek_on_append_mode\n assert \"Repositioning operation performed on a file opened in append mode has no effect\" in stderr\nE AssertionError: assert 'Repositioning operation performed on a file opened in append mode has no effect' in ''tests/test_checkautovariables_gaps.py:312: in test_nested_scope_dangling_pointer\n assert 'invalidLifetime' in combined\nE assert 'invalidLifetime' in \"Checking /tmp/tmpz1mo95gl/test.cpp ...\\n/tmp/tmpz1mo95gl/test.cpp:3:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n int* p;\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:8:18: error: Uninitialized variable: p [uninitvar]\\n int z = *p;\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:4:13: note: Assuming condition 'true' is false\\n if (true) {\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:8:18: note: Uninitialized variable: p\\n int z = *p;\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:8:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = *p;\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:2:10: style: The function 'nestedScope' is never used. [unusedFunction]\\n void nestedScope() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkfunctions_gaps.py:87: in test_fmod_zero_divisor\n assert 'fmod(10.5, 0.0)' in result.combined_output\nE AssertionError: assert 'fmod(10.5, 0.0)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_fmod_zero.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_fmod_zero.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_fmod_zero.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_fmod_zero.c ...\\n', stderr='').combined_outputtests/test_checkio_round3.py:289: in test_printf_positional_param_type_mismatch\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in ''tests/test_checkother_part1.py:226: in test_variadic_func_null_ub\n assert 'varFuncNullUB' in output\nE AssertionError: assert 'varFuncNullUB' in 'Checking /tmp/tmph_2w2blwtest.c ...\\n/tmp/tmph_2w2blwtest.c:6:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n'tests/test_checkmemoryleak_gaps.py:131: in test_new_free_mismatch\n assert 'mismatchAllocDealloc' in stderr\nE AssertionError: assert 'mismatchAllocDealloc' in ''tests/test_checksizeof_gaps.py:357: in test_arithmetic_on_void_pointer_increment\n assert 'arithOperationsOnVoidPointer' in stderr\nE AssertionError: assert 'arithOperationsOnVoidPointer' in '/tmp/tmpd4u0izi7/test.c:4:5: error: Uninitialized variable: ptr [uninitvar]\\n ptr++;\\n ^\\n'tests/test_checkclass_gaps_round2.py:93: in test_virtual_function_call_in_constructor_indirect\n assert 'pureVirtualCall' in output\nE AssertionError: assert 'pureVirtualCall' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/virtual_call_in_ctor_indirect.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n'tests/test_checkio_gaps_round2.py:328: in test_scanf_zu_modifier_int\n assert \"%zu in format string (no. 1) requires 'size_t *'\" in stderr\nE assert \"%zu in format string (no. 1) requires 'size_t *'\" in ''tests/test_checkbufferoverrun_gaps.py:176: in test_pointer_arithmetic_out_of_bounds\n assert len(error_lines) == 1, f\"Expected exactly one pointerOutOfBounds error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one pointerOutOfBounds error at line 3, got: [\"/tmp/tmp7dakz82r/test.c:2:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\", ' int arr[10];', ' ^', \"/tmp/tmp7dakz82r/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps.py:289: in test_format_specifier_unsigned_with_signed\n assert \"%u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'\" in stderr\nE assert \"%u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'tests/test_checkautovariables_gaps.py:333: in test_return_pointer_to_array_element\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmpl8r5ur8i/test.c ...\\n/tmp/tmpl8r5ur8i/test.c:2:10: style: The function 'returnArrayElement' is never used. [unusedFunction]\\n int* returnArrayElement() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkfunctions_gaps.py:108: in test_pow_zero_base_negative_exponent\n assert 'pow(0, -1)' in result.combined_output\nE AssertionError: assert 'pow(0, -1)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_pow_zero_negative.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_pow_zero_negative.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_pow_zero_negative.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_pow_zero_negative.c ...\\n', stderr='').combined_outputtests/test_checkio_round3.py:302: in test_printf_positional_param_string_type_mismatch\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in ''tests/test_checkother_part1.py:258: in test_incomplete_array_fill\n assert 'incompleteArrayFill' in output\nE AssertionError: assert 'incompleteArrayFill' in 'Checking /tmp/tmpjgx7r3y0test.c ...\\n'tests/test_checkmemoryleak_gaps.py:151: in test_memory_leak_return_path\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''tests/test_checksizeof_gaps.py:410: in test_sizeof_pointer_memmove\n assert 'pointerSize' in stderr\nE AssertionError: assert 'pointerSize' in '/tmp/tmp1iuwuhft/test.c:6:13: error: Uninitialized variable: dst [uninitvar]\\n memmove(dst, src, sizeof(src));\\n ^\\n/tmp/tmp1iuwuhft/test.c:6:18: error: Uninitialized variable: src [uninitvar]\\n memmove(dst, src, sizeof(src));\\n ^\\n'tests/test_checkclass_gaps_round2.py:105: in test_memset_on_class_with_reference_member\n assert 'memsetClassReference' in output\nE assert 'memsetClassReference' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp:2:2: information: Include file: <cstring> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <cstring>\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp:10:5: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Config(int& r) : ref(r), value(0) {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp:10:17: style: Parameter 'r' can be declared as reference to const [constParameterReference]\\n Config(int& r) : ref(r), value(0) {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp:12:10: style: The function 'reset' is never used. [unusedFunction]\\n void reset() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkbufferoverrun_gaps.py:197: in test_array_index_then_check\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexThenCheck error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexThenCheck error at line 3, got: ['/tmp/tmp9u1r5tdr/test.c:3:9: error: Uninitialized variable: arr [uninitvar]', ' if (arr[i] && i < 10) { // Bad: accessing array before checking bounds', ' ^', \"/tmp/tmp9u1r5tdr/test.c:2:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\", ' int arr[10];', ' ^', \"/tmp/tmp9u1r5tdr/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(int i) {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps_round2.py:341: in test_scanf_td_modifier_int\n assert \"%td in format string (no. 1) requires 'ptrdiff_t *'\" in stderr\nE assert \"%td in format string (no. 1) requires 'ptrdiff_t *'\" in ''tests/test_checkio_gaps.py:301: in test_format_specifier_float_with_int\n assert \"%f in format string (no. 1) requires 'double' but the argument type is 'signed int'\" in stderr\nE assert \"%f in format string (no. 1) requires 'double' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'tests/test_checkfunctions_gaps.py:126: in test_log1p_invalid_argument\n assert 'log1p(-1)' in result.combined_output\nE AssertionError: assert 'log1p(-1)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log1p_invalid.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log1p_invalid.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_log1p_invalid.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log1p_invalid.c ...\\n', stderr='').combined_outputtests/test_checkautovariables_gaps.py:384: in test_return_pointer_to_struct_member\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmpzyirhar4/test.cpp ...\\n/tmp/tmpzyirhar4/test.cpp:4:13: style: struct member 'Point::y' is never used. [unusedStructMember]\\n int y;\\n ^\\n/tmp/tmpzyirhar4/test.cpp:6:10: style: The function 'returnStructMember' is never used. [unusedFunction]\\n int* returnStructMember() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkio_round3.py:315: in test_scanf_scanset_width_too_large\n assert \"Width 20 given in format string (no. 1) is larger than destination buffer\" in stderr\nE AssertionError: assert 'Width 20 given in format string (no. 1) is larger than destination buffer' in ''tests/test_checkmemoryleak_gaps.py:171: in test_file_handle_leak\n assert 'resourceLeak' in stderr\nE AssertionError: assert 'resourceLeak' in ''tests/test_checkother_part1.py:338: in test_clarify_calculation_precedence\n assert normalize_output(normalize_clarify(output)) == normalize_output(normalize_clarify(golden))\nE AssertionError: assert 'int x = a + ... ^' == 'int x = a + ... ^'\nE \nE int x = a + b ? 10 : 20; // clarify calculation - precedence unclear\nE ^\nE int a = 5, b = 3;\nE ^\nE + int a = 5, b = 3;\nE + ^...\nE \nE ...Full output truncated (10 lines hidden), use '-vv' to showtests/test_checkstl_gaps.py:783: in test_vector_clear_invalidates_all\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmp8_dyn0s5/test.cpp:2:2: information: Include file: <vector> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <vector>\\n ^\\n/tmp/tmp8_dyn0s5/test.cpp:8:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = *it;\\n ^\\n/tmp/tmp8_dyn0s5/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkclass_gaps_round2.py:117: in test_this_subtraction_error\n assert 'thisSubtraction' in output\nE assert 'thisSubtraction' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/this_subtraction.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/this_subtraction.cpp:9:9: style: The function 'calculate' is never used. [unusedFunction]\\n int calculate() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkbufferoverrun_gaps.py:219: in test_strncpy_not_null_terminated\n assert len(error_lines) == 1, f\"Expected exactly one terminateStrncpy warning at line 6, got: {lines}\"\nE AssertionError: Expected exactly one terminateStrncpy warning at line 6, got: ['/tmp/tmpxst01jgg/test.c:1:2: information: Include file: <string.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include <string.h>', ' ^', \"/tmp/tmpxst01jgg/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 119/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps.py:314: in test_format_specifier_pointer_with_int\n assert \"%p in format string (no. 1) requires an address but the argument type is 'signed int'\" in stderr\nE assert \"%p in format string (no. 1) requires an address but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'tests/test_checkio_gaps_round2.py:354: in test_scanf_I64d_modifier_int\n assert \"%I64d in format string (no. 1) requires '__int64 *'\" in stderr\nE assert \"%I64d in format string (no. 1) requires '__int64 *'\" in ''tests/test_checkfunctions_gaps.py:150: in test_memset_zero_bytes\n assert result.combined_output == (RESOURCES / 'memset_zero_bytes.golden').read_text()\nE AssertionError: assert 'Checking /wo...ytes\\n ^\\n' == 'Checking /wo...ytes\\n ^\\n'\nE \nE Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_zero_bytes.c ...\nE /workspace/eval/test_resources/test_checkfunctions_gaps/memset_zero_bytes.c:5:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\nE memset(buffer, 0, 0); // Zero bytes\nE ^\nE /workspace/eval/test_resources/test_checkfunctions_gaps/memset_zero_bytes.c:6:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\nE memset(buffer, 'x', 0); // Zero bytes...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to showtests/test_checkautovariables_gaps.py:455: in test_pointer_arithmetic_on_local_array\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmp13axgmfq/test.c ...\\n/tmp/tmp13axgmfq/test.c:2:10: style: The function 'pointerArithmetic' is never used. [unusedFunction]\\n int* pointerArithmetic() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkio_round3.py:329: in test_scanf_scanset_exact_width_boundary\n assert \"Width 10 given in format string (no. 1) is larger than destination buffer\" in stderr\nE AssertionError: assert 'Width 10 given in format string (no. 1) is larger than destination buffer' in ''tests/test_checkmemoryleak_gaps.py:193: in test_file_handle_leak_early_return\n assert 'resourceLeak' in stderr\nE AssertionError: assert 'resourceLeak' in ''tests/test_checkother_part1.py:362: in test_redundant_pointer_operations\n assert 'redundantPointerOp' in output\nE AssertionError: assert 'redundantPointerOp' in 'Checking /tmp/tmpcpiw71qjtest.c ...\\n'tests/test_checkstl_gaps.py:833: in test_vector_at_with_loop_index\n assert \"containerOutOfBounds\" in stderr\nE assert 'containerOutOfBounds' in \"/tmp/tmpddb7l7kg/test.cpp:2:2: information: Include file: <vector> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <vector>\\n ^\\n/tmp/tmpddb7l7kg/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkclass_gaps_round2.py:129: in test_missing_destructor_with_copy_and_operator_eq\n assert 'noDestructor' in output\nE assert 'noDestructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/copy_and_eq_without_destr.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/copy_and_eq_without_destr.cpp:8:5: style: Class 'Buffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Buffer(int s) : data(new char[s]), size(s) {}\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkbufferoverrun_gaps.py:239: in test_negative_array_size_vla\n assert len(error_lines) == 1, f\"Expected exactly one negativeArraySize error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one negativeArraySize error at line 3, got: [\"/tmp/tmpbh316jx4/test.c:4:16: style: Variable 'arr[0]' is assigned a value that is never used. [unreadVariable]\", ' arr[0] = 5;', ' ^', \"/tmp/tmpbh316jx4/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(int n) {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps.py:325: in test_format_specifier_n_without_pointer\n assert \"%n in format string (no. 1) requires 'int *' but the argument type is 'signed int'\" in stderr\nE assert \"%n in format string (no. 1) requires 'int *' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'tests/test_checkio_gaps_round2.py:367: in test_scanf_I64u_modifier_int\n assert \"%I64u in format string (no. 1) requires 'unsigned __int64 *'\" in stderr\nE assert \"%I64u in format string (no. 1) requires 'unsigned __int64 *'\" in ''tests/test_checkfunctions_gaps.py:163: in test_memset_value_out_of_range\n assert 'memsetValueOutOfRange' in result.combined_output\nE AssertionError: assert 'memsetValueOutOfRange' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_value_range.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_value_range.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/memset_value_range.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_value_range.c ...\\n', stderr='').combined_outputtests/test_checkautovariables_gaps.py:476: in test_assign_local_to_reference_parameter\n assert 'autoVariables' in combined\nE assert 'autoVariables' in \"Checking /tmp/tmp9w8rx78m/test.cpp ...\\n/tmp/tmp9w8rx78m/test.cpp:2:31: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer]\\n void assignRefParam(int*& ref) {\\n ^\\n/tmp/tmp9w8rx78m/test.cpp:2:10: style: The function 'assignRefParam' is never used. [unusedFunction]\\n void assignRefParam(int*& ref) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkio_round3.py:342: in test_scanf_scanset_no_width_warning\n assert \"scanf() without field width limits can crash with huge input data\" in stderr\nE AssertionError: assert 'scanf() without field width limits can crash with huge input data' in ''tests/test_checkmemoryleak_gaps.py:210: in test_double_free_same_variable\n assert 'doubleFree' in stderr\nE AssertionError: assert 'doubleFree' in ''tests/test_checkother_part1.py:414: in test_shadow_variable_detection\n assert 'shadowVariable' in output\nE assert 'shadowVariable' in \"Checking /tmp/tmp2ria6gzptest.cpp ...\\n/tmp/tmp2ria6gzptest.cpp:7:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass MyClass {\\n^\\n/tmp/tmp2ria6gzptest.cpp:9:9: style: class member 'MyClass::member' is never used. [unusedStructMember]\\n int member;\\n ^\\n/tmp/tmp2ria6gzptest.cpp:4:16: style: Variable 'global' is assigned a value that is never used. [unreadVariable]\\n int global = 20; // shadows global variable\\n ^\\n/tmp/tmp2ria6gzptest.cpp:12:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = member;\\n ^\\n\"tests/test_checkstl_gaps.py:857: in test_string_cstr_throw_error\n assert \"stlcstrthrow\" in stderr\nE assert 'stlcstrthrow' in \"/tmp/tmp7ox0q046/test.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmp7ox0q046/test.cpp:4:6: style: The function 'test_throw_string_cstr' is never used. [unusedFunction]\\nvoid test_throw_string_cstr() {\\n ^\\n/tmp/tmp7ox0q046/test.cpp:9:6: style: The function 'test_throw_wstring_cstr' is never used. [unusedFunction]\\nvoid test_throw_wstring_cstr() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkclass_gaps_round2.py:154: in test_virtual_destructor_inconclusive_warning\n assert 'virtualDestructor' in output\nE assert 'virtualDestructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/virtual_destructor_inconclusive.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/virtual_destructor_inconclusive.cpp:4:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkio_gaps.py:336: in test_format_specifier_long_modifiers\n assert \"%ld in format string (no. 1) requires 'long' but the argument type is 'signed int'\" in stderr\nE assert \"%ld in format string (no. 1) requires 'long' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'tests/test_checkbufferoverrun_gaps.py:259: in test_negative_memory_allocation_new\n assert len(error_lines) == 1, f\"Expected exactly one negativeMemoryAllocationSize warning at line 3, got: {lines}\"\nE AssertionError: Expected exactly one negativeMemoryAllocationSize warning at line 3, got: ['/tmp/tmp_8tx5fn3/test.cpp:5:1: error: Memory leak: arr [memleak]', '}', '^', \"/tmp/tmp_8tx5fn3/test.cpp:3:14: style: Variable 'arr' can be declared as pointer to const [constVariablePointer]\", ' int* arr = new int[n]; // Negative size for new[]', ' ^', \"/tmp/tmp_8tx5fn3/test.cpp:3:18: style: Variable 'arr' is assigned a value that is never used. [unreadVariable]\", ' int* arr = new int[n]; // Negative size for new[]', ' ^', \"/tmp/tmp_8tx5fn3/test.cpp:3:20: style: Variable 'arr' is allocated memory that is never used. [unusedAllocatedMemory]\", ' int* arr = new int[n]; // Negative size for new[]', ' ^', \"/tmp/tmp_8tx5fn3/test.cpp:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(int n) {', ' ^', 'nofile:0:0: information: Active checkers: 183/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps_round2.py:380: in test_scanf_I32d_modifier_short\n assert \"%I32d in format string (no. 1) requires '__int32 *'\" in stderr\nE assert \"%I32d in format string (no. 1) requires '__int32 *'\" in ''tests/test_checkfunctions_gaps.py:184: in test_memset_float_portability\n assert result.combined_output.count('memsetFloat') == 3\nE AssertionError: assert 0 == 3\nE + where 0 = <built-in method count of str object at 0x7f02d81e2040>('memsetFloat')\nE + where <built-in method count of str object at 0x7f02d81e2040> = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_float.c ...\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_float.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning,portability', '/workspace/eval/test_resources/test_checkfunctions_gaps/memset_float.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_float.c ...\\n', stderr='').combined_outputtests/test_checkio_round3.py:354: in test_printf_n_specifier_missing_address\n assert \"%n in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%n in format string (no. 1) requires 'int *'\" in ''tests/test_checkautovariables_gaps.py:524: in test_return_reference_through_binding\n assert 'returnReference' in combined\nE assert 'returnReference' in \"Checking /tmp/tmpz35h8_9n/test.cpp ...\\n/tmp/tmpz35h8_9n/test.cpp:2:10: style: The function 'getRef' is never used. [unusedFunction]\\n int& getRef() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkmemoryleak_gaps.py:228: in test_use_after_free\n assert 'deallocuse' in stderr\nE AssertionError: assert 'deallocuse' in ''tests/test_checkother_part1.py:502: in test_unreachable_code_after_return\n assert 'unreachableCode' in output\nE assert 'unreachableCode' in \"Checking /tmp/tmp9ijqokfztest.c ...\\n/tmp/tmp9ijqokfztest.c:20:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak]\\n return 0; // unreachable after noreturn function\\n ^\\n/tmp/tmp9ijqokfztest.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 5; // unreachable code\\n ^\\n\"tests/test_checkstl_gaps.py:884: in test_string_cstr_stringstream_pointer_assignment\n assert \"stlcstr\" in stderr\nE assert 'stlcstr' in \"/tmp/tmp2zyd8g7l/test.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmp2zyd8g7l/test.cpp:3:2: information: Include file: <sstream> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <sstream>\\n ^\\n/tmp/tmp2zyd8g7l/test.cpp:8:21: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable]\\n const char* ptr = ss.str().c_str();\\n ^\\n/tmp/tmp2zyd8g7l/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkclass_gaps_round2.py:167: in test_memset_on_class_with_vtable\n assert 'memsetClass' in output\nE assert 'memsetClass' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp:2:2: information: Include file: <cstring> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <cstring>\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp:6:9: style: class member 'Base::value' is never used. [unusedStructMember]\\n int value;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp:8:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp:10:10: style: The function 'reset' is never used. [unusedFunction]\\n void reset() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkio_gaps.py:348: in test_format_specifier_size_t\n assert \"%zu in format string (no. 1) requires 'size_t' but the argument type is 'signed int'\" in stderr\nE assert \"%zu in format string (no. 1) requires 'size_t' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'tests/test_checkbufferoverrun_gaps.py:279: in test_object_index_non_zero\n assert len(error_lines) == 1, f\"Expected exactly one objectIndex error at line 4, got: {lines}\"\nE AssertionError: Expected exactly one objectIndex error at line 4, got: [\"/tmp/tmpqznl6u9y/test.cpp:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps_round2.py:393: in test_scanf_I32d_modifier_long\n assert \"%I32d in format string (no. 1) requires '__int32 *'\" in stderr\nE assert \"%I32d in format string (no. 1) requires '__int32 *'\" in ''tests/test_checkfunctions_gaps.py:202: in test_c99_math_precision_suggestions\n assert result.combined_output.count('unpreciseMathCall') == 4\nE assert 0 == 4\nE + where 0 = <built-in method count of str object at 0x561a685845b0>('unpreciseMathCall')\nE + where <built-in method count of str object at 0x561a685845b0> = \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:5:15: style: Variable 'r1' is assigned a value that is never used. [unreadVariable]\\n double r1 = 1 - erf(x); // Should use erfc\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:6:15: style: Variable 'r2' is assigned a value that is never used. [unreadVariable]\\n double r2 = exp(x) - 1; // Should use expm1\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:7:15: style: Variable 'r3' is assigned a value that is never used. [unreadVariable]\\n double r3 = log(1 + x); // Should use log1p\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:8:15: style: Variable 'r4' is assigned a value that is never used. [unreadVariable]\\n double r4 = log(x + 1); // Should use log1p\\n ^\\n\".count\nE + where \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:5:15: style: Variable 'r1' is assigned a value that is never used. [unreadVariable]\\n double r1 = 1 - erf(x); // Should use erfc\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:6:15: style: Variable 'r2' is assigned a value that is never used. [unreadVariable]\\n double r2 = exp(x) - 1; // Should use expm1\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:7:15: style: Variable 'r3' is assigned a value that is never used. [unreadVariable]\\n double r3 = log(1 + x); // Should use log1p\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:8:15: style: Variable 'r4' is assigned a value that is never used. [unreadVariable]\\n double r4 = log(x + 1); // Should use log1p\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '--std=c99', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:5:15: style: Variable 'r1' is assigned a value that is never used. [unreadVariable]\\n double r1 = 1 - erf(x); // Should use erfc\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:6:15: style: Variable 'r2' is assigned a value that is never used. [unreadVariable]\\n double r2 = exp(x) - 1; // Should use expm1\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:7:15: style: Variable 'r3' is assigned a value that is never used. [unreadVariable]\\n double r3 = log(1 + x); // Should use log1p\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:8:15: style: Variable 'r4' is assigned a value that is never used. [unreadVariable]\\n double r4 = log(x + 1); // Should use log1p\\n ^\\n\").combined_outputtests/test_checkio_round3.py:367: in test_printf_n_specifier_multiple_args_missing_address\n assert \"%n in format string (no. 2) requires 'int *'\" in stderr\nE assert \"%n in format string (no. 2) requires 'int *'\" in ''tests/test_checkmemoryleak_gaps.py:249: in test_conditional_allocation_leak\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''tests/test_checkautovariables_gaps.py:569: in test_assign_local_array_to_parameter\n assert 'autoVariables' in combined\nE assert 'autoVariables' in \"Checking /tmp/tmpy90wilb1/test.c ...\\n/tmp/tmpy90wilb1/test.c:2:10: style: The function 'assignArray' is never used. [unusedFunction]\\n void assignArray(int** ptr) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkother_part1.py:546: in test_comparison_function_identical_variables\n assert 'comparisonFunctionIsAlwaysTrueOrFalse' in output\nE AssertionError: assert 'comparisonFunctionIsAlwaysTrueOrFalse' in 'Checking /tmp/tmpx71x_e5itest.c ...\\n'tests/test_checkstl_gaps.py:908: in test_string_cstr_assignment_performance_string\n assert \"stlcstrAssignment\" in stderr\nE AssertionError: assert 'stlcstrAssignment' in ''tests/test_checkclass_gaps_round2.py:179: in test_memset_on_std_string_member\n assert 'memsetClass' in output\nE assert 'memsetClass' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp:2:2: information: Include file: <cstring> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <cstring>\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp:3:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp:7:17: style: class member 'Config::name' is never used. [unusedStructMember]\\n std::string name;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp:13:10: style: The function 'reset' is never used. [unusedFunction]\\n void reset() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkio_gaps.py:359: in test_format_specifier_char_with_pointer\n assert \"%c in format string (no. 1) requires 'unsigned int' but the argument type is 'char *'\" in stderr\nE assert \"%c in format string (no. 1) requires 'unsigned int' but the argument type is 'char *'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'tests/test_checkio_gaps_round2.py:406: in test_scanf_hhd_modifier_int\n assert \"%hhd in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%hhd in format string (no. 1) requires 'char *'\" in ''tests/test_checkbufferoverrun_gaps.py:321: in test_snprintf_buffer_size_mismatch\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmp4zhb87jq/test.c:1:2: information: Include file: <stdio.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include <stdio.h>', ' ^', '/tmp/tmp4zhb87jq/test.c:5:5: error: Buffer is accessed out of bounds: buf [bufferAccessOutOfBounds]', ' snprintf(buf, 20, \"hello world\"); // Size argument exceeds buffer', ' ^', \"/tmp/tmp4zhb87jq/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkfunctions_gaps.py:220: in test_sqrt_acos_asin_domain_errors\n assert result.combined_output.count('invalidFunctionArg') == 3\nE AssertionError: assert 0 == 3\nE + where 0 = <built-in method count of str object at 0x7f02d81e33f0>('invalidFunctionArg')\nE + where <built-in method count of str object at 0x7f02d81e33f0> = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/invalid_sqrt_acos.c ...\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/invalid_sqrt_acos.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/invalid_sqrt_acos.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/invalid_sqrt_acos.c ...\\n', stderr='').combined_outputtests/test_checkio_round3.py:380: in test_printf_p_specifier_non_pointer_int\n assert \"%p in format string (no. 1) requires an address\" in stderr\nE AssertionError: assert '%p in format string (no. 1) requires an address' in ''tests/test_checkmemoryleak_gaps.py:268: in test_calloc_allocation\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''tests/test_checkother_part1.py:593: in test_unsigned_variable_sign_check\n assert normalize_output(output) == normalize_output(golden)\nE AssertionError: assert 'test.c:4:11:...\\n ^' == 'test.c:4:11:...\\n ^'\nE \nE + test.c:4:11: style: Condition 'x<0' is always false [knownConditionTrueFalse]\nE + if (x < 0) { // unsigned less than zero - always false\nE + ^\nE + test.c:2:22: note: Assignment 'x=5', assigned value is 5\nE + unsigned int x = 5;\nE + ^...\nE \nE ...Full output truncated (18 lines hidden), use '-vv' to showtests/test_checkuninitvar_gaps.py:683: in test_pointer_to_pointer_uninit\n assert 'error: Uninitialized variable: **pp [uninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: **pp [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:6:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:2:6: style: The function 'test_pointer_to_pointer' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:6:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:2:6: style: The function 'test_pointer_to_pointer' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:6:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:2:6: style: The function 'test_pointer_to_pointer' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\").stderrtests/test_checkstl_gaps.py:936: in test_string_cstr_parameter_passing_performance\n assert \"stlcstrParam\" in stderr\nE AssertionError: assert 'stlcstrParam' in ''tests/test_checkio_gaps_round2.py:419: in test_scanf_hhd_modifier_short\n assert \"%hhd in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%hhd in format string (no. 1) requires 'char *'\" in ''tests/test_checkbufferoverrun_gaps.py:343: in test_memcpy_buffer_overrun\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 6, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 6, got: ['/tmp/tmp3l9hw3hv/test.c:1:2: information: Include file: <string.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include <string.h>', ' ^', '/tmp/tmp3l9hw3hv/test.c:6:5: error: Buffer is accessed out of bounds: dest [bufferAccessOutOfBounds]', ' memcpy(dest, src, 20); // Copy 20 bytes to 5-byte buffer', ' ^', \"/tmp/tmp3l9hw3hv/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkclass_gaps_round2.py:227: in test_constructor_variable_assignment_performance\n assert 'useInitializationList' in output\nE AssertionError: assert 'useInitializationList' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/constructor_variable_assignment.cpp ...\\n'tests/test_checkio_gaps.py:415: in test_width_and_precision_type_mismatch\n assert \"%s in format string\" in stderr\nE assert '%s in format string' in '/workspace/eval/test_resources/test_checkio_gaps/complex_format.c:7:5: error: sprintf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n sprintf(buf, \"%d %s %f\", x); // Missing 2 args\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/complex_format.c:8:5: error: snprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n snprintf(buf, sizeof(buf), \"%d %d\", x); // Missing 1 arg\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/complex_format.c:13:5: error: fprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n fprintf(f, \"%d %s\", 42); // Missing 1 arg\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/complex_format.c:33:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*d\", value); // Missing width argument\\n ^\\n'tests/test_checkfunctions_gaps.py:238: in test_alloca_obsolete_c99\n assert 'allocaCalled' in result.combined_output\nE AssertionError: assert 'allocaCalled' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/alloca_obsolete.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/alloca_obsolete.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '--std=c99', '/workspace/eval/test_resources/test_checkfunctions_gaps/alloca_obsolete.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/alloca_obsolete.c ...\\n', stderr='').combined_outputtests/test_checkio_round3.py:393: in test_printf_p_specifier_non_pointer_literal\n assert \"%p in format string (no. 1) requires an address\" in stderr\nE AssertionError: assert '%p in format string (no. 1) requires an address' in ''tests/test_checkmemoryleak_gaps.py:287: in test_strdup_allocation\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''tests/test_checksizeof_gaps.py:461: in test_sizeof_pointer_strncpy\n assert 'pointerSize' in stderr\nE assert 'pointerSize' in '/tmp/tmpa6lorpgt/test.c:6:13: error: Uninitialized variable: dest [uninitvar]\\n strncpy(dest, \"hello\", sizeof(dest));\\n ^\\n'tests/test_checkvaarg_gaps.py:47: in test_va_start_wrong_parameter_first_arg\n assert \"'first' given to va_start()\" in result.combined_output\nE assert \"'first' given to va_start()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, first); // Wrong - should be 'third'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, a); // Wrong - should be 'b'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, z); // Correct - z is the last named parameter\\n ^\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, first); // Wrong - should be 'third'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, a); // Wrong - should be 'b'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, z); // Correct - z is the last named parameter\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, first); // Wrong - should be 'third'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, a); // Wrong - should be 'b'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, z); // Correct - z is the last named parameter\\n ^\\n\").combined_outputtests/test_checkstl_gaps.py:965: in test_string_cstr_return_performance\n assert \"stlcstrReturn\" in stderr\nE assert 'stlcstrReturn' in \"/tmp/tmpynlcebyr/test.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmpynlcebyr/test.cpp:4:13: style: The function 'test_return' is never used. [unusedFunction]\\nstd::string test_return() {\\n ^\\n/tmp/tmpynlcebyr/test.cpp:9:20: style: The function 'test_return_ref' is never used. [unusedFunction]\\nconst std::string& test_return_ref() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkbufferoverrun_gaps.py:367: in test_array_argument_size_mismatch\n assert len(error_lines) == 1, f\"Expected exactly one ctuArrayIndex error at line 2, got: {lines}\"\nE AssertionError: Expected exactly one ctuArrayIndex error at line 2, got: [\"/tmp/tmp8p9ck_6z/test.c:5:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps_round2.py:432: in test_scanf_hhu_modifier_int\n assert \"%hhu in format string (no. 1) requires 'unsigned char *'\" in stderr\nE assert \"%hhu in format string (no. 1) requires 'unsigned char *'\" in ''tests/test_checkclass_gaps_round2.py:263: in test_operator_eq_throws_to_prevent_assignment\n assert 'operatorEqShouldBeLeftUnimplemented' in output\nE AssertionError: assert 'operatorEqShouldBeLeftUnimplemented' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_throws_exception.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_throws_exception.cpp:2:2: information: Include file: <stdexcept> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdexcept>\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n'tests/test_checkio_gaps.py:428: in test_scanf_length_modifier_short\n assert \"%hd in format string (no. 1) requires 'short *' but the argument type is 'signed int *'\" in stderr\nE assert \"%hd in format string (no. 1) requires 'short *' but the argument type is 'signed int *'\" in ''tests/test_checkfunctions_gaps.py:255: in test_combined_math_domain_errors\n assert result.combined_output.count('invalidFunctionArg') >= 5\nE assert 4 >= 5\nE + where 4 = <built-in method count of str object at 0x561a683d9800>('invalidFunctionArg')\nE + where <built-in method count of str object at 0x561a683d9800> = \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:5:20: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double a = log(-5);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:6:21: error: Invalid sqrt() argument nr 1. The value is -2 but the valid values are '0.0:'. [invalidFunctionArg]\\n double b = sqrt(-2);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:11:21: error: Invalid acos() argument nr 1. The value is 3 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double g = acos(3);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:12:21: error: Invalid asin() argument nr 1. The value is -2 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double h = asin(-2);\\n ^\\n\".count\nE + where \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:5:20: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double a = log(-5);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:6:21: error: Invalid sqrt() argument nr 1. The value is -2 but the valid values are '0.0:'. [invalidFunctionArg]\\n double b = sqrt(-2);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:11:21: error: Invalid acos() argument nr 1. The value is 3 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double g = acos(3);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:12:21: error: Invalid asin() argument nr 1. The value is -2 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double h = asin(-2);\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:5:20: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double a = log(-5);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:6:21: error: Invalid sqrt() argument nr 1. The value is -2 but the valid values are '0.0:'. [invalidFunctionArg]\\n double b = sqrt(-2);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:11:21: error: Invalid acos() argument nr 1. The value is 3 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double g = acos(3);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:12:21: error: Invalid asin() argument nr 1. The value is -2 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double h = asin(-2);\\n ^\\n\").combined_outputtests/test_checkio_round3.py:406: in test_printf_hh_modifier_short_not_char\n assert \"%hhd in format string (no. 1) requires 'char'\" in stderr\nE assert \"%hhd in format string (no. 1) requires 'char'\" in ''tests/test_checkmemoryleak_gaps.py:333: in test_class_member_not_freed_in_destructor\n assert 'unsafeClassCanLeak' in stderr\nE AssertionError: assert 'unsafeClassCanLeak' in ''tests/test_checksizeof_gaps.py:493: in test_sizeof_calculation_bitwise_xor\n assert 'sizeofCalculation' in stderr\nE AssertionError: assert 'sizeofCalculation' in ''tests/test_checkvaarg_gaps.py:73: in test_va_start_reference_parameter\n assert \"Using reference 'ref_param' as parameter for va_start()\" in result.combined_output\nE assert \"Using reference 'ref_param' as parameter for va_start()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, ref_param); // Error - reference parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, normal_param); // OK - normal parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:3:6: style: The function 'func_ref' is never used. [unusedFunction]\\nvoid func_ref(int& ref_param, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:9:6: style: The function 'func_normal' is never used. [unusedFunction]\\nvoid func_normal(int normal_param, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, ref_param); // Error - reference parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, normal_param); // OK - normal parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:3:6: style: The function 'func_ref' is never used. [unusedFunction]\\nvoid func_ref(int& ref_param, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:9:6: style: The function 'func_normal' is never used. [unusedFunction]\\nvoid func_normal(int normal_param, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, ref_param); // Error - reference parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, normal_param); // OK - normal parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:3:6: style: The function 'func_ref' is never used. [unusedFunction]\\nvoid func_ref(int& ref_param, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:9:6: style: The function 'func_normal' is never used. [unusedFunction]\\nvoid func_normal(int normal_param, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").combined_outputtests/test_checkstl_gaps.py:991: in test_string_find_inefficient_comparison\n assert \"stlIfStrFind\" in stderr\nE AssertionError: assert 'stlIfStrFind' in ''tests/test_checkio_gaps_round2.py:445: in test_scanf_lld_modifier_int\n assert \"%lld in format string (no. 1) requires 'long long *'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long *'\" in ''tests/test_checkbufferoverrun_gaps.py:387: in test_string_literal_out_of_bounds\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexOutOfBounds error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 3, got: [\"/tmp/tmptotpedvm/test.c:3:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\", ' char c = str[10]; // Beyond string literal', ' ^', \"/tmp/tmptotpedvm/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkclass_gaps_round2.py:288: in test_virtual_destructor_with_actual_deletion\n assert 'virtualDestructor' in output\nE assert 'virtualDestructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/base_class_deleted_through_derived.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/base_class_deleted_through_derived.cpp:4:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/base_class_deleted_through_derived.cpp:17:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkio_gaps.py:439: in test_scanf_length_modifier_long\n assert \"%ld in format string (no. 1) requires 'long *' but the argument type is 'signed int *'\" in stderr\nE assert \"%ld in format string (no. 1) requires 'long *' but the argument type is 'signed int *'\" in ''tests/test_checkfunctions_gaps.py:281: in test_memset_boundary_values\n assert result.combined_output.count('memsetValueOutOfRange') == 2 # 256 and -129\nE AssertionError: assert 0 == 2\nE + where 0 = <built-in method count of str object at 0x561a6835a770>('memsetValueOutOfRange')\nE + where <built-in method count of str object at 0x561a6835a770> = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:16:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf1, 0, 0); // Zero bytes\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:17:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 0, 0); // Zero bytes for wmemset\\n ^\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:16:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf1, 0, 0); // Zero bytes\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:17:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 0, 0); // Zero bytes for wmemset\\n ^\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c ...\\n', stderr='/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:16:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf1, 0, 0); // Zero bytes\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:17:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 0, 0); // Zero bytes for wmemset\\n ^\\n').combined_outputtests/test_checkio_round3.py:419: in test_printf_hh_modifier_int_not_char\n assert \"%hhd in format string (no. 1) requires 'char'\" in stderr\nE assert \"%hhd in format string (no. 1) requires 'char'\" in ''tests/test_checkmemoryleak_gaps.py:354: in test_class_member_allocated_in_public_function\n assert 'publicAllocationError' in stderr\nE AssertionError: assert 'publicAllocationError' in ''/workspace/eval/tests/test_checkmemoryleak_gaps.py:358: gold-env-limitation: requires posix.cfg library not available in eval environmenttests/test_checkstl_gaps.py:30: in test_iterator_erase_invalidation_map\n assert \"eraseDereference\" in stderr\nE assert 'eraseDereference' in \"/tmp/tmp4rb2fjph/test.cpp:2:2: information: Include file: <map> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <map>\\n ^\\n/tmp/tmp4rb2fjph/test.cpp:4:6: style: The function 'test_map_erase_invalidation' is never used. [unusedFunction]\\nvoid test_map_erase_invalidation() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkvaarg_gaps.py:95: in test_va_end_missing_basic\n assert \"va_list 'args' was opened but not closed by va_end()\" in result.combined_output\nE assert \"va_list 'args' was opened but not closed by va_end()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:3:6: style: The function 'func_missing_va_end' is never used. [unusedFunction]\\nvoid func_missing_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:9:6: style: The function 'func_with_va_end' is never used. [unusedFunction]\\nvoid func_with_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:15:6: style: The function 'func_return_without_va_end' is never used. [unusedFunction]\\nvoid func_return_without_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:3:6: style: The function 'func_missing_va_end' is never used. [unusedFunction]\\nvoid func_missing_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:9:6: style: The function 'func_with_va_end' is never used. [unusedFunction]\\nvoid func_with_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:15:6: style: The function 'func_return_without_va_end' is never used. [unusedFunction]\\nvoid func_return_without_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:3:6: style: The function 'func_missing_va_end' is never used. [unusedFunction]\\nvoid func_missing_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:9:6: style: The function 'func_with_va_end' is never used. [unusedFunction]\\nvoid func_with_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:15:6: style: The function 'func_return_without_va_end' is never used. [unusedFunction]\\nvoid func_return_without_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").combined_outputtests/test_checkstl_gaps.py:1019: in test_use_stl_algorithm_any_of_pattern\n assert \"useStlAlgorithm\" in stderr\nE AssertionError: assert 'useStlAlgorithm' in ''tests/test_checkbufferoverrun_gaps.py:410: in test_struct_array_member_out_of_bounds\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexOutOfBounds error at line 7, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 7, got: ['/tmp/tmpm2k3s_51/test.cpp:7:5: error: Uninitialized struct member: s.arr [uninitStructMember]', ' s.arr[10] = 1; // Access array member out of bounds', ' ^', \"/tmp/tmpm2k3s_51/test.cpp:7:15: style: Variable 's.arr[10]' is assigned a value that is never used. [unreadVariable]\", ' s.arr[10] = 1; // Access array member out of bounds', ' ^', \"/tmp/tmpm2k3s_51/test.cpp:6:7: style: Variable 's' is not assigned a value. [unassignedVariable]\", ' S s;', ' ^', \"/tmp/tmpm2k3s_51/test.cpp:5:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps_round2.py:458: in test_scanf_lld_modifier_long\n assert \"%lld in format string (no. 1) requires 'long long *'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long *'\" in ''tests/test_checkio_gaps.py:450: in test_scanf_length_modifier_long_long\n assert \"%lld in format string (no. 1) requires 'long long *' but the argument type is 'signed long *'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long *' but the argument type is 'signed long *'\" in ''tests/test_checkfunctions_gaps.py:301: in test_math_with_const_variables\n assert result.combined_output.count('invalidFunctionArg') == 3\nE AssertionError: assert 0 == 3\nE + where 0 = <built-in method count of str object at 0x7f02d8ac0270>('invalidFunctionArg')\nE + where <built-in method count of str object at 0x7f02d8ac0270> = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_variables.c ...\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_variables.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_variables.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_variables.c ...\\n', stderr='').combined_outputtests/test_clangimport_error_handling.py:360: in test_clangimport_extern_variables\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkio_round3.py:432: in test_printf_hh_modifier_unsigned_int_not_uchar\n assert \"%hhu in format string (no. 1) requires 'unsigned char'\" in stderr\nE assert \"%hhu in format string (no. 1) requires 'unsigned char'\" in ''tests/test_clangimport_advanced.py:67: in test_clangimport_do_while\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkstl_gaps.py:55: in test_iterator_erase_invalidation_vector\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmp1xnlik53/test.cpp:2:2: information: Include file: <vector> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <vector>\\n ^\\n/tmp/tmp1xnlik53/test.cpp:4:6: style: The function 'test_vector_erase_invalidation' is never used. [unusedFunction]\\nvoid test_vector_erase_invalidation() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkvaarg_gaps.py:116: in test_va_list_used_before_started\n assert \"va_list 'args' used before va_start() was called\" in result.combined_output\nE assert \"va_list 'args' used before va_start() was called\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:20: error: Uninitialized variable: args [uninitvar]\\n int x = va_arg(args, int); // Error - used before va_start\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:12:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:19:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used before va_start\\n ...ace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:21:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used after va_end\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:18:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:3:6: style: The function 'func_use_before_start' is never used. [unusedFunction]\\nvoid func_use_before_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:10:6: style: The function 'func_correct_order' is never used. [unusedFunction]\\nvoid func_correct_order(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:17:6: style: The function 'func_use_after_va_end' is never used. [unusedFunction]\\nvoid func_use_after_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:20: error: Uninitialized variable: args [uninitvar]\\n int x = va_arg(args, int); // Error - used before va_start\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:12:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:19:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used before va_start\\n ...ace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:21:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used after va_end\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:18:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:3:6: style: The function 'func_use_before_start' is never used. [unusedFunction]\\nvoid func_use_before_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:10:6: style: The function 'func_correct_order' is never used. [unusedFunction]\\nvoid func_correct_order(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:17:6: style: The function 'func_use_after_va_end' is never used. [unusedFunction]\\nvoid func_use_after_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:20: error: Uninitialized variable: args [uninitvar]\\n int x = va_arg(args, int); // Error - used before va_start\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:12:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:19:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_be...ce/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:21:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used after va_end\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:18:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:3:6: style: The function 'func_use_before_start' is never used. [unusedFunction]\\nvoid func_use_before_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:10:6: style: The function 'func_correct_order' is never used. [unusedFunction]\\nvoid func_correct_order(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:17:6: style: The function 'func_use_after_va_end' is never used. [unusedFunction]\\nvoid func_use_after_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").combined_outputtests/test_checkstl_gaps.py:1045: in test_use_stl_algorithm_accumulate_pattern\n assert \"useStlAlgorithm\" in stderr\nE AssertionError: assert 'useStlAlgorithm' in ''tests/test_checkbufferoverrun_gaps.py:431: in test_strcat_buffer_overrun\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmp2jbwv769/test.c:1:2: information: Include file: <string.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include <string.h>', ' ^', '/tmp/tmp2jbwv769/test.c:5:5: error: Buffer is accessed out of bounds: dest [bufferAccessOutOfBounds]', ' strcat(dest, \"this is a very long string\"); // Overflows dest', ' ^', \"/tmp/tmp2jbwv769/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps_round2.py:471: in test_scanf_Lf_modifier_double\n assert \"%Lf in format string (no. 1) requires 'long double *'\" in stderr\nE assert \"%Lf in format string (no. 1) requires 'long double *'\" in ''tests/test_checkio_gaps.py:461: in test_scanf_length_modifier_size_t\n assert \"%zd in format string (no. 1) requires 'ssize_t *' but the argument type is 'signed int *'\" in stderr\nE assert \"%zd in format string (no. 1) requires 'ssize_t *' but the argument type is 'signed int *'\" in ''tests/test_checkfunctions_gaps.py:325: in test_ignored_return_values\n assert 'leakReturnValNotUsed' in result.combined_output\nE AssertionError: assert 'leakReturnValNotUsed' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:8:5: warning: Return value of function malloc() is not used. [ignoredReturnValue]\\n malloc(100); // Returns pointer (memory leak if not stored)\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:9:5: warning: Return value of function realloc() is not used. [ignoredReturnValue]\\n realloc(NULL, 100); // Returns pointer\\n ^\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:8:5: warning: Return value of function malloc() is not used. [ignoredReturnValue]\\n malloc(100); // Returns pointer (memory leak if not stored)\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:9:5: warning: Return value of function realloc() is not used. [ignoredReturnValue]\\n realloc(NULL, 100); // Returns pointer\\n ^\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c ...\\n', stderr='/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:8:5: warning: Return value of function malloc() is not used. [ignoredReturnValue]\\n malloc(100); // Returns pointer (memory leak if not stored)\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:9:5: warning: Return value of function realloc() is not used. [ignoredReturnValue]\\n realloc(NULL, 100); // Returns pointer\\n ^\\n').combined_outputtests/test_checkio_round3.py:445: in test_printf_ll_modifier_long_not_long_long\n assert \"%lld in format string (no. 1) requires 'long long'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long'\" in ''tests/test_clangimport_error_handling.py:395: in test_clangimport_const_variables\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkstl_gaps.py:78: in test_vector_out_of_bounds_index\n assert \"containerOutOfBounds\" in stderr\nE assert 'containerOutOfBounds' in \"/tmp/tmpw8bbar_l/test.cpp:2:2: information: Include file: <vector> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <vector>\\n ^\\n/tmp/tmpw8bbar_l/test.cpp:6:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = vec[10];\\n ^\\n/tmp/tmpw8bbar_l/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkvaarg_gaps.py:140: in test_va_start_subsequent_calls\n assert \"va_start() or va_copy() called subsequently on 'args'\" in result.combined_output\nE assert \"va_start() or va_copy() called subsequently on 'args'\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:12:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:13:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK - va_copy from va_start'd list\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:20:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_c...;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:11:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:19:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:3:6: style: The function 'func_double_va_start' is never used. [unusedFunction]\\nvoid func_double_va_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:10:6: style: The function 'func_va_start_then_va_copy' is never used. [unusedFunction]\\nvoid func_va_start_then_va_copy(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:18:6: style: The function 'func_va_copy_on_started' is never used. [unusedFunction]\\nvoid func_va_copy_on_started(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:12:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:13:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK - va_copy from va_start'd list\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:20:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_c...;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:11:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:19:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:3:6: style: The function 'func_double_va_start' is never used. [unusedFunction]\\nvoid func_double_va_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:10:6: style: The function 'func_va_start_then_va_copy' is never used. [unusedFunction]\\nvoid func_va_start_then_va_copy(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:18:6: style: The function 'func_va_copy_on_started' is never used. [unusedFunction]\\nvoid func_va_copy_on_started(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:12:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:13:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK - va_copy from va_start'd list\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:20...\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:11:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:19:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:3:6: style: The function 'func_double_va_start' is never used. [unusedFunction]\\nvoid func_double_va_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:10:6: style: The function 'func_va_start_then_va_copy' is never used. [unusedFunction]\\nvoid func_va_start_then_va_copy(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:18:6: style: The function 'func_va_copy_on_started' is never used. [unusedFunction]\\nvoid func_va_copy_on_started(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").combined_outputtests/test_clangimport_advanced.py:103: in test_clangimport_break_continue\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkstl_gaps.py:1072: in test_use_stl_algorithm_max_element_pattern\n assert \"useStlAlgorithm\" in stderr\nE AssertionError: assert 'useStlAlgorithm' in ''tests/test_checkbufferoverrun_gaps.py:453: in test_conditional_negative_index\n assert len(error_lines) == 1, f\"Expected exactly one negativeIndex warning at line 6, got: {lines}\"\nE AssertionError: Expected exactly one negativeIndex warning at line 6, got: [\"/tmp/tmpn2j1lysa/test.c:4:16: style: Variable 'arr[n]' is assigned a value that is never used. [unreadVariable]\", ' arr[n] = 1; // Safe access', ' ^', \"/tmp/tmpn2j1lysa/test.c:6:12: style: Variable 'arr[n]' is assigned a value that is never used. [unreadVariable]\", ' arr[n] = 2; // Potentially unsafe - n could be negative', ' ^', \"/tmp/tmpn2j1lysa/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(int n) {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps_round2.py:484: in test_ftell_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE AssertionError: assert '[useClosedFile]' in ''tests/test_checkio_gaps.py:472: in test_scanf_unsigned_length_modifiers\n assert \"%hu in format string (no. 1) requires 'unsigned short *' but the argument type is 'signed int *'\" in stderr\nE assert \"%hu in format string (no. 1) requires 'unsigned short *' but the argument type is 'signed int *'\" in ''tests/test_checktype_gaps.py:523: in test_shift_longlong_type\n assert \"shiftTooManyBits\" in output\nE assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_longlong.c ...\\n/workspace/eval/test_resources/test_checktype/shift_longlong.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkio_round3.py:458: in test_printf_ll_modifier_int_not_long_long\n assert \"%lld in format string (no. 1) requires 'long long'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long'\" in ''tests/test_clangimport_error_handling.py:429: in test_clangimport_volatile\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkstl_gaps.py:101: in test_vector_out_of_bounds_at\n assert \"containerOutOfBounds\" in stderr\nE assert 'containerOutOfBounds' in \"/tmp/tmpvajxr7d2/test.cpp:2:2: information: Include file: <vector> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <vector>\\n ^\\n/tmp/tmpvajxr7d2/test.cpp:6:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = vec.at(10);\\n ^\\n/tmp/tmpvajxr7d2/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkvaarg_gaps.py:161: in test_va_copy_source_not_started\n assert \"va_list 'args1' used before va_start() was called\" in result.combined_output\nE assert \"va_list 'args1' used before va_start() was called\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:20: error: Uninitialized variable: args1 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:11:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:12:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK\\n ^\\n/workspace/eval/test_resources/t... args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:4:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:13: style: Variable 'args1' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:3:6: style: The function 'func_va_copy_not_started' is never used. [unusedFunction]\\nvoid func_va_copy_not_started(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:9:6: style: The function 'func_va_copy_correct' is never used. [unusedFunction]\\nvoid func_va_copy_correct(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:20: error: Uninitialized variable: args1 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:11:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:12:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK\\n ^\\n/workspace/eval/test_resources/t... args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:4:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:13: style: Variable 'args1' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:3:6: style: The function 'func_va_copy_not_started' is never used. [unusedFunction]\\nvoid func_va_copy_not_started(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:9:6: style: The function 'func_va_copy_correct' is never used. [unusedFunction]\\nvoid func_va_copy_correct(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:20: error: Uninitialized variable: args1 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:11:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_g...args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:4:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:13: style: Variable 'args1' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:3:6: style: The function 'func_va_copy_not_started' is never used. [unusedFunction]\\nvoid func_va_copy_not_started(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:9:6: style: The function 'func_va_copy_correct' is never used. [unusedFunction]\\nvoid func_va_copy_correct(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").combined_outputtests/test_clangimport_advanced.py:139: in test_clangimport_cpp_new_delete\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkstl_gaps.py:1096: in test_find_insert_optimization\n assert \"stlFindInsert\" in stderr\nE AssertionError: assert 'stlFindInsert' in ''tests/test_checkbufferoverrun_gaps.py:476: in test_sprintf_integer_overflow\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 6, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 6, got: ['/tmp/tmpwltv0aio/test.c:1:2: information: Include file: <stdio.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include <stdio.h>', ' ^', \"/tmp/tmpwltv0aio/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps_round2.py:495: in test_fseek_on_append_mode\n assert \"[seekOnAppendedFile]\" in stderr\nE AssertionError: assert '[seekOnAppendedFile]' in ''tests/test_checkio_gaps_round2.py:27: in test_fread_without_positioning\n assert \"[IOWithoutPositioning]\" in stderr\nE AssertionError: assert '[IOWithoutPositioning]' in ''tests/test_checktype_gaps.py:542: in test_shift_bool_type\n assert \"shiftTooManyBits\" in output\nE assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_bool.cpp ...\\n/workspace/eval/test_resources/test_checktype/shift_bool.cpp:3:12: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n bool y = x << 35;\\n ^\\n/workspace/eval/test_resources/test_checktype/shift_bool.cpp:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkio_round3.py:471: in test_printf_ll_modifier_unsigned_int_not_ullong\n assert \"%llu in format string (no. 1) requires 'unsigned long long'\" in stderr\nE assert \"%llu in format string (no. 1) requires 'unsigned long long'\" in ''tests/test_clangimport_error_handling.py:461: in test_clangimport_inline_function\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkstl_gaps.py:124: in test_string_out_of_bounds\n assert stderr.count(\"containerOutOfBounds\") == 2\nE assert 0 == 2\nE + where 0 = <built-in method count of str object at 0x55fd297a85a0>('containerOutOfBounds')\nE + where <built-in method count of str object at 0x55fd297a85a0> = \"/tmp/tmpsa392fjp/test.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmpsa392fjp/test.cpp:6:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n char c = str[10];\\n ^\\n/tmp/tmpsa392fjp/test.cpp:7:12: style: Variable 'd' is assigned a value that is never used. [unreadVariable]\\n char d = str.at(10);\\n ^\\n/tmp/tmpsa392fjp/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\".counttests/test_checkvaarg_gaps.py:181: in test_va_list_as_function_argument\n assert \"va_list 'args' used before va_start() was called\" in result.combined_output\nE assert \"va_list 'args' used before va_start() was called\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:9:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:16:12: error: Uninitialized variable: args [uninitvar]\\n helper(args); // Should be OK per the code - args passed as argument\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // OK - args passed as argument is considered started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:8:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:7:6: style: The function 'func_pass_va_list' is never used. [unusedFunction]\\nvoid func_pass_va_list(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:14:6: style: The function 'func_pass_uninitialized_va_list' is never used. [unusedFunction]\\nvoid func_pass_uninitialized_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:9:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:16:12: error: Uninitialized variable: args [uninitvar]\\n helper(args); // Should be OK per the code - args passed as argument\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // OK - args passed as argument is considered started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:8:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:7:6: style: The function 'func_pass_va_list' is never used. [unusedFunction]\\nvoid func_pass_va_list(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:14:6: style: The function 'func_pass_uninitialized_va_list' is never used. [unusedFunction]\\nvoid func_pass_uninitialized_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:9:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:16:12: error: Uninitialized variable: args [uninitvar]\\n helper(args); // Should be OK per the code - args passed as argument\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // OK - args passed as argument is considered started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:8:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:7:6: style: The function 'func_pass_va_list' is never used. [unusedFunction]\\nvoid func_pass_va_list(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:14:6: style: The function 'func_pass_uninitialized_va_list' is never used. [unusedFunction]\\nvoid func_pass_uninitialized_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").combined_outputtests/test_clangimport_advanced.py:172: in test_clangimport_cpp_throw_catch\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkstl_gaps.py:1119: in test_negative_container_index_literal\n assert \"negativeContainerIndex\" in stderr\nE AssertionError: assert 'negativeContainerIndex' in ''tests/test_checkbufferoverrun_gaps.py:497: in test_strncat_buffer_overrun\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmpcu4su71f/test.c:1:2: information: Include file: <string.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include <string.h>', ' ^', '/tmp/tmpcu4su71f/test.c:5:5: error: Buffer is accessed out of bounds: dest [bufferAccessOutOfBounds]', ' strncat(dest, \"hello world\", 15); // Trying to append 15 chars to 10-byte buffer', ' ^', \"/tmp/tmpcu4su71f/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps_round2.py:506: in test_fseek_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE AssertionError: assert '[useClosedFile]' in ''tests/test_checkio_gaps_round2.py:39: in test_fwrite_without_positioning\n assert \"[IOWithoutPositioning]\" in stderr\nE AssertionError: assert '[IOWithoutPositioning]' in ''tests/test_checkuninitvar_gaps.py:86: in test_array_element_uninitialized\n assert 'error: Uninitialized variable: arr [legacyUninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: arr [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:13: error: Uninitialized variable: arr [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:3:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:2:6: style: The function 'test_array_element' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:13: error: Uninitialized variable: arr [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:3:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:2:6: style: The function 'test_array_element' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:13: error: Uninitialized variable: arr [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:3:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:2:6: style: The function 'test_array_element' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\").stderrtests/test_checkstring_gaps.py:324: in test_wide_character_string_compare\n assert \"literalWithCharPtrCompare\" in stderr\nE assert 'literalWithCharPtrCompare' in '/tmp/tmpzahth9w1/test.c:5:9: warning: Unnecessary comparison of static strings. [staticStringCompare]\\n if (wcscmp(L\"hello\", L\"hello\") == 0) {\\n ^\\n'tests/test_checkstl_gaps.py:147: in test_array_out_of_bounds\n assert \"containerOutOfBounds\" in stderr\nE assert 'containerOutOfBounds' in \"/tmp/tmpyx85xlb5/test.cpp:2:2: information: Include file: <array> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <array>\\n ^\\n/tmp/tmpyx85xlb5/test.cpp:6:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = arr[10];\\n ^\\n/tmp/tmpyx85xlb5/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkvaarg_gaps.py:198: in test_va_list_with_goto\n assert \"va_list 'args' was opened but not closed by va_end()\" in result.combined_output\nE assert \"va_list 'args' was opened but not closed by va_end()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:13:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:12:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:3:6: style: The function 'func_with_goto' is never used. [unusedFunction]\\nvoid func_with_goto(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:11:6: style: The function 'func_normal_missing' is never used. [unusedFunction]\\nvoid func_normal_missing(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:13:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:12:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:3:6: style: The function 'func_with_goto' is never used. [unusedFunction]\\nvoid func_with_goto(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:11:6: style: The function 'func_normal_missing' is never used. [unusedFunction]\\nvoid func_normal_missing(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:13:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:12:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:3:6: style: The function 'func_with_goto' is never used. [unusedFunction]\\nvoid func_with_goto(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:11:6: style: The function 'func_normal_missing' is never used. [unusedFunction]\\nvoid func_normal_missing(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").combined_outputtests/test_clangimport_error_handling.py:498: in test_clangimport_restrict_pointer\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_clangimport_advanced.py:208: in test_clangimport_cpp_this_pointer\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkstl_gaps.py:1142: in test_negative_container_index_variable\n assert \"negativeContainerIndex\" in stderr\nE AssertionError: assert 'negativeContainerIndex' in ''tests/test_checkbufferoverrun_gaps.py:518: in test_fgets_size_exceeds_buffer\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmpi4834zpp/test.c:1:2: information: Include file: <stdio.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include <stdio.h>', ' ^', '/tmp/tmpi4834zpp/test.c:5:5: error: Buffer is accessed out of bounds: buf [bufferAccessOutOfBounds]', ' fgets(buf, 20, f); // Size argument exceeds buffer', ' ^', \"/tmp/tmpi4834zpp/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(FILE *f) {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps_round2.py:517: in test_fflush_on_stdin\n assert \"[fflushOnInputStream]\" in stderr\nE AssertionError: assert '[fflushOnInputStream]' in ''tests/test_checkuninitvar_gaps.py:129: in test_conditional_initialization_always_taken\n assert 'Uninitialized variable: x' not in result.stderr\nE AssertionError: assert 'Uninitialized variable: x' not in '/tmp/pytest...ersReport]\\n'\nE \nE 'Uninitialized variable: x' is contained here:\nE /tmp/pytest-of-root/pytest-0/popen-gw3/test_conditional_initializatio2/test.c:7:13: error: Uninitialized variable: x [uninitvar]\nE ? +++++++++++++++++++++++++\nE /tmp/pytest-of-root/pytest-0/popen-gw3/test_conditional_initializatio2/test.c:7:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\nE /tmp/pytest-of-root/pytest-0/popen-gw3/test_conditional_initializatio2/test.c:2:6: style: The function 'test_conditiona...\nE \nE ...Full output truncated (2 lines hidden), use '-vv' to showtests/test_checkstring_gaps.py:352: in test_memcmp_and_wmemcmp_literals\n assert stderr.count(\"staticStringCompare\") == 2\nE assert 1 == 2\nE + where 1 = <built-in method count of str object at 0x7febc52023f0>('staticStringCompare')\nE + where <built-in method count of str object at 0x7febc52023f0> = '/tmp/tmpo1vb4xsn/test.c:5:9: warning: Unnecessary comparison of static strings. [staticStringCompare]\\n if (memcmp(\"test\", \"test\", 4) == 0) {\\n ^\\n'.counttests/test_checkstl_gaps.py:169: in test_negative_container_index\n assert \"negativeContainerIndex\" in stderr\nE assert 'negativeContainerIndex' in \"/tmp/tmpxq49jaxg/test.cpp:2:2: information: Include file: <vector> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <vector>\\n ^\\n/tmp/tmpxq49jaxg/test.cpp:6:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = vec[-1];\\n ^\\n/tmp/tmpxq49jaxg/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkvaarg_gaps.py:218: in test_va_list_with_break_in_loop\n assert 'va_end_missing' in result.combined_output\nE assert 'va_end_missing' in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:16:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:3:6: style: The function 'func_with_break_in_loop' is never used. [unusedFunction]\\nvoid func_with_break_in_loop(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:14:6: style: The function 'func_break_missing_va_end' is never used. [unusedFunction]\\nvoid func_break_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:16:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:3:6: style: The function 'func_with_break_in_loop' is never used. [unusedFunction]\\nvoid func_with_break_in_loop(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:14:6: style: The function 'func_break_missing_va_end' is never used. [unusedFunction]\\nvoid func_break_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:16:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:3:6: style: The function 'func_with_break_in_loop' is never used. [unusedFunction]\\nvoid func_with_break_in_loop(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:14:6: style: The function 'func_break_missing_va_end' is never used. [unusedFunction]\\nvoid func_break_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").combined_outputtests/test_errorlogger.py:281: in test_template_predefined_gcc\n assert len(lines) == 1\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkstl_gaps.py:1165: in test_dereference_end_iterator\n assert \"derefInvalidIterator\" in stderr\nE AssertionError: assert 'derefInvalidIterator' in ''tests/test_clangimport_advanced.py:247: in test_clangimport_cpp_constructors\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_cmdlineparser.py:182: in test_check_version_mismatch\n assert result.stdout == (RESOURCES / \"error_check_version_mismatch.golden\").read_text()\nE assert 'cppcheck: er...g_version\".\\n' == 'cppcheck: er.... Aborting.\\n'\nE \nE - cppcheck: error: --check-version check failed. Aborting.\nE + cppcheck: error: unrecognized command line option: \"--check-version=wrong_version\".tests/test_checkbufferoverrun_gaps.py:537: in test_multidimensional_second_dimension_overflow\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexOutOfBounds error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 3, got: [\"/tmp/tmpqbqp6obr/test.c:3:11: error: Array 'arr[2][3][4]' accessed at index arr[2][2][5], which is out of bounds. [arrayIndexOutOfBounds]\", ' arr[2][5] = 1; // Second dimension out of bounds', ' ^', \"/tmp/tmpqbqp6obr/test.c:3:15: style: Variable 'arr[2][5]' is assigned a value that is never used. [unreadVariable]\", ' arr[2][5] = 1; // Second dimension out of bounds', ' ^', \"/tmp/tmpqbqp6obr/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkio_gaps_round2.py:529: in test_fflush_on_read_mode_file\n assert \"[fflushOnInputStream]\" in stderr\nE AssertionError: assert '[fflushOnInputStream]' in ''tests/test_checkuninitvar_gaps.py:166: in test_malloc_uninitialized_data\n assert 'error: Memory is allocated but not initialized: p [uninitdata]' in result.stderr\nE assert 'error: Memory is allocated but not initialized: p [uninitdata]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:3:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:2:6: style: The function 'test_malloc' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:3:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:2:6: style: The function 'test_malloc' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:3:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:2:6: style: The function 'test_malloc' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\").stderrtests/test_checkstring_gaps.py:400: in test_snprintf_overlapping_buffers\n assert \"sprintfOverlappingData\" in stderr\nE AssertionError: assert 'sprintfOverlappingData' in ''tests/test_checkstl_gaps.py:193: in test_cstr_on_temporary_string\n assert \"danglingTemporaryLifetime\" in stderr\nE assert 'danglingTemporaryLifetime' in \"/tmp/tmpie_hr1ce/test.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmpie_hr1ce/test.cpp:3:2: information: Include file: <cstring> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <cstring>\\n ^\\n/tmp/tmpie_hr1ce/test.cpp:7:5: warning: Return value of function strlen() is not used. [ignoredReturnValue]\\n strlen(ptr);\\n ^\\n/tmp/tmpie_hr1ce/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkvaarg_gaps.py:237: in test_va_list_with_throw_statement\n assert 'va_end_missing' in result.combined_output\nE assert 'va_end_missing' in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:3:6: style: The function 'func_with_throw' is never used. [unusedFunction]\\nvoid func_with_throw(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:9:6: style: The function 'func_normal_missing_cpp' is never used. [unusedFunction]\\nvoid func_normal_missing_cpp(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:3:6: style: The function 'func_with_throw' is never used. [unusedFunction]\\nvoid func_with_throw(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:9:6: style: The function 'func_normal_missing_cpp' is never used. [unusedFunction]\\nvoid func_normal_missing_cpp(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:3:6: style: The function 'func_with_throw' is never used. [unusedFunction]\\nvoid func_with_throw(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:9:6: style: The function 'func_normal_missing_cpp' is never used. [unusedFunction]\\nvoid func_normal_missing_cpp(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").combined_outputtests/test_checkstl_gaps.py:1190: in test_iterator_invalidated_by_clear\n assert \"invalidContainer\" in stderr\nE AssertionError: assert 'invalidContainer' in ''tests/test_clangimport_advanced.py:279: in test_clangimport_cpp_nullptr\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_cmdlineparser.py:288: in test_empty_platform\n assert result.stdout == (RESOURCES / \"error_platform_empty.golden\").read_text()\nE assert \"cppcheck: er...atform: ''.\\n\" == 'cppcheck: er... specified.\\n'\nE \nE - cppcheck: error: empty platform specified.\nE + cppcheck: error: unrecognized platform: ''.tests/test_cmdlineparser.py:351: in test_showtime_mode_empty\n assert result.stdout == (RESOURCES / \"error_showtime_empty.golden\").read_text()\nE AssertionError: assert 'cppcheck: er...aths given.\\n' == 'cppcheck: er... --showtime\\n'\nE \nE - cppcheck: error: no mode provided for --showtime\nE + cppcheck: error: could not find or open any of the paths given.tests/test_checkio_gaps_round2.py:540: in test_rewind_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE AssertionError: assert '[useClosedFile]' in ''tests/test_errorlogger.py:1043: in test_plist_output_format\n assert len(plist_files) == 1, f\"Expected 1 plist file, got {len(plist_files)}\"\nE AssertionError: Expected 1 plist file, got 0\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkstring_gaps.py:423: in test_swprintf_overlapping_buffers\n assert \"sprintfOverlappingData\" in stderr\nE AssertionError: assert 'sprintfOverlappingData' in ''tests/test_checkstl_gaps.py:219: in test_cstr_after_string_modification\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmpr92d5evq/test.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmpr92d5evq/test.cpp:3:2: information: Include file: <cstring> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <cstring>\\n ^\\n/tmp/tmpr92d5evq/test.cpp:9:5: warning: Return value of function strlen() is not used. [ignoredReturnValue]\\n strlen(ptr);\\n ^\\n/tmp/tmpr92d5evq/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkvaarg_gaps.py:265: in test_va_list_complex_control_flow\n assert normalize_paths(result.combined_output) == normalize_paths((RESOURCES / 'va_list_complex_control_flow.golden').read_text())\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_complex_control_flow.c ...\nE /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_complex_control_flow.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\nE #include <stdarg.h>\nE ^\nE + /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_complex_control_flow.c:6:14: error: Uninitialized variable: args1 [uninitvar]\nE + va_start(args1, count);...\nE \nE ...Full output truncated (39 lines hidden), use '-vv' to showtests/test_checkuninitvar_gaps.py:294: in test_ternary_operator_with_uninit_branch\n assert 'error: Uninitialized variable: x [legacyUninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: x [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:20: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:2:6: style: The function 'test_ternary_uninit' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:20: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:2:6: style: The function 'test_ternary_uninit' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:20: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:2:6: style: The function 'test_ternary_uninit' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\").stderrtests/test_checkstl_gaps.py:1215: in test_erase_dereference_same_statement\n assert \"eraseDereference\" in stderr\nE AssertionError: assert 'eraseDereference' in ''tests/test_clangimport_advanced.py:312: in test_clangimport_cpp_range_based_for\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_cmdlineparser.py:324: in test_project_configuration_empty\n assert result.stdout == (RESOURCES / \"error_project_configuration_empty.golden\").read_text()\nE AssertionError: assert 'cppcheck: er...aths given.\\n' == 'cppcheck: er...r is empty.\\n'\nE \nE - cppcheck: error: --project-configuration parameter is empty.\nE + cppcheck: error: could not find or open any of the paths given.tests/test_checkio_gaps_round2.py:551: in test_tmpfile_without_positioning\n assert \"[IOWithoutPositioning]\" in stderr\nE AssertionError: assert '[IOWithoutPositioning]' in ''tests/test_errorlogger.py:1122: in test_guideline_and_classification_attributes\n assert 'guideline' in uninit_error.attrib, \"guideline attribute missing\"\nE AssertionError: guideline attribute missing\nE assert 'guideline' in {'cwe': '457', 'file0': '/tmp/pytest-of-root/pytest-0/popen-gw4/test_guideline_and_classificat2/guideline_test.c', 'id': 'uninitvar', 'msg': 'Uninitialized variable: x', ...}\nE + where {'cwe': '457', 'file0': '/tmp/pytest-of-root/pytest-0/popen-gw4/test_guideline_and_classificat2/guideline_test.c', 'id': 'uninitvar', 'msg': 'Uninitialized variable: x', ...} = <Element 'error' at 0x7f3f4cef98f0>.attribtests/test_cmdlineparser.py:421: in test_project_with_source_files\n assert result.stdout == (RESOURCES / \"error_project_with_files.golden\").read_text()\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == 'cppcheck: er...urce files.\\n'\nE \nE - cppcheck: error: --project cannot be used in conjunction with source files.\nE + cppcheck: error: failed to load project '/tmp/tmp3xf5o9s5.json'. The format is unknown.tests/test_checkstring_gaps.py:443: in test_wide_char_plus_char\n assert \"strPlusChar\" in stderr\nE AssertionError: assert 'strPlusChar' in ''tests/test_checkstl_gaps.py:242: in test_cstr_return_local_variable\n assert \"returnDanglingLifetime\" in stderr\nE assert 'returnDanglingLifetime' in \"/tmp/tmpk0w8qr7e/test.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmpk0w8qr7e/test.cpp:4:13: style: The function 'get_cstr' is never used. [unusedFunction]\\nconst char* get_cstr() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkvaarg_gaps.py:280: in test_va_list_conditional_paths\n assert 'va_list_usedBeforeStarted' in result.combined_output\nE assert 'va_list_usedBeforeStarted' in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:6:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:29:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:5:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:28:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:4:6: style: The function 'func_missing_va_end_in_branch' is never used. [unusedFunction]\\nvoid func_missing_va_end_in_branch(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:15:6: style: The function 'func_va_end_all_branches' is never used. [unusedFunction]\\nvoid func_va_end_all_branches(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:27:6: style: The function 'func_early_return_middle' is never used. [unusedFunction]\\nvoid func_early_return_middle(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:6:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:29:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:5:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:28:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:4:6: style: The function 'func_missing_va_end_in_branch' is never used. [unusedFunction]\\nvoid func_missing_va_end_in_branch(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:15:6: style: The function 'func_va_end_all_branches' is never used. [unusedFunction]\\nvoid func_va_end_all_branches(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:27:6: style: The function 'func_early_return_middle' is never used. [unusedFunction]\\nvoid func_early_return_middle(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:6:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:29:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:5:13: style: Variable 'args' is not assign...\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:28:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:4:6: style: The function 'func_missing_va_end_in_branch' is never used. [unusedFunction]\\nvoid func_missing_va_end_in_branch(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:15:6: style: The function 'func_va_end_all_branches' is never used. [unusedFunction]\\nvoid func_va_end_all_branches(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:27:6: style: The function 'func_early_return_middle' is never used. [unusedFunction]\\nvoid func_early_return_middle(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").combined_outputtests/test_checkuninitvar_gaps.py:316: in test_while_loop_may_not_execute\n assert 'warning: Uninitialized variable: x [uninitvar]' in result.stderr\nE assert 'warning: Uninitialized variable: x [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:8:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:2:6: style: The function 'test_while_maybe_init' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:8:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:2:6: style: The function 'test_while_maybe_init' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:8:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:2:6: style: The function 'test_while_maybe_init' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\").stderrtests/test_checkstl_gaps.py:1239: in test_mismatching_container_iterator_in_erase\n assert \"mismatchingContainerIterator\" in stderr\nE AssertionError: assert 'mismatchingContainerIterator' in ''tests/test_clangimport_advanced.py:344: in test_clangimport_cpp_static_cast\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkio_gaps_round2.py:562: in test_ungetc_after_read_before_write\n assert \"[IOWithoutPositioning]\" in stderr\nE assert '[IOWithoutPositioning]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'tests/test_errorlogger.py:1178: in test_multiple_report_types\n assert 'guideline' in uninit_certc.attrib\nE AssertionError: assert 'guideline' in {'cwe': '457', 'file0': '/tmp/pytest-of-root/pytest-0/popen-gw4/test_multiple_report_types2/report_types.c', 'id': 'uninitvar', 'msg': 'Uninitialized variable: x', ...}\nE + where {'cwe': '457', 'file0': '/tmp/pytest-of-root/pytest-0/popen-gw4/test_multiple_report_types2/report_types.c', 'id': 'uninitvar', 'msg': 'Uninitialized variable: x', ...} = <Element 'error' at 0x7f3f4d71ba10>.attribtests/test_checkstring_gaps.py:467: in test_strcmp_not_operator_overlap\n assert \"overlappingStrcmp\" in stderr\nE AssertionError: assert 'overlappingStrcmp' in ''tests/test_cppcheck_core.py:60: in test_multiple_files_analysis\n assert 'memleak' in output # from file2.c\nE assert 'memleak' in \"Checking /workspace/eval/test_resources/test_cppcheck_core/file1.c ...\\n1/3 files checked 26% done\\nChecking /workspace/eval/test_resources/test_cppcheck_core/file2.c ...\\n2/3 files checked 65% done\\nChecking /workspace/eval/test_resources/test_cppcheck_core/file3.cpp ...\\n3/3 files checked 100% done\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: error: Null pointer dereference: p [nullPointer]\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:4:14: note: Assignment 'p=NULL', assigned value is 0\\n int *p = NULL;\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: note: Null pointer dereference\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:10:8: error: Array 'arr[10]' accessed at index 15, which is out of bounds. [arrayIndexOutOfBounds]\\n arr[15] = 0; // Buffer overflow\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:4:10: style: Variable 'data' can be declared as pointer to const [constVariablePointer]\\n int *data = malloc(10 * sizeof(int));\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:4:15: style: Variable 'data' is assigned a value that is never used. [unreadVariable]\\n int *data = malloc(10 * sizeof(int));\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:10:13: style: Variable 'arr[15]' is assigned a value that is never used. [unreadVariable]\\n arr[15] = 0; // Buffer overflow\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file3.cpp:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = v[5]; // Out of bounds access\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:3:6: style: The function 'function1' is never used. [unusedFunction]\\nvoid function1() {\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:8:6: style: The function 'function2' is never used. [unusedFunction]\\nvoid function2() {\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file3.cpp:5:10: style: The function 'method' is never used. [unusedFunction]\\n void method() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkstl_gaps.py:272: in test_mismatching_container_iterators\n assert \"mismatchingContainers\" in stderr\nE assert 'mismatchingContainers' in \"/tmp/tmpw241sfix/test.cpp:2:2: information: Include file: <vector> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <vector>\\n ^\\n/tmp/tmpw241sfix/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkvaarg_gaps.py:307: in test_va_list_pointer_and_array_types\n assert 'va_end_missing' in result.combined_output\nE assert 'va_end_missing' in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Variable 'args_ptr' can be declared as pointer to const [constVariablePointer]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Unused variable: args_ptr [unusedVariable]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:11:13: style: Unused variable: args [unusedVariable]\\n va_list args[2];\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:4:6: style: The function 'func_with_va_list_ptr' is never used. [unusedFunction]\\nvoid func_with_va_list_ptr(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:10:6: style: The function 'func_with_va_list_array' is never used. [unusedFunction]\\nvoid func_with_va_list_array(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:16:6: style: The function 'func_normal_va_list' is never used. [unusedFunction]\\nvoid func_normal_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Variable 'args_ptr' can be declared as pointer to const [constVariablePointer]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Unused variable: args_ptr [unusedVariable]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:11:13: style: Unused variable: args [unusedVariable]\\n va_list args[2];\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:4:6: style: The function 'func_with_va_list_ptr' is never used. [unusedFunction]\\nvoid func_with_va_list_ptr(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:10:6: style: The function 'func_with_va_list_array' is never used. [unusedFunction]\\nvoid func_with_va_list_array(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:16:6: style: The function 'func_normal_va_list' is never used. [unusedFunction]\\nvoid func_normal_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Variable 'args_ptr' can be declared as pointer to const [constVariablePointer]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Unused variable: args_ptr [unusedVariable]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:11:13: style: Unused variable: args [unusedVariable]\\n va_list args[2];\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:4:6: style: The function 'func_with_va_list_ptr' is never used. [unusedFunction]\\nvoid func_with_va_list_ptr(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:10:6: style: The function 'func_with_va_list_array' is never used. [unusedFunction]\\nvoid func_with_va_list_array(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:16:6: style: The function 'func_normal_va_list' is never used. [unusedFunction]\\nvoid func_normal_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").combined_outputtests/test_checkuninitvar_gaps.py:393: in test_nested_struct_member_uninit\n assert 'error: Uninitialized variable: obj.inner.value [uninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: obj.inner.value [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:12:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:11:18: style: Variable 'obj' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:10:6: style: The function 'test_nested_struct' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:12:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:11:18: style: Variable 'obj' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:10:6: style: The function 'test_nested_struct' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:12:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:11:18: style: Variable 'obj' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:10:6: style: The function 'test_nested_struct' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\").stderrtests/test_checkstl_gaps.py:1265: in test_mismatching_containers_in_comparison\n assert \"mismatchingContainers\" in stderr\nE AssertionError: assert 'mismatchingContainers' in ''tests/test_clangimport_advanced.py:378: in test_clangimport_cpp_operator_overload\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkio_gaps_round2.py:573: in test_clearerr_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'tests/test_exceptionsafety_gaps.py:337: in test_rethrow_multiple_catches\n assert 'rethrowNoCurrentException' in output\nE AssertionError: assert 'rethrowNoCurrentException' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/multiple_catches.cpp ...\\n'tests/test_checkstring_gaps.py:494: in test_unequal_string_literal_comparisons\n assert \"staticStringCompare\" in stderr\nE AssertionError: assert 'staticStringCompare' in ''tests/test_errorlogger.py:1648: in test_plist_with_multiple_errors\n assert len(plist_files) == 1\nE assert 0 == 1\nE + where 0 = len([])tests/test_checkstl_gaps.py:298: in test_mismatching_iterators_in_algorithm\n assert \"mismatchingContainers\" in stderr\nE assert 'mismatchingContainers' in \"/tmp/tmplvibkfzv/test.cpp:2:2: information: Include file: <vector> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <vector>\\n ^\\n/tmp/tmplvibkfzv/test.cpp:3:2: information: Include file: <algorithm> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <algorithm>\\n ^\\n/tmp/tmplvibkfzv/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkvaarg_gaps.py:326: in test_va_list_with_lambda_expressions\n assert \"va_list 'args' was opened but not closed by va_end()\" in result.combined_output\nE assert \"va_list 'args' was opened but not closed by va_end()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:3:6: style: The function 'func_with_lambda' is never used. [unusedFunction]\\nvoid func_with_lambda(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:16:6: style: The function 'func_lambda_missing_va_end' is never used. [unusedFunction]\\nvoid func_lambda_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:3:6: style: The function 'func_with_lambda' is never used. [unusedFunction]\\nvoid func_with_lambda(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:16:6: style: The function 'func_lambda_missing_va_end' is never used. [unusedFunction]\\nvoid func_lambda_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:1:2: information: Include file: <stdarg.h> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <stdarg.h>\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:3:6: style: The function 'func_with_lambda' is never used. [unusedFunction]\\nvoid func_with_lambda(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:16:6: style: The function 'func_lambda_missing_va_end' is never used. [unusedFunction]\\nvoid func_lambda_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\").combined_outputtests/test_checkuninitvar_gaps.py:413: in test_pointer_to_uninitialized_array\n assert 'unassignedVariable' in result.stderr\nE assert 'unassignedVariable' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:2:6: style: The function 'test_pointer_to_array' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:2:6: style: The function 'test_pointer_to_array' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:2:6: style: The function 'test_pointer_to_array' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\").stderrtests/test_cppcheck_core.py:159: in test_dump_file_generation\n assert '<?xml version=\"1.0\"?>' in dump_content\nE assert '<?xml version=\"1.0\"?>' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<dumps language=\"c\">\\n <platform name=\"native\" char_bit=\"8\" short_bit=\"16\" int_bit=\"32\" long_bit=\"64\" long_long_bit=\"64\" pointer_bit=\"64\" wchar_t_bit=\"32\" size_t_bit=\"64\"/>\\n <rawtokens>\\n <file index=\"0\" name=\"/tmp/tmpmai7gyv9/test.c\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"1\" str=\"#\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"2\" str=\"include\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"10\" str=\"&lt;stdio.h&gt;\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"1\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"5\" str=\"main\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"9\" str=\"(\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"10\" str=\")\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"12\" str=\"{\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"5\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"9\" str=\"*\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"10\" str=\"p\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"12\" str=\"=\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"14\" str=\"NULL\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"18\" str=\";\"/>\\n <tok fileIndex=\"0\" linenr=\"5\" column=\"5\" str=\"*\"/>\\n <tok fileIndex=\"0\" linenr=\"5\" co.../test.c\" linenr=\"6\" column=\"5\" str=\"printf\" type=\"name\" astParent=\"0x5584eed9c1e0\"/>\\n <token id=\"0x5584eed9c1e0\" file=\"/tmp/tmpmai7gyv9/test.c\" linenr=\"6\" column=\"11\" str=\"(\" link=\"0x5584eed9c420\" astOperand1=\"0x5584eed9ea30\" astOperand2=\"0x5584eed9c300\"/>\\n <token id=\"0x5584eed9c300\" file=\"/tmp/tmpmai7gyv9/test.c\" linenr=\"6\" column=\"12\" str=\"&quot;Hello\\\\n&quot;\" type=\"string\" astParent=\"0x5584eed9c1e0\"/>\\n <token id=\"0x5584eed9c420\" file=\"/tmp/tmpmai7gyv9/test.c\" linenr=\"6\" column=\"21\" str=\")\" link=\"0x5584eed9c1e0\"/>\\n <token id=\"0x5584eed9c540\" file=\"/tmp/tmpmai7gyv9/test.c\" linenr=\"6\" column=\"22\" str=\";\" type=\"op\"/>\\n <token id=\"0x5584eed9c660\" file=\"/tmp/tmpmai7gyv9/test.c\" linenr=\"7\" column=\"5\" str=\"return\" type=\"name\" astOperand1=\"0x5584eed9c780\"/>\\n <token id=\"0x5584eed9c780\" file=\"/tmp/tmpmai7gyv9/test.c\" linenr=\"7\" column=\"12\" str=\"0\" type=\"number\" astParent=\"0x5584eed9c660\"/>\\n <token id=\"0x5584eed9c8a0\" file=\"/tmp/tmpmai7gyv9/test.c\" linenr=\"7\" column=\"13\" str=\";\" type=\"op\"/>\\n <token id=\"0x5584eed9c9c0\" file=\"/tmp/tmpmai7gyv9/test.c\" linenr=\"8\" column=\"1\" str=\"}\" link=\"0x5584eecb45f0\"/>\\n </tokenlist>\\n </dump>\\n</dumps>\\n'tests/test_checkstl_gaps.py:1293: in test_invalid_iterator_after_erase_in_loop\n assert \"invalidContainer\" in stderr\nE AssertionError: assert 'invalidContainer' in ''tests/test_clangimport_advanced.py:411: in test_clangimport_cpp_template_function\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkio_gaps_round2.py:584: in test_feof_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'tests/test_fwdanalysis.py:99: in test_used_assignment_with_return_value\n assert \"unreadVariable\" not in normalized\nE AssertionError: assert 'unreadVariable' not in '/tmp/test.c...eadVariable]'\nE \nE 'unreadVariable' is contained here:\nE /tmp/test.c:3:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\nE /tmp/test.c:2:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\nE ? ++++++++++++++tests/test_checkstring_gaps.py:516: in test_sprintf_with_cast_overlap\n assert \"sprintfOverlappingData\" in stderr\nE AssertionError: assert 'sprintfOverlappingData' in ''tests/test_exceptionsafety_gaps.py:42: in test_destructor_throw_noexcept\n assert 'exceptThrowInDestructor' in output\nE AssertionError: assert 'exceptThrowInDestructor' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/destructor_throw.cpp ...\\n'tests/test_checkstl_gaps.py:323: in test_iterator_from_wrong_container\n assert \"mismatchingContainerIterator\" in stderr\nE assert 'mismatchingContainerIterator' in \"/tmp/tmpgtky2eqw/test.cpp:2:2: information: Include file: <vector> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <vector>\\n ^\\n/tmp/tmpgtky2eqw/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_clangimport.py:33: in test_clangimport_basic_function\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkuninitvar_gaps.py:430: in test_cpp_reference_to_uninit\n assert 'error: Uninitialized variable: ref [uninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: ref [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:4:16: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:2:6: style: The function 'test_reference' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:4:16: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:2:6: style: The function 'test_reference' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:4:16: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:2:6: style: The function 'test_reference' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\").stderrtests/test_cppcheck_core.py:220: in test_syntax_error_handling\n assert 'syntaxError' in output\nE AssertionError: assert 'syntaxError' in 'Checking /workspace/eval/test_resources/test_cppcheck_core/syntax_error.c ...\\n'tests/test_checkstl_gaps.py:1321: in test_same_iterator_expression_in_algorithm\n assert \"sameIteratorExpression\" in stderr\nE AssertionError: assert 'sameIteratorExpression' in ''tests/test_clangimport_advanced.py:446: in test_clangimport_cpp_initializer_list\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkio_gaps_round2.py:595: in test_ferror_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'tests/test_checkstring_gaps.py:539: in test_sprintf_multiple_format_params\n assert \"sprintfOverlappingData\" in stderr\nE AssertionError: assert 'sprintfOverlappingData' in ''tests/test_exceptionsafety_gaps.py:66: in test_dealloc_throw_inconclusive\n assert 'exceptDeallocThrow' in output\nE AssertionError: assert 'exceptDeallocThrow' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/dealloc_throw2.cpp ...\\n'tests/test_fwdanalysis.py:220: in test_struct_member_assignment\n assert \"s.a\" in normalized\nE assert 's.a' in \"/tmp/test.c:1:23: style: struct member 'S::b' is never used. [unusedStructMember]\"tests/test_checkstl_gaps.py:349: in test_find_result_used_as_bool\n assert \"stlIfFind\" in stderr\nE assert 'stlIfFind' in \"/tmp/tmpfei0xl8v/test.cpp:2:2: information: Include file: <vector> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <vector>\\n ^\\n/tmp/tmpfei0xl8v/test.cpp:3:2: information: Include file: <algorithm> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <algorithm>\\n ^\\n/tmp/tmpfei0xl8v/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkuninitvar_gaps.py:451: in test_logical_and_short_circuit\n assert 'error: Uninitialized variable: x [legacyUninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: x [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:9: style: Condition 'y' is always false [knownConditionTrueFalse]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:14: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:2:6: style: The function 'test_logical_and' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:9: style: Condition 'y' is always false [knownConditionTrueFalse]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:14: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:2:6: style: The function 'test_logical_and' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:9: style: Condition 'y' is always false [knownConditionTrueFalse]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:14: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:2:6: style: The function 'test_logical_and' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\").stderrtests/test_clangimport.py:64: in test_clangimport_syntax_error\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_cppcheck_core.py:260: in test_suppressions_file\n assert 'nullPointer' not in output\nE AssertionError: assert 'nullPointer' not in 'Checking /w...ce\\n ^\\n'\nE \nE 'nullPointer' is contained here:\nE Checking /workspace/eval/test_resources/test_cppcheck_core/file1.c ...\nE /workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: error: Null pointer dereference: p [nullPointer]\nE ? +++++++++++\nE *p = 5; // Null pointer dereference\nE ^...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to showtests/test_checkstring_gaps.py:84: in test_cstr_same_variable_compare\n assert \"stringCompare\" in stderr\nE AssertionError: assert 'stringCompare' in ''tests/test_clangimport_advanced.py:481: in test_clangimport_cpp_member_call\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_harvest_helloworld.py:229: in test_basepath_relative_path\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_checktype_gaps.py:68: in test_shift_signed_bits_c\n assert \"Shifting signed 32-bit value by 31 bits is undefined behaviour\" in output\nE assert 'Shifting signed 32-bit value by 31 bits is undefined behaviour' in \"Checking /workspace/eval/test_resources/test_checktype/shift_signed_31.c ...\\n/workspace/eval/test_resources/test_checktype/shift_signed_31.c:3:15: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned]\\n int y = x << 31;\\n ^\\n/workspace/eval/test_resources/test_checktype/shift_signed_31.c:3:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = x << 31;\\n ^\\n/workspace/eval/test_resources/test_checktype/shift_signed_31.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_exceptionsafety_gaps.py:84: in test_rethrow_copy\n assert 'exceptRethrowCopy' in output\nE AssertionError: assert 'exceptRethrowCopy' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/rethrow_copy.cpp ...\\n'tests/test_fwdanalysis.py:241: in test_array_element_assignment\n assert \"redundantAssignment\" in normalized\nE assert 'redundantAssignment' in \"/tmp/test.c:3:12: style: Variable 'arr[0]' is assigned a value that is never used. [unreadVariable]\\n/tmp/test.c:4:12: style: Variable 'arr[0]' is assigned a value that is never used. [unreadVariable]\"tests/test_checkstl_gaps.py:373: in test_string_find_inefficient_check\n assert \"stlIfStrFind\" in stderr\nE assert 'stlIfStrFind' in \"/tmp/tmp8goghu0o/test.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmp8goghu0o/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_clangimport.py:105: in test_clangimport_cpp_features\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkuninitvar_gaps.py:563: in test_self_assignment_with_uninit\n assert 'error: Uninitialized variable: x [uninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: x [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Redundant assignment of 'x' to itself. [selfAssignment]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:2:6: style: The function 'test_self_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Redundant assignment of 'x' to itself. [selfAssignment]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:2:6: style: The function 'test_self_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Redundant assignment of 'x' to itself. [selfAssignment]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:2:6: style: The function 'test_self_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\").stderrtests/test_cppcheck_core.py:308: in test_template_gcc_format\n assert 'warning:' in output\nE assert 'warning:' in \"Checking /workspace/eval/test_resources/test_cppcheck_core/file1.c ...\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: error: Null pointer dereference: p [nullPointer]\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:4:14: note: Assignment 'p=NULL', assigned value is 0\\n int *p = NULL;\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: note: Null pointer dereference\\n *p = 5; // Null pointer dereference\\n ^\\n\"tests/test_checkstring_gaps.py:106: in test_qt_string_compare\n assert \"staticStringCompare\" in stderr\nE AssertionError: assert 'staticStringCompare' in ''tests/test_clangimport_advanced.py:513: in test_clangimport_character_literals\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_harvest_helloworld.py:243: in test_basepath_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find or open any of the paths given.\nE \nE assert 1 == 0tests/test_exceptionsafety_gaps.py:104: in test_catch_exception_by_value\n assert 'catchExceptionByValue' in output\nE AssertionError: assert 'catchExceptionByValue' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/catch_by_value.cpp ...\\n'tests/test_checktype_gaps.py:109: in test_sign_conversion_negative_value\n assert \"signConversion\" in output\nE assert 'signConversion' in \"Checking /workspace/eval/test_resources/test_checktype/sign_conversion.c ...\\n/workspace/eval/test_resources/test_checktype/sign_conversion.c:4:20: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n unsigned int z = x * y;\\n ^\\n/workspace/eval/test_resources/test_checktype/sign_conversion.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkstl_gaps.py:398: in test_map_find_result_as_bool\n assert \"stlIfFind\" in stderr\nE assert 'stlIfFind' in \"/tmp/tmpwzi8h2vh/test.cpp:2:2: information: Include file: <map> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <map>\\n ^\\n/tmp/tmpwzi8h2vh/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_fwdanalysis.py:309: in test_do_while_dead_store\n assert \"unreadVariable\" in normalized\nE AssertionError: assert 'unreadVariable' in ''tests/test_clangimport.py:140: in test_clangimport_with_include\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkuninitvar_gaps.py:580: in test_compound_assignment_uninit\n assert 'error: Uninitialized variable: x [legacyUninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: x [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:4:5: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:2:6: style: The function 'test_compound_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:4:5: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:2:6: style: The function 'test_compound_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:4:5: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:2:6: style: The function 'test_compound_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\").stderrtests/test_cppcheck_core.py:328: in test_parallel_jobs\n assert 'memleak' in output\nE assert 'memleak' in \"/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: error: Null pointer dereference: p [nullPointer]\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:4:14: note: Assignment 'p=NULL', assigned value is 0\\n int *p = NULL;\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: note: Null pointer dereference\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:10:8: error: Array 'arr[10]' accessed at index 15, which is out of bounds. [arrayIndexOutOfBounds]\\n arr[15] = 0; // Buffer overflow\\n ^\\n\"tests/test_checkstring_gaps.py:133: in test_string_pointer_comparison\n assert \"staticStringCompare\" in stderr\nE assert 'staticStringCompare' in '/tmp/tmpqyig8o9o/test.c:7:13: warning: String literal compared with variable \\'str\\'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare]\\n if (str == \"test\") {\\n ^\\n'/workspace/eval/tests/test_harvest_clang_import.py:156: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:164: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:169: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:185: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:197: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:219: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:241: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:263: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:285: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:308: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:333: clang not available or Windows platformtests/test_clangimport_advanced.py:544: in test_clangimport_floating_point\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'/workspace/eval/tests/test_harvest_clang_import.py:356: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:382: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:405: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:428: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:451: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:477: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:500: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:523: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:546: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:569: clang not available or Windows platformtests/test_harvest_helloworld.py:253: in test_vs_project_local_path\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'/workspace/eval/tests/test_harvest_clang_import.py:592: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:615: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:638: clang not available or Windows platformtests/test_exceptionsafety_gaps.py:123: in test_nothrow_throws\n assert 'throwInNoexceptFunction' in output\nE AssertionError: assert 'throwInNoexceptFunction' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/nothrow_throws.cpp ...\\n'tests/test_checktype_gaps.py:130: in test_long_cast_assignment\n assert \"truncLongCastAssignment\" in output\nE assert 'truncLongCastAssignment' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_assign3.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_assign3.c:3:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkstl_gaps.py:422: in test_find_then_insert_inefficient\n assert \"stlFindInsert\" in stderr\nE assert 'stlFindInsert' in \"/tmp/tmp9k2k3g0s/test.cpp:2:2: information: Include file: <map> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <map>\\n ^\\n/tmp/tmp9k2k3g0s/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_fwdanalysis.py:368: in test_compound_assignment_dead_store\n assert \"unreadVariable\" in normalized\nE AssertionError: assert 'unreadVariable' in ''tests/test_clangimport.py:180: in test_clangimport_operators\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkstring_gaps.py:152: in test_char_pointer_comparison\n assert \"charLiteralWithCharPtrCompare\" in stderr\nE AssertionError: assert 'charLiteralWithCharPtrCompare' in ''tests/test_checkuninitvar_gaps.py:631: in test_multidimensional_array_uninit\n assert 'error: Uninitialized variable: arr [legacyUninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: arr [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:2:6: style: The function 'test_array_2d' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:2:6: style: The function 'test_array_2d' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:2:6: style: The function 'test_array_2d' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\").stderrtests/test_clangimport_advanced.py:581: in test_clangimport_typedef\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_harvest_helloworld.py:266: in test_vs_project_local_path_select_one\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'tests/test_exceptionsafety_gaps.py:141: in test_rethrow_no_current_exception\n assert 'rethrowNoCurrentException' in output\nE AssertionError: assert 'rethrowNoCurrentException' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/rethrow_no_current.cpp ...\\n'tests/test_harvest_dumpfile.py:37: in test_libraries\n assert '<library lib=\"posix\"/>' in dump\nE assert '<library lib=\"posix\"/>' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<dumps language=\"c\">\\n <platform name=\"native\" char_bit=\"8\" short_bit=\"16\" int_bit=\"32\" long_bit=\"64\" long_long_bit=\"64\" pointer_bit=\"64\" wchar_t_bit=\"32\" size_t_bit=\"64\"/>\\n <rawtokens>\\n <file index=\"0\" name=\"/tmp/pytest-of-root/pytest-0/popen-gw1/test_libraries2/test.c\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"1\" str=\"x\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"2\" str=\"=\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"3\" str=\"1\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"4\" str=\";\"/>\\n </rawtokens>\\n <dump cfg=\"\">\\n <standards>\\n <c version=\"c11\"/>\\n <cpp version=\"c++20\"/>\\n </standards>\\n <tokenlist>\\n <token id=\"0x55d0d3e4de80\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw1/test_libraries2/test.c\" linenr=\"1\" column=\"1\" str=\"x\" type=\"name\" astParent=\"0x55d0d3f277d0\"/>\\n <token id=\"0x55d0d3f277d0\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw1/test_libraries2/test.c\" linenr=\"1\" column=\"2\" str=\"=\" type=\"op\" astOperand1=\"0x55d0d3e4de80\" astOperand2=\"0x55d0d3e461d0\"/>\\n <token id=\"0x55d0d3e461d0\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw1/test_libraries2/test.c\" linenr=\"1\" column=\"3\" str=\"1\" type=\"number\" astParent=\"0x55d0d3f277d0\"/>\\n <token id=\"0x55d0d3ea80a0\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw1/test_libraries2/test.c\" linenr=\"1\" column=\"4\" str=\";\" type=\"op\"/>\\n </tokenlist>\\n </dump>\\n</dumps>\\n'tests/test_checktype_gaps.py:150: in test_long_cast_return\n assert \"truncLongCastReturn\" in output\nE assert 'truncLongCastReturn' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_return.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_return.c:3:11: style: The function 'test' is never used. [unusedFunction]\\nlong long test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkstl_gaps.py:445: in test_useless_substr_entire_string\n assert \"uselessCallsSubstr\" in stderr\nE assert 'uselessCallsSubstr' in \"/tmp/tmp9xf1u5sg/test.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmp9xf1u5sg/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_fwdanalysis.py:384: in test_increment_decrement_dead_store\n assert \"unreadVariable\" in normalized\nE AssertionError: assert 'unreadVariable' in ''tests/test_checkstring_gaps.py:199: in test_string_literal_as_boolean\n assert \"incorrectStringBooleanError\" in stderr\nE AssertionError: assert 'incorrectStringBooleanError' in ''tests/test_checkuninitvar_gaps.py:665: in test_address_of_then_deref_uninit\n assert 'error: Uninitialized variable: *p [uninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: *p [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:2:6: style: The function 'test_addressof' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:2:6: style: The function 'test_addressof' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:2:6: style: The function 'test_addressof' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\").stderrtests/test_clangimport.py:232: in test_clangimport_control_flow\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_clangimport_advanced.py:610: in test_clangimport_sizeof\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_exceptionsafety_gaps.py:161: in test_unhandled_exception_specification\n assert 'unhandledExceptionSpecification' in output\nE AssertionError: assert 'unhandledExceptionSpecification' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/unhandled_exception_spec.cpp ...\\n'tests/test_checktype_gaps.py:170: in test_float_to_integer_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_to_int_overflow.c ...\\n/workspace/eval/test_resources/test_checktype/float_to_int_overflow.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = (int)f;\\n ^\\n/workspace/eval/test_resources/test_checktype/float_to_int_overflow.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_helloworld.py:280: in test_vs_project_local_path_select_one_multiple\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'tests/test_harvest_lookup.py:826: in test_config_invalid\n assert result.returncode == 1, stdout if stdout else stderr\nE AssertionError: looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\nE looking for '/tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/tempbin/cppcheck.cfg'\nE no configuration found\nE Checking /tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/test.c ...\nE \nE assert 0 == 1\nE + where 0 = CompletedProcess(args=['/tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/tempbin/executable', '--debug-lookup=config', '/tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/test.c'], returncode=0, stdout=b\"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\\nlooking for '/tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/tempbin/cppcheck.cfg'\\nno configuration found\\nChecking /tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/test.c ...\\n\", stderr=b'').returncodetests/test_checkstl_gaps.py:468: in test_useless_swap_with_itself\n assert \"uselessCallsSwap\" in stderr\nE assert 'uselessCallsSwap' in \"/tmp/tmp62xga0u8/test.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmp62xga0u8/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_fwdanalysis.py:402: in test_volatile_prevents_optimization\n assert \"unreadVariable\" not in normalized or \"Variable 'x'\" not in normalized\nE assert ('unreadVariable' not in '/tmp/test.c...eadVariable]'\nE \nE 'unreadVariable' is contained here:\nE /tmp/test.c:3:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\nE /tmp/test.c:2:20: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\nE ? ++++++++++++++\nE /tmp/test.c:3:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable] or \"Variable 'x'\" not in '/tmp/test.c...eadVariable]'\nE \nE \"Variable 'x'\" is contained here:\nE /tmp/test.c:3:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\nE /tmp/test.c:2:20: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\nE ? ++++++++++++\nE /tmp/test.c:3:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable])tests/test_checkstring_gaps.py:227: in test_substr_length_mismatch\n assert \"incorrectStringCompare\" in stderr\nE AssertionError: assert 'incorrectStringCompare' in ''tests/test_clangimport.py:270: in test_clangimport_switch_statement\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_fwdanalysis.py:641: in test_nested_struct_member_assignment\n assert \"o.inner.value\" in normalized\nE AssertionError: assert 'o.inner.value' in ''tests/test_clangimport_advanced.py:644: in test_clangimport_compound_assignment\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_exceptionsafety_gaps.py:182: in test_destructor_try_blocks_and_uncaught_exception\n assert 'StillBad is not safe, destructor throws exception' in output\nE AssertionError: assert 'StillBad is not safe, destructor throws exception' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/destructor_with_try.cpp ...\\n'tests/test_checktype_gaps.py:190: in test_shift_conditional_value\n assert \"shiftTooManyBits\" in output\nE assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_conditional.c ...\\n/workspace/eval/test_resources/test_checktype/shift_conditional.c:9:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = x << shift_amount;\\n ^\\n/workspace/eval/test_resources/test_checktype/shift_conditional.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test(int n) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_helloworld.py:293: in test_vs_project_local_path_no_analyze_all\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'tests/test_checkstl_gaps.py:492: in test_useless_remove_without_erase\n assert \"uselessCallsRemove\" in stderr\nE assert 'uselessCallsRemove' in \"/tmp/tmpjvdetj47/test.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmpjvdetj47/test.cpp:3:2: information: Include file: <algorithm> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <algorithm>\\n ^\\n/tmp/tmpjvdetj47/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_lookup.py:877: in test_lookup_path\n assert result.returncode == 0, stdout if stdout else stderr\nE AssertionError: looking for platform 'avr8.xml'\nE try to load platform file '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/avr8.xml.xml\nE try to load platform file '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/platforms/avr8.xml.xml\nE try to load platform file '/workspace/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/avr8.xml.xml\nE try to load platform file '/workspace/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms/avr8.xml.xml\nE try to load platform file '/usr/local/share/Cppcheck/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/avr8.xml.xml\nE cppcheck: error: unrecognized platform: 'avr8.xml'.\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '--debug-lookup=platform', '--platform=avr8.xml', '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/test.c'], returncode=1, stdout=b\"looking for platform 'avr8.xml'\\ntry to load platform file '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/avr8.xml.xml\\ntry to load platform file '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/platforms/avr8.xml.xml\\ntry to load platform file '/workspace/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/avr8.xml.xml\\ntry to load platform file '/workspace/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms/avr8.xml.xml\\ntry to load platform file '/usr/local/share/Cppcheck/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/avr8.xml.xml\\ncppcheck: error: unrecognized platform: 'avr8.xml'.\\n\", stderr=b'').returncodetests/test_fwdanalysis.py:510: in test_union_member_assignment\n assert \"u.a\" in normalized\nE AssertionError: assert 'u.a' in ''tests/test_checkstring_gaps.py:250: in test_sprintf_overlapping_buffers\n assert \"sprintfOverlappingData\" in stderr\nE AssertionError: assert 'sprintfOverlappingData' in ''tests/test_fwdanalysis.py:663: in test_array_in_struct_assignment\n assert \"redundantAssignment\" in normalized\nE assert 'redundantAssignment' in \"/tmp/test.c:4:5: error: Uninitialized struct member: s.arr [uninitStructMember]\\n/tmp/test.c:4:14: style: Variable 's.arr[0]' is assigned a value that is never used. [unreadVariable]\\n/tmp/test.c:5:14: style: Variable 's.arr[0]' is assigned a value that is never used. [unreadVariable]\\n/tmp/test.c:3:14: style: Variable 's' is not assigned a value. [unassignedVariable]\"tests/test_clangimport.py:307: in test_clangimport_arrays_pointers\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_clangimport_advanced.py:679: in test_clangimport_unary_operators\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checktype_gaps.py:211: in test_integer_overflow_multiplication\n assert \"integerOverflow\" in output\nE assert 'integerOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/int_overflow_conditional.c ...\\n/workspace/eval/test_resources/test_checktype/int_overflow_conditional.c:6:11: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n z = x * y;\\n ^\\n/workspace/eval/test_resources/test_checktype/int_overflow_conditional.c:8:11: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n z = 5;\\n ^\\n/workspace/eval/test_resources/test_checktype/int_overflow_conditional.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test(int n) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_exceptionsafety_gaps.py:217: in test_rethrow_copy_nested_and_member_access\n assert 'exceptRethrowCopy' in output\nE AssertionError: assert 'exceptRethrowCopy' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/rethrow_copy_complex.cpp ...\\n'tests/test_checkstl_gaps.py:518: in test_redundant_if_before_remove\n assert \"redundantIfRemove\" in stderr\nE assert 'redundantIfRemove' in \"/tmp/tmpzc9gn1fs/test.cpp:2:2: information: Include file: <map> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <map>\\n ^\\n/tmp/tmpzc9gn1fs/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_helloworld.py:305: in test_vs_project_relative_path\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_metrics.py:75: in test_dummy_metrics_xml_report\n assert xml.find(expected) >= 0, f\"Expected metric not found: {expected}\"\nE AssertionError: Expected metric not found: <metric fileName=\"1.cpp\" function=\"write\" id=\"HISCall\" lineNumber=\"6\" value=\"2\"/>\nE assert -1 >= 0\nE + where -1 = <built-in method find of str object at 0x56321f77cd60>('<metric fileName=\"1.cpp\" function=\"write\" id=\"HISCall\" lineNumber=\"6\" value=\"2\"/>')\nE + where <built-in method find of str object at 0x56321f77cd60> = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"3\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n </errors>\\n\\n <critical-errors/>\\n <checkers-report>\\n <checker id=\"CheckAutoVariables::autoVariables\"/>\\n <checker id=\"CheckAutoVariables::checkVarLifetime\"/>\\n <checker id=\"CheckBool::checkAssignBoolToPointer\"/>\\n <checker id=\"CheckBool::pointerArithBool\"/>\\n <checker id=\"CheckBufferOverrun::analyseWholeProgram\"/>\\n <checker id=\"CheckBufferOverrun::arrayIndex\"/>\\n <checker id=\"CheckBufferOverrun::bufferOverflow\"/>\\n <checker id=\"CheckBufferOverrun::negativeArraySize\"/>\\n <checker id=\"CheckBufferOverrun::objectIndex\"/>\\n <checker id=\"CheckClass::analyseWholeProgram\"/>\\n <checker id=\"CheckFunctions::checkMissingReturn\"/>\\n <checker id=\"CheckFunctions::checkProhibitedFunctions\"/>\\n <checker id=\"CheckFunctions::invalidFunctionUsage\"/>\\n <checker id=\"CheckIO::checkFileUsage\"/>\\n <checker id=\"CheckIO::checkWrongPrintfScanfArguments\"/>\\n <checker id=\"CheckLeakAutoVar::check\"/>\\n <checker id=\"CheckMemoryLeakInFunction::checkReallocUsage\"/>\\n ...seWholeProgram\"/>\\n <checker id=\"CheckNullPointer::arithmetic\"/>\\n <checker id=\"CheckNullPointer::nullConstantDereference\"/>\\n <checker id=\"CheckNullPointer::nullPointer\"/>\\n <checker id=\"CheckOther::checkComparePointers\"/>\\n <checker id=\"CheckOther::checkEvaluationOrder\"/>\\n <checker id=\"CheckOther::checkInvalidFree\"/>\\n <checker id=\"CheckOther::checkNegativeBitwiseShift\"/>\\n <checker id=\"CheckOther::checkOverlappingWrite\"/>\\n <checker id=\"CheckOther::checkZeroDivision\"/>\\n <checker id=\"CheckString::sprintfOverlappingData\"/>\\n <checker id=\"CheckString::strPlusChar\"/>\\n <checker id=\"CheckString::stringLiteralWrite\"/>\\n <checker id=\"CheckType::checkFloatToIntegerOverflow\"/>\\n <checker id=\"CheckType::checkIntegerOverflow\"/>\\n <checker id=\"CheckType::checkTooBigBitwiseShift\"/>\\n <checker id=\"CheckUninitVar::analyseWholeProgram\"/>\\n <checker id=\"CheckUninitVar::check\"/>\\n <checker id=\"CheckUninitVar::valueFlowUninit\"/>\\n <checker id=\"CheckVaarg::va_list_usage\"/>\\n <checker id=\"CheckVaarg::va_start_argument\"/>\\n </checkers-report>\\n</results>\\n'.findtests/test_checkstring_gaps.py:274: in test_overlapping_strcmp_conditions\n assert \"overlappingStrcmp\" in stderr\nE AssertionError: assert 'overlappingStrcmp' in ''tests/test_harvest_inline_suppress.py:541: in test_build_dir_jobs_suppressions\n assert os.path.exists(a1Path)\nE AssertionError: assert False\nE + where False = <function exists at 0x7f3f4f64df30>('/tmp/pytest-of-root/pytest-0/popen-gw4/test_build_dir_jobs_suppressio2/d.a1')\nE + where <function exists at 0x7f3f4f64df30> = <module 'posixpath' from '/usr/lib/python3.10/posixpath.py'>.exists\nE + where <module 'posixpath' from '/usr/lib/python3.10/posixpath.py'> = os.pathtests/test_clangimport.py:346: in test_clangimport_structs\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_fwdanalysis.py:791: in test_bitwise_compound_assignment\n assert \"unreadVariable\" in normalized\nE AssertionError: assert 'unreadVariable' in ''tests/test_clangimport_advanced.py:714: in test_clangimport_namespace\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checktype_gaps.py:231: in test_long_cast_float_to_double\n assert \"truncLongCastAssignment\" in output\nE assert 'truncLongCastAssignment' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_float.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_float.c:6:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n double c = a * b;\\n ^\\n/workspace/eval/test_resources/test_checktype/long_cast_float.c:3:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_exceptionsafety_gaps.py:235: in test_noexcept_calls_throwing_functions\n assert 'throwInNoexceptFunction' in output\nE AssertionError: assert 'throwInNoexceptFunction' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/noexcept_calls_throwing.cpp ...\\n'tests/test_harvest_helloworld.py:320: in test_vs_project_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to open project '/workspace/eval/test/cli/helloworld/helloworld.vcxproj'. The file does not exist.\nE \nE assert 1 == 0tests/test_checkstl_gaps.py:545: in test_stl_boundaries_less_than_comparison\n assert \"stlBoundaries\" in stderr\nE assert 'stlBoundaries' in \"/tmp/tmpjfgni3bn/test.cpp:2:2: information: Include file: <map> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <map>\\n ^\\n/tmp/tmpjfgni3bn/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_metrics.py:93: in test_dummy_metrics_stdout\n assert result.stderr.find(expected) >= 0, f\"Expected metric not found: {expected}\"\nE AssertionError: Expected metric not found: <metric fileName=\"1.cpp\" function=\"write\" id=\"HISCall\" lineNumber=\"6\" value=\"2\"/>\nE assert -1 >= 0\nE + where -1 = <built-in method find of str object at 0x56321f541290>('<metric fileName=\"1.cpp\" function=\"write\" id=\"HISCall\" lineNumber=\"6\" value=\"2\"/>')\nE + where <built-in method find of str object at 0x56321f541290> = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"3\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n </errors>\\n\\n <critical-errors/>\\n <checkers-report>\\n <checker id=\"CheckAutoVariables::autoVariables\"/>\\n <checker id=\"CheckAutoVariables::checkVarLifetime\"/>\\n <checker id=\"CheckBool::checkAssignBoolToPointer\"/>\\n <checker id=\"CheckBool::pointerArithBool\"/>\\n <checker id=\"CheckBufferOverrun::analyseWholeProgram\"/>\\n <checker id=\"CheckBufferOverrun::arrayIndex\"/>\\n <checker id=\"CheckBufferOverrun::bufferOverflow\"/>\\n <checker id=\"CheckBufferOverrun::negativeArraySize\"/>\\n <checker id=\"CheckBufferOverrun::objectIndex\"/>\\n <checker id=\"CheckClass::analyseWholeProgram\"/>\\n <checker id=\"CheckFunctions::checkMissingReturn\"/>\\n <checker id=\"CheckFunctions::checkProhibitedFunctions\"/>\\n <checker id=\"CheckFunctions::invalidFunctionUsage\"/>\\n <checker id=\"CheckIO::checkFileUsage\"/>\\n <checker id=\"CheckIO::checkWrongPrintfScanfArguments\"/>\\n <checker id=\"CheckLeakAutoVar::check\"/>\\n <checker id=\"CheckMemoryLeakInFunction::checkReallocUsage\"/>\\n ...seWholeProgram\"/>\\n <checker id=\"CheckNullPointer::arithmetic\"/>\\n <checker id=\"CheckNullPointer::nullConstantDereference\"/>\\n <checker id=\"CheckNullPointer::nullPointer\"/>\\n <checker id=\"CheckOther::checkComparePointers\"/>\\n <checker id=\"CheckOther::checkEvaluationOrder\"/>\\n <checker id=\"CheckOther::checkInvalidFree\"/>\\n <checker id=\"CheckOther::checkNegativeBitwiseShift\"/>\\n <checker id=\"CheckOther::checkOverlappingWrite\"/>\\n <checker id=\"CheckOther::checkZeroDivision\"/>\\n <checker id=\"CheckString::sprintfOverlappingData\"/>\\n <checker id=\"CheckString::strPlusChar\"/>\\n <checker id=\"CheckString::stringLiteralWrite\"/>\\n <checker id=\"CheckType::checkFloatToIntegerOverflow\"/>\\n <checker id=\"CheckType::checkIntegerOverflow\"/>\\n <checker id=\"CheckType::checkTooBigBitwiseShift\"/>\\n <checker id=\"CheckUninitVar::analyseWholeProgram\"/>\\n <checker id=\"CheckUninitVar::check\"/>\\n <checker id=\"CheckUninitVar::valueFlowUninit\"/>\\n <checker id=\"CheckVaarg::va_list_usage\"/>\\n <checker id=\"CheckVaarg::va_start_argument\"/>\\n </checkers-report>\\n</results>\\n'.find\nE + where '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"3\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n </errors>\\n\\n <critical-errors/>\\n <checkers-report>\\n <checker id=\"CheckAutoVariables::autoVariables\"/>\\n <checker id=\"CheckAutoVariables::checkVarLifetime\"/>\\n <checker id=\"CheckBool::checkAssignBoolToPointer\"/>\\n <checker id=\"CheckBool::pointerArithBool\"/>\\n <checker id=\"CheckBufferOverrun::analyseWholeProgram\"/>\\n <checker id=\"CheckBufferOverrun::arrayIndex\"/>\\n <checker id=\"CheckBufferOverrun::bufferOverflow\"/>\\n <checker id=\"CheckBufferOverrun::negativeArraySize\"/>\\n <checker id=\"CheckBufferOverrun::objectIndex\"/>\\n <checker id=\"CheckClass::analyseWholeProgram\"/>\\n <checker id=\"CheckFunctions::checkMissingReturn\"/>\\n <checker id=\"CheckFunctions::checkProhibitedFunctions\"/>\\n <checker id=\"CheckFunctions::invalidFunctionUsage\"/>\\n <checker id=\"CheckIO::checkFileUsage\"/>\\n <checker id=\"CheckIO::checkWrongPrintfScanfArguments\"/>\\n <checker id=\"CheckLeakAutoVar::check\"/>\\n <checker id=\"CheckMemoryLeakInFunction::checkReallocUsage\"/>\\n ...seWholeProgram\"/>\\n <checker id=\"CheckNullPointer::arithmetic\"/>\\n <checker id=\"CheckNullPointer::nullConstantDereference\"/>\\n <checker id=\"CheckNullPointer::nullPointer\"/>\\n <checker id=\"CheckOther::checkComparePointers\"/>\\n <checker id=\"CheckOther::checkEvaluationOrder\"/>\\n <checker id=\"CheckOther::checkInvalidFree\"/>\\n <checker id=\"CheckOther::checkNegativeBitwiseShift\"/>\\n <checker id=\"CheckOther::checkOverlappingWrite\"/>\\n <checker id=\"CheckOther::checkZeroDivision\"/>\\n <checker id=\"CheckString::sprintfOverlappingData\"/>\\n <checker id=\"CheckString::strPlusChar\"/>\\n <checker id=\"CheckString::stringLiteralWrite\"/>\\n <checker id=\"CheckType::checkFloatToIntegerOverflow\"/>\\n <checker id=\"CheckType::checkIntegerOverflow\"/>\\n <checker id=\"CheckType::checkTooBigBitwiseShift\"/>\\n <checker id=\"CheckUninitVar::analyseWholeProgram\"/>\\n <checker id=\"CheckUninitVar::check\"/>\\n <checker id=\"CheckUninitVar::valueFlowUninit\"/>\\n <checker id=\"CheckVaarg::va_list_usage\"/>\\n <checker id=\"CheckVaarg::va_start_argument\"/>\\n </checkers-report>\\n</results>\\n' = CompletedProcess(args=['/workspace/executable', '--addon=/tmp/pytest-of-root/pytest-0/popen-gw1/test_dummy_metrics_stdout2/addon.py', '--xml-version=3', '/tmp/pytest-of-root/pytest-0/popen-gw1/test_dummy_metrics_stdout2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw1/test_dummy_metrics_stdout2/test.c ...\\n', stderr='<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"3\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n </errors>\\n\\n <critical-errors/>\\n <checkers-report>\\n <checker id=\"CheckAutoVariables::autoVariables\"/>\\n <checker id=\"CheckAutoVariables::checkVarLifetime\"/>\\n <checker id=\"CheckBool::checkAssignBoolToPointer\"/>\\n <checker id=\"CheckBool::pointerArithBool\"/>\\n <checker id=\"CheckBufferOverrun::analyseWholeProgram\"/>\\n <checker id=\"CheckBufferOverrun::arrayIndex\"/>\\n <checker id=\"CheckBufferOverrun::bufferOverflow\"/>\\n <checker id=\"CheckBufferOverrun::negativeArraySize\"/>\\n <checker id=\"CheckBufferOverrun::objectIndex\"/>\\n <checker id=\"CheckClass::analyseWholeProgram\"/>\\n <checker id=\"CheckFunctions::checkMissingReturn\"/>\\n <checker i...eWholeProgram\"/>\\n <checker id=\"CheckNullPointer::arithmetic\"/>\\n <checker id=\"CheckNullPointer::nullConstantDereference\"/>\\n <checker id=\"CheckNullPointer::nullPointer\"/>\\n <checker id=\"CheckOther::checkComparePointers\"/>\\n <checker id=\"CheckOther::checkEvaluationOrder\"/>\\n <checker id=\"CheckOther::checkInvalidFree\"/>\\n <checker id=\"CheckOther::checkNegativeBitwiseShift\"/>\\n <checker id=\"CheckOther::checkOverlappingWrite\"/>\\n <checker id=\"CheckOther::checkZeroDivision\"/>\\n <checker id=\"CheckString::sprintfOverlappingData\"/>\\n <checker id=\"CheckString::strPlusChar\"/>\\n <checker id=\"CheckString::stringLiteralWrite\"/>\\n <checker id=\"CheckType::checkFloatToIntegerOverflow\"/>\\n <checker id=\"CheckType::checkIntegerOverflow\"/>\\n <checker id=\"CheckType::checkTooBigBitwiseShift\"/>\\n <checker id=\"CheckUninitVar::analyseWholeProgram\"/>\\n <checker id=\"CheckUninitVar::check\"/>\\n <checker id=\"CheckUninitVar::valueFlowUninit\"/>\\n <checker id=\"CheckVaarg::va_list_usage\"/>\\n <checker id=\"CheckVaarg::va_start_argument\"/>\\n </checkers-report>\\n</results>\\n').stderrtests/test_checkstring_gaps.py:296: in test_string_literal_write_error\n assert \"stringLiteralWrite\" in stderr\nE AssertionError: assert 'stringLiteralWrite' in ''tests/test_harvest_inline_suppress.py:569: in test_build_dir_unused_template\n assert stdout == ''\nE assert 'cppcheck: er...build-dir\".\\n' == ''\nE \nE + cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\"./workspace/eval/tests/test_harvest_inline_suppress.py:631: TODO: this test makes no sense/workspace/eval/tests/test_harvest_lookup.py:352: Requires running from root folder - original test has @pytest.mark.skip/workspace/eval/tests/test_harvest_inline_suppress.py:651: TODO: behavior of duplicate suppressions across inline and non-inline is currently undefined/workspace/eval/tests/test_harvest_lookup.py:372: Requires running from root folder - original test has @pytest.mark.skip/workspace/eval/tests/test_harvest_inline_suppress.py:674: TODO: behavior of duplicate suppressions across inline and non-inline is currently undefinedtests/test_clangimport.py:384: in test_clangimport_enums\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'/workspace/eval/tests/test_harvest_inline_suppress.py:698: TODO: behavior of duplicate suppressions across inline and non-inline is currently undefinedtests/test_fwdanalysis.py:807: in test_shift_compound_assignment\n assert \"unreadVariable\" in normalized\nE AssertionError: assert 'unreadVariable' in ''/workspace/eval/tests/test_harvest_clang_import.py:90: clang not available or Windows platform/workspace/eval/tests/test_harvest_inline_suppress.py:725: TODO: behavior of duplicate suppressions across inline and non-inline is currently undefined/workspace/eval/tests/test_harvest_clang_import.py:95: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:100: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:105: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:110: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:115: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:120: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:125: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:130: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:135: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:140: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:145: clang not available or Windows platform/workspace/eval/tests/test_harvest_clang_import.py:150: clang not available or Windows platformtests/test_clangimport_advanced.py:750: in test_clangimport_access_specifiers\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_exceptionsafety_gaps.py:253: in test_attribute_nothrow\n assert 'throwInNoexceptFunction' in output\nE AssertionError: assert 'throwInNoexceptFunction' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/attribute_nothrow.cpp ...\\n'tests/test_checktype_gaps.py:288: in test_shift_long_64bit\n assert \"shiftTooManyBits\" in output\nE assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_long.c ...\\n/workspace/eval/test_resources/test_checktype/shift_long.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkstl_gaps.py:572: in test_missing_comparison_extra_increment\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmpg7p3fp_j/test.cpp:2:2: information: Include file: <vector> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <vector>\\n ^\\n/tmp/tmpg7p3fp_j/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_helloworld.py:332: in test_cppcheck_project_local_path\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'tests/test_harvest_more_projects.py:94: in test_project_force_U\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_force_U2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_lookup.py:412: in test_platform_lookup_path\n assert result.returncode == 0, result.stdout if result.stdout else result.stderr\nE AssertionError: looking for platform '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml'\nE try to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\nE try to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\nE try to load platform file '/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\nE try to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\nE try to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\nE cppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml'.\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '--debug-lookup=platform', '--platform=/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.c'], returncode=1, stdout=\"looking for platform '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml'\\ntry to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ntry to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ntry to load platform file '/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ntry to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ntry to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ncppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml'.\\n\", stderr='').returncodetests/test_clangimport.py:420: in test_clangimport_function_pointers\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_harvest_inline_suppress_polyspace.py:41: in test_unmatched_polyspace_suppression\n assert 'test.c:1:0: information: Unmatched suppression: misra-c2012-8.2 [unmatchedPolyspaceSuppression]' in stderr_lines\nE AssertionError: assert 'test.c:1:0: information: Unmatched suppression: misra-c2012-8.2 [unmatchedPolyspaceSuppression]' in []tests/test_harvest_more_projects.py:1039: in test_shared_items_project\n exitcode, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_more_projects.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_clangimport_error_handling.py:19: in test_clangimport_nonexistent_file\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_exceptionsafety_gaps.py:270: in test_entrypoint_throws\n assert 'throwInEntryPoint' in output\nE AssertionError: assert 'throwInEntryPoint' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/entrypoint_throws.cpp ...\\n'tests/test_checktype_gaps.py:307: in test_float_assign_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_assign_overflow.c ...\\n/workspace/eval/test_resources/test_checktype/float_assign_overflow.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = f;\\n ^\\n/workspace/eval/test_resources/test_checktype/float_assign_overflow.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkstl_gaps.py:597: in test_deref_invalid_iterator_after_push_back\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmpwratd5k0/test.cpp:2:2: information: Include file: <vector> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <vector>\\n ^\\n/tmp/tmpwratd5k0/test.cpp:8:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = *it;\\n ^\\n/tmp/tmpwratd5k0/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_more_projects.py:140: in test_project_custom_platform\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_custom_platform2/Project.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_helloworld.py:377: in test_cppcheck_project_local_path_analyze_all\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'tests/test_harvest_inline_suppress_polyspace.py:87: in test_block\n assert 'test.c:3:6: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-8.2]' in stderr_lines\nE AssertionError: assert 'test.c:3:6: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-8.2]' in []tests/test_clangimport.py:452: in test_clangimport_with_clang_path\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_harvest_lookup.py:519: in test_platform_lookup_absolute\n assert result.returncode == 0, result.stdout if result.stdout else result.stderr\nE AssertionError: looking for platform '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml'\nE try to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\nE cppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml'.\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '--debug-lookup=platform', '--platform=/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.c'], returncode=1, stdout=\"looking for platform '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml'\\ntry to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ntry to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ntry to load platform file '/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ntry to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ntry to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ncppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml'.\\n\", stderr='').returncode/workspace/eval/tests/test_harvest_lookup.py:540: Requires running from root folder - original test has @pytest.mark.skiptests/test_harvest_more_projects.py:1080: in test_project_file_nested\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_file_nested2/level1.cppcheck'. Project files are not supported.\"]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...t supported.']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_file_nested2/level1.cppcheck'. Project files are not supported.\" != 'cppcheck: error: nested Cppcheck GUI projects are not supported.'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: nested Cppcheck GUI projects are not supported.',\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_clangimport_error_handling.py:51: in test_clangimport_file_with_warnings\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_exceptionsafety_gaps.py:287: in test_dealloc_throw_static_pointer\n assert 'exceptDeallocThrow' in output\nE AssertionError: assert 'exceptDeallocThrow' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/dealloc_throw_static.cpp ...\\n'tests/test_checktype_gaps.py:326: in test_float_return_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_return_overflow.c ...\\n/workspace/eval/test_resources/test_checktype/float_return_overflow.c:1:5: style: The function 'test' is never used. [unusedFunction]\\nint test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_checkstl_gaps.py:619: in test_iterator_arithmetic_out_of_bounds\n assert \"containerOutOfBounds\" in stderr\nE assert 'containerOutOfBounds' in \"/tmp/tmp1ysu5dbi/test.cpp:2:2: information: Include file: <vector> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <vector>\\n ^\\n/tmp/tmp1ysu5dbi/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_more_projects.py:155: in test_project_empty_platform\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_empty_platform2/Project.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_helloworld.py:390: in test_cppcheck_project_relative_path\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_clangimport.py:479: in test_clangimport_empty_file\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_harvest_lookup.py:175: in test_lib_lookup_notfound_project\n assert \"looking for library 'none.cfg'\" in lines\nE assert \"looking for library 'none.cfg'\" in [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw4/test_lib_lookup_notfound_proje2/project.cppcheck'. Project files are not supported.\"]tests/test_harvest_lookup.py:618: in test_addon_lookup_notfound_project\n assert \"looking for addon 'none.py'\" in lines\nE assert \"looking for addon 'none.py'\" in [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_addon_lookup_notfound_pro2/project.cppcheck'. Project files are not supported.\"]tests/test_harvest_more_projects.py:1099: in test_project_file_no_analyze_all_vs_configs\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_file_no_analyze_a2/project.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_exceptionsafety_gaps.py:304: in test_dealloc_throw_array_delete\n assert 'exceptDeallocThrow' in output\nE AssertionError: assert 'exceptDeallocThrow' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/dealloc_throw_array.cpp ...\\n'tests/test_checktype_gaps.py:345: in test_float_negative_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_negative_overflow.c ...\\n/workspace/eval/test_resources/test_checktype/float_negative_overflow.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = (int)f;\\n ^\\n/workspace/eval/test_resources/test_checktype/float_negative_overflow.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_clangimport_error_handling.py:80: in test_clangimport_complex_expressions\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkstl_gaps.py:642: in test_known_empty_container_in_algorithm\n assert \"knownEmptyContainer\" in stderr\nE assert 'knownEmptyContainer' in \"/tmp/tmpd8r2jnr8/test.cpp:2:2: information: Include file: <vector> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <vector>\\n ^\\n/tmp/tmpd8r2jnr8/test.cpp:3:2: information: Include file: <algorithm> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <algorithm>\\n ^\\n/tmp/tmpd8r2jnr8/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_more_projects.py:171: in test_project_unspecified_platform\n assert stdout == \"cppcheck: error: unrecognized platform: 'Unspecified'.\\n\"\nE assert 'cppcheck: er... supported.\\n' == \"cppcheck: er...specified'.\\n\"\nE \nE - cppcheck: error: unrecognized platform: 'Unspecified'.\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_unspecified_platf2/Project.cppcheck'. Project files are not supported.tests/test_harvest_helloworld.py:406: in test_cppcheck_project_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to open project '/workspace/eval/test/cli/helloworld/helloworld.cppcheck'. The file does not exist.\nE \nE assert 1 == 0tests/test_clangimport.py:518: in test_clangimport_preprocessor_directives\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_harvest_lookup.py:193: in test_lib_lookup_notfound_compdb\n assert \"looking for library 'none.cfg'\" in lines\nE assert \"looking for library 'none.cfg'\" in [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw4/test_lib_lookup_notfound_compd2/compile_commands.json'. Project files are not supported.\"]tests/test_harvest_lookup.py:631: in test_addon_lookup_notfound_compdb\n assert \"looking for addon 'none.py'\" in lines\nE assert \"looking for addon 'none.py'\" in [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_addon_lookup_notfound_com2/compile_commands.json'. Project files are not supported.\"]tests/test_harvest_more_projects.py:1135: in test_project_progress\n assert '1/2 files checked 50% done' in stdout\nE assert '1/2 files checked 50% done' in \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_progress_1_thread2/compile_commands.json'. Project files are not supported.\\n\"/workspace/eval/tests/test_harvest_other.py:1656: executable not built with rules supporttests/test_checktype_gaps.py:364: in test_float_to_char_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_to_char.c ...\\n/workspace/eval/test_resources/test_checktype/float_to_char.c:3:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n char c = (char)f;\\n ^\\n/workspace/eval/test_resources/test_checktype/float_to_char.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"/workspace/eval/tests/test_harvest_other.py:1705: executable not built with rules supporttests/test_harvest_dumpfile.py:50: in test_language_c\n dump_s = (tmp_path / 'test.c.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_c2/test.c.dump'/workspace/eval/tests/test_harvest_other.py:1739: executable not built with rules supporttests/test_clangimport_error_handling.py:120: in test_clangimport_nested_structures\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'/workspace/eval/tests/test_harvest_other.py:1771: executable not built with rules support/workspace/eval/tests/test_harvest_other.py:1805: executable not built with rules support/workspace/eval/tests/test_harvest_other.py:1828: executable not built with rules supporttests/test_checkstl_gaps.py:665: in test_known_empty_container_range_for\n assert \"knownEmptyContainer\" in stderr\nE assert 'knownEmptyContainer' in \"/tmp/tmpteyojrcw/test.cpp:2:2: information: Include file: <vector> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <vector>\\n ^\\n/tmp/tmpteyojrcw/test.cpp:6:14: style: Unused variable: x [unusedVariable]\\n for (int x : vec) {\\n ^\\n/tmp/tmpteyojrcw/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_more_projects.py:186: in test_project_unknown_platform\n assert stdout == \"cppcheck: error: unrecognized platform: 'dummy'.\\n\"\nE assert 'cppcheck: er... supported.\\n' == \"cppcheck: er...m: 'dummy'.\\n\"\nE \nE - cppcheck: error: unrecognized platform: 'dummy'.\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_unknown_platform2/Project.cppcheck'. Project files are not supported.tests/test_harvest_helloworld.py:417: in test_suppress_command_line_related\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_clangimport_advanced.py:33: in test_clangimport_goto_label\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_harvest_other.py:1307: in test_file_order\n assert lines == [\nE AssertionError: assert ['Checking /t...0% done', ...] == ['Checking /t...5% done', ...]\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_order2/a.c ...' != 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_order2/c.c ...'\nE \nE Full diff:\nE [\nE + 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_order2/a.c ...',\nE + '1/4 files checked 0% done',...\nE \nE ...Full output truncated (16 lines hidden), use '-vv' to showtests/test_harvest_more_projects.py:1135: in test_project_progress\n assert '1/2 files checked 50% done' in stdout\nE assert '1/2 files checked 50% done' in \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_progress_2_thread2/compile_commands.json'. Project files are not supported.\\n\"tests/test_checktype_gaps.py:383: in test_float_to_short_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_to_short.c ...\\n/workspace/eval/test_resources/test_checktype/float_to_short.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_dumpfile.py:65: in test_language_c_force_c\n dump_s = (tmp_path / 'test.c.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_c_force_c2/test.c.dump'tests/test_clangimport_error_handling.py:150: in test_clangimport_function_with_many_params\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkstl_gaps.py:709: in test_vector_insert_invalidates_iterators\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmp5wsrzp6z/test.cpp:2:2: information: Include file: <vector> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <vector>\\n ^\\n/tmp/tmp5wsrzp6z/test.cpp:8:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = *it;\\n ^\\n/tmp/tmp5wsrzp6z/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_more_projects.py:276: in test_project_empty_fields\n assert stdout == 'cppcheck: error: no C or C++ source files found.\\n'\nE AssertionError: assert 'cppcheck: er... supported.\\n' == 'cppcheck: er...iles found.\\n'\nE \nE - cppcheck: error: no C or C++ source files found.\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_empty_fields2/Project.cppcheck'. Project files are not supported.tests/test_harvest_other.py:1917: in test_filelist\n lines.remove('{}/{} files checked {}% done'.format(i, len(expected), int(100 * i // len(expected))))\nE ValueError: list.remove(x): x not in listtests/test_harvest_helloworld.py:429: in test_suppress_command_line_absolute\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find or open any of the paths given.\nE \nE assert 1 == 0tests/test_harvest_other.py:2099: in test_ignore_file_relative_backslash\n __test_ignore_file(tmpdir, 'src\\\\test.cpp')\ntests/test_harvest_other.py:2070: in __test_ignore_file\n assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_file_relative_back2/src/test.cpp ...\nE \nE assert 0 == 1tests/test_harvest_more_projects.py:1135: in test_project_progress\n assert '1/2 files checked 50% done' in stdout\nE assert '1/2 files checked 50% done' in \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_progress_2_proces2/compile_commands.json'. Project files are not supported.\\n\"tests/test_harvest_other.py:1346: in test_markup\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_other.py:223: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: ['Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_1.qml ...', '1/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_2.cpp ...', '2/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_3.qml ...', '3/4 files checked 0% done', ...]\nE assert ['Checking /t...0% done', ...] == ['Checking /t...5% done', ...]\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_1.qml ...' != 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_2.cpp ...'\nE \nE Full diff:\nE [\nE + 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_1.qml '\nE + '...',...\nE \nE ...Full output truncated (22 lines hidden), use '-vv' to showtests/test_checktype_gaps.py:403: in test_sign_conversion_constant\n assert \"signConversion\" in output\nE assert 'signConversion' in \"Checking /workspace/eval/test_resources/test_checktype/sign_conversion_const.c ...\\n/workspace/eval/test_resources/test_checktype/sign_conversion_const.c:3:20: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n unsigned int y = -5 * x;\\n ^\\n/workspace/eval/test_resources/test_checktype/sign_conversion_const.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_dumpfile.py:80: in test_language_c_force_cpp\n dump_s = (tmp_path / 'test.c.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_c_force_cpp2/test.c.dump'tests/test_clangimport_error_handling.py:187: in test_clangimport_variadic_function\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_checkstl_gaps.py:733: in test_string_iterator_after_reserve\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmpzeag3zrn/test.cpp:2:2: information: Include file: <string> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include <string>\\n ^\\n/tmp/tmpzeag3zrn/test.cpp:8:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n char c = *it;\\n ^\\n/tmp/tmpzeag3zrn/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_more_projects.py:288: in test_project_missing_subproject\n assert stdout == \"cppcheck: error: failed to open project '{}/dummy.json'. The file does not exist.\\n\".format(str(tmpdir).replace('\\\\', '/'))\nE AssertionError: assert 'cppcheck: er... supported.\\n' == 'cppcheck: er... not exist.\\n'\nE \nE - cppcheck: error: failed to open project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_missing_subprojec2/dummy.json'. The file does not exist.\nE ? ^^^ ^^^^^ ^^^^ ^^ ^^^ - ^^^^\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_missing_subprojec2/Project.cppcheck'. Project files are not supported.\nE ? + ^^ ^^^^^^^ ^^^^^^^^ ^^^^ ++ ^^^^ +++++++ ^tests/test_harvest_other.py:1955: in test_cpp_probe\n assert lines == []\nE AssertionError: assert ['Defines:', ...tform:native'] == []\nE \nE Left contains 4 more items, first extra item: 'Defines:'\nE \nE Full diff:\nE - []\nE + [\nE + 'Defines:',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to showtests/test_harvest_helloworld.py:435: in test_suppress_project_relative\n shutil.copytree(os.path.join(SCRIPT_DIR, 'helloworld'), tmp_path / 'helloworld')\n/usr/lib/python3.10/shutil.py:557: in copytree\n with os.scandir(src) as itr:\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'tests/test_harvest_other.py:1369: in test_markup_j\n assert sorted(lines) == [\nE AssertionError: assert ['1/4 files c...cpp ...', ...] == ['1/4 files c...cpp ...', ...]\nE \nE At index 0 diff: '1/4 files checked 0% done' != '1/4 files checked 25% done'\nE \nE Full diff:\nE [\nE - '1/4 files checked 25% done',\nE ? ^^...\nE \nE ...Full output truncated (21 lines hidden), use '-vv' to showtests/test_harvest_other.py:2107: in test_ignore_file_relative_wildcard_backslash\n __test_ignore_file(tmpdir, 'src\\\\test.c*')\ntests/test_harvest_other.py:2070: in __test_ignore_file\n assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_file_relative_wild3/src/test.cpp ...\nE \nE assert 0 == 1tests/test_checktype_gaps.py:423: in test_integer_underflow\n assert \"integerOverflow\" in output\nE assert 'integerOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/int_underflow.c ...\\n/workspace/eval/test_resources/test_checktype/int_underflow.c:3:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = x - 500000000;\\n ^\\n/workspace/eval/test_resources/test_checktype/int_underflow.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_dumpfile.py:95: in test_language_cpp\n dump_s = (tmp_path / 'test.cpp.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_cpp2/test.cpp.dump'tests/test_harvest_other.py:380: in test_color_non_tty\n assert (__ANSI_BOLD in stderr) == color_expected\nE AssertionError: assert ('\\x1b[1m' in '/tmp/pytest-of-root/pytest-0/popen-gw3/test_color_non_tty_env0_True_2/test.c:1:2: error: #error test [preprocessorErrorDirective]\\n#error test\\n ^\\n') == Truetests/test_harvest_more_projects.py:315: in test_project_std\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_std2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0/workspace/eval/tests/test_harvest_more_projects.py:320: unconditional skiptests/test_clangimport_error_handling.py:225: in test_clangimport_bitfields\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_harvest_other.py:2730: in test_xml_output\n assert (stderr_1 ==\nE assert '<?xml versio...n</results>\\n' == '<?xml versio...n</results>\\n'\nE \nE <?xml version=\"1.0\" encoding=\"UTF-8\"?>\nE <results version=\"2\">\nE <cppcheck version=\"2.19 dev\"/>\nE <errors>\nE - <error id=\"nullPointerRedundantCheck\" severity=\"warning\" msg=\"Either the condition &apos;p&apos; is redundant or there is possible null pointer dereference: p.\" verbose=\"Either the condition &apos;p&apos; is redundant or there is possible null pointer dereference: p.\" cwe=\"476\" file0=\"/tmp/pytest-of-root/pytest-0/popen-gw8/test_xml_output2/test.cpp\" remark=\"boom\">\nE - <location file=\"/tmp/pytest-of-root/pytest-0/popen-gw8/test_xml_output2/test.cpp\" line=\"5\" column=\"12\" info=\"Null pointer dereference\"/>...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_harvest_helloworld.py:452: in test_suppress_project_absolute\n shutil.copytree(os.path.join(SCRIPT_DIR, 'helloworld'), tmp_path / 'helloworld')\n/usr/lib/python3.10/shutil.py:557: in copytree\n with os.scandir(src) as itr:\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'tests/test_harvest_other.py:1992: in test_config_invalid\n assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_config_invalid2/test.c ...\nE \nE assert 0 == 1tests/test_checktype_gaps.py:443: in test_sign_conversion_division\n assert \"signConversion\" in output\nE assert 'signConversion' in \"Checking /workspace/eval/test_resources/test_checktype/sign_conversion_div.c ...\\n/workspace/eval/test_resources/test_checktype/sign_conversion_div.c:4:20: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n unsigned int z = x / y;\\n ^\\n/workspace/eval/test_resources/test_checktype/sign_conversion_div.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_other.py:1422: in test_valueflow_debug\n assert stdout == '''##file {}\nE AssertionError: assert '##file /tmp/...i = 0 ;\\n7: }' == '##file /tmp/...n 0 always 0'\nE \nE - ##file /tmp/pytest-of-root/pytest-0/popen-gw4/test_valueflow_debug2/test2.h\nE ? ^ ^\nE + ##file /tmp/pytest-of-root/pytest-0/popen-gw4/test_valueflow_debug2/test_1.cpp\nE ? ^^ ^^^\nE 2: void f2 ( )\nE 3: {...\nE \nE ...Full output truncated (45 lines hidden), use '-vv' to showtests/test_harvest_other.py:2115: in test_ignore_path_relative_backslash\n __test_ignore_file(tmpdir, 'src\\\\')\ntests/test_harvest_other.py:2070: in __test_ignore_file\n assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_path_relative_back2/src/test.cpp ...\nE \nE assert 0 == 1tests/test_harvest_dumpfile.py:110: in test_language_cpp_force_cpp\n dump_s = (tmp_path / 'test.cpp.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_cpp_force_cpp2/test.cpp.dump'tests/test_harvest_more_projects.py:383: in test_project_file_filter\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_file_2/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_clangimport_error_handling.py:261: in test_clangimport_union\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_harvest_other.py:396: in test_color_tty\n assert (__ANSI_BOLD in stderr) == color_expected\nE AssertionError: assert ('\\x1b[1m' in '\\x1b[1m/tmp/pytest-of-root/pytest-0/popen-gw3/test_color_tty_env1_False_2/test.c:1:2: \\x1b[31merror:\\x1b[39m #error test [preprocessorErrorDirective]\\x1b[0m\\n#error test\\n ^\\n') == Falsetests/test_harvest_other.py:2798: in test_internal_error_loc_int\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...ternalError]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_internal_error_loc_int2/test.c:3:13: error: Internal Error. MathLib::toBigUNumber: out_of_range: 0x10000000000000000 [internalError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_internal_error_loc_int2/test.c:3:13: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_harvest_helloworld.py:474: in test_exclude\n ret, stdout, _ = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_other.py:2041: in test_checkers_report_misra_json\n assert '<checker id=\"Misra C 2012: 8.1\"/>' in stderr\nE assert '<checker id=\"Misra C 2012: 8.1\"/>' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"3\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n </errors>\\n\\n <critical-errors/>\\n <checkers-report>\\n <checker id=\"Check64BitPortability::pointerassignment\"/>\\n <checker id=\"CheckAssert::assertWithSideEffects\"/>\\n <checker id=\"CheckAutoVariables::assignFunctionArg\"/>\\n <checker id=\"CheckAutoVariables::autoVariables\"/>\\n <checker id=\"CheckAutoVariables::checkVarLifetime\"/>\\n <checker id=\"CheckBool::checkAssignBoolToPointer\"/>\\n <checker id=\"CheckBool::checkBitwiseOnBoolean\"/>\\n <checker id=\"CheckBool::checkComparisonOfBoolExpressionWithInt\"/>\\n <checker id=\"CheckBool::checkIncrementBoolean\"/>\\n <checker id=\"CheckBool::pointerArithBool\"/>\\n <checker id=\"CheckBool::returnValueOfFunctionReturningBool\"/>\\n <checker id=\"CheckBufferOverrun::analyseWholeProgram\"/>\\n <checker id=\"CheckBufferOverrun::argumentSize\"/>\\n <checker id=\"CheckBufferOverrun::arrayIndex\"/>\\n <checker id=\"CheckBufferOverrun::arrayIndexThenCheck\"/>\\n <checker id=\"CheckBufferOverrun::bufferOverflow\"/>\\n <checker id=\"CheckBuff...hecker id=\"CheckSizeof::sizeofsizeof\"/>\\n <checker id=\"CheckString::checkAlwaysTrueOrFalseStringCompare\"/>\\n <checker id=\"CheckString::checkIncorrectStringCompare\"/>\\n <checker id=\"CheckString::checkSuspiciousStringCompare\"/>\\n <checker id=\"CheckString::overlappingStrcmp\"/>\\n <checker id=\"CheckString::sprintfOverlappingData\"/>\\n <checker id=\"CheckString::strPlusChar\"/>\\n <checker id=\"CheckString::stringLiteralWrite\"/>\\n <checker id=\"CheckType::checkFloatToIntegerOverflow\"/>\\n <checker id=\"CheckType::checkIntegerOverflow\"/>\\n <checker id=\"CheckType::checkLongCast\"/>\\n <checker id=\"CheckType::checkSignConversion\"/>\\n <checker id=\"CheckType::checkTooBigBitwiseShift\"/>\\n <checker id=\"CheckUninitVar::analyseWholeProgram\"/>\\n <checker id=\"CheckUninitVar::check\"/>\\n <checker id=\"CheckUninitVar::valueFlowUninit\"/>\\n <checker id=\"CheckUnusedVar::checkFunctionVariableUsage\"/>\\n <checker id=\"CheckUnusedVar::checkStructMemberUsage\"/>\\n <checker id=\"CheckVaarg::va_list_usage\"/>\\n <checker id=\"CheckVaarg::va_start_argument\"/>\\n </checkers-report>\\n</results>\\n'tests/test_checktype_gaps.py:464: in test_long_cast_shift_operator\n assert \"truncLongCastAssignment\" in output\nE assert 'truncLongCastAssignment' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_shift.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_shift.c:3:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_other.py:1498: in test_file_duplicate_2\n assert lines == [\nE AssertionError: assert ['Checking /t...cked 0% done'] == ['Checking /t...ed 100% done']\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_duplicate_22/a.c ...' != 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_duplicate_22/c.c ...'\nE \nE Full diff:\nE [\nE 'Checking '\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_file_duplicate_22/c.c ...',...\nE \nE ...Full output truncated (16 lines hidden), use '-vv' to showtests/test_harvest_dumpfile.py:125: in test_language_cpp_force_c\n dump_s = (tmp_path / 'test.cpp.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_cpp_force_c2/test.cpp.dump'tests/test_harvest_more_projects.py:383: in test_project_file_filter\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_file_5/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_other.py:2123: in test_ignore_path_relative_wildcard_backslash\n __test_ignore_file(tmpdir, 'src*\\\\')\ntests/test_harvest_other.py:2070: in __test_ignore_file\n assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_path_relative_wild3/src/test.cpp ...\nE \nE assert 0 == 1tests/test_clangimport_error_handling.py:295: in test_clangimport_multidimensional_arrays\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_harvest_other.py:437: in test_progress\n assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: unrecognized command line option: \"--report-progress=0\".\nE \nE assert 1 == 0tests/test_harvest_other.py:2833: in test_addon_suppr_inline\n __test_addon_suppr(tmp_path, ['--inline-suppr', '-j1'])\ntests/test_harvest_other.py:2824: in __test_addon_suppr\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_inline2/test.c:4:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_inline2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_harvest_helloworld.py:491: in test_build_dir_dump_output\n run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_other.py:2317: in test_ignore_project_2_abspath\n __test_ignore_project_2(tmpdir, ['-i$path'], inject_path=True)\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_ignore_project_2_abspath2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw9/test_ignore_project_2_abspath2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_checktype_gaps.py:484: in test_shift_win64_long_32bit\n assert \"shiftTooManyBits\" in output\nE assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_win64.c ...\\n/workspace/eval/test_resources/test_checktype/shift_win64.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 114/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_dumpfile.py:140: in test_language_h\n dump_s = (tmp_path / 'test.h.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_h2/test.h.dump'tests/test_harvest_other.py:1527: in test_file_duplicate_3\n assert lines == [\nE AssertionError: assert ['Checking /t...cked 0% done'] == ['Checking a.c ...']\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_duplicate_32/a.c ...' != 'Checking a.c ...'\nE Left contains 3 more items, first extra item: '1/2 files checked 0% done'\nE \nE Full diff:\nE [\nE + 'Checking '...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show/workspace/eval/tests/test_harvest_other.py:1532: requires Windowstests/test_harvest_more_projects.py:383: in test_project_file_filter\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_file_8/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_clangimport_error_handling.py:328: in test_clangimport_static_local_variables\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'tests/test_harvest_other.py:2178: in test_ignore_project_file\n __test_ignore_project(tmpdir, 'test.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_other.py:470: in test_progress_j\n assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: unrecognized command line option: \"--report-progress=0\".\nE \nE assert 1 == 0tests/test_harvest_other.py:2839: in test_addon_suppr_inline_j\n __test_addon_suppr(tmp_path, ['--inline-suppr', '-j2'])\ntests/test_harvest_other.py:2824: in __test_addon_suppr\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_inline_j2/test.c:4:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_inline_j2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_harvest_helloworld.py:508: in test_checkers_report\n run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_other.py:2373: in test_builddir_hash_check_level\n assert stderr == '{}:0:0: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...axBranches]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw9/test_builddir_hash_check_level2/test.c:0:0: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches]tests/test_checktype_gaps.py:504: in test_long_cast_return_float_to_double\n assert \"truncLongCastReturn\" in output\nE assert 'truncLongCastReturn' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_return_float.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_return_float.c:3:8: style: The function 'test' is never used. [unusedFunction]\\ndouble test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_dumpfile.py:155: in test_language_h_force_c\n dump_s = (tmp_path / 'test.h.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_h_force_c2/test.h.dump'tests/test_harvest_more_projects.py:383: in test_project_file_filter\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_file_11/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_other.py:1613: in test_addon_json_invalid_no_obj\n __test_addon_json_invalid(tmpdir, json.dumps([]), \"JSON is not an object.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1tests/test_harvest_other.py:4373: in test_active_unusedfunction_only\n __test_active_checkers(tmp_path, 1, 186, use_unusedfunction_only=True)\ntests/test_harvest_other.py:4356: in __test_active_checkers\n assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\nE \nE assert 1 == 0tests/test_harvest_other.py:2182: in test_ignore_project_file_cli_prepend\n __test_ignore_project(tmpdir, ign_proj='test2.cpp', ign_cli='test.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_cli_p2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_cli_p2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_other.py:487: in test_execute_addon_failure_py_auto\n assert stderr == '{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to auto detect python [internalError]\\n\\n^\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw3/test_execute_addon_failure_py_2/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to auto detect python [internalError]\nE - \nE - ^tests/test_harvest_helloworld.py:534: in test_missing_include_system\n _, _, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_other.py:2843: in test_addon_suppr_cli_line\n __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:*:3'])\ntests/test_harvest_other.py:2824: in __test_addon_suppr\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_line2/test.c:4:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_line2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_harvest_other.py:2416: in test_def_undef\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...nullPointer]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_def_undef2/test.c:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw9/test_def_undef2/test.c:5:14: '\nE - 'error: Null pointer dereference: (int*)0 [nullPointer]',\nE - ]tests/test_harvest_other.py:524: in test_execute_addon_failure_json_notexist\n assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is {} [internalError]\\n\\n^\\n\".format(test_file, ec)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_execute_addon_failure_jso2/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is 127 [internalError]\nE - \nE - ^/workspace/eval/tests/test_harvest_other.py:526: Windows specific issuetests/test_harvest_dumpfile.py:170: in test_language_h_force_cpp\n dump_s = (tmp_path / 'test.h.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_h_force_cpp2/test.h.dump'tests/test_harvest_more_projects.py:414: in test_project_file_filter_cpp\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_cpp_f2/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_other.py:1617: in test_addon_json_invalid_args_1\n __test_addon_json_invalid(tmpdir, json.dumps({'args':0}), \"'args' must be an array.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1tests/test_harvest_other.py:4380: in test_active_unusedfunction_only_builddir\n __test_active_checkers(tmp_path, 1, 186, use_unusedfunction_only=True, checkers_exp=checkers_exp)\ntests/test_harvest_other.py:4358: in __test_active_checkers\n assert stderr.splitlines() == [\nE AssertionError: assert ['nofile:0:0:...sReport]', ''] == ['nofile:0:0:...sReport]', '']\nE \nE At index 0 diff: 'nofile:0:0: information: Active checkers: 41/186 (use --checkers-report=<filename> to see details) [checkersReport]' != 'nofile:0:0: information: Active checkers: 1/186 (use --checkers-report=<filename> to see details) [checkersReport]'\nE \nE Full diff:\nE [\nE - 'nofile:0:0: information: Active checkers: 1/186 (use '\nE + 'nofile:0:0: information: Active checkers: 41/186 (use '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to showtests/test_harvest_other.py:2186: in test_ignore_project_file_cli_append\n __test_ignore_project(tmpdir, ign_proj='test2.cpp', ign_cli='test.cpp', append_cli=True)\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_cli_a2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_cli_a2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_other.py:502: in test_execute_addon_failure_py_notexist\n assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'naming' - exitcode is {} [internalError]\\n\\n^\\n\".format(test_file, ec)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw3/test_execute_addon_failure_py_5/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'naming' - exitcode is 127 [internalError]\nE - \nE - ^tests/test_harvest_helloworld.py:544: in test_sarif\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_other.py:2847: in test_addon_suppr_cli_file_line\n __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:test.c:3'])\ntests/test_harvest_other.py:2824: in __test_addon_suppr\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_file_line2/test.c:4:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_file_line2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_harvest_other.py:2507: in test_undef\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...nullPointer]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_undef2/test.c:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw9/test_undef2/test.c:5:14: error: '\nE - 'Null pointer dereference: (int*)0 [nullPointer]',\nE - ]tests/test_harvest_other.py:578: in test_execute_addon_failure_json_ctu_notexist\n assert stderr.splitlines() == [\nE assert [] == ['/tmp/pytest...ternalError]']\nE \nE Right contains 2 more items, first extra item: \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_execute_addon_failure_jso5/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is 127 [internalError]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw6/test_execute_addon_failure_jso5/test.cpp:0:0: '...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_harvest_more_projects.py:414: in test_project_file_filter_cpp\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_cpp_f5/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_dumpfile.py:185: in test_language_unk\n dump_s = (tmp_path / 'test.src.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_unk2/test.src.dump'tests/test_harvest_other.py:4384: in test_active_unusedfunction_only_misra\n __test_active_checkers(tmp_path, 1, 386, use_unusedfunction_only=True, use_misra=True)\ntests/test_harvest_other.py:4356: in __test_active_checkers\n assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\nE \nE assert 1 == 0tests/test_harvest_other.py:1621: in test_addon_json_invalid_args_2\n __test_addon_json_invalid(tmpdir, json.dumps({'args':[0]}), \"'args' entry is not a string.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1tests/test_harvest_other.py:2190: in test_ignore_project_file_wildcard_back\n __test_ignore_project(tmpdir, 'test.c*')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_wildc2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_wildc2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_other.py:3615: in test_suppress_unmatched_wildcard\n assert stderr.splitlines() == [\nE AssertionError: assert ['test*.c:-1:...ession]', ...] == ['test*.c:-1:...Suppression]']\nE \nE At index 0 diff: 'test*.c:-1:0: information: Unmatched suppression: nullPointer [unmatchedSuppression]' != 'test*.c:-1:0: information: Unmatched suppression: id [unmatchedSuppression]'\nE Left contains 4 more items, first extra item: 'tes?.c:-1:0: information: Unmatched suppression: id2 [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'test*.c:-1:0: information: Unmatched suppression: nullPointer '...\nE \nE ...Full output truncated (14 lines hidden), use '-vv' to showtests/test_harvest_helloworld.py:567: in test_xml_checkers_report\n assert exitcode == 0\nE assert 1 == 0tests/test_harvest_other.py:2852: in test_addon_suppr_cli_absfile_line\n __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:{}:3'.format(test_file)])\ntests/test_harvest_other.py:2824: in __test_addon_suppr\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_absfile_l2/test.c:4:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_absfile_l2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show[XPASS(strict)] tests/test_harvest_other.py:592: in test_execute_addon_file0\n assert 'misra-c2012-8.2' in stderr\nE assert 'misra-c2012-8.2' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"2\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n </errors>\\n</results>\\n'/workspace/eval/tests/test_harvest_other.py:598: unconditional skiptests/test_harvest_more_projects.py:445: in test_project_file_filter_c\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_c_fil2/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_dumpfile.py:200: in test_language_unk_force_c\n dump_s = (tmp_path / 'test.src.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_unk_force_c2/test.src.dump'tests/test_harvest_other.py:4391: in test_active_unusedfunction_only_misra_builddir\n __test_active_checkers(tmp_path, 1, 386, use_unusedfunction_only=True, use_misra=True, checkers_exp=checkers_exp)\ntests/test_harvest_other.py:4358: in __test_active_checkers\n assert stderr.splitlines() == [\nE AssertionError: assert ['nofile:0:0:...sReport]', ''] == ['nofile:0:0:...sReport]', '']\nE \nE At index 0 diff: 'nofile:0:0: information: Active checkers: 41/186 (use --checkers-report=<filename> to see details) [checkersReport]' != 'nofile:0:0: information: Active checkers: 1/386 (use --checkers-report=<filename> to see details) [checkersReport]'\nE \nE Full diff:\nE [\nE - 'nofile:0:0: information: Active checkers: 1/386 (use '\nE ? ^...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_harvest_other.py:1625: in test_addon_json_invalid_ctu\n __test_addon_json_invalid(tmpdir, json.dumps({'ctu':0}), \"'ctu' must be a boolean.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1tests/test_harvest_inline_suppress.py:71: in test_1\n assert stderr == ''\nE AssertionError: assert 'proj-inline-.... [zerodiv]\\n' == ''\nE \nE + proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]tests/test_harvest_other.py:2194: in test_ignore_project_file_wildcard_front\n __test_ignore_project(tmpdir, '*test.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_wildc5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_wildc5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_other.py:3691: in test_preprocess_enforced_cpp\n assert stderr.splitlines() == [\nE assert ['/tmp/pytest...orDirective]'] == ['/tmp/pytest...orDirective]']\nE \nE At index 0 diff: '/tmp/pytest-of-root/pytest-0/popen-gw3/test_preprocess_enforced_cpp2/test.c:2:2: error: #error\"err\" [preprocessorErrorDirective]' != '/tmp/pytest-of-root/pytest-0/popen-gw3/test_preprocess_enforced_cpp2/test.c:2:2: error: #error \"err\" [preprocessorErrorDirective]'\nE \nE Full diff:\nE [\nE '/tmp/pytest-of-root/pytest-0/popen-gw3/test_preprocess_enforced_cpp2/test.c:2:2: '\nE - 'error: #error \"err\" [preprocessorErrorDirective]',...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_harvest_other.py:2896: in test_ctu_path_builddir\n assert stderr_1.splitlines() == stderr_exp\nE AssertionError: assert [] == ['/tmp/pytest... ^', ...]\nE \nE Right contains 12 more items, first extra item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_ctu_path_builddir2/test.c:2:19: error: Null pointer dereference: p [ctunullpointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_ctu_path_builddir2/test.c:2:19: '...\nE \nE ...Full output truncated (16 lines hidden), use '-vv' to show[XPASS(strict)] tests/test_harvest_more_projects.py:445: in test_project_file_filter_c\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_c_fil5/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_other.py:626: in test_addon_ctu_exitcode\n assert '2.3' in stderr, stderr\nE AssertionError: \nE assert '2.3' in ''tests/test_harvest_dumpfile.py:215: in test_language_unk_force_cpp\n dump_s = (tmp_path / 'test.src.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_unk_force_cpp2/test.src.dump'tests/test_harvest_inline_suppress.py:102: in test_xml\n assert '<suppression errorId=\"some_warning_id\" fileName=\"proj-inline-suppress/2.c\" lineNumber=\"2\" inline=\"true\" comment=\"there should be a unmatchedSuppression warning about this\" />' in stderr\nE assert '<suppression errorId=\"some_warning_id\" fileName=\"proj-inline-suppress/2.c\" lineNumber=\"2\" inline=\"true\" comment=\"there should be a unmatchedSuppression warning about this\" />' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"3\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n <error id=\"zerodiv\" severity=\"error\" msg=\"Division by zero.\" verbose=\"Division by zero.\" cwe=\"369\" file0=\"proj-inline-suppress/3.cpp\">\\n <location file=\"proj-inline-suppress/3.cpp\" line=\"4\" column=\"19\" info=\"Division by zero\"/>\\n </error>\\n </errors>\\n\\n <critical-errors/>\\n <checkers-report>\\n <checker id=\"CheckAutoVariables::autoVariables\"/>\\n <checker id=\"CheckAutoVariables::checkVarLifetime\"/>\\n <checker id=\"CheckBool::checkAssignBoolToPointer\"/>\\n <checker id=\"CheckBool::pointerArithBool\"/>\\n <checker id=\"CheckBufferOverrun::analyseWholeProgram\"/>\\n <checker id=\"CheckBufferOverrun::arrayIndex\"/>\\n <checker id=\"CheckBufferOverrun::bufferOverflow\"/>\\n <checker id=\"CheckBufferOverrun::negativeArraySize\"/>\\n <checker id=\"CheckBufferOverrun::objectIndex\"/>\\n <checker id=\"CheckClass::analyseWholeProgram\"/>\\n <checker id=\"CheckClass::checkMemset\"/>\\n <checker id=\"CheckClass::checkSelfInitialization\"/>\\n <checker id=\"CheckClass::virtualDestructor\"...torOutOfBounds\"/>\\n <checker id=\"CheckStl::invalidContainer\"/>\\n <checker id=\"CheckStl::iterators\"/>\\n <checker id=\"CheckStl::misMatchingContainerIterator\"/>\\n <checker id=\"CheckStl::misMatchingContainers\"/>\\n <checker id=\"CheckStl::negativeIndex\"/>\\n <checker id=\"CheckStl::outOfBounds\"/>\\n <checker id=\"CheckStl::outOfBoundsIndexExpression\"/>\\n <checker id=\"CheckStl::stlBoundaries\"/>\\n <checker id=\"CheckStl::stlOutOfBounds\"/>\\n <checker id=\"CheckStl::string_c_str\"/>\\n <checker id=\"CheckString::sprintfOverlappingData\"/>\\n <checker id=\"CheckString::strPlusChar\"/>\\n <checker id=\"CheckString::stringLiteralWrite\"/>\\n <checker id=\"CheckType::checkFloatToIntegerOverflow\"/>\\n <checker id=\"CheckType::checkIntegerOverflow\"/>\\n <checker id=\"CheckType::checkTooBigBitwiseShift\"/>\\n <checker id=\"CheckUninitVar::analyseWholeProgram\"/>\\n <checker id=\"CheckUninitVar::check\"/>\\n <checker id=\"CheckUninitVar::valueFlowUninit\"/>\\n <checker id=\"CheckVaarg::va_list_usage\"/>\\n <checker id=\"CheckVaarg::va_start_argument\"/>\\n </checkers-report>\\n</results>\\n'tests/test_harvest_other.py:4432: in test_analyzerinfo\n run_and_assert_cppcheck([\ntests/test_harvest_other.py:4425: in run_and_assert_cppcheck\n assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--debug-analyzerinfo\".\nE \nE assert 1 == 0tests/test_harvest_other.py:1629: in test_addon_json_invalid_python\n __test_addon_json_invalid(tmpdir, json.dumps({'python':0}), \"'python' must be a string.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1tests/test_harvest_other.py:2198: in test_ignore_project_file_placeholder\n __test_ignore_project(tmpdir, 't?st.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_place2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_place2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_other.py:3766: in test_debug_normal\n __test_debug_normal(tmp_path, False)\ntests/test_harvest_other.py:3749: in __test_debug_normal\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f02d8491230>('##Value flow')\nE + where <built-in method find of str object at 0x7f02d8491230> = '\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw3/test_debug_normal2/test.c\\n1: void f ( )\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.findtests/test_harvest_other.py:2958: in test_debug\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f8f61f32ef0>('##Value flow')\nE + where <built-in method find of str object at 0x7f8f61f32ef0> = '\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw8/test_debug2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.findtests/test_harvest_other.py:2649: in test_duplicate_suppression\n assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1tests/test_harvest_more_projects.py:475: in test_project_relpath_file_filter_abspath\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines, cwd=tmpdir)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_dumpfile.py:242: in test_duplicate_file_entries\n assert result.returncode == 0\nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '--project=compile_commands.json', '--dump'], returncode=1, stdout=\"cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\\n\", stderr='').returncodetests/test_harvest_other.py:648: in test_addon_misra\n assert stderr == '{}:2:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]\\ntypedef int MISRA_5_6_VIOLATION;\\n^\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...OLATION;\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_misra2/test.cpp:2:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]\nE - typedef int MISRA_5_6_VIOLATION;\nE - ^tests/test_harvest_inline_suppress.py:168: in test_backwards_compatibility\n assert lines == []\nE AssertionError: assert ['proj-inline...o. [zerodiv]'] == []\nE \nE Left contains one more item: 'proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]'\nE \nE Full diff:\nE - []\nE + [\nE + 'proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]',\nE + ]tests/test_harvest_other.py:1633: in test_addon_json_invalid_executable\n __test_addon_json_invalid(tmpdir, json.dumps({'executable':0}), \"'executable' must be a string.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1tests/test_harvest_other.py:2202: in test_ignore_project_file_relative\n __test_ignore_project(tmpdir, 'src/test.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_relat2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_relat2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_other.py:3811: in test_debug_simplified\n __test_debug_simplified(tmp_path, False)\ntests/test_harvest_other.py:3799: in __test_debug_simplified\n assert stdout.find('##file ') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f02dad1c030>('##file ')\nE + where <built-in method find of str object at 0x7f02dad1c030> = ''.findtests/test_harvest_other.py:2994: in test_debug_xml\n debug_xml = ElementTree.fromstring(stdout)\n/usr/lib/python3.10/xml/etree/ElementTree.py:1342: in XML\n parser.feed(text)\nE xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 3, column 1tests/test_harvest_other.py:2675: in test_duplicate_suppressions_list\n assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1tests/test_harvest_more_projects.py:505: in test_project_abspath_file_filter_relpath\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines, cwd=tmpdir)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_dumpfile.py:262: in test_container_methods\n assert '<f name=\"emplace\" action=\"push\" yield=\"iterator\"/>' in dump\nE assert '<f name=\"emplace\" action=\"push\" yield=\"iterator\"/>' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<dumps language=\"cpp\">\\n <platform name=\"native\" char_bit=\"8\" short_bit=\"16\" int_bit=\"32\" long_bit=\"64\" long_long_bit=\"64\" pointer_bit=\"64\" wchar_t_bit=\"32\" size_t_bit=\"64\"/>\\n <rawtokens>\\n <file index=\"0\" name=\"test.cpp\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"1\" str=\"std\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"4\" str=\"::\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"6\" str=\"string\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"13\" str=\"s\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"14\" str=\";\"/>\\n </rawtokens>\\n <dump cfg=\"\">\\n <standards>\\n <c version=\"c11\"/>\\n <cpp version=\"c++20\"/>\\n </standards>\\n <tokenlist>\\n <token id=\"0x564af2d8d2c0\" file=\"test.cpp\" linenr=\"1\" column=\"1\" str=\"std\" type=\"name\"/>\\n <token id=\"0x564af2d366d0\" file=\"test.cpp\" linenr=\"1\" column=\"4\" str=\"::\" type=\"op\"/>\\n <token id=\"0x564af2e17960\" file=\"test.cpp\" linenr=\"1\" column=\"6\" str=\"string\" type=\"name\"/>\\n <token id=\"0x564af2d98010\" file=\"test.cpp\" linenr=\"1\" column=\"13\" str=\"s\" type=\"name\" varId=\"1\"/>\\n <token id=\"0x564af2d98130\" file=\"test.cpp\" linenr=\"1\" column=\"14\" str=\";\" type=\"op\"/>\\n </tokenlist>\\n </dump>\\n</dumps>\\n'tests/test_harvest_other.py:671: in test_addon_y2038\n assert stderr == '{}:4:21: warning: time is Y2038-unsafe [y2038-unsafe-call]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nsafe-call]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_y20382/test.cpp:4:21: warning: time is Y2038-unsafe [y2038-unsafe-call]tests/test_harvest_inline_suppress.py:187: in test_compile_commands_unused_function\n assert lines == [\nE assert [] == ['/workspace/...sedFunction]']\nE \nE Right contains one more item: \"/workspace/test/cli/proj-inline-suppress-unusedFunction/B.cpp:6:9: style: The function 'unusedFunctionTest' is never used. [unusedFunction]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/workspace/test/cli/proj-inline-suppress-unusedFunction/B.cpp:6:9: style: '\nE - \"The function 'unusedFunctionTest' is never used. [unusedFunction]\",\nE - ]/workspace/eval/tests/test_harvest_inline_suppress.py:194: unusedFunction check not working with parallel analysistests/test_harvest_other.py:2206: in test_ignore_project_file_relative_backslash\n __test_ignore_project(tmpdir, 'src\\\\test.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_relat5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_relat5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_other.py:1637: in test_addon_json_invalid_script_1\n __test_addon_json_invalid(tmpdir, json.dumps({'Script':''}), \"'script' is missing.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1tests/test_harvest_other.py:3816: in test_debug_simplified_verbose_nodiff\n assert __test_debug_simplified(tmp_path, False) == __test_debug_simplified(tmp_path, True)\ntests/test_harvest_other.py:3799: in __test_debug_simplified\n assert stdout.find('##file ') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f02dad1c030>('##file ')\nE + where <built-in method find of str object at 0x7f02dad1c030> = ''.findtests/test_harvest_other.py:3027: in test_debug_verbose\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f8f62013d20>('##Value flow')\nE + where <built-in method find of str object at 0x7f8f62013d20> = 'Defines:\\nUndefines:\\nIncludes:\\nPlatform:native\\n\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw8/test_debug_verbose2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.findtests/test_harvest_other.py:2699: in test_duplicate_suppressions_mixed\n assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1tests/test_harvest_more_projects.py:573: in test_project_pathmatch_other_cwd\n assert 0 == exitcode\nE assert 0 == 1tests/test_harvest_other.py:692: in test_addon_threadsafety\n assert stderr == '{}:4:12: warning: strerror is MT-unsafe [threadsafety-unsafe-call]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nsafe-call]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_threadsafety2/test.cpp:4:12: warning: strerror is MT-unsafe [threadsafety-unsafe-call]tests/test_harvest_helloworld.py:114: in test_relative_path\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_inline_suppress.py:230: in test_unused_function_unmatched\n assert lines == [\nE AssertionError: assert [] == ['proj-inline...Suppression]']\nE \nE Right contains 2 more items, first extra item: 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to showtests/test_harvest_other.py:2210: in test_ignore_project_path_relative\n __test_ignore_project(tmpdir, 'src/')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_path_relat2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_path_relat2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_other.py:1641: in test_addon_json_invalid_script_2\n __test_addon_json_invalid(tmpdir, json.dumps({'script':0}), \"'script' must be a string.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1tests/test_harvest_other.py:3064: in test_debug_verbose_xml\n debug_xml = ElementTree.fromstring(stdout)\n/usr/lib/python3.10/xml/etree/ElementTree.py:1342: in XML\n parser.feed(text)\nE xml.etree.ElementTree.ParseError: syntax error: line 1, column 0tests/test_harvest_other.py:3855: in test_debug_symdb\n __test_debug_symdb(tmp_path, False)\ntests/test_harvest_other.py:3845: in __test_debug_symdb\n assert stdout.find('### Symbol database ###') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f02dad1c030>('### Symbol database ###')\nE + where <built-in method find of str object at 0x7f02dad1c030> = ''.find/workspace/eval/tests/test_harvest_other.py:3857: unconditional skiptests/test_harvest_proj2.py:149: in test_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_absolute_path2/proj2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_more_projects.py:599: in test_project_file_filter_no_match\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_no_ma2/test.cppcheck'. Project files are not supported.\"]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...e filter:*.c']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_no_ma2/test.cppcheck'. Project files are not supported.\" != 'cppcheck: error: could not find any files matching the filter:*.c'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: could not find any files matching the filter:*.c',\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_harvest_other.py:722: in test_addon_naming\n assert stderr == '{}:2:1: style: Variable Var violates naming convention [naming-varname]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...ng-varname]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_naming2/test.cpp:2:1: style: Variable Var violates naming convention [naming-varname]tests/test_harvest_helloworld.py:126: in test_local_path\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'tests/test_harvest_inline_suppress.py:383: in test_unused_function_disabled_unmatched_j\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['proj-inline...Suppression]']\nE \nE Right contains one more item: 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: '\nE - 'Unmatched suppression: uninitvar [unmatchedSuppression]',\nE - ]tests/test_harvest_other.py:2214: in test_ignore_project_path_relative_backslash\n __test_ignore_project(tmpdir, 'src\\\\')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_path_relat5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_path_relat5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_other.py:4010: in test_ast_max_depth\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...nalAstError]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_ast_max_depth2/test.cpp:12:5: error: maximum AST depth exceeded [internalAstError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_ast_max_depth2/test.cpp:12:5: '\nE - 'error: maximum AST depth exceeded [internalAstError]',\nE - ]tests/test_harvest_other.py:3132: in test_debug_template\n __test_debug_template(tmp_path, verbose=False)\ntests/test_harvest_other.py:3124: in __test_debug_template\n assert stdout.count('### Template Simplifier pass ') == 1\nE AssertionError: assert 0 == 1\nE + where 0 = <built-in method count of str object at 0x7f8f694d4030>('### Template Simplifier pass ')\nE + where <built-in method count of str object at 0x7f8f694d4030> = ''.counttests/test_harvest_proj2.py:162: in test_gui_project_loads_compile_commands_1\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/proj2.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_other.py:3900: in test_debug_ast\n __test_debug_ast(tmp_path, False)\ntests/test_harvest_other.py:3891: in __test_debug_ast\n assert stdout.find('##AST') != -1\nE assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x561a68590910>('##AST')\nE + where <built-in method find of str object at 0x561a68590910> = \"1:1 'void' varId=0 type=12 scope=0\\n1:6 'f' varId=0 type=14 scope=0\\n1:7 '(' varId=0 type=9 scope=0\\n1:8 ')' varId=0 type=9 scope=0\\n2:1 '{' varId=0 type=9 scope=0\\n3:5 '(' varId=0 type=9 op1='*' scope=5\\n3:6 'void' varId=0 type=12 scope=5\\n3:10 ')' varId=0 type=9 scope=5\\n3:11 '(' varId=0 type=9 scope=5\\n3:12 '*' varId=0 type=8 parent='(' op1='(' scope=5\\n3:13 '(' varId=0 type=9 scope=5\\n3:14 '(' varId=0 type=9 parent='*' op1='0' scope=5 val=0K\\n3:15 'int' varId=0 type=12 scope=5\\n3:18 '*' varId=0 type=8 scope=5\\n3:19 ')' varId=0 type=9 scope=5\\n3:20 '0' varId=0 type=3 parent='(' scope=5 val=0K\\n3:21 ')' varId=0 type=9 scope=5\\n3:22 ')' varId=0 type=9 scope=5\\n3:23 ';' varId=0 type=8 scope=5\\n4:1 '}' varId=0 type=9 scope=0\\n\\n\".findtests/test_harvest_more_projects.py:632: in test_project_file_order\n assert exitcode == 0\nE assert 1 == 0tests/test_harvest_other.py:900: in test_addon_namingng\n assert lines == expect\nE AssertionError: assert [' ^', '#incl...singInclude]'] == [' ... ^', ...]\nE \nE At index 0 diff: ' ^' != ' ^'\nE Right contains 56 more items, first extra item: ' ^'\nE \nE Full diff:\nE [\nE - ' ^',...\nE \nE ...Full output truncated (115 lines hidden), use '-vv' to showtests/test_harvest_helloworld.py:139: in test_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find or open any of the paths given.\nE \nE assert 1 == 0tests/test_harvest_inline_suppress.py:400: in test_misra_disabled_unmatched\n assert stderr.splitlines() == [\nE AssertionError: assert ['proj-inline...Suppression]'] == ['proj-inline...Suppression]']\nE \nE At index 0 diff: 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: misra-c2012-20.5 [unmatchedSuppression]' != 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to showtests/test_harvest_other.py:2218: in test_ignore_project_abspath\n __test_ignore_project(tmpdir, '$path', inject_path_proj=True)\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_abspath2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_abspath2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_other.py:4033: in test_misra_disabled_unmatched\n assert stderr.splitlines() == [\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['nofile:0:0:...Suppression]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: misra-c2012-20.5 [unmatchedSuppression]' != 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: misra-c2012-20.5 '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to showtests/test_harvest_proj2.py:179: in test_gui_project_loads_compile_commands_2\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_more_projects.py:667: in test_project_file_duplicate\n assert exitcode == 0\nE assert 1 == 0tests/test_harvest_other.py:3137: in test_debug_template_verbose_nodiff\n assert __test_debug_template(tmp_path, verbose=False) == __test_debug_template(tmp_path, verbose=True)\ntests/test_harvest_other.py:3124: in __test_debug_template\n assert stdout.count('### Template Simplifier pass ') == 1\nE AssertionError: assert 0 == 1\nE + where 0 = <built-in method count of str object at 0x7f8f694d4030>('### Template Simplifier pass ')\nE + where <built-in method count of str object at 0x7f8f694d4030> = ''.counttests/test_harvest_other.py:3905: in test_debug_ast_verbose_nodiff\n assert __test_debug_ast(tmp_path, False) == __test_debug_ast(tmp_path, True)\ntests/test_harvest_other.py:3891: in __test_debug_ast\n assert stdout.find('##AST') != -1\nE assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x561a6845de70>('##AST')\nE + where <built-in method find of str object at 0x561a6845de70> = \"1:1 'void' varId=0 type=12 scope=0\\n1:6 'f' varId=0 type=14 scope=0\\n1:7 '(' varId=0 type=9 scope=0\\n1:8 ')' varId=0 type=9 scope=0\\n2:1 '{' varId=0 type=9 scope=0\\n3:5 '(' varId=0 type=9 op1='*' scope=5\\n3:6 'void' varId=0 type=12 scope=5\\n3:10 ')' varId=0 type=9 scope=5\\n3:11 '(' varId=0 type=9 scope=5\\n3:12 '*' varId=0 type=8 parent='(' op1='(' scope=5\\n3:13 '(' varId=0 type=9 scope=5\\n3:14 '(' varId=0 type=9 parent='*' op1='0' scope=5 val=0K\\n3:15 'int' varId=0 type=12 scope=5\\n3:18 '*' varId=0 type=8 scope=5\\n3:19 ')' varId=0 type=9 scope=5\\n3:20 '0' varId=0 type=3 parent='(' scope=5 val=0K\\n3:21 ')' varId=0 type=9 scope=5\\n3:22 ')' varId=0 type=9 scope=5\\n3:23 ';' varId=0 type=8 scope=5\\n4:1 '}' varId=0 type=9 scope=0\\n\\n\".findtests/test_harvest_other.py:966: in test_addon_namingng_config\n lines.pop(0)\nE IndexError: pop from empty listtests/test_harvest_helloworld.py:151: in test_addon_local_path\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'tests/test_harvest_inline_suppress.py:417: in test_premium_disabled_unmatched\n assert stderr.splitlines() == [\nE AssertionError: assert ['proj-inline...Suppression]'] == ['proj-inline...Suppression]']\nE \nE At index 0 diff: 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: premium-misra-cpp-2023-12.2.1 [unmatchedSuppression]' != 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to showtests/test_harvest_proj2.py:192: in test_gui_project_loads_relative_vs_solution\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_other.py:4058: in test_premium_disabled_unmatched\n assert stderr.splitlines() == [\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['nofile:0:0:...Suppression]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: premium-misra-cpp-2023-12.2.1 [unmatchedSuppression]' != 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to showtests/test_harvest_other.py:2264: in test_ignore_project_2_file\n __test_ignore_project_2(tmpdir, ['-itest.cpp'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_more_projects.py:706: in test_project_file_duplicate_2\n assert exitcode == 0\nE assert 1 == 0tests/test_harvest_other.py:3141: in test_debug_template_debug\n __test_debug_template(tmp_path, debug=True)\ntests/test_harvest_other.py:3110: in __test_debug_template\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f8f631dd7a0>('##Value flow')\nE + where <built-in method find of str object at 0x7f8f631dd7a0> = '\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw8/test_debug_template_debug2/test.cpp\\n1: template < class T > class TemplCl ;\\n2: void f ( )\\n3: {\\n4: ( void ) ( * ( ( int * ) nullptr ) ) ;\\n5: }\\n'.findtests/test_harvest_other.py:3944: in test_debug_valueflow\n __test_debug_valueflow(tmp_path, False)\ntests/test_harvest_other.py:3933: in __test_debug_valueflow\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f02dad1c030>('##Value flow')\nE + where <built-in method find of str object at 0x7f02dad1c030> = ''.findtests/test_harvest_other.py:1009: in test_addon_findcasts\n assert stderr == '{}:4:21: information: found a cast [findcasts-cast]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...casts-cast]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_findcasts2/test.cpp:4:21: information: found a cast [findcasts-cast]tests/test_harvest_helloworld.py:164: in test_addon_local_path_not_enable\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'tests/test_harvest_inline_suppress.py:439: in test_compile_commands_unused_function_suppression\n assert stdout == ''\nE AssertionError: assert 'cppcheck: er... supported.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw5/test_compile_commands_unused_f5/proj-inline-suppress-unusedFunction/compile_commands.json'. Project files are not supported./workspace/eval/tests/test_harvest_inline_suppress.py:443: unusedFunction does not work with -jtests/test_harvest_proj2.py:212: in test_gui_project_loads_absolute_vs_solution\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_other.py:4110: in test_unmatched_file\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['lib/test.c:...Suppression]']\nE \nE Right contains 6 more items, first extra item: 'lib/test.c:-1:0: information: Unmatched suppression: error [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'lib/test.c:-1:0: information: Unmatched suppression: error '...\nE \nE ...Full output truncated (12 lines hidden), use '-vv' to showtests/test_harvest_more_projects.py:751: in test_project_file_duplicate_3\n assert exitcode == 0\nE assert 1 == 0/workspace/eval/tests/test_harvest_more_projects.py:759: requires Windowstests/test_harvest_other.py:2269: in test_ignore_project_2_file_append\n __test_ignore_project_2(tmpdir, ['-itest.cpp'], append=True)\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_app2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_app2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_other.py:3949: in test_debug_valueflow_verbose_nodiff\n assert __test_debug_valueflow(tmp_path, False) == __test_debug_valueflow(tmp_path, True)\ntests/test_harvest_other.py:3933: in __test_debug_valueflow\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f02dad1c030>('##Value flow')\nE + where <built-in method find of str object at 0x7f02dad1c030> = ''.findtests/test_harvest_other.py:3198: in test_debug_valueflow_data\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f8f694d4030>('##Value flow')\nE + where <built-in method find of str object at 0x7f8f694d4030> = ''.findtests/test_harvest_other.py:1030: in test_addon_misc\n assert stderr == '{}:4:26: style: String concatenation in array initialization, missing comma? [misc-stringConcatInArrayInit]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nArrayInit]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_misc2/test.cpp:4:26: style: String concatenation in array initialization, missing comma? [misc-stringConcatInArrayInit]tests/test_harvest_helloworld.py:179: in test_addon_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find or open any of the paths given.\nE \nE assert 1 == 0tests/test_harvest_suppress_syntaxerror.py:40: in test_safety_suppress_syntax_error_implicitly\n assert result.returncode == 1, result.stdout\nE AssertionError: \nE assert 0 == 1\nE + where 0 = CompletedProcess(args=['/workspace/executable', '-q', '--safety', '--suppress=*', 'proj-suppress-syntaxError', '-j1'], returncode=0, stdout='', stderr='').returncodetests/test_harvest_proj2.py:239: in test_gui_project_loads_relative_vs_solution_2\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_more_projects.py:833: in test_project_file_ignore\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore2/test.cppcheck'. Project files are not supported.\"]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore2/test.cppcheck'. Project files are not supported.\" != 'cppcheck: error: could not find or open any of the paths given.'\nE Right contains one more item: 'cppcheck: Maybe all paths were ignored?'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: could not find or open any of the paths given.',...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_harvest_other.py:4159: in test_simplecpp_unhandled_char\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...handledChar]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_unhandled_char2/test.c:2:5: error: The code contains unhandled character(s) (character code=228). Neither unicode nor extended ascii is supported. [unhandledChar]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_unhandled_char2/test.c:2:5: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_harvest_other.py:2273: in test_ignore_project_2_file_wildcard_back\n __test_ignore_project_2(tmpdir, ['-itest.c*'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_other.py:3974: in test_debug_syntaxerror_c\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f02d37f9e30>('##Value flow')\nE + where <built-in method find of str object at 0x7f02d37f9e30> = '\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw3/test_debug_syntaxerror_c2/test.c\\n2: template < class T > class TemplCl ;\\n3: void f ( )\\n4: {\\n5: ( void ) ( * ( ( int * ) 0 ) ) ;\\n6: }\\n'.findtests/test_harvest_other.py:3251: in test_debug_valueflow_data_xml\n debug_xml = ElementTree.fromstring(stdout)\n/usr/lib/python3.10/xml/etree/ElementTree.py:1343: in XML\n return parser.close()\nE xml.etree.ElementTree.ParseError: no element found: line 1, column 0tests/test_harvest_other.py:1046: in test_invalid_addon_json\n assert exitcode == 1\nE assert 0 == 1tests/test_harvest_helloworld.py:192: in test_addon_relative_path\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_suppress_syntaxerror.py:51: in test_safety_suppress_syntax_error_explicitly\n assert result.returncode == 1, result.stdout\nE AssertionError: \nE assert 0 == 1\nE + where 0 = CompletedProcess(args=['/workspace/executable', '-q', '--safety', '--suppress=syntaxError', 'proj-suppress-syntaxError', '-j1'], returncode=0, stdout='', stderr='nofile:0:0: information: Active checkers: 40/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n').returncodetests/test_harvest_proj2.py:257: in test_gui_project_loads_relative_vs_solution_with_exclude\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_more_projects.py:860: in test_project_file_ignore_2\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore_22/test.cppcheck'. Project files are not supported.\"]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore_22/test.cppcheck'. Project files are not supported.\" != 'cppcheck: error: could not find or open any of the paths given.'\nE Right contains one more item: 'cppcheck: Maybe all paths were ignored?'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: could not find or open any of the paths given.',...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_harvest_other.py:4189: in test_simplecpp_include_nested_too_deeply\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...edTooDeeply]']\nE \nE Right contains 2 more items, first extra item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_include_nested_2/test_398.h:1:2: error: #include nested too deeply [includeNestedTooDeeply]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_include_nested_2/test_398.h:1:2: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to showtests/test_harvest_other.py:2277: in test_ignore_project_2_file_wildcard_front\n __test_ignore_project_2(tmpdir, ['-i*test.cpp'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_project.py:66: in test_empty_project\n __test_project_error(tmp_path, project_ext, None, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_vcxproj_Vis2/file.vcxproj'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_vcxproj_Vis2/file.vcxproj'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to showtests/test_harvest_other.py:3324: in test_check_headers\n assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-check-headers\".\nE \nE assert 1 == 0tests/test_harvest_helloworld.py:203: in test_addon_with_gui_project\n shutil.copytree(os.path.join(SCRIPT_DIR, 'helloworld'), tmp_path / 'helloworld')\n/usr/lib/python3.10/shutil.py:557: in copytree\n with os.scandir(src) as itr:\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'/workspace/eval/tests/test_harvest_rules.py:15: Rules not supported in this build (--rule-file requires PCRE support)/workspace/eval/tests/test_harvest_rules.py:49: Rules not supported in this build (--rule-file requires PCRE support)tests/test_harvest_other.py:1075: in test_invalid_addon_py\n assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1 [internalError]\\n\\n^\\n\".format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_invalid_addon_py2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1 [internalError]\nE - \nE - ^/workspace/eval/tests/test_harvest_rules.py:87: Rules not supported in this build (--rule-file requires PCRE support)/workspace/eval/tests/test_harvest_rules.py:119: Rules not supported in this build (--rule-file requires PCRE support)/workspace/eval/tests/test_harvest_rules.py:150: Rules not supported in this build (--rule-file requires PCRE support)/workspace/eval/tests/test_harvest_rules.py:179: Rules not supported in this build (--rule-file requires PCRE support)tests/test_harvest_unused_function.py:40: in test_unused_functions\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...-build-dir\".'] == []\nE \nE Left contains one more item: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".'\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: unrecognized command line option: '\nE + '\"--no-cppcheck-build-dir\".',\nE + ]tests/test_harvest_proj2.py:277: in test_gui_project_loads_absolute_vs_solution_2\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_more_projects.py:887: in test_project_file_ignore_3\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore_32/test.cppcheck'. Project files are not supported.\"]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore_32/test.cppcheck'. Project files are not supported.\" != 'cppcheck: error: could not find or open any of the paths given.'\nE Right contains one more item: 'cppcheck: Maybe all paths were ignored?'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: could not find or open any of the paths given.',...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_harvest_other.py:4211: in test_simplecpp_syntax_error\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...syntaxError]']\nE \nE Right contains 2 more items, first extra item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_syntax_error2/test.c:1:2: error: No header in #include [syntaxError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_syntax_error2/test.c:1:2: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to showtests/test_harvest_project.py:66: in test_empty_project\n __test_project_error(tmp_path, project_ext, None, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Borland project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_bpr_Borland2/file.bpr'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_bpr_Borland2/file.bpr'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to showtests/test_harvest_other.py:2281: in test_ignore_project_2_file_placeholder\n __test_ignore_project_2(tmpdir, ['-it?st.cpp'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_pla2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_pla2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_other.py:3350: in test_unique_error\n assert stderr.splitlines() == [\nE assert [] == ['/tmp/pytest...OutOfBounds]']\nE \nE Right contains 2 more items, first extra item: \"/tmp/pytest-of-root/pytest-0/popen-gw8/test_unique_error2/test.c:4:13: error: Array 'm[9]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unique_error2/test.c:4:13: '...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show/workspace/eval/tests/test_harvest_other.py:3537: clang-tidy is not available/workspace/eval/tests/test_harvest_other.py:3543: clang-tidy is not available/workspace/eval/tests/test_harvest_other.py:3548: clang-tidy is not availabletests/test_harvest_other.py:1116: in test_invalid_addon_py_verbose\n assert stderr.startswith(\"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \".format(test_file))\nE assert False\nE + where False = <built-in method startswith of str object at 0x7febc77d0030>(\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_invalid_addon_py_verbose2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \")\nE + where <built-in method startswith of str object at 0x7febc77d0030> = ''.startswith\nE + and \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_invalid_addon_py_verbose2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \" = <built-in method format of str object at 0x7febc52a1370>('/tmp/pytest-of-root/pytest-0/popen-gw6/test_invalid_addon_py_verbose2/file.cpp')\nE + where <built-in method format of str object at 0x7febc52a1370> = \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \".formattests/test_harvest_unused_function.py:61: in test_unused_functions_j\n assert result.stdout.splitlines() == [\nE assert ['cppcheck: e...-build-dir\".'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".' != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_harvest_project.py:66: in test_empty_project\n __test_project_error(tmp_path, project_ext, None, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er...is unknown.\\n'\nE \nE + cppcheck: error: compilation database is not a JSON array\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_empty_project_json_compil2/file.json'. The format is unknown.\nE ? ^^ ^^ ^^^^^^^ ^^^^^^\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_empty_project_json_compil2/file.json'. An error occurred.\nE ? ^^^ ^^ ^^^^ ^^^^tests/test_harvest_samples.py:87: in test_samples\n assert failures == {}, f\"Failures in {len(failures)} samples:\\n\" + \"\\n\".join(failures.keys())\nE AssertionError: Failures in 12 samples:\nE /workspace/samples/AssignmentAddressToInteger/bad.c\nE /workspace/samples/accessMoved/bad.cpp\nE /workspace/samples/arrayIndexOutOfBounds_2/bad.c\nE /workspace/samples/autoVariables/bad.c\nE /workspace/samples/bufferAccessOutOfBounds/bad.c\nE /workspace/samples/invalidContainer/bad.cpp\nE /workspace/samples/memleak/bad.c\nE /workspace/samples/multiCondition/bad.c\nE /workspace/samples/passedByValue_1/bad.cpp\nE /workspace/samples/passedByValue_2/bad.cpp\nE /workspace/samples/resourceLeak/bad.c\nE /workspace/samples/unreadVariable/bad.cpp\nE assert {'/workspace/...riables', ...} == {}\nE \nE Left contains 12 more items:\nE {'/workspace/samples/AssignmentAddressToInteger/bad.c': 'Output mismatch for '\nE 'AssignmentAddressToInteger',\nE '/workspace/samples/accessMoved/bad.cpp': \"Bad sample didn't produce exit \"\nE 'code 1 (got 0):\\n'\nE 'nofile:0:0: information: Active '...\nE \nE ...Full output truncated (102 lines hidden), use '-vv' to showtests/test_harvest_more_projects.py:912: in test_json_file_ignore\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_json_file_ignore2/test.json'. The format is unknown.\"]\nE assert ['cppcheck: e... is unknown.'] == ['cppcheck: e...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_json_file_ignore2/test.json'. The format is unknown.\" != 'cppcheck: error: no C or C++ source files found.'\nE Right contains one more item: 'cppcheck: all paths were ignored'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: no C or C++ source files found.',...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_harvest_project.py:66: in test_empty_project\n __test_project_error(tmp_path, project_ext, None, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Cppcheck GUI project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_cppcheck_Cp2/file.cppcheck'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_cppcheck_Cp2/file.cppcheck'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to showtests/test_harvest_other.py:4256: in test_max_configs\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...manyconfigs]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_None_20_True_2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_None_20_True_2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to showtests/test_harvest_other.py:2285: in test_ignore_project_2_file_relative\n __test_ignore_project_2(tmpdir, ['-isrc/test.cpp'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_unused_function.py:158: in test_unused_functions_project\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_harvest_other.py:1145: in test_addon_result\n assert stderr == 'test.cpp:1:1: style: msg [addon1-id]\\n\\n^\\n'\nE AssertionError: assert '' == 'test.cpp:1:1...n1-id]\\n\\n^\\n'\nE \nE - test.cpp:1:1: style: msg [addon1-id]\nE - \nE - ^tests/test_harvest_whole_program.py:158: in test_suppress_inline_builddir\n __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\ntests/test_harvest_whole_program.py:139: in __test_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_project.py:66: in test_empty_project\n __test_project_error(tmp_path, project_ext, None, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio solution file is empty\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_empty_project_sln_Visual_2/file.sln'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_empty_project_sln_Visual_2/file.sln'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to showtests/test_harvest_more_projects.py:937: in test_json_file_ignore_2\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_json_file_ignore_22/test.json'. The format is unknown.\"]\nE assert ['cppcheck: e... is unknown.'] == ['cppcheck: e...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_json_file_ignore_22/test.json'. The format is unknown.\" != 'cppcheck: error: no C or C++ source files found.'\nE Right contains one more item: 'cppcheck: all paths were ignored'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: no C or C++ source files found.',...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_harvest_project.py:92: in test_json_entry_file_not_found\n assert ret == 0\nE assert 1 == 0tests/test_keywords.py:54: in test_c89_keywords_valid_code\n assert combined_output == golden_normalized, \\\nE AssertionError: Output differs from golden file.\nE Expected:\nE Checking /workspace/eval/test_resources/test_keywords/valid_c89.c ...\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:14:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue]\nE continue;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:37:9: style: struct member 'test_struct::field' is never used. [unusedStructMember]\nE int field;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:41:9: style: union member 'test_union::i' is never used. [unusedStructMember]\nE int i;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:42:11: style: union member 'test_union::f' is never used. [unusedStructMember]\nE float f;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:27:8: style: The function 'test_double' is never used. [unusedFunction]\nE double test_double(void) {\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:47:6: style: The function 'goto_test' is never used. [unusedFunction]\nE void goto_test(void) {\nE ^\nE nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\nE \nE \nE \nE Got:\nE Checking /workspace/eval/test_resources/test_keywords/valid_c89.c ...\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:37:9: style: struct member 'test_struct::field' is never used. [unusedStructMember]\nE int field;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:7:15: style: Variable 'count' is assigned a value that is never used. [unreadVariable]\nE int count = 0;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:27:8: style: The function 'test_double' is never used. [unusedFunction]\nE double test_double(void) {\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:47:6: style: The function 'goto_test' is never used. [unusedFunction]\nE void goto_test(void) {\nE ^\nE nofile:0:0: information: Active checkers: 113/186 (use --checkers-report=<filename> to see details) [checkersReport]\nE \nE \nE assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/valid_c89.c ...\nE - /workspace/eval/test_resources/test_keywords/valid_c89.c:14:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue]\nE - continue;\nE - ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:37:9: style: struct member 'test_struct::field' is never used. [unusedStructMember]\nE int field;...\nE \nE ...Full output truncated (19 lines hidden), use '-vv' to showtests/test_harvest_other.py:4254: in test_max_configs\n assert stderr.splitlines() == []\nE AssertionError: assert ['/tmp/pytest...manyconfigs]'] == []\nE \nE Left contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_6_20_False_Fa2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 6 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE - []\nE + [\nE + '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_6_20_False_Fa2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to showtests/test_harvest_other.py:2289: in test_ignore_project_2_file_relative_backslash\n __test_ignore_project_2(tmpdir, ['-isrc\\\\test.cpp'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_unused_function.py:180: in test_unused_functions_project_j\n assert result.stdout.splitlines() == [\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\" != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to showtests/test_harvest_other.py:1184: in test_unused_function_include\n __test_unused_function_include(tmpdir, [])\ntests/test_harvest_other.py:1180: in __test_unused_function_include\n assert stderr == \"{}:4:26: style: The function 'f' is never used. [unusedFunction]\\n\".format(test_h_file)\nE AssertionError: assert '' == '/tmp/pytest-...edFunction]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_unused_function_include2/test.h:4:26: style: The function 'f' is never used. [unusedFunction]tests/test_harvest_whole_program.py:164: in test_suppress_inline_builddir_cached\n __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\ntests/test_harvest_whole_program.py:139: in __test_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_importproject.py:48: in test_compile_commands_basic\n assert returncode == 0\nE assert 1 == 0tests/test_harvest_more_projects.py:1019: in test_compdb_D\n assert stdout.splitlines() == out_expected\nE assert ['cppcheck: e...t supported.'] == ['Checking /t...GNUC__=1;...']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_compdb_D2/compile_commands.json'. Project files are not supported.\" != 'Checking /tmp/pytest-of-root/pytest-0/popen-gw1/test_compdb_D2/test.cpp ...'\nE Right contains one more item: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw1/test_compdb_D2/test.cpp: __GNUC__=1;...'\nE \nE Full diff:\nE [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_project.py:106: in test_json_no_arguments\n __test_project_error(tmp_path, \"json\", json.dumps(compilation_db), expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er...is unknown.\\n'\nE \nE + cppcheck: error: no 'arguments' or 'command' field found in compilation database entry\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_json_no_arguments2/file.json'. The format is unknown.\nE ? ^^ ^^ ^^^^^^^ ^^^^^^\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_json_no_arguments2/file.json'. An error occurred.\nE ? ^^^ ^^ ^^^^ ^^^^tests/test_keywords.py:87: in test_c99_keywords_inline_restrict_bool\n assert combined == golden_normalized\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/c99_keywords.c ...\nE /workspace/eval/test_resources/test_keywords/c99_keywords.c:7:16: style: Variable 'flag' is assigned a value that is never used. [unreadVariable]\nE _Bool flag = 1;\nE ^\nE - /workspace/eval/test_resources/test_keywords/c99_keywords.c:8:23: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\nE - _Complex double z = 1.0 + 2.0 * _Complex_I;...\nE \nE ...Full output truncated (12 lines hidden), use '-vv' to showtests/test_harvest_other.py:4256: in test_max_configs\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...manyconfigs]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_6_20_True_Tru2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 6 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_6_20_True_Tru2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to showtests/test_harvest_unused_function.py:205: in test_unused_functions_project_builddir\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_harvest_other.py:2293: in test_ignore_project_2_file_relative_wildcard\n __test_ignore_project_2(tmpdir, ['-isrc/test.c*'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel8/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel8/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_other.py:1204: in test_showtime_top5_file\n assert len(lines) == 7\nE assert 0 == 7\nE + where 0 = len([])tests/test_importproject.py:81: in test_compile_commands_with_arguments_array\n assert returncode == 0\nE assert 1 == 0tests/test_harvest_whole_program.py:171: in test_suppress_inline_builddir_j\n __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\ntests/test_harvest_whole_program.py:139: in __test_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_whole_program.py:281: in test_addon_no_artifacts\n shutil.copyfile(os.path.join(SCRIPT_DIR, 'whole-program', 'whole1.c'), tmp_path / 'whole1.c')\n/usr/lib/python3.10/shutil.py:254: in copyfile\n with open(src, 'rb') as fsrc:\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/whole-program/whole1.c'tests/test_harvest_project.py:120: in test_json_invalid_arguments\n __test_project_error(tmp_path, \"json\", json.dumps(compilation_db), expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er...is unknown.\\n'\nE \nE + cppcheck: error: 'arguments' field in compilation database entry is not a JSON array\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_json_invalid_arguments2/file.json'. The format is unknown.\nE ? ^^ ^^ ^^^^^^^ ^^^^^^\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_json_invalid_arguments2/file.json'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to showtests/test_keywords.py:187: in test_cpp20_keywords_concept_coroutines_char8t\n assert combined == golden_normalized\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/cpp20_keywords.cpp ...\nE /workspace/eval/test_resources/test_keywords/cpp20_keywords.cpp:2:2: information: Include file: <coroutine> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\nE #include <coroutine>\nE ^\nE /workspace/eval/test_resources/test_keywords/cpp20_keywords.cpp:3:2: information: Include file: <concepts> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\nE #include <concepts>...\nE \nE ...Full output truncated (42 lines hidden), use '-vv' to showtests/test_harvest_unused_function.py:231: in test_unused_functions_project_builddir_j_thread\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_harvest_other.py:4282: in test_no_valid_configuration\n assert stdout.splitlines() == [\nE AssertionError: assert ['Checking /t...F_1=DEF_1...'] == ['Checking /t...2/test.c ...']\nE \nE Left contains one more item: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_no_valid_configuration2/test.c: DEF_1=DEF_1...'\nE \nE Full diff:\nE [\nE 'Checking '\nE '/tmp/pytest-of-root/pytest-0/popen-gw4/test_no_valid_configuration2/test.c '...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to showtests/test_harvest_other.py:2297: in test_ignore_project_2_file_relative_wildcard_backslash\n __test_ignore_project_2(tmpdir, ['-isrc\\\\test.c*'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel11/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel11/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_other.py:1223: in test_missing_addon\n assert lines == [\nE AssertionError: assert ['Did not fin...on misra3.py'] == ['Did not fin...on misra3.py']\nE \nE At index 0 diff: 'Did not find addon misra3.py' != 'Did not find addon misra2.py'\nE Right contains one more item: 'Did not find addon misra3.py'\nE \nE Full diff:\nE [\nE - 'Did not find addon misra2.py',\nE 'Did not find addon misra3.py',\nE ]tests/test_importproject.py:111: in test_compile_commands_invalid_json\n assert 'compilation database is not a JSON array' in output\nE assert 'compilation database is not a JSON array' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/invalid.json'. The format is unknown.\\n\"tests/test_harvest_whole_program.py:177: in test_inline_suppr_builddir_j_cached\n __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\ntests/test_harvest_whole_program.py:139: in __test_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_whole_program.py:281: in test_addon_no_artifacts\n shutil.copyfile(os.path.join(SCRIPT_DIR, 'whole-program', 'whole1.c'), tmp_path / 'whole1.c')\n/usr/lib/python3.10/shutil.py:254: in copyfile\n with open(src, 'rb') as fsrc:\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/whole-program/whole1.c'tests/test_harvest_project.py:129: in test_sln_invalid_file\n __test_project_error(tmp_path, \"sln\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio solution file header not found\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_invalid_file2/file.sln'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_invalid_file2/file.sln'. An error occurred.\nE ? ^^^^^ ^^^ ^^tests/test_keywords.py:259: in test_cpp03_keywords_class_template_namespace\n assert combined == golden_normalized\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/cpp03_only.cpp ...\nE /workspace/eval/test_resources/test_keywords/cpp03_only.cpp:4:14: warning: Member variable 'TestClass::cache' is not initialized in the constructor. [uninitMemberVar]\nE explicit TestClass(int x) : value(x) {}\nE ^\nE /workspace/eval/test_resources/test_keywords/cpp03_only.cpp:17:17: style: class member 'TestClass::cache' is never used. [unusedStructMember]\nE mutable int cache;...\nE \nE ...Full output truncated (15 lines hidden), use '-vv' to showtests/test_harvest_unused_function.py:258: in test_unused_functions_project_builddir_j_process\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_harvest_other.py:4322: in test_no_valid_configuration_check_config\n assert stderr.splitlines() == [\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['/tmp/pytest...syntaxError]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: checkersReport [unmatchedSuppression]' != '/tmp/pytest-of-root/pytest-0/popen-gw4/test_no_valid_configuration_ch2/test.c:1:2: error: No header in #include [syntaxError]'\nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_no_valid_configuration_ch2/test.c:1:2: error: No header in #include [syntaxError]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: checkersReport '...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to showtests/test_harvest_other.py:2301: in test_ignore_project_2_path_relative\n __test_ignore_project_2(tmpdir, ['-isrc/'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_importproject.py:124: in test_compile_commands_missing_directory_field\n assert \"'directory' field in compilation database entry missing\" in output\nE assert \"'directory' field in compilation database entry missing\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/missing_directory.json'. The format is unknown.\\n\"tests/test_harvest_whole_program.py:208: in test_suppress_inline_project\n __test_suppress_inline_project(tmp_path, ['-j1', '--no-cppcheck-build-dir'])\ntests/test_harvest_whole_program.py:199: in __test_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_whole_program.py:325: in test_checkclass\n __test_checkclass(['-j1'])\ntests/test_harvest_whole_program.py:315: in __test_checkclass\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_project.py:139: in test_sln_no_header\n __test_project_error(tmp_path, \"sln\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio solution file header not found\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_no_header2/file.sln'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_no_header2/file.sln'. An error occurred.\nE ? ^^^^^ ^^^ ^^tests/test_mathlib_gaps.py:538: in test_integer_multiplication_overflow\n assert \"integerOverflow\" in output\nE AssertionError: assert 'integerOverflow' in 'Checking /tmp/tmp7fnq2_m3/test.c ...\\n'tests/test_keywords.py:289: in test_cpp03_backwards_compat_with_cpp20\n assert combined == golden_normalized\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/cpp03_only.cpp ...\nE /workspace/eval/test_resources/test_keywords/cpp03_only.cpp:4:14: warning: Member variable 'TestClass::cache' is not initialized in the constructor. [uninitMemberVar]\nE explicit TestClass(int x) : value(x) {}\nE ^\nE /workspace/eval/test_resources/test_keywords/cpp03_only.cpp:17:17: style: class member 'TestClass::cache' is never used. [unusedStructMember]\nE mutable int cache;...\nE \nE ...Full output truncated (15 lines hidden), use '-vv' to showtests/test_harvest_unused_function.py:300: in test_unused_functions_compdb\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unused_functions_compdb2/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_importproject.py:371: in test_compile_commands_compiler_flags\n assert returncode == 0\nE assert 1 == 0tests/test_harvest_other.py:2305: in test_ignore_project_2_path_relative_backslash\n __test_ignore_project_2(tmpdir, ['-isrc\\\\'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_importproject.py:137: in test_compile_commands_missing_command_and_arguments\n assert \"no 'arguments' or 'command' field found\" in output\nE assert \"no 'arguments' or 'command' field found\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/missing_command.json'. The format is unknown.\\n\"tests/test_harvest_project.py:149: in test_sln_no_projects\n __test_project_error(tmp_path, \"sln\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: no projects found in Visual Studio solution file\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_no_projects2/file.sln'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_no_projects2/file.sln'. An error occurred.\nE ? ^^^^^ ^^^ ^^tests/test_harvest_whole_program.py:219: in test_suppress_inline_project_builddir\n __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\ntests/test_harvest_whole_program.py:199: in __test_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_whole_program.py:336: in test_checkclass_builddir\n __test_checkclass(['--cppcheck-build-dir={}'.format(build_dir)])\ntests/test_harvest_whole_program.py:315: in __test_checkclass\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_mathlib_gaps.py:660: in test_shift_boundary_values\n assert \"shiftTooManyBitsSigned\" in output\nE AssertionError: assert 'shiftTooManyBitsSigned' in 'Checking /tmp/tmp6s9a2pnv/test.c ...\\n'tests/test_keywords.py:355: in test_cpp14_keywords_same_as_cpp11\n assert combined == golden_normalized\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/cpp14_code.cpp ...\nE /workspace/eval/test_resources/test_keywords/cpp14_code.cpp:3:2: information: Include file: <memory> not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\nE #include <memory>\nE ^\nE + /workspace/eval/test_resources/test_keywords/cpp14_code.cpp:6:29: style: Variable 'factorial' can be declared as pointer to const [constVariablePointer]\nE + return n <= 1 ? 1 : n * factorial(n-1);...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_unused_function.py:323: in test_unused_functions_compdb_j\n assert result.stdout.splitlines() == [\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unused_functions_compdb_j2/compile_commands.json'. Project files are not supported.\" != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to showtests/test_importproject.py:386: in test_compile_commands_relative_path\n assert returncode == 0\nE assert 1 == 0tests/test_harvest_other.py:2309: in test_ignore_project_2_path_relative_wildcard\n __test_ignore_project_2(tmpdir, ['-isrc*/'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel8/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel8/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_importproject.py:150: in test_compile_commands_unbalanced_quotes_in_command\n assert 'Missing closing quote' in output\nE assert 'Missing closing quote' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/unbalanced_quotes.json'. The format is unknown.\\n\"tests/test_harvest_project.py:170: in test_sln_project_file_not_found\n __test_project_error(tmp_path, \"sln\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio project file is not a valid XML - XML_ERROR_FILE_NOT_FOUND\nE + cppcheck: error: failed to load '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_project_file_not_foun2/cli/cli.vcxproj' from Visual Studio solution\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_project_file_not_foun2/file.sln'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: faile...\nE \nE ...Full output truncated (2 lines hidden), use '-vv' to showtests/test_harvest_whole_program.py:225: in test_suppress_inline_project_builddir_cached\n __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\ntests/test_harvest_whole_program.py:199: in __test_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_whole_program.py:342: in test_checkclass_builddir_j\n __test_checkclass(['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\ntests/test_harvest_whole_program.py:315: in __test_checkclass\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_mathlib_gaps.py:120: in test_integer_overflow_detection\n assert \"integerOverflow\" in output\nE AssertionError: assert 'integerOverflow' in 'Checking /tmp/tmpm0csvjq5/test.c ...\\n'tests/test_mathlib_round2.py:671: in test_multiplication_overflow_and_special_values\n assert \"integerOverflow\" in output\nE AssertionError: assert 'integerOverflow' in 'Checking /tmp/tmpmzjuuecr/test.c ...\\n'tests/test_harvest_unused_function.py:349: in test_unused_functions_compdb_buildir_j_thread\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unused_functions_compdb_b2/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_importproject.py:399: in test_compile_commands_absolute_path\n assert returncode == 0\nE assert 1 == 0tests/test_importproject.py:174: in test_compile_commands_complex_quoting\n assert returncode == 0\nE assert 1 == 0/workspace/eval/tests/test_importproject.py:185: gold-env-limitation: requires Windows library configuration files/workspace/eval/tests/test_importproject.py:214: gold-env-limitation: requires Windows library configuration files/workspace/eval/tests/test_importproject.py:242: gold-env-limitation: requires Windows library configuration filestests/test_harvest_other.py:2313: in test_ignore_project_2_path_relative_wildcard_backslash\n __test_ignore_project_2(tmpdir, ['-isrc*\\\\'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel11/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel11/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to showtests/test_harvest_project.py:179: in test_vcxproj_no_xml_root\n __test_project_error(tmp_path, \"vcxproj\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio project file has no XML root node\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_vcxproj_no_xml_root2/file.vcxproj'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_vcxproj_no_xml_root2/file.vcxproj'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to showtests/test_harvest_whole_program.py:232: in test_suppress_inline_project_builddir_j\n __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\ntests/test_harvest_whole_program.py:199: in __test_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_whole_program.py:373: in test_checkclass_project\n __test_checkclass_project(tmpdir, ['-j1'])\ntests/test_harvest_whole_program.py:363: in __test_checkclass_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_unused_function.py:376: in test_unused_functions_compdb_builddir_j_process\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unused_functions_compdb_b5/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to showtests/test_mathlib_gaps.py:227: in test_shift_overflow_detection\n assert \"shiftTooManyBitsSigned\" in output\nE AssertionError: assert 'shiftTooManyBitsSigned' in 'Checking /tmp/tmpd_xg539x/test.c ...\\n/tmp/tmpd_xg539x/test.c:3:15: error: Shifting 32-bit value by 32 bits is undefined behaviour [shiftTooManyBits]\\n int b = 1 << 32;\\n ^\\n/tmp/tmpd_xg539x/test.c:4:15: error: Shifting 32-bit value by 64 bits is undefined behaviour [shiftTooManyBits]\\n int c = 1 << 64;\\n ^\\n/tmp/tmpd_xg539x/test.c:6:25: error: Shifting 32-bit value by 32 bits is undefined behaviour [shiftTooManyBits]\\n unsigned int e = 1U << 32;\\n ^\\n'tests/test_importproject.py:431: in test_compile_commands_duplicate_files\n assert returncode == 0\nE assert 1 == 0tests/test_programmemory.py:402: in test_arithmetic_overflow_detection\n assert '<valueflow>' in content\nE assert '<valueflow>' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<dumps language=\"c\">\\n <platform name=\"native\" char_bit=\"8\" short_bit=\"16\" int_bit=\"32\" long_bit=\"64\" long_long_bit=\"64\" pointer_bit=\"64\" wchar_t_bit=\"32\" size_t_bit=\"64\"/>\\n <rawtokens>\\n <file index=\"0\" name=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_arithmetic_overflow_detec2/test.c\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"1\" str=\"void\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"6\" str=\"test\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"10\" str=\"(\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"11\" str=\")\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"13\" str=\"{\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"5\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"9\" str=\"x\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"11\" str=\"=\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"13\" str=\"2147483647\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"23\" str=\";\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"5\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"9\" str=\"y\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"11\" str=\"=\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"13\" str=\"x\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"15\" st...=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_arithmetic_overflow_detec2/test.c\" linenr=\"4\" column=\"11\" str=\"=\" type=\"op\" astOperand1=\"0x55b01635f550\" astOperand2=\"0x55b01635ea70\"/>\\n <token id=\"0x55b01635e950\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_arithmetic_overflow_detec2/test.c\" linenr=\"4\" column=\"13\" str=\"x\" type=\"name\" varId=\"1\" astParent=\"0x55b01635ea70\"/>\\n <token id=\"0x55b01635ea70\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_arithmetic_overflow_detec2/test.c\" linenr=\"4\" column=\"15\" str=\"+\" type=\"op\" astParent=\"0x55b01635e830\" astOperand1=\"0x55b01635e950\" astOperand2=\"0x55b01635eb90\"/>\\n <token id=\"0x55b01635eb90\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_arithmetic_overflow_detec2/test.c\" linenr=\"4\" column=\"17\" str=\"1\" type=\"number\" astParent=\"0x55b01635ea70\"/>\\n <token id=\"0x55b01635ecb0\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_arithmetic_overflow_detec2/test.c\" linenr=\"4\" column=\"18\" str=\";\" type=\"op\"/>\\n <token id=\"0x55b01635edd0\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_arithmetic_overflow_detec2/test.c\" linenr=\"5\" column=\"1\" str=\"}\" link=\"0x55b016354e10\"/>\\n </tokenlist>\\n </dump>\\n</dumps>\\n'tests/test_importproject.py:291: in test_compile_commands_wrong_type_directory\n assert \"'directory' field in compilation database entry is not a string\" in output\nE assert \"'directory' field in compilation database entry is not a string\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/wrong_type_directory.json'. The format is unknown.\\n\"tests/test_harvest_project.py:188: in test_bpr_no_xml_root\n __test_project_error(tmp_path, \"bpr\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Borland project file has no XML root node\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_bpr_no_xml_root2/file.bpr'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_bpr_no_xml_root2/file.bpr'. An error occurred.\nE ? ^^^^^ ^^^ ^^tests/test_harvest_whole_program.py:238: in test_suppress_inline_project_builddir_j_cached\n __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\ntests/test_harvest_whole_program.py:199: in __test_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_programmemory.py:72: in test_simple_constant_value_tracking\n assert \"Condition 'y==15' is always true\" in result.stderr\nE assert \"Condition 'y==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:9:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:9:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:9:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\").stderrtests/test_harvest_whole_program.py:384: in test_checkclass_project_builddir\n __test_checkclass_project(tmpdir, ['-j1', '--cppcheck-build-dir={}'.format(build_dir)])\ntests/test_harvest_whole_program.py:363: in __test_checkclass_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_whole_program.py:96: in test_addon_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_importproject.py:448: in test_compile_commands_empty_array\n assert 'no C or C++ source files found' in output\nE assert 'no C or C++ source files found' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/empty_array.json'. The format is unknown.\\n\"tests/test_mathlib_gaps.py:332: in test_hex_out_of_range_detection\n assert \"Internal Error. MathLib::toBigUNumber: out_of_range:\" in output\nE AssertionError: assert 'Internal Error. MathLib::toBigUNumber: out_of_range:' in 'Checking /tmp/tmpaiovxhvq/test.c ...\\n'tests/test_programmemory.py:471: in test_nested_conditional_value_tracking\n assert '<valueflow>' in content\nE assert '<valueflow>' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<dumps language=\"c\">\\n <platform name=\"native\" char_bit=\"8\" short_bit=\"16\" int_bit=\"32\" long_bit=\"64\" long_long_bit=\"64\" pointer_bit=\"64\" wchar_t_bit=\"32\" size_t_bit=\"64\"/>\\n <rawtokens>\\n <file index=\"0\" name=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_nested_conditional_value_2/test.c\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"1\" str=\"void\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"6\" str=\"test\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"10\" str=\"(\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"11\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"15\" str=\"a\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"16\" str=\",\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"18\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"22\" str=\"b\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"23\" str=\")\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"25\" str=\"{\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"5\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"9\" str=\"x\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"10\" str=\";\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"5\" str=\"if\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"8\" str=\"(\"/...\" str=\"y\" type=\"name\" varId=\"4\"/>\\n <token id=\"0x55ec019c3900\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_nested_conditional_value_2/test.c\" linenr=\"13\" column=\"11\" str=\";\" type=\"op\"/>\\n <token id=\"0x55ec019c3a20\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_nested_conditional_value_2/test.c\" linenr=\"13\" column=\"9\" str=\"y\" type=\"name\" varId=\"4\" astParent=\"0x55ec019c3110\"/>\\n <token id=\"0x55ec019c3110\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_nested_conditional_value_2/test.c\" linenr=\"13\" column=\"11\" str=\"=\" type=\"op\" astOperand1=\"0x55ec019c3a20\" astOperand2=\"0x55ec019c3230\"/>\\n <token id=\"0x55ec019c3230\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_nested_conditional_value_2/test.c\" linenr=\"13\" column=\"13\" str=\"x\" type=\"name\" varId=\"3\" astParent=\"0x55ec019c3110\"/>\\n <token id=\"0x55ec019c3350\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_nested_conditional_value_2/test.c\" linenr=\"13\" column=\"14\" str=\";\" type=\"op\"/>\\n <token id=\"0x55ec019c3470\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_nested_conditional_value_2/test.c\" linenr=\"14\" column=\"1\" str=\"}\" link=\"0x55ec01a20c60\"/>\\n </tokenlist>\\n </dump>\\n</dumps>\\n'tests/test_importproject.py:304: in test_compile_commands_wrong_type_command\n assert \"'command' field in compilation database entry is not a string\" in output\nE assert \"'command' field in compilation database entry is not a string\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/wrong_type_command.json'. The format is unknown.\\n\"tests/test_harvest_project.py:197: in test_cppcheck_no_xml_root\n __test_project_error(tmp_path, \"cppcheck\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Cppcheck GUI project file has no XML root node\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_cppcheck_no_xml_root2/file.cppcheck'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_cppcheck_no_xml_root2/file.cppcheck'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to showtests/test_programmemory.py:106: in test_conditional_value_flow_branches\n assert valueflow is not None\nE assert None is not Nonetests/test_harvest_whole_program.py:255: in test_addon_rerun\n _, _, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_harvest_whole_program.py:390: in test_checkclass_project_builddir_j\n __test_checkclass_project(tmpdir, ['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\ntests/test_harvest_whole_program.py:363: in __test_checkclass_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_importproject.py:459: in test_sln_empty_file\n assert 'Visual Studio solution file is empty' in output\nE assert 'Visual Studio solution file is empty' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/empty.sln'. Project files are not supported.\\n\"tests/test_programmemory.py:134: in test_array_element_value_tracking\n assert '<valueflow>' in content\nE assert '<valueflow>' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<dumps language=\"c\">\\n <platform name=\"native\" char_bit=\"8\" short_bit=\"16\" int_bit=\"32\" long_bit=\"64\" long_long_bit=\"64\" pointer_bit=\"64\" wchar_t_bit=\"32\" size_t_bit=\"64\"/>\\n <rawtokens>\\n <file index=\"0\" name=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_array_element_value_track2/test.c\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"1\" str=\"void\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"6\" str=\"test\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"10\" str=\"(\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"11\" str=\")\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"13\" str=\"{\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"5\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"9\" str=\"arr\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"12\" str=\"[\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"13\" str=\"10\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"15\" str=\"]\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"16\" str=\";\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"5\" str=\"arr\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"8\" str=\"[\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"9\" str=\"0\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"10\" str=\"]\"/>... <token id=\"0x55cba0af5ec0\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_array_element_value_track2/test.c\" linenr=\"6\" column=\"22\" str=\"arr\" type=\"name\" varId=\"1\" astParent=\"0x55cba0af5fe0\"/>\\n <token id=\"0x55cba0af5fe0\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_array_element_value_track2/test.c\" linenr=\"6\" column=\"25\" str=\"[\" link=\"0x55cba0af6220\" astParent=\"0x55cba0af5da0\" astOperand1=\"0x55cba0af5ec0\" astOperand2=\"0x55cba0af6100\"/>\\n <token id=\"0x55cba0af6100\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_array_element_value_track2/test.c\" linenr=\"6\" column=\"26\" str=\"1\" type=\"number\" astParent=\"0x55cba0af5fe0\"/>\\n <token id=\"0x55cba0af6220\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_array_element_value_track2/test.c\" linenr=\"6\" column=\"27\" str=\"]\" link=\"0x55cba0af5fe0\"/>\\n <token id=\"0x55cba0af6340\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_array_element_value_track2/test.c\" linenr=\"6\" column=\"28\" str=\";\" type=\"op\"/>\\n <token id=\"0x55cba0af6460\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_array_element_value_track2/test.c\" linenr=\"7\" column=\"1\" str=\"}\" link=\"0x55cba0af5440\"/>\\n </tokenlist>\\n </dump>\\n</dumps>\\n'tests/test_harvest_whole_program.py:118: in test_addon_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_programmemory.py:506: in test_switch_case_value_tracking\n assert '<valueflow>' in content\nE assert '<valueflow>' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<dumps language=\"c\">\\n <platform name=\"native\" char_bit=\"8\" short_bit=\"16\" int_bit=\"32\" long_bit=\"64\" long_long_bit=\"64\" pointer_bit=\"64\" wchar_t_bit=\"32\" size_t_bit=\"64\"/>\\n <rawtokens>\\n <file index=\"0\" name=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_switch_case_value_trackin2/test.c\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"1\" str=\"void\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"6\" str=\"test\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"10\" str=\"(\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"11\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"15\" str=\"a\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"16\" str=\")\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"18\" str=\"{\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"5\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"9\" str=\"x\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"10\" str=\";\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"5\" str=\"switch\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"12\" str=\"(\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"13\" str=\"a\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"14\" str=\")\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"16\" str=\"...\" str=\"y\" type=\"name\" varId=\"3\"/>\\n <token id=\"0x55b2e2d81480\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_switch_case_value_trackin2/test.c\" linenr=\"15\" column=\"11\" str=\";\" type=\"op\"/>\\n <token id=\"0x55b2e2d815a0\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_switch_case_value_trackin2/test.c\" linenr=\"15\" column=\"9\" str=\"y\" type=\"name\" varId=\"3\" astParent=\"0x55b2e2e60070\"/>\\n <token id=\"0x55b2e2e60070\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_switch_case_value_trackin2/test.c\" linenr=\"15\" column=\"11\" str=\"=\" type=\"op\" astOperand1=\"0x55b2e2d815a0\" astOperand2=\"0x55b2e2e60190\"/>\\n <token id=\"0x55b2e2e60190\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_switch_case_value_trackin2/test.c\" linenr=\"15\" column=\"13\" str=\"x\" type=\"name\" varId=\"2\" astParent=\"0x55b2e2e60070\"/>\\n <token id=\"0x55b2e2e602b0\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_switch_case_value_trackin2/test.c\" linenr=\"15\" column=\"14\" str=\";\" type=\"op\"/>\\n <token id=\"0x55b2e2d80c90\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_switch_case_value_trackin2/test.c\" linenr=\"16\" column=\"1\" str=\"}\" link=\"0x55b2e2ddf5f0\"/>\\n </tokenlist>\\n </dump>\\n</dumps>\\n'tests/test_importproject.py:316: in test_compile_commands_wrong_type_arguments\n assert \"'arguments' field in compilation database entry is not a JSON array\" in output\nE assert \"'arguments' field in compilation database entry is not a JSON array\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/wrong_type_arguments.json'. The format is unknown.\\n\"tests/test_harvest_qml.py:47: in test_unused_functions\n run_unused_functions_test(['-j1', '--no-cppcheck-build-dir'])\ntests/test_harvest_qml.py:30: in run_unused_functions_test\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...-build-dir\".'] == []\nE \nE Left contains one more item: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".'\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: unrecognized command line option: '\nE + '\"--no-cppcheck-build-dir\".',\nE + ]tests/test_programmemory.py:790: in test_increment_decrement_tracking\n assert \"Condition 'x==6' is always true\" in result.stderr\nE assert \"Condition 'x==6' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderrtests/test_harvest_whole_program.py:255: in test_addon_rerun\n _, _, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_importproject.py:472: in test_sln_invalid_format\n assert 'Visual Studio solution file header not found' in output\nE assert 'Visual Studio solution file header not found' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/invalid.sln'. Project files are not supported.\\n\"tests/test_harvest_whole_program.py:403: in test_ctu_odr_config\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_programmemory.py:164: in test_pointer_aliasing_value_modification\n assert '<valueflow>' in content\nE assert '<valueflow>' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<dumps language=\"c\">\\n <platform name=\"native\" char_bit=\"8\" short_bit=\"16\" int_bit=\"32\" long_bit=\"64\" long_long_bit=\"64\" pointer_bit=\"64\" wchar_t_bit=\"32\" size_t_bit=\"64\"/>\\n <rawtokens>\\n <file index=\"0\" name=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_pointer_aliasing_value_mo2/test.c\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"1\" str=\"void\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"6\" str=\"test\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"10\" str=\"(\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"11\" str=\")\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"13\" str=\"{\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"5\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"9\" str=\"x\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"11\" str=\"=\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"13\" str=\"5\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"14\" str=\";\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"5\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"9\" str=\"*\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"10\" str=\"p\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"12\" str=\"=\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"14\" str=\"&amp;\"...lumn=\"15\" str=\";\" type=\"op\"/>\\n <token id=\"0x5583cf540c60\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_pointer_aliasing_value_mo2/test.c\" linenr=\"10\" column=\"13\" str=\"z\" type=\"name\" varId=\"4\" astParent=\"0x5583cf61f2b0\"/>\\n <token id=\"0x5583cf61f2b0\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_pointer_aliasing_value_mo2/test.c\" linenr=\"10\" column=\"15\" str=\"=\" type=\"op\" astOperand1=\"0x5583cf540c60\" astOperand2=\"0x5583cf53fc90\"/>\\n <token id=\"0x5583cf53fc90\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_pointer_aliasing_value_mo2/test.c\" linenr=\"10\" column=\"17\" str=\"2\" type=\"number\" astParent=\"0x5583cf61f2b0\"/>\\n <token id=\"0x5583cf53fdb0\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_pointer_aliasing_value_mo2/test.c\" linenr=\"10\" column=\"18\" str=\";\" type=\"op\"/>\\n <token id=\"0x5583cf53fed0\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_pointer_aliasing_value_mo2/test.c\" linenr=\"11\" column=\"5\" str=\"}\" link=\"0x5583cf61ef50\"/>\\n <token id=\"0x5583cf53fff0\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_pointer_aliasing_value_mo2/test.c\" linenr=\"12\" column=\"1\" str=\"}\" link=\"0x5583cf59e870\"/>\\n </tokenlist>\\n </dump>\\n</dumps>\\n'tests/test_harvest_whole_program.py:147: in test_suppress_inline\n __test_suppress_inline(['-j1', '--no-cppcheck-build-dir'])\ntests/test_harvest_whole_program.py:139: in __test_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_programmemory.py:529: in test_ternary_operator_value_tracking\n assert '<valueflow>' in content\nE assert '<valueflow>' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<dumps language=\"c\">\\n <platform name=\"native\" char_bit=\"8\" short_bit=\"16\" int_bit=\"32\" long_bit=\"64\" long_long_bit=\"64\" pointer_bit=\"64\" wchar_t_bit=\"32\" size_t_bit=\"64\"/>\\n <rawtokens>\\n <file index=\"0\" name=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_ternary_operator_value_tr2/test.c\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"1\" str=\"void\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"6\" str=\"test\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"10\" str=\"(\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"11\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"15\" str=\"a\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"16\" str=\")\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"18\" str=\"{\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"5\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"9\" str=\"x\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"11\" str=\"=\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"13\" str=\"(\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"14\" str=\"a\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"16\" str=\"&gt;\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"18\" str=\"0\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"19\" str=\")...=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_ternary_operator_value_tr2/test.c\" linenr=\"4\" column=\"11\" str=\"=\" type=\"op\" astOperand1=\"0x55c1f0c945e0\" astOperand2=\"0x55c1f0c93b00\"/>\\n <token id=\"0x55c1f0c939e0\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_ternary_operator_value_tr2/test.c\" linenr=\"4\" column=\"13\" str=\"x\" type=\"name\" varId=\"2\" astParent=\"0x55c1f0c93b00\"/>\\n <token id=\"0x55c1f0c93b00\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_ternary_operator_value_tr2/test.c\" linenr=\"4\" column=\"15\" str=\"+\" type=\"op\" astParent=\"0x55c1f0c938c0\" astOperand1=\"0x55c1f0c939e0\" astOperand2=\"0x55c1f0c93c20\"/>\\n <token id=\"0x55c1f0c93c20\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_ternary_operator_value_tr2/test.c\" linenr=\"4\" column=\"17\" str=\"5\" type=\"number\" astParent=\"0x55c1f0c93b00\"/>\\n <token id=\"0x55c1f0c93d40\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_ternary_operator_value_tr2/test.c\" linenr=\"4\" column=\"18\" str=\";\" type=\"op\"/>\\n <token id=\"0x55c1f0c93e60\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_ternary_operator_value_tr2/test.c\" linenr=\"5\" column=\"1\" str=\"}\" link=\"0x55c1f0cf0e30\"/>\\n </tokenlist>\\n </dump>\\n</dumps>\\n'tests/test_importproject.py:347: in test_compile_commands_multiple_files\n assert returncode == 0\nE assert 1 == 0tests/test_harvest_qml.py:59: in test_unused_functions_j\n assert \"cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.\" in stdout_lines\nE assert 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.' in ['cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".']tests/test_programmemory.py:811: in test_const_value_tracking\n assert \"Condition 'y==15' is always true\" in result.stderr\nE assert \"Condition 'y==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderrtests/test_harvest_whole_program.py:268: in test_addon_builddir_use_ctuinfo\n _, _, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_importproject.py:484: in test_vcxproj_invalid_xml\n assert 'Visual Studio project file is not a valid XML' in output\nE assert 'Visual Studio project file is not a valid XML' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/invalid.vcxproj'. Project files are not supported.\\n\"tests/test_programmemory.py:214: in test_struct_member_value_tracking\n assert \"Condition 'sum==15' is always true\" in result.stderr\nE assert \"Condition 'sum==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c:13:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c:13:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c:13:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderrtests/test_harvest_whole_program.py:434: in test_nullpointer_file0\n __test_nullpointer_file0(['-j1'])\ntests/test_harvest_whole_program.py:422: in __test_nullpointer_file0\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_reverseanalyzer.py:145: in test_switch_statement_reverse\n assert output.count('unreadVariable') >= 3\nE assert 2 >= 3\nE + where 2 = <built-in method count of str object at 0x55fd296bc7c0>('unreadVariable')\nE + where <built-in method count of str object at 0x55fd296bc7c0> = \"Checking /workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:22:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:31:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n y = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:2:6: style: The function 'test_switch' is never used. [unusedFunction]\\nvoid test_switch() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:20:6: style: The function 'test_switch_fallthrough' is never used. [unusedFunction]\\nvoid test_switch_fallthrough() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:36:6: style: The function 'test_switch_no_default' is never used. [unusedFunction]\\nvoid test_switch_no_default() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\".counttests/test_programmemory.py:558: in test_function_return_value_tracking\n assert '<valueflow>' in content\nE assert '<valueflow>' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<dumps language=\"c\">\\n <platform name=\"native\" char_bit=\"8\" short_bit=\"16\" int_bit=\"32\" long_bit=\"64\" long_long_bit=\"64\" pointer_bit=\"64\" wchar_t_bit=\"32\" size_t_bit=\"64\"/>\\n <rawtokens>\\n <file index=\"0\" name=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_function_return_value_tra2/test.c\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"1\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"5\" str=\"get_value\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"14\" str=\"(\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"15\" str=\")\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"17\" str=\"{\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"5\" str=\"return\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"12\" str=\"42\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"14\" str=\";\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"1\" str=\"}\"/>\\n <tok fileIndex=\"0\" linenr=\"6\" column=\"1\" str=\"void\"/>\\n <tok fileIndex=\"0\" linenr=\"6\" column=\"6\" str=\"test\"/>\\n <tok fileIndex=\"0\" linenr=\"6\" column=\"10\" str=\"(\"/>\\n <tok fileIndex=\"0\" linenr=\"6\" column=\"11\" str=\")\"/>\\n <tok fileIndex=\"0\" linenr=\"6\" column=\"13\" str=\"{\"/>\\n <tok fileIndex=\"0\" linenr=\"7\" column=\"5\" ...\" column=\"15\" str=\";\" type=\"op\"/>\\n <token id=\"0x55e848d88660\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_function_return_value_tra2/test.c\" linenr=\"9\" column=\"13\" str=\"y\" type=\"name\" varId=\"2\" astParent=\"0x55e848d879f0\"/>\\n <token id=\"0x55e848d879f0\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_function_return_value_tra2/test.c\" linenr=\"9\" column=\"15\" str=\"=\" type=\"op\" astOperand1=\"0x55e848d88660\" astOperand2=\"0x55e848d87b10\"/>\\n <token id=\"0x55e848d87b10\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_function_return_value_tra2/test.c\" linenr=\"9\" column=\"17\" str=\"1\" type=\"number\" astParent=\"0x55e848d879f0\"/>\\n <token id=\"0x55e848d87c30\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_function_return_value_tra2/test.c\" linenr=\"9\" column=\"18\" str=\";\" type=\"op\"/>\\n <token id=\"0x55e848d87d50\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_function_return_value_tra2/test.c\" linenr=\"10\" column=\"5\" str=\"}\" link=\"0x55e848d87690\"/>\\n <token id=\"0x55e848d87e70\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_function_return_value_tra2/test.c\" linenr=\"11\" column=\"1\" str=\"}\" link=\"0x55e848d08bf0\"/>\\n </tokenlist>\\n </dump>\\n</dumps>\\n'tests/test_programmemory.py:602: in test_shift_operation_value_tracking\n assert \"Condition 'y==16' is always true\" in result.stderr\nE assert \"Condition 'y==16' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderrtests/test_harvest_qml.py:68: in test_unused_functions_builddir\n run_unused_functions_test([f'--cppcheck-build-dir={build_dir}'])\ntests/test_harvest_qml.py:41: in run_unused_functions_test\n assert lines == expected\nE assert ['/workspace/...sedFunction]'] == ['/workspace/...sedFunction]']\nE \nE At index 0 diff: '/workspace/test/cli/QML-Samples-TableView/TableRow.qml:20:57: error: syntax error [syntaxError]' != \"/workspace/test/cli/QML-Samples-TableView/samplemodel.cpp:15:23: style: The function 'data' is never used. [unusedFunction]\"\nE Left contains one more item: \"/workspace/test/cli/QML-Samples-TableView/samplemodel.cpp:9:18: style: The function 'rowCount' is never used. [unusedFunction]\"\nE \nE Full diff:\nE [\nE + '/workspace/test/cli/QML-Samples-TableView/TableRow.qml:20:57: error: '...\nE \nE ...Full output truncated (8 lines hidden), use '-vv' to showtests/test_programmemory.py:855: in test_macro_defined_constant_tracking\n assert \"Condition 'x==42' is always true\" in result.stderr\nE assert \"Condition 'x==42' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: style: The comparison 'x == 42' is always true. [knownConditionTrueFalse]\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:5:13: note: 'x' is assigned value '42' here.\\n int x = VALUE;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: note: The comparison 'x == 42' is always true.\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: style: The comparison 'x == 42' is always true. [knownConditionTrueFalse]\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:5:13: note: 'x' is assigned value '42' here.\\n int x = VALUE;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: note: The comparison 'x == 42' is always true.\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: style: The comparison 'x == 42' is always true. [knownConditionTrueFalse]\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:5:13: note: 'x' is assigned value '42' here.\\n int x = VALUE;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: note: The comparison 'x == 42' is always true.\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderrtests/test_importproject.py:496: in test_vcxproj_empty_xml\n assert 'Visual Studio project file has no XML root node' in output\nE assert 'Visual Studio project file has no XML root node' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/empty.vcxproj'. Project files are not supported.\\n\"tests/test_programmemory.py:244: in test_container_size_tracking_vector\n assert \"Condition 'vec.size()==3' is always true\" in result.stderr\nE assert \"Condition 'vec.size()==3' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:11:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:15:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 2;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:11:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:15:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 2;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:11:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:15:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 2;\\n ^\\n\").stderrtests/test_reverseanalyzer.py:160: in test_pointer_analysis_reverse\n assert 'knownConditionTrueFalse' in output\nE assert 'knownConditionTrueFalse' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n int* p = &x;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:20:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n int* p = nullptr;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:2:6: style: The function 'test_pointer_basic' is never used. [unusedFunction]\\nvoid test_pointer_basic() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:10:6: style: The function 'test_pointer_assignment' is never used. [unusedFunction]\\nvoid test_pointer_assignment() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:19:6: style: The function 'test_nullptr' is never used. [unusedFunction]\\nvoid test_nullptr() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:26:6: style: The function 'test_array_access' is never used. [unusedFunction]\\nvoid test_array_access() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_harvest_whole_program.py:445: in test_nullpointer_file0_builddir_j\n __test_nullpointer_file0(['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\ntests/test_harvest_whole_program.py:422: in __test_nullpointer_file0\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'tests/test_programmemory.py:581: in test_bitwise_operation_value_tracking\n assert \"Condition 'z==1' is always true\" in result.stderr\nE assert \"Condition 'z==1' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\").stderrtests/test_programmemory.py:623: in test_modulo_operation_value_tracking\n assert \"Condition 'y==1' is always true\" in result.stderr\nE assert \"Condition 'y==1' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderrtests/test_symboldatabase.py:69: in test_multiple_inheritance_symboldatabase\n assert derived_type is not None, \"Derived class type not found in symboldatabase\"\nE AssertionError: Derived class type not found in symboldatabase\nE assert None is not Nonetests/test_symboldatabase.py:307: in test_variable_attributes_symboldatabase\n assert holder_scope is not None, \"DataHolder class not found\"\nE AssertionError: DataHolder class not found\nE assert None is not Nonetests/test_programmemory.py:896: in test_logical_and_value_tracking\n assert \"Condition 'result' is always true\" in result.stderr\nE assert \"Condition 'result' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderrtests/test_importproject.py:522: in test_compile_commands_defines_without_values\n assert returncode == 0\nE assert 1 == 0tests/test_programmemory.py:277: in test_container_empty_value_tracking\n assert len(empty_conditions) >= 2\nE assert 0 >= 2\nE + where 0 = len([])tests/test_reverseanalyzer.py:183: in test_complex_control_flow\n assert output.count('knownConditionTrueFalse') >= 6\nE assert 5 >= 6\nE + where 5 = <built-in method count of str object at 0x55fd296f1110>('knownConditionTrueFalse')\nE + where <built-in method count of str object at 0x55fd296f1110> = \"Checking /workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:34:11: style: Condition 'x<5' is always false [knownConditionTrueFalse]\\n if (x < 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:33:13: note: Assignment 'x=10', assigned value is 10\\n int x = 10;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:34:11: note: Condition 'x<5' is always false\\n if (x < 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:37:11: style: Condition 'x>15' is always false [knownConditionTrueFalse]\\n if (x > 15) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:33:13: note: Assignment 'x=10', assigned value is 10\\n int x = 10;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:37:11: note: Condition 'x>15' is always false\\n if (x > 15) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:5:11: style: The comparison '...on 'test_nested_if' is never used. [unusedFunction]\\nvoid test_nested_if() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:13:6: style: The function 'test_nested_loops' is never used. [unusedFunction]\\nvoid test_nested_loops() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:21:6: style: The function 'test_goto_label' is never used. [unusedFunction]\\nvoid test_goto_label() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:32:6: style: The function 'test_multiple_returns' is never used. [unusedFunction]\\nvoid test_multiple_returns() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:44:6: style: The function 'test_compound_assignment' is never used. [unusedFunction]\\nvoid test_compound_assignment() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:52:6: style: The function 'test_increment_decrement' is never used. [unusedFunction]\\nvoid test_increment_decrement() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\".counttests/test_harvest_whole_program.py:484: in test_nullpointer_out_of_memory\n assert results == ['[ctunullpointerOutOfMemory]']\nE AssertionError: assert [] == ['[ctunullpoi...OutOfMemory]']\nE \nE Right contains one more item: '[ctunullpointerOutOfMemory]'\nE \nE Full diff:\nE + []\nE - [\nE - '[ctunullpointerOutOfMemory]',\nE - ]tests/test_programmemory.py:981: in test_equality_operators_tracking\n assert \"Condition 'eq' is always true\" in result.stderr\nE assert \"Condition 'eq' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:3:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: note: The comparison 'x == 5' is always true.\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:7:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:3:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: note: The comparison 'x == 5' is always true.\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:7:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:3:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: note: The comparison 'x == 5' is always true.\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:7:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderrtests/test_programmemory.py:644: in test_negative_value_tracking\n assert \"Condition 'y==5' is always true\" in result.stderr\nE assert \"Condition 'y==5' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderrtests/test_symboldatabase.py:144: in test_enum_types_symboldatabase\n assert len(enum_scopes) >= 2, f\"Expected at least 2 enum scopes, got {len(enum_scopes)}\"\nE AssertionError: Expected at least 2 enum scopes, got 0\nE assert 0 >= 2\nE + where 0 = len([])tests/test_symboldatabase.py:362: in test_namespace_scopes_symboldatabase\n assert len(namespace_scopes) >= 2, \\\nE AssertionError: Expected at least 2 namespace scopes (Outer, Inner), got 0\nE assert 0 >= 2\nE + where 0 = len([])tests/test_programmemory.py:917: in test_logical_or_value_tracking\n assert \"Condition 'result' is always true\" in result.stderr\nE assert \"Condition 'result' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderrtests/test_importproject.py:551: in test_compile_commands_undefines\n assert returncode == 0\nE assert 1 == 0tests/test_programmemory.py:305: in test_multiple_assignments_tracking\n assert \"Condition 'x==15' is always true\" in result.stderr\nE assert \"Condition 'x==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: style: Condition 'x==5' is always false [knownConditionTrueFalse]\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: Assignment 'x=15', assigned value is 15\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: note: Condition 'x==5' is always false\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: note: x is initialized\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: note: x is overwritten\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:7: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment]\\n x = 15;\\n ^\\n/tmp/...:11: style: The comparison 'x == 15' is always true. [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: 'x' is assigned value '15' here.\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:6:11: note: The comparison 'x == 15' is always true.\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:10:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 2;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: style: Condition 'x==5' is always false [knownConditionTrueFalse]\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: Assignment 'x=15', assigned value is 15\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: note: Condition 'x==5' is always false\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: note: x is initialized\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: note: x is overwritten\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:7: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment]\\n x = 15;\\n ^\\n/tmp/...:11: style: The comparison 'x == 15' is always true. [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: 'x' is assigned value '15' here.\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:6:11: note: The comparison 'x == 15' is always true.\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:10:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 2;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: style: Condition 'x==5' is always false [knownConditionTrueFalse]\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: Assignment 'x=15', assigned value is 15\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: note: Condition 'x==5' is always false\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: note: x is initialized\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test...11: style: The comparison 'x == 15' is always true. [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: 'x' is assigned value '15' here.\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:6:11: note: The comparison 'x == 15' is always true.\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:10:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 2;\\n ^\\n\").stderrtests/test_reverseanalyzer.py:218: in test_dead_code_detection\n assert \"The condition 'x != 0' is redundant since 'x == 5' is sufficient\" in output\nE assert \"The condition 'x != 0' is redundant since 'x == 5' is sufficient\" in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:18:16: style: Redundant condition: x == 5. 'x != 0 && x == 5' is equivalent to 'x == 5' [redundantCondition]\\n if (x != 0 && x == 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:17:13: note: 'x' is assigned value '0' here.\\n int x = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:18:16: note: Redundant condition: x == 5. 'x != 0 && x == 5' is equivalent to 'x == 5'\\n if (x != 0 && x == 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:26:21: style: Condition 'x==2' is always false [knownConditionTrueFalse]\\n if (x == 1 || x == 2) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:25:13: note: Assignment 'x=1', assigned value is 1\\n int x = 1;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:26:21: note: Condition 'x==2' is always false\\n if (x == 1 || x == 2) {\\n ^\\n/workspace/eval/test_resources/test_reversea... that is never used. [unreadVariable]\\n x = 10;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:2:6: style: The function 'test_dead_after_return' is never used. [unusedFunction]\\nvoid test_dead_after_return() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:8:6: style: The function 'test_dead_in_false_condition' is never used. [unusedFunction]\\nvoid test_dead_in_false_condition() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:16:6: style: The function 'test_dead_in_and_operator' is never used. [unusedFunction]\\nvoid test_dead_in_and_operator() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:24:6: style: The function 'test_dead_in_or_operator' is never used. [unusedFunction]\\nvoid test_dead_in_or_operator() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:32:6: style: The function 'test_unreachable_after_unconditional_branch' is never used. [unusedFunction]\\nvoid test_unreachable_after_unconditional_branch() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_simplecpp.py:605: in test_elif_without_initial_if_error\n assert \"syntaxError\" in output\nE AssertionError: assert 'syntaxError' in 'Checking /tmp/tmp68ifjcpq/test.c ...\\n/tmp/tmp68ifjcpq/test.c:1:2: error: #elif without #if [preprocessorErrorDirective]\\n#elif VERSION == 2\\n ^\\n'tests/test_programmemory.py:1005: in test_parenthesized_expression_tracking\n assert \"Condition 'result==20' is always true\" in result.stderr\nE assert \"Condition 'result==20' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderrtests/test_programmemory.py:665: in test_unsigned_value_tracking\n assert \"Condition 'y==15' is always true\" in result.stderr\nE assert \"Condition 'y==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderrtests/test_symboldatabase.py:217: in test_nested_classes_symboldatabase\n assert outer_scope is not None, \"Outer class not found\"\nE AssertionError: Outer class not found\nE assert None is not Nonetests/test_programmemory.py:937: in test_logical_not_value_tracking\n assert \"Condition 'result' is always true\" in result.stderr\nE assert \"Condition 'result' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c:6:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c:6:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c:6:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderrtests/test_symboldatabase.py:420: in test_friend_declarations_symboldatabase\n assert base_scope is not None, \"Base class not found\"\nE AssertionError: Base class not found\nE assert None is not Nonetests/test_importproject.py:568: in test_compile_commands_standard_flag\n assert returncode == 0\nE assert 1 == 0tests/test_programmemory.py:329: in test_expression_evaluation_in_memory\n assert \"Condition 'x==20' is always true\" in result.stderr\nE assert \"Condition 'x==20' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderrtests/test_reverseanalyzer.py:233: in test_struct_and_class_members\n assert 'knownConditionTrueFalse' in output\nE assert 'knownConditionTrueFalse' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp:7:6: style: The function 'test_struct_member_access' is never used. [unusedFunction]\\nvoid test_struct_member_access() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp:23:10: style: The function 'increment' is never used. [unusedFunction]\\n void increment() { value++; }\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp:26:6: style: The function 'test_class_member' is never used. [unusedFunction]\\nvoid test_class_member() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp:34:6: style: The function 'test_struct_initialization' is never used. [unusedFunction]\\nvoid test_struct_initialization() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_simplecpp.py:627: in test_else_without_if_error\n assert \"syntaxError\" in output\nE AssertionError: assert 'syntaxError' in 'Checking /tmp/tmpvud0x9jy/test.c ...\\n/tmp/tmpvud0x9jy/test.c:1:2: error: #else without #if [preprocessorErrorDirective]\\n#else\\n ^\\n'tests/test_programmemory.py:1025: in test_unary_minus_value_tracking\n assert \"Condition 'y==-5' is always true\" in result.stderr\nE assert \"Condition 'y==-5' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderrtests/test_programmemory.py:686: in test_char_value_tracking\n assert \"Condition 'x==66' is always true\" in result.stderr\nE assert \"Condition 'x==66' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderrtests/test_symboldatabase.py:267: in test_function_overloading_symboldatabase\n assert calc_scope is not None, \"Calculator class not found\"\nE AssertionError: Calculator class not found\nE assert None is not Nonetests/test_symboldatabase.py:462: in test_constructor_destructor_symboldatabase\n assert len(functions) >= 5, f\"Expected at least 5 functions, got {len(functions)}\"\nE AssertionError: Expected at least 5 functions, got 0\nE assert 0 >= 5\nE + where 0 = len([])tests/test_programmemory.py:959: in test_comparison_operators_tracking\n assert \"Condition 'greater' is always true\" in result.stderr\nE assert \"Condition 'greater' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c:8:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c:8:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c:8:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderrtests/test_importproject.py:593: in test_compile_commands_visual_studio_patterns\n assert returncode == 0\nE assert 1 == 0/workspace/eval/tests/test_importproject.py:603: gold-env-limitation: requires Windows library configuration filestests/test_programmemory.py:1152: in test_string_literal_value_tracking\n assert '<valueflow>' in content\nE assert '<valueflow>' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<dumps language=\"c\">\\n <platform name=\"native\" char_bit=\"8\" short_bit=\"16\" int_bit=\"32\" long_bit=\"64\" long_long_bit=\"64\" pointer_bit=\"64\" wchar_t_bit=\"32\" size_t_bit=\"64\"/>\\n <rawtokens>\\n <file index=\"0\" name=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_string_literal_value_trac2/test.c\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"1\" str=\"void\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"6\" str=\"test\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"10\" str=\"(\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"11\" str=\")\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"13\" str=\"{\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"5\" str=\"const\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"11\" str=\"char\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"16\" str=\"*\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"17\" str=\"str\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"21\" str=\"=\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"23\" str=\"&quot;hello&quot;\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"30\" str=\";\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"5\" str=\"char\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"10\" str=\"first\"/>\\n <tok fileIndex=\"0\" line...\"6\" column=\"15\" str=\";\" type=\"op\"/>\\n <token id=\"0x560765aa9830\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_string_literal_value_trac2/test.c\" linenr=\"6\" column=\"13\" str=\"x\" type=\"name\" varId=\"3\" astParent=\"0x560765aa89f0\"/>\\n <token id=\"0x560765aa89f0\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_string_literal_value_trac2/test.c\" linenr=\"6\" column=\"15\" str=\"=\" type=\"op\" astOperand1=\"0x560765aa9830\" astOperand2=\"0x560765aa8b10\"/>\\n <token id=\"0x560765aa8b10\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_string_literal_value_trac2/test.c\" linenr=\"6\" column=\"17\" str=\"1\" type=\"number\" astParent=\"0x560765aa89f0\"/>\\n <token id=\"0x560765aa8c30\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_string_literal_value_trac2/test.c\" linenr=\"6\" column=\"18\" str=\";\" type=\"op\"/>\\n <token id=\"0x560765aa8d50\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_string_literal_value_trac2/test.c\" linenr=\"7\" column=\"5\" str=\"}\" link=\"0x560765aa8690\"/>\\n <token id=\"0x560765aa8e70\" file=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_string_literal_value_trac2/test.c\" linenr=\"8\" column=\"1\" str=\"}\" link=\"0x560765a28f80\"/>\\n </tokenlist>\\n </dump>\\n</dumps>\\n'tests/test_reverseanalyzer.py:255: in test_complex_expressions\n assert 'knownConditionTrueFalse' in output\nE assert 'knownConditionTrueFalse' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:2:6: style: The function 'test_arithmetic_expressions' is never used. [unusedFunction]\\nvoid test_arithmetic_expressions() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:11:6: style: The function 'test_boolean_expressions' is never used. [unusedFunction]\\nvoid test_boolean_expressions() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:21:6: style: The function 'test_comparison_chain' is never used. [unusedFunction]\\nvoid test_comparison_chain() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:29:6: style: The function 'test_bitwise_operations' is never used. [unusedFunction]\\nvoid test_bitwise_operations() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:37:6: style: The function 'test_modulo_operation' is never used. [unusedFunction]\\nvoid test_modulo_operation() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:45:6: style: The function 'test_division' is never used. [unusedFunction]\\nvoid test_division() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_simplecpp.py:648: in test_endif_without_if_error\n assert \"syntaxError\" in output\nE AssertionError: assert 'syntaxError' in 'Checking /tmp/tmp527o82bm/test.c ...\\n/tmp/tmp527o82bm/test.c:2:2: error: #endif without #if [preprocessorErrorDirective]\\n#endif\\n ^\\n'tests/test_programmemory.py:1045: in test_unary_plus_value_tracking\n assert \"Condition 'y==5' is always true\" in result.stderr\nE assert \"Condition 'y==5' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderrtests/test_programmemory.py:707: in test_bitwise_or_value_tracking\n assert \"Condition 'z==7' is always true\" in result.stderr\nE assert \"Condition 'z==7' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\").stderrtests/test_templatesimplifier_gaps.py:64: in test_variadic_template_class_and_function\n assert \"unreadVariable\" in output # Expected warning on 't'\nE AssertionError: assert 'unreadVariable' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/variadic_template.cpp ...\\n'tests/test_symboldatabase.py:665: in test_access_specifiers_symboldatabase\n assert access_test is not None, \"AccessTest class not found\"\nE AssertionError: AccessTest class not found\nE assert None is not Nonetests/test_symboldatabase.py:522: in test_operator_overloading_symboldatabase\n assert complex_scope is not None, \"Complex class not found\"\nE AssertionError: Complex class not found\nE assert None is not Nonetests/test_templatesimplifier_gaps.py:218: in test_template_non_type_parameters\n assert \"Buffer < 100 >\" in output\nE assert 'Buffer < 100 >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:3:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass Buffer {\\n^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:22:13: error: Uninitialized struct member: buf1.getSize [uninitStructMember]\\n int x = buf1.getSize();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:23:13: error: Uninitialized struct member: buf2.getSize [uninitStructMember]\\n int y = buf2.getSize();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:4:10: style: class member 'Buffer::data' is never used. [unusedStructMember]\\n char data[SIZE];\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:26:14: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n double w = multiply<double, 2>(3.14);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:28:12: style: Variable 'v1' is assigned a value that is never used. [unreadVariable]\\n int v1 = Conditional<true>::value;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:29:12: style: Variable 'v2' is assigned a value that is never used. [unreadVariable]\\n int v2 = Conditional<false>::value;\\n ^\\n\"tests/test_programmemory.py:1175: in test_multiple_operators_precedence_tracking\n assert \"Condition 'result==14' is always true\" in result.stderr\nE assert \"Condition 'result==14' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderrtests/test_templatesimplifier_gaps.py:418: in test_template_operator_overloading\n assert \"Value < int >\" in output\nE assert 'Value < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp:6:5: style: Class 'Value' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Value(T v) : val(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp:13:31: style: Variable 'factor' can be declared as pointer to const [constVariablePointer]\\n return Value<T>(val * factor);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp:13:31: style: Unused variable: factor [unusedVariable]\\n return Value<T>(val * factor);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp:28:13: style: Variable 'eq' is assigned a value that is never used. [unreadVariable]\\n bool eq = (v1 == v2);\\n ^\\n\"tests/test_programmemory.py:1065: in test_bitwise_not_value_tracking\n assert \"Condition 'y==-1' is always true\" in result.stderr\nE assert \"Condition 'y==-1' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderrtests/test_programmemory.py:728: in test_bitwise_xor_value_tracking\n assert \"Condition 'z==6' is always true\" in result.stderr\nE assert \"Condition 'z==6' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\").stderrtests/test_templatesimplifier_round2.py:474: in test_constexpr_if_conditional_compilation\n assert dump_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/workspace/eval/test_resources/test_templatesimplifier_round2/constexpr_if.cpp.dump').existstests/test_templatesimplifier_gaps.py:81: in test_template_default_parameters_class_and_function\n assert \"Array < int , 10 >\" in output\nE assert 'Array < int , 10 >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/default_template_params.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/default_template_params.cpp:4:7: style: class member 'Array::data' is never used. [unusedStructMember]\\n T data[N];\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/default_template_params.cpp:18:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = convert(3.14); // Uses defaults: T=int, U=double\\n ^\\n\"tests/test_symboldatabase.py:558: in test_typedef_using_symboldatabase\n assert len(types) > 0, \"No types found in symboldatabase\"\nE AssertionError: No types found in symboldatabase\nE assert 0 > 0\nE + where 0 = len([])tests/test_symboldatabase.py:726: in test_static_members_symboldatabase\n assert counter_scope is not None, \"Counter class not found\"\nE AssertionError: Counter class not found\nE assert None is not Nonetests/test_templatesimplifier_gaps.py:239: in test_template_member_functions\n assert \"Container < int >\" in output\nE assert 'Container < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_member_functions.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_member_functions.cpp:6:5: style: Class 'Container' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Container(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_member_functions.cpp:21:14: style: Variable 'd' is assigned a value that is never used. [unreadVariable]\\n double d = c1.convert<double>();\\n ^\\n\"tests/test_programmemory.py:1197: in test_mixed_arithmetic_types_tracking\n assert \"Condition 'result==60' is always true\" in result.stderr\nE assert \"Condition 'result==60' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderrtests/test_templatesimplifier_gaps.py:436: in test_template_constexpr_recursive_metaprogramming\n assert \"StaticArray < int , 5 >\" in output\nE assert 'StaticArray < int , 5 >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_constexpr.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_constexpr.cpp:25:16: style: Variable 'fact10' is assigned a value that is never used. [unreadVariable]\\n int fact10 = Factorial<10>::value;\\n ^\\n\"tests/test_programmemory.py:1085: in test_cast_value_tracking\n assert \"Condition 'c=='A'' is always true\" in result.stderr\nE assert \"Condition 'c=='A'' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderrtests/test_programmemory.py:748: in test_right_shift_value_tracking\n assert \"Condition 'y==4' is always true\" in result.stderr\nE assert \"Condition 'y==4' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderrtests/test_templatesimplifier_gaps.py:106: in test_nested_template_classes\n assert \"Outer < double >\" in output\nE AssertionError: assert 'Outer < double >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/nested_templates.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/nested_templates.cpp:22:19: style: Unused variable: outer [unusedVariable]\\n Outer<double> outer;\\n ^\\n'tests/test_templatesimplifier_round3.py:46: in test_recursive_template_factorial\n assert 'Factorial &lt; 0 &gt;' in dump_content, \"Base case Factorial<0> must be instantiated\"\nE AssertionError: Base case Factorial<0> must be instantiated\nE assert 'Factorial &lt; 0 &gt;' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<dumps language=\"cpp\">\\n <platform name=\"native\" char_bit=\"8\" short_bit=\"16\" int_bit=\"32\" long_bit=\"64\" long_long_bit=\"64\" pointer_bit=\"64\" wchar_t_bit=\"32\" size_t_bit=\"64\"/>\\n <rawtokens>\\n <file index=\"0\" name=\"/workspace/eval/test_resources/test_templatesimplifier_round3/recursive_factorial.cpp\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"1\" str=\"template\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"9\" str=\"&lt;\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"10\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"14\" str=\"N\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"15\" str=\"&gt;\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"1\" str=\"struct\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"8\" str=\"Factorial\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"18\" str=\"{\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"5\" str=\"static\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"12\" str=\"const\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"18\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"22\" str=\"value\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"28\" str=\"=\"/>\\n <tok fileIndex=\"0\" linenr=\"4\" column=\"30\" str=\"N\"/>\\n <tok file...latesimplifier_round3/recursive_factorial.cpp\" linenr=\"20\" column=\"5\" str=\"return\" type=\"name\" astOperand1=\"0x55d6e4943940\"/>\\n <token id=\"0x55d6e4943820\" file=\"/workspace/eval/test_resources/test_templatesimplifier_round3/recursive_factorial.cpp\" linenr=\"20\" column=\"12\" str=\"f5\" type=\"name\" varId=\"4\" astParent=\"0x55d6e4943940\"/>\\n <token id=\"0x55d6e4943940\" file=\"/workspace/eval/test_resources/test_templatesimplifier_round3/recursive_factorial.cpp\" linenr=\"20\" column=\"15\" str=\"+\" type=\"op\" astParent=\"0x55d6e4943700\" astOperand1=\"0x55d6e4943820\" astOperand2=\"0x55d6e4943a60\"/>\\n <token id=\"0x55d6e4943a60\" file=\"/workspace/eval/test_resources/test_templatesimplifier_round3/recursive_factorial.cpp\" linenr=\"20\" column=\"17\" str=\"f10\" type=\"name\" varId=\"5\" astParent=\"0x55d6e4943940\"/>\\n <token id=\"0x55d6e4943b80\" file=\"/workspace/eval/test_resources/test_templatesimplifier_round3/recursive_factorial.cpp\" linenr=\"20\" column=\"20\" str=\";\" type=\"op\"/>\\n <token id=\"0x55d6e49bc0e0\" file=\"/workspace/eval/test_resources/test_templatesimplifier_round3/recursive_factorial.cpp\" linenr=\"21\" column=\"1\" str=\"}\" link=\"0x55d6e4941f60\"/>\\n </tokenlist>\\n </dump>\\n</dumps>\\n'tests/test_symboldatabase.py:601: in test_struct_union_symboldatabase\n assert simple_struct is not None, \"SimpleStruct not found\"\nE AssertionError: SimpleStruct not found\nE assert None is not Nonetests/test_symboldatabase.py:775: in test_function_pointers_symboldatabase\n assert holder_scope is not None, \"FunctionHolder class not found\"\nE AssertionError: FunctionHolder class not found\nE assert None is not Nonetests/test_templatesimplifier_gaps.py:261: in test_template_static_members\n assert \"Counter < int >\" in output\nE AssertionError: assert 'Counter < int >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_static_members_v3.cpp ...\\n'tests/test_programmemory.py:1224: in test_short_circuit_and_side_effects\n assert \"Condition 'y==10' is always true\" in result.stderr\nE assert \"Condition 'y==10' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: style: Condition 'x' is always false [knownConditionTrueFalse]\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:3:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: note: Condition 'x' is always false\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:10:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: style: Condition 'x' is always false [knownConditionTrueFalse]\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:3:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: note: Condition 'x' is always false\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:10:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: style: Condition 'x' is always false [knownConditionTrueFalse]\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:3:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: note: Condition 'x' is always false\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:10:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\").stderrtests/test_templatesimplifier_gaps.py:452: in test_template_recursive_instantiation\n assert \"TreeNode < int , 2 >\" in output\nE assert 'TreeNode < int , 2 >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_recursive.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_recursive.cpp:23:5: style: Class 'TreeNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n TreeNode(T v) : value(v), left(nullptr), right(nullptr) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_recursive.cpp:37:15: style: Variable 'fib10' is assigned a value that is never used. [unreadVariable]\\n int fib10 = Fibonacci<10>::value;\\n ^\\n\"tests/test_programmemory.py:769: in test_compound_assignment_tracking\n assert \"Condition 'x==15' is always true\" in result.stderr\nE assert \"Condition 'x==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: style: Condition 'x==15' is always false [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:3:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: note: Condition 'x==15' is always false\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: style: Condition 'x==15' is always false [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:3:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: note: Condition 'x==15' is always false\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: style: Condition 'x==15' is always false [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:3:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: note: Condition 'x==15' is always false\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderrtests/test_templatesimplifier_round3.py:320: in test_template_friend_declarations\n assert 'Wrapper < int >' in output, \"Should mention Wrapper<int>\"\nE AssertionError: Should mention Wrapper<int>\nE assert 'Wrapper < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_friend.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_friend.cpp:14:5: style: Class 'Wrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Wrapper(T v) : value(v) {}\\n ^\\n\"tests/test_templatesimplifier_gaps.py:123: in test_template_full_specialization_bool\n assert \"Calculator < int >\" in output\nE assert 'Calculator < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:19:20: style: Parameter 'a' can be declared as pointer to const [constParameterPointer]\\n T* multiply(T* a, T* b) { return nullptr; }\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:19:26: style: Parameter 'b' can be declared as pointer to const [constParameterPointer]\\n T* multiply(T* a, T* b) { return nullptr; }\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:30:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n double* p = calc_ptr.multiply(nullptr, nullptr);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:27:12: style: Variable 'b' is assigned a value that is never used. [unreadVariable]\\n bool b = calc_bool.multiply(true, false);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:30:15: style: Variable 'p' is assigned a value that is never used. [unreadVariable]\\n double* p = calc_ptr.multiply(nullptr, nullptr);\\n ^\\n\"tests/test_templatesimplifier_round3.py:73: in test_sfinae_enable_if_pattern\n assert 'unusedStructMember' in output, \"Should detect unused struct members\"\nE AssertionError: Should detect unused struct members\nE assert 'unusedStructMember' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/sfinae_enable_if.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/sfinae_enable_if.cpp:38:10: style: Variable 'result_ptr' can be declared as pointer to const [constVariablePointer]\\n int* result_ptr = get_pointer(ptr);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/sfinae_enable_if.cpp:38:21: style: Variable 'result_ptr' is assigned a value that is never used. [unreadVariable]\\n int* result_ptr = get_pointer(ptr);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/sfinae_enable_if.cpp:39:20: style: Variable 'result_val' is assigned a value that is never used. [unreadVariable]\\n int result_val = get_value(val);\\n ^\\n\"tests/test_templatesimplifier_gaps.py:284: in test_template_inheritance\n assert \"Derived < int >\" in output\nE assert 'Derived < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_inheritance.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_inheritance.cpp:7:5: style: Class 'Base' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Base(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_inheritance.cpp:33:14: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n double y = d2.getValue();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_inheritance.cpp:37:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n char c = md.getExtra();\\n ^\\n\"tests/test_templatesimplifier_round3.py:169: in test_complex_nontype_template_parameters\n assert 'functionStatic' in output, \"Should detect functions that can be static\"\nE AssertionError: Should detect functions that can be static\nE assert 'functionStatic' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:68:19: warning: Found suspicious operator '>', result is not used. [constStatement]\\n CharHolder<'X'> ch;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:71:12: error: Uninitialized struct member: arr.size [uninitStructMember]\\n return arr.size() + mat.rows() + ph1.value() + rh.get() + ct.process() + ch.get();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:71:25: error: Uninitialized struct member: mat.rows [uninitStructMember]\\n return arr.size() + mat.rows() + ph1.value() + rh.get() + ct.process() + ch.get();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:71:63: error: Uninitialized struct member: ct.process [uninitStructMember]\\n return arr.size() + mat.rows() + ph1.value() + rh.get() + ct.process() + ch.get();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:4:9: style: struct member 'Array::data' is never used. [unusedStructMember]\\n int data[N];\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:10:9: style: struct member 'Matrix::data' is never used. [unusedStructMember]\\n int data[N][M];\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:60:36: style: Unused variable: ph2 [unusedVariable]\\n PointerHolder<&another_global> ph2;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:66:24: style: Unused variable: cf [unusedVariable]\\n Conditional<false> cf;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:69:22: style: Unused variable: cr [unusedVariable]\\n ColorHolder<RED> cr;\\n ^\\n\"tests/test_symboldatabase.py:819: in test_array_types_symboldatabase\n assert holder_scope is not None, \"ArrayHolder class not found\"\nE AssertionError: ArrayHolder class not found\nE assert None is not Nonetests/test_reverseanalyzer.py:80: in test_conditional_reverse_flow\n assert \"Condition 'result==100' is always true\" in output\nE assert \"Condition 'result==100' is always true\" in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:4:11: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n if (x == 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:3:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:4:11: note: The comparison 'x == 5' is always true.\\n if (x == 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:24:11: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n if (x == 5 && y == 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:22:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:24:11: note: The comparison 'x == 5' is always true.\\n if (x == 5 && y == 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:24:2...iable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = x + y; // Should be 15\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:2:6: style: The function 'test_if_condition' is never used. [unusedFunction]\\nvoid test_if_condition() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:10:6: style: The function 'test_if_else' is never used. [unusedFunction]\\nvoid test_if_else() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:21:6: style: The function 'test_short_circuit_and' is never used. [unusedFunction]\\nvoid test_short_circuit_and() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:30:6: style: The function 'test_short_circuit_or' is never used. [unusedFunction]\\nvoid test_short_circuit_or() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:38:6: style: The function 'test_ternary' is never used. [unusedFunction]\\nvoid test_ternary() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_templatesimplifier_gaps.py:470: in test_template_pointer_to_member\n assert \"Holder < int >\" in output\nE assert 'Holder < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_pointer_member.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_pointer_member.cpp:6:5: style: Class 'Holder' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Holder(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_pointer_member.cpp:22:14: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n double y = h2.*ptr2;\\n ^\\n\"tests/test_templatesimplifier_round3.py:498: in test_crtp_curiously_recurring_template_pattern\n assert 'functionStatic' in output, \"Should detect functions can be static\"\nE AssertionError: Should detect functions can be static\nE assert 'functionStatic' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:49:5: error: Uninitialized struct member: d1.interface [uninitStructMember]\\n d1.interface();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:52:5: error: Uninitialized struct member: d2.interface [uninitStructMember]\\n d2.interface();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:54:12: style: Unused variable: m1 [unusedVariable]\\n MyType m1, m2, m3;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:54:16: style: Unused variable: m2 [unusedVariable]\\n MyType m1, m2, m3;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:54:20: style: Unused variable: m3 [unusedVariable]\\n MyType m1, m2, m3;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:55:15: style: Unused variable: o1 [unusedVariable]\\n OtherType o1, o2;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:55:19: style: Unused variable: o2 [unusedVariable]\\n OtherType o1, o2;\\n ^\\n'tests/test_templatesimplifier_round3.py:374: in test_template_operator_overloading\n assert output.count('unreadVariable') == 3, f\"Expected 3 unreadVariable warnings\"\nE AssertionError: Expected 3 unreadVariable warnings\nE assert 2 == 3\nE + where 2 = <built-in method count of str object at 0x559a20ac9cb0>('unreadVariable')\nE + where <built-in method count of str object at 0x559a20ac9cb0> = \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_operators.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_operators.cpp:7:5: style: Struct 'Value' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Value(T d) : data(d) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_operators.cpp:57:13: style: Variable 'eq' is assigned a value that is never used. [unreadVariable]\\n bool eq = (v1 == v2);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_operators.cpp:58:13: style: Variable 'lt' is assigned a value that is never used. [unreadVariable]\\n bool lt = (v1 < v2);\\n ^\\n\".counttests/test_templatesimplifier_gaps.py:167: in test_template_typename_dependent_types\n assert \"Container < std :: vector < int > >\" in output\nE AssertionError: assert 'Container < std :: vector < int > >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_typename.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_typename.cpp:21:33: style: Unused variable: cont [unusedVariable]\\n Container<std::vector<int>> cont;\\n ^\\n'tests/test_templatesimplifier_round3.py:124: in test_dependent_typename_and_template_keywords\n assert 'functionStatic' in output, \"Should detect function can be static\"\nE AssertionError: Should detect function can be static\nE assert 'functionStatic' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/dependent_typename.cpp ...\\n'tests/test_templatesimplifier_gaps.py:304: in test_template_template_parameters\n assert \"Wrapper < SimpleContainer , int >\" in output\nE assert 'Wrapper < SimpleContainer , int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_template_param.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_template_param.cpp:6:5: style: Class 'SimpleContainer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n SimpleContainer(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_template_param.cpp:14:5: style: Class 'Wrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Wrapper(T val) : container(val) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_template_param.cpp:23:14: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n double y = w2.getValue();\\n ^\\n\"tests/test_symboldatabase.py:863: in test_const_methods_symboldatabase\n assert container_scope is not None, \"Container class not found\"\nE AssertionError: Container class not found\nE assert None is not Nonetests/test_templatesimplifier_round3.py:223: in test_template_aliases_using_keyword\n assert 'constVariablePointer' in output, \"Should detect const pointer opportunity\"\nE AssertionError: Should detect const pointer opportunity\nE assert 'constVariablePointer' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/alias_template.cpp ...\\n'tests/test_reverseanalyzer.py:102: in test_loop_reverse_flow\n assert 'unreadVariable' in output\nE assert 'unreadVariable' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:4:14: style: Condition 'x<10' is always true [knownConditionTrueFalse]\\n while (x < 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:3:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:4:14: note: Condition 'x<10' is always true\\n while (x < 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:32:14: style: Condition 'x<100' is always true [knownConditionTrueFalse]\\n while (x < 100) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:31:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:32:14: note: Condition 'x<100' is always true\\n while (x < 100) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:44:18: style: Condition 'count<10' is always true [knownConditionTrueFalse...kspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:44:18: note: Condition 'count<10' is always true\\n while (count < 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:2:6: style: The function 'test_while_loop' is never used. [unusedFunction]\\nvoid test_while_loop() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:12:6: style: The function 'test_for_loop' is never used. [unusedFunction]\\nvoid test_for_loop() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:20:6: style: The function 'test_do_while' is never used. [unusedFunction]\\nvoid test_do_while() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:30:6: style: The function 'test_loop_with_break' is never used. [unusedFunction]\\nvoid test_loop_with_break() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:41:6: style: The function 'test_loop_with_continue' is never used. [unusedFunction]\\nvoid test_loop_with_continue() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_tokenize.py:306: in test_nested_struct_typedef\n assert typedef_info is not None, \"Should record Nested typedef\"\nE AssertionError: Should record Nested typedef\nE assert None is not Nonetests/test_templatesimplifier_round3.py:524: in test_policy_based_design_with_templates\n assert 'functionStatic' in output, \"Should detect functions can be static\"\nE AssertionError: Should detect functions can be static\nE assert 'functionStatic' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_policy.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_policy.cpp:19:7: style: struct member 'StaticStorage::data' is never used. [unusedStructMember]\\n T data[100];\\n ^\\n\"tests/test_templatesimplifier_round3.py:393: in test_template_compile_time_constraints\n assert 'functionStatic' in output, \"Should detect function can be static\"\nE AssertionError: Should detect function can be static\nE assert 'functionStatic' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_static_assert.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_static_assert.cpp:32:5: error: Uninitialized struct member: p10.array [uninitStructMember]\\n p10.array[0] = 1;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_static_assert.cpp:32:18: style: Variable 'p10.array[0]' is assigned a value that is never used. [unreadVariable]\\n p10.array[0] = 1;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_static_assert.cpp:31:22: style: Variable 'p10' is not assigned a value. [unassignedVariable]\\n PositiveOnly<10> p10;\\n ^\\n\"tests/test_templatesimplifier_gaps.py:192: in test_template_using_alias_declaration\n assert \"Wrapper < int >\" in output\nE AssertionError: assert 'Wrapper < int >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_using_v2.cpp ...\\n'tests/test_tokenize.py:81: in test_typedef_pointer_type\n assert var is not None\nE assert None is not Nonetests/test_templatesimplifier_gaps.py:340: in test_template_friend_functions\n assert \"Printer < int >\" in output\nE assert 'Printer < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_friend_function.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_friend_function.cpp:6:5: style: Class 'Printer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Printer(T v) : value(v) {}\\n ^\\n\"tests/test_symboldatabase.py:913: in test_default_arguments_symboldatabase\n assert calc_scope is not None, \"Calculator class not found\"\nE AssertionError: Calculator class not found\nE assert None is not Nonetests/test_templatesimplifier_round3.py:249: in test_nested_template_specialization_patterns\n assert 'unusedStructMember' in output, \"Should detect unused struct member\"\nE AssertionError: Should detect unused struct member\nE assert 'unusedStructMember' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/nested_specialization.cpp ...\\n'tests/test_reverseanalyzer.py:123: in test_function_call_reverse\n assert 'knownConditionTrueFalse' in output\nE assert 'knownConditionTrueFalse' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:26:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = x + 1;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:10:6: style: The function 'test_function_return' is never used. [unusedFunction]\\nvoid test_function_return() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:17:6: style: The function 'test_function_parameter' is never used. [unusedFunction]\\nvoid test_function_parameter() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:23:6: style: The function 'test_const_function' is never used. [unusedFunction]\\nvoid test_const_function(const int x) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:30:5: style: The function 'test_return_value' is never used. [unusedFunction]\\nint test_return_value() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report=<filename> to see details) [checkersReport]\\n\\n\"tests/test_tokenize.py:328: in test_template_angle_brackets\n assert template_info is not None, \"Should have TemplateSimplifier section\"\nE AssertionError: Should have TemplateSimplifier section\nE assert None is not Nonetests/test_templatesimplifier_round3.py:552: in test_type_traits_and_template_metaprogramming\n assert 'knownConditionTrueFalse' in output, \"Should detect known conditions\"\nE AssertionError: Should detect known conditions\nE assert 'knownConditionTrueFalse' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_traits.cpp ...\\n'tests/test_templatesimplifier_round3.py:422: in test_template_conversion_operators\n assert output.count('noExplicitConstructor') == 2, \"Two classes with non-explicit constructors\"\nE AssertionError: Two classes with non-explicit constructors\nE assert 1 == 2\nE + where 1 = <built-in method count of str object at 0x559a20c99110>('noExplicitConstructor')\nE + where <built-in method count of str object at 0x559a20c99110> = \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:6:5: style: Struct 'Wrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Wrapper(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:25:14: style: Parameter 'p' can be declared as pointer to const [constParameterPointer]\\n Smart(T* p = nullptr) : ptr(p) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:44:10: style: Variable 'rawptr' can be declared as pointer to const [constVariablePointer]\\n int* rawptr = sp; // Conversion to int*\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:39:12: style: Variable 'b' is assigned a value that is never used. [unreadVariable]\\n bool b = static_cast<bool>(wi);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:44:17: style: Variable 'rawptr' is assigned a value that is never used. [unreadVariable]\\n int* rawptr = sp; // Conversion to int*\\n ^\\n\".counttests/test_templatesimplifier_round3.py:651: in test_template_array_with_multi_dimensional\n assert 'functionStatic' in output, \"Should detect function can be static\"\nE AssertionError: Should detect function can be static\nE assert 'functionStatic' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_array_operations.cpp ...\\n'tests/test_tokenize.py:105: in test_typedef_struct_definition\n assert typedef_info is not None\nE assert None is not Nonetests/test_templatesimplifier_gaps.py:361: in test_template_argument_deduction\n assert \"Container < int >\" in output\nE AssertionError: assert 'Container < int >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_deduction_v2.cpp ...\\n'tests/test_templatesimplifier_gaps.py:37: in test_multiple_template_instantiations_same_template\n assert \"Stack < int >\" in output\nE assert 'Stack < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp:8:5: style: Class 'Stack' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Stack(int cap) : capacity(cap), top(-1) {\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp:33:11: style: Variable 'z' can be declared as pointer to const [constVariablePointer]\\n char* z = s3.pop();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp:29:14: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n double y = s2.pop();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp:33:13: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n char* z = s3.pop();\\n ^\\n\"tests/test_tokenize.py:805: in test_inline_function\n assert len(functions) >= 1\nE assert 0 >= 1\nE + where 0 = len([])tests/test_tokenize.py:513: in test_function_with_parameters\n assert len(functions) >= 2, \"Should have at least 2 functions\"\nE AssertionError: Should have at least 2 functions\nE assert 0 >= 2\nE + where 0 = len([])tests/test_tokenize.py:377: in test_compound_assignment_operators\n assert tok.get(\"isAssignmentOp\") == \"true\", f\"{tok.get('str')} should be assignment op\"\nE AssertionError: >>= should be assignment op\nE assert None == 'true'\nE + where None = <built-in method get of xml.etree.ElementTree.Element object at 0x7f8f6323a5c0>('isAssignmentOp')\nE + where <built-in method get of xml.etree.ElementTree.Element object at 0x7f8f6323a5c0> = <Element 'token' at 0x7f8f6323a5c0>.gettests/test_templatesimplifier_round3.py:627: in test_expression_sfinae_member_detection\n assert output.count('unusedStructMember') == 2, \"Two unused members\"\nE AssertionError: Two unused members\nE assert 1 == 2\nE + where 1 = <built-in method count of str object at 0x7f7974785b80>('unusedStructMember')\nE + where <built-in method count of str object at 0x7f7974785b80> = \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_expression_sfinae.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_expression_sfinae.cpp:20:9: style: struct member 'WithoutValueType::data' is never used. [unusedStructMember]\\n int data;\\n ^\\n\".counttests/test_templatesimplifier_round3.py:473: in test_template_with_lambda_expressions\n assert 'functionStatic' in output, \"Should detect functions can be static\"\nE AssertionError: Should detect functions can be static\nE assert 'functionStatic' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_lambda.cpp ...\\n'tests/test_tokenize.py:52: in test_typedef_simple_int_substitution\n assert type_token.get(\"originalName\") == \"INT\"\nE AssertionError: assert None == 'INT'\nE + where None = <built-in method get of xml.etree.ElementTree.Element object at 0x7fdeddea7ce0>('originalName')\nE + where <built-in method get of xml.etree.ElementTree.Element object at 0x7fdeddea7ce0> = <Element 'token' at 0x7fdeddea7ce0>.gettests/test_tokenize.py:158: in test_array_size_tokenization\n assert arr_var is not None\nE assert None is not Nonetests/test_tokenize.py:1171: in test_array_initialization\n assert array_count >= 3, f\"Expected at least 3 arrays, got {array_count}\"\nE AssertionError: Expected at least 3 arrays, got 0\nE assert 0 >= 3tests/test_tokenize.py:669: in test_class_constructor_destructor\n assert len(functions) >= 3\nE assert 0 >= 3\nE + where 0 = len([])tests/test_tokenize.py:1265: in test_auto_keyword_cpp11\n assert len(variables) >= 2\nE assert 0 >= 2\nE + where 0 = len([])tests/test_tokenize.py:555: in test_struct_member_access\n assert arrow_found, \"Should have -> operator (simplified to . with originalName)\"\nE AssertionError: Should have -> operator (simplified to . with originalName)\nE assert Falsetests/test_tokenize.py:402: in test_pointer_and_reference_declarations\n assert \"p\" in var_map\nE AssertionError: assert 'p' in {}tests/test_tokenize.py:931: in test_typedef_function_pointer_complex\n assert \"CompareFunc\" in funcptr_names\nE AssertionError: assert 'CompareFunc' in []tests/test_tokenize.py:1008: in test_hex_octal_literals\n assert \"hex\" in var_names\nE AssertionError: assert 'hex' in []tests/test_tokenize.py:1071: in test_long_long_type\n assert \"x\" in var_map\nE AssertionError: assert 'x' in {}tests/test_tokenize.py:177: in test_function_pointer_typedef\n assert typedef_info is not None\nE assert None is not Nonetests/test_tokenize.py:1194: in test_conditional_compilation\n assert directives is not None\nE assert None is not Nonetests/test_tokenize.py:718: in test_for_loop_tokenization\n assert \"i\" in var_names\nE AssertionError: assert 'i' in []tests/test_tokenize_round2.py:172: in test_double_minus_to_plus_simplification\n assert found_plus_in_b, \"Should simplify - - to + in expression a - -5\"\nE AssertionError: Should simplify - - to + in expression a - -5\nE assert Falsetests/test_tokenize_round2.py:311: in test_raw_string_literals\n assert has_newline, \"Raw string with newlines should preserve them as actual newline characters\"\nE AssertionError: Raw string with newlines should preserve them as actual newline characters\nE assert Falsetests/test_tokenize.py:437: in test_static_and_extern_storage_class\n assert \"s\" in var_map\nE AssertionError: assert 's' in {}tests/test_tokenize.py:1044: in test_character_literal\n assert \"a\" in var_names\nE AssertionError: assert 'a' in []tests/test_tokenize_round2.py:106: in test_array_access_reversed_syntax\n assert '*' in token_strs, \"Should have dereference operator after array access simplification\"\nE AssertionError: Should have dereference operator after array access simplification\nE assert '*' in ['int', 'main', '(', ')', '{', 'int', ...]tests/test_tokenize_round2.py:478: in test_noexcept_specifier\n assert noexcept_count >= 4, f\"Should find at least 4 noexcept keywords, found {noexcept_count}\"\nE AssertionError: Should find at least 4 noexcept keywords, found 0\nE assert 0 >= 4tests/test_tokenize.py:1246: in test_nullptr_cpp11\n assert \"p\" in var_map\nE AssertionError: assert 'p' in {}tests/test_tokenize_round2.py:704: in test_static_assert_cpp11\n assert static_assert_count >= 2, f\"Should find at least 2 static_assert, found {static_assert_count}\"\nE AssertionError: Should find at least 2 static_assert, found 1\nE assert 1 >= 2tests/test_tokenize_round2.py:932: in test_unicode_identifiers\n dump, retcode, stderr = run_cppcheck_dump(code, std='c++11')\ntests/test_tokenize_round2.py:27: in run_cppcheck_dump\n return dumpfile.read_text(), result.returncode, result.stderr\n/usr/lib/python3.10/pathlib.py:1135: in read_text\n return f.read()\n/usr/lib/python3.10/codecs.py:322: in decode\n (result, consumed) = self._buffer_decode(data, self.errors, final)\nE UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 732: invalid continuation bytetests/test_tokenize_round2.py:1440: in test_constexpr_if_cpp17\n assert dump is not None\nE assert None is not Nonetests/test_tokenlist.py:73: in test_simplify_platform_types_size_t\n assert len(size_t_tokens) >= 2, \"Should find at least 2 simplified size_t tokens\"\nE AssertionError: Should find at least 2 simplified size_t tokens\nE assert 0 >= 2\nE + where 0 = len([])tests/test_tokenize.py:467: in test_volatile_qualifier\n assert \"v\" in var_map\nE AssertionError: assert 'v' in {}tests/test_tokenlist.py:159: in test_simplify_stdtype_long_long\n assert len(ll_vars) >= 2, f\"Should find at least 2 'long long' variables, got {len(ll_vars)}\"\nE AssertionError: Should find at least 2 'long long' variables, got 0\nE assert 0 >= 2\nE + where 0 = len([])tests/test_tokenize_round2.py:445: in test_constexpr_keyword\n assert len(constexpr_tokens) >= 3, f\"Should find at least 3 constexpr keywords, found {len(constexpr_tokens)}\"\nE AssertionError: Should find at least 3 constexpr keywords, found 0\nE assert 0 >= 3\nE + where 0 = len([])tests/test_tokenlist.py:295: in test_tokenlist_multiline_macro\n assert len(directives) >= 1, f\"Should find at least 1 directive, got {len(directives)}\"\nE AssertionError: Should find at least 1 directive, got 0\nE assert 0 >= 1\nE + where 0 = len([])tests/test_tokenize_round2.py:775: in test_override_final_cpp11\n assert override_count >= 2, f\"Should find at least 2 'override', found {override_count}\"\nE AssertionError: Should find at least 2 'override', found 0\nE assert 0 >= 2tests/test_tokenlist.py:492: in test_tokenlist_template_basic\n assert len(max_tokens) >= 1, f\"Should have template instantiation like 'max < int >', got max-related tokens: {[t.get('str') for t in tokens if 'max' in (t.get('str') or '')]}\"\nE AssertionError: Should have template instantiation like 'max < int >', got max-related tokens: ['max', 'max']\nE assert 0 >= 1\nE + where 0 = len([])tests/test_tokenlist.py:615: in test_tokenlist_complex_expression\n assert len(logical_ops) >= 3, f\"Should have at least 3 logical operators (2 && and 1 ||), got {len(logical_ops)}\"\nE AssertionError: Should have at least 3 logical operators (2 && and 1 ||), got 0\nE assert 0 >= 3\nE + where 0 = len([])tests/test_tokenlist.py:105: in test_simplify_platform_types_ptrdiff_t\n assert len(signed_ptr_tokens) >= 2, f\"Expected 2+ signed ptr tokens, got {len(signed_ptr_tokens)}\"\nE AssertionError: Expected 2+ signed ptr tokens, got 0\nE assert 0 >= 2\nE + where 0 = len([])tests/test_tokenlist.py:135: in test_simplify_stdtype_implicit_int_c\n assert len(implicit_int_tokens) >= 3, f\"Expected at least 3 implicit int tokens, got {len(implicit_int_tokens)}\"\nE AssertionError: Expected at least 3 implicit int tokens, got 0\nE assert 0 >= 3\nE + where 0 = len([])tests/test_tokenlist.py:1089: in test_tokenlist_hexfloat_c99\n assert hf.get('isFloat') == 'true', f\"Hex float {hf.get('str')} should be marked as float\"\nE AssertionError: Hex float 0x1.0p0 should be marked as float\nE assert None == 'true'\nE + where None = <built-in method get of xml.etree.ElementTree.Element object at 0x7f52e68121b0>('isFloat')\nE + where <built-in method get of xml.etree.ElementTree.Element object at 0x7f52e68121b0> = <Element 'token' at 0x7f52e68121b0>.gettests/test_tokenlist.py:206: in test_simplify_stdtype_short\n assert len(s_var) >= 1, f\"Should find variable 's', got {len(s_var)}\"\nE AssertionError: Should find variable 's', got 0\nE assert 0 >= 1\nE + where 0 = len([])tests/test_vf_common.py:55: in test_signed_integer_overflow_detection\n assert normalize_paths(output) == normalize_paths((RESOURCES / 'signed_overflow.golden').read_text())\nE AssertionError: assert 'Checking eva...rflow.c ...\\n' == 'Checking eva... ^\\n'\nE \nE Checking eval/test_resources/test_vf_common/signed_overflow.c ...\nE - eval/test_resources/test_vf_common/signed_overflow.c:9:11: error: Signed integer overflow for expression 'i+1'. [integerOverflow]\nE - i = i + 1; // Overflow\nE - ^\nE - eval/test_resources/test_vf_common/signed_overflow.c:8:20: note: Assignment 'i=2147483647', assigned value is 2147483647\nE - signed int i = 2147483647;...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to showtests/test_tokenlist.py:344: in test_tokenlist_empty_file\n assert dump_file.exists(), \"Dump file should exist even for empty source\"\nE AssertionError: Dump file should exist even for empty source\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-0/popen-gw5/test_tokenlist_empty_file2/empty.c.dump').existstests/test_tokenlist.py:381: in test_tokenlist_very_long_identifier\n assert len(var_decl) >= 1, f\"Should find variable declaration, got {len(var_decl)}\"\nE AssertionError: Should find variable declaration, got 0\nE assert 0 >= 1\nE + where 0 = len([])tests/test_vf_common.py:161: in test_sizeof_basic_types\n assert valueflow is not None\nE assert None is not Nonetests/test_vf_common.py:259: in test_float_to_int_conversion_overflow\n assert normalize_paths(output) == normalize_paths((RESOURCES / 'float_to_int_cast.golden').read_text())\nE AssertionError: assert 'Checking eva..._cast.c ...\\n' == 'Checking eva... ^\\n'\nE \nE Checking eval/test_resources/test_vf_common/float_to_int_cast.c ...\nE - eval/test_resources/test_vf_common/float_to_int_cast.c:9:14: error: Undefined behaviour: float (1e+20) to integer conversion overflow. [floatConversionOverflow]\nE - int i3 = (int)f2; // Undefined behavior\nE - ^\nE - eval/test_resources/test_vf_common/float_to_int_cast.c:8:16: note: Assignment 'f2=1e20f', assigned value is 1e+20\nE - float f2 = 1e20f;...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to showtests/test_vf_common.py:295: in test_sizeof_multidimensional_array\n assert 'isArray=\"true\"' in content\nE assert 'isArray=\"true\"' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<dumps language=\"c\">\\n <platform name=\"native\" char_bit=\"8\" short_bit=\"16\" int_bit=\"32\" long_bit=\"64\" long_long_bit=\"64\" pointer_bit=\"64\" wchar_t_bit=\"32\" size_t_bit=\"64\"/>\\n <rawtokens>\\n <file index=\"0\" name=\"/workspace/eval/test_resources/test_vf_common/sizeof_multidim_array.c\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"1\" str=\"void\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"6\" str=\"test_multidim\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"19\" str=\"(\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"20\" str=\")\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"22\" str=\"{\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"5\" str=\"int\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"9\" str=\"matrix\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"15\" str=\"[\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"16\" str=\"3\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"17\" str=\"]\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"18\" str=\"[\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"19\" str=\"4\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"20\" str=\"]\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"21\" str=\";\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"5\" str=\"s...34ea0\" astOperand2=\"0x55bbd7833e40\"/>\\n <token id=\"0x55bbd7833d20\" file=\"/workspace/eval/test_resources/test_vf_common/sizeof_multidim_array.c\" linenr=\"8\" column=\"17\" str=\"sizeof\" type=\"name\" astParent=\"0x55bbd7833e40\"/>\\n <token id=\"0x55bbd7833e40\" file=\"/workspace/eval/test_resources/test_vf_common/sizeof_multidim_array.c\" linenr=\"8\" column=\"23\" str=\"(\" link=\"0x55bbd7834080\" astParent=\"0x55bbd7904e80\" astOperand1=\"0x55bbd7833d20\" astOperand2=\"0x55bbd7833f60\"/>\\n <token id=\"0x55bbd7833f60\" file=\"/workspace/eval/test_resources/test_vf_common/sizeof_multidim_array.c\" linenr=\"8\" column=\"24\" str=\"grid\" type=\"name\" varId=\"5\" astParent=\"0x55bbd7833e40\"/>\\n <token id=\"0x55bbd7834080\" file=\"/workspace/eval/test_resources/test_vf_common/sizeof_multidim_array.c\" linenr=\"8\" column=\"28\" str=\")\" link=\"0x55bbd7833e40\"/>\\n <token id=\"0x55bbd78341a0\" file=\"/workspace/eval/test_resources/test_vf_common/sizeof_multidim_array.c\" linenr=\"8\" column=\"29\" str=\";\" type=\"op\"/>\\n <token id=\"0x55bbd78342c0\" file=\"/workspace/eval/test_resources/test_vf_common/sizeof_multidim_array.c\" linenr=\"9\" column=\"1\" str=\"}\" link=\"0x55bbd782cbc0\"/>\\n </tokenlist>\\n </dump>\\n</dumps>\\n'tests/test_tokenlist.py:875: in test_tokenlist_cast_expression\n assert len(cast_parens) >= 3, f\"Should have at least 3 cast parentheses marked, got {len(cast_parens)}\"\nE AssertionError: Should have at least 3 cast parentheses marked, got 0\nE assert 0 >= 3\nE + where 0 = len([])tests/test_tokenlist.py:1121: in test_tokenlist_wide_string_literals\n assert wide_strings[0].get('valueType-originalTypeName') == 'wchar_t', f\"Wide string should be wchar_t, got {wide_strings[0].get('valueType-originalTypeName')}\"\nE AssertionError: Wide string should be wchar_t, got None\nE assert None == 'wchar_t'\nE + where None = <built-in method get of xml.etree.ElementTree.Element object at 0x7f52e6c40770>('valueType-originalTypeName')\nE + where <built-in method get of xml.etree.ElementTree.Element object at 0x7f52e6c40770> = <Element 'token' at 0x7f52e6c40770>.gettests/test_vf_common.py:78: in test_value_flow_dump_bool_constants\n assert valueflow is not None\nE assert None is not Nonetests/test_tokenlist.py:1178: in test_tokenlist_raw_string_literal_cpp11\n assert first_str.get('str') == expected_first, f\"First string should be {expected_first!r}, got {first_str.get('str')!r}\"\nE AssertionError: First string should be '\"This is a \\\\\"raw\\\\\" string\\nwith newlines\"', got '\"This is a \\\\\"raw\\\\\" string\\\\nwith newlines\"'\nE assert '\"This is a \\...ith newlines\"' == '\"This is a \\...ith newlines\"'\nE \nE + \"This is a \\\"raw\\\" string\\nwith newlines\"\nE - \"This is a \\\"raw\\\" string\nE - with newlines\"tests/test_vf_common.py:113: in test_value_flow_char_literal_constants\n assert valueflow is not None\nE assert None is not Nonetests/test_vf_common.py:132: in test_value_flow_float_constants\n assert 'valueType-type=\"float\"' in content\nE assert 'valueType-type=\"float\"' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<dumps language=\"c\">\\n <platform name=\"native\" char_bit=\"8\" short_bit=\"16\" int_bit=\"32\" long_bit=\"64\" long_long_bit=\"64\" pointer_bit=\"64\" wchar_t_bit=\"32\" size_t_bit=\"64\"/>\\n <rawtokens>\\n <file index=\"0\" name=\"/workspace/eval/test_resources/test_vf_common/float_constants.c\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"1\" str=\"void\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"6\" str=\"test_float_values\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"23\" str=\"(\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"24\" str=\")\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"26\" str=\"{\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"5\" str=\"float\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"11\" str=\"f1\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"14\" str=\"=\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"16\" str=\"1.5f\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"20\" str=\";\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"5\" str=\"float\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"11\" str=\"f2\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"14\" str=\"=\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"16\" str=\"3.14159f\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column...e=\"/workspace/eval/test_resources/test_vf_common/float_constants.c\" linenr=\"9\" column=\"12\" str=\"d3\" type=\"name\" varId=\"7\"/>\\n <token id=\"0x5630f8211360\" file=\"/workspace/eval/test_resources/test_vf_common/float_constants.c\" linenr=\"9\" column=\"15\" str=\";\" type=\"op\"/>\\n <token id=\"0x5630f8211480\" file=\"/workspace/eval/test_resources/test_vf_common/float_constants.c\" linenr=\"9\" column=\"12\" str=\"d3\" type=\"name\" varId=\"7\" astParent=\"0x5630f81cc850\"/>\\n <token id=\"0x5630f81cc850\" file=\"/workspace/eval/test_resources/test_vf_common/float_constants.c\" linenr=\"9\" column=\"15\" str=\"=\" type=\"op\" astOperand1=\"0x5630f8211480\" astOperand2=\"0x5630f81cc970\"/>\\n <token id=\"0x5630f81cc970\" file=\"/workspace/eval/test_resources/test_vf_common/float_constants.c\" linenr=\"9\" column=\"17\" str=\"1.5e-5\" type=\"number\" astParent=\"0x5630f81cc850\"/>\\n <token id=\"0x5630f81cca90\" file=\"/workspace/eval/test_resources/test_vf_common/float_constants.c\" linenr=\"9\" column=\"23\" str=\";\" type=\"op\"/>\\n <token id=\"0x5630f8210220\" file=\"/workspace/eval/test_resources/test_vf_common/float_constants.c\" linenr=\"10\" column=\"1\" str=\"}\" link=\"0x5630f81c3830\"/>\\n </tokenlist>\\n </dump>\\n</dumps>\\n'tests/test_vf_common.py:275: in test_zero_initialization_patterns\n assert normalize_paths(output) == normalize_paths((RESOURCES / 'zero_initialization.golden').read_text())\nE AssertionError: assert 'Checking eva...\\n ^\\n' == 'Checking eva...n ^\\n'\nE \nE Checking eval/test_resources/test_vf_common/zero_initialization.c ...\nE - eval/test_resources/test_vf_common/zero_initialization.c:8:10: error: Uninitialized variable: p [legacyUninitvar]\nE ? ^ ^^ ^ ^^^^^^^\nE + eval/test_resources/test_vf_common/zero_initialization.c:3:9: error: Uninitialized variable: y [uninitvar]\nE ? ^ ^ ^ ^\nE - int *p = int*();...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to showtests/test_vf_common.py:342: in test_sizeof_string_literals\n assert 'strlen=\"5\"' in content # for \"hello\"\nE assert 'strlen=\"5\"' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<dumps language=\"c\">\\n <platform name=\"native\" char_bit=\"8\" short_bit=\"16\" int_bit=\"32\" long_bit=\"64\" long_long_bit=\"64\" pointer_bit=\"64\" wchar_t_bit=\"32\" size_t_bit=\"64\"/>\\n <rawtokens>\\n <file index=\"0\" name=\"/workspace/eval/test_resources/test_vf_common/sizeof_string.c\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"1\" str=\"void\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"6\" str=\"test_sizeof_string\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"24\" str=\"(\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"25\" str=\")\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"27\" str=\"{\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"5\" str=\"size_t\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"12\" str=\"s1\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"15\" str=\"=\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"17\" str=\"sizeof\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"23\" str=\"(\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"24\" str=\"&quot;hello&quot;\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"31\" str=\")\"/>\\n <tok fileIndex=\"0\" linenr=\"2\" column=\"32\" str=\";\"/>\\n <tok fileIndex=\"0\" linenr=\"3\" column=\"5\" str=\"size_t\"/>\\n <tok fileIndex=\"0\" linenr...\" str=\"=\" type=\"op\" astOperand1=\"0x55f465c31260\" astOperand2=\"0x55f465d18c80\"/>\\n <token id=\"0x55f465d18b60\" file=\"/workspace/eval/test_resources/test_vf_common/sizeof_string.c\" linenr=\"7\" column=\"17\" str=\"sizeof\" type=\"name\" astParent=\"0x55f465d18c80\"/>\\n <token id=\"0x55f465d18c80\" file=\"/workspace/eval/test_resources/test_vf_common/sizeof_string.c\" linenr=\"7\" column=\"23\" str=\"(\" link=\"0x55f465d18ec0\" astParent=\"0x55f465d18a40\" astOperand1=\"0x55f465d18b60\" astOperand2=\"0x55f465d18da0\"/>\\n <token id=\"0x55f465d18da0\" file=\"/workspace/eval/test_resources/test_vf_common/sizeof_string.c\" linenr=\"7\" column=\"24\" str=\"U&quot;utf32&quot;\" type=\"string\" astParent=\"0x55f465d18c80\"/>\\n <token id=\"0x55f465d18ec0\" file=\"/workspace/eval/test_resources/test_vf_common/sizeof_string.c\" linenr=\"7\" column=\"32\" str=\")\" link=\"0x55f465d18c80\"/>\\n <token id=\"0x55f465d18fe0\" file=\"/workspace/eval/test_resources/test_vf_common/sizeof_string.c\" linenr=\"7\" column=\"33\" str=\";\" type=\"op\"/>\\n <token id=\"0x55f465d19100\" file=\"/workspace/eval/test_resources/test_vf_common/sizeof_string.c\" linenr=\"8\" column=\"1\" str=\"}\" link=\"0x55f465d67dc0\"/>\\n </tokenlist>\\n </dump>\\n</dumps>\\n'tests/test_harvest_performance.py:203: in test_stack_overflow_AST\n assert ret == 0\nE assert -11 == 0tests/test_harvest_performance.py:305: in test_crash_array_in_namespace\n assert ret == 0\nE assert -11 == 0tests/test_harvest_performance.py:328: in test_crash_array_in_array\n assert ret == 0\nE assert -11 == 0tests/test_harvest_premium.py:64: in test_misra_c_builtin_style_checks\n assert result.returncode == 0\nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['./cppcheck', '--premium=autosar', '--xml', 'test.cpp'], returncode=1, stdout='cppcheck: error: unrecognized command line option: \"--premium=autosar\".\\n', stderr='').returncodetests/test_harvest_premium.py:126: in test_build_dir_hash_cppcheck_product\n with open(hash_file, 'rt') as f:\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw7/test_build_dir_hash_cppcheck_p2/b/test.a1'/workspace/eval/tests/test_harvest_premium.py:155: requires missing misra.py addon to test error message - premium misra checks are built-intests/test_harvest_premium.py:202: in test_invalid_license_retry\n assert 'Invalid license' in result.stderr\nE assert 'Invalid license' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"2\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n <error id=\"checkersReport\" severity=\"information\" msg=\"Active checkers: 113/186 (use --checkers-report=&lt;filename&gt; to see details)\" verbose=\"Active checkers: 113/186 (use --checkers-report=&lt;filename&gt; to see details)\"/>\\n </errors>\\n</results>\\n'\nE + where '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"2\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n <error id=\"checkersReport\" severity=\"information\" msg=\"Active checkers: 113/186 (use --checkers-report=&lt;filename&gt; to see details)\" verbose=\"Active checkers: 113/186 (use --checkers-report=&lt;filename&gt; to see details)\"/>\\n </errors>\\n</results>\\n' = CompletedProcess(args=['/workspace/executable', '--addon=/tmp/pytest-of-root/pytest-0/popen-gw7/test_invalid_license_retry2/premiumaddon.py', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/popen-gw7/test_invalid_license_retry2/b', '--xml', '--enable=all', '/tmp/pytest-of-root/pytest-0/popen-gw7/test_invalid_license_retry2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw7/test_invalid_license_retry2/test.c ...\\n', stderr='<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"2\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n <error id=\"checkersReport\" severity=\"information\" msg=\"Active checkers: 113/186 (use --checkers-report=&lt;filename&gt; to see details)\" verbose=\"Active checkers: 113/186 (use --checkers-report=&lt;filename&gt; to see details)\"/>\\n </errors>\\n</results>\\n').stderrtests/test_harvest_premium.py:224: in test_help\n assert '--premium=' in result.stdout\nE assert '--premium=' in 'Cppcheck - A tool for static C/C++ code analysis\\n\\nSyntax:\\n cppcheck [OPTIONS] [files or paths]\\n\\nIf a directory is given instead of a filename, *.cpp, *.cxx, *.cc, *.c++, *.c, *.ipp,\\n*.ixx, *.tpp, and *.txx files are checked recursively from the given directory.\\n\\nOptions:\\n --addon=<addon>\\n Execute addon. i.e. --addon=misra. If options must be\\n provided a json configuration is needed.\\n --addon-python=<python interpreter>\\n You can specify the python interpreter either in the\\n addon json files or through this command line option.\\n If not present, Cppcheck will try \"python3\" first and\\n then \"python\".\\n --cppcheck-build-dir=<dir>\\n Cppcheck work folder. Advantages:\\n * whole program analysis\\n * faster analysis; Cppcheck will reuse the results if\\n the hash for a file is unchanged.\\n * some useful debug information, i.e. commands used to\\n execute clang/clang-tidy/a...> Undefine preprocessor symbol. Use -U to explicitly\\n hide certain #ifdef <ID> code paths from checking.\\n Example: \\'-UDEBUG\\'\\n -v, --verbose Output more detailed error information.\\n Note that this option is not mutually exclusive with --quiet.\\n --version Print out version number.\\n --xml Write results in xml format to error stream (stderr).\\n\\nExample usage:\\n # Recursively check the current folder. Print the progress on the screen and\\n # write errors to a file:\\n cppcheck . 2> err.txt\\n\\n # Recursively check ../myproject/ and don\\'t print progress:\\n cppcheck --quiet ../myproject/\\n\\n # Check test.cpp, enable all checks:\\n cppcheck --enable=all --inconclusive --library=posix test.cpp\\n\\n # Check f.cpp and search include files from inc1/ and inc2/:\\n cppcheck -I inc1/ -I inc2/ f.cpp\\n\\nFor more information:\\n https://cppcheck.sourceforge.io/manual.pdf\\n\\nMany thanks to the 3rd party libraries we use:\\n * tinyxml2 -- loading project/library/ctu files.\\n * picojson -- loading compile database.\\n * pcre -- rules.\\n * qt -- used in GUI\\n\\n'\nE + where 'Cppcheck - A tool for static C/C++ code analysis\\n\\nSyntax:\\n cppcheck [OPTIONS] [files or paths]\\n\\nIf a directory is given instead of a filename, *.cpp, *.cxx, *.cc, *.c++, *.c, *.ipp,\\n*.ixx, *.tpp, and *.txx files are checked recursively from the given directory.\\n\\nOptions:\\n --addon=<addon>\\n Execute addon. i.e. --addon=misra. If options must be\\n provided a json configuration is needed.\\n --addon-python=<python interpreter>\\n You can specify the python interpreter either in the\\n addon json files or through this command line option.\\n If not present, Cppcheck will try \"python3\" first and\\n then \"python\".\\n --cppcheck-build-dir=<dir>\\n Cppcheck work folder. Advantages:\\n * whole program analysis\\n * faster analysis; Cppcheck will reuse the results if\\n the hash for a file is unchanged.\\n * some useful debug information, i.e. commands used to\\n execute clang/clang-tidy/a...> Undefine preprocessor symbol. Use -U to explicitly\\n hide certain #ifdef <ID> code paths from checking.\\n Example: \\'-UDEBUG\\'\\n -v, --verbose Output more detailed error information.\\n Note that this option is not mutually exclusive with --quiet.\\n --version Print out version number.\\n --xml Write results in xml format to error stream (stderr).\\n\\nExample usage:\\n # Recursively check the current folder. Print the progress on the screen and\\n # write errors to a file:\\n cppcheck . 2> err.txt\\n\\n # Recursively check ../myproject/ and don\\'t print progress:\\n cppcheck --quiet ../myproject/\\n\\n # Check test.cpp, enable all checks:\\n cppcheck --enable=all --inconclusive --library=posix test.cpp\\n\\n # Check f.cpp and search include files from inc1/ and inc2/:\\n cppcheck -I inc1/ -I inc2/ f.cpp\\n\\nFor more information:\\n https://cppcheck.sourceforge.io/manual.pdf\\n\\nMany thanks to the 3rd party libraries we use:\\n * tinyxml2 -- loading project/library/ctu files.\\n * picojson -- loading compile database.\\n * pcre -- rules.\\n * qt -- used in GUI\\n\\n' = CompletedProcess(args=['./cppcheck', '--help'], returncode=0, stdout='Cppcheck - A tool for static C/C++ code analysis\\n\\nSyntax:\\n cppcheck [OPTIONS] [files or paths]\\n\\nIf a directory is given instead of a filename, *.cpp, *.cxx, *.cc, *.c++, *.c, *.ipp,\\n*.ixx, *.tpp, and *.txx files are checked recursively from the given directory.\\n\\nOptions:\\n --addon=<addon>\\n Execute addon. i.e. --addon=misra. If options must be\\n provided a json configuration is needed.\\n --addon-python=<python interpreter>\\n You can specify the python interpreter either in the\\n addon json files or through this command line option.\\n If not present, Cppcheck will try \"python3\" first and\\n then \"python\".\\n --cppcheck-build-dir=<dir>\\n Cppcheck work folder. Advantages:\\n * whole program analysis\\n * faster analysis; Cppcheck will reuse the results if\\n the hash for a file is unchanged.\\n * some useful debug information, i.e. com... Undefine preprocessor symbol. Use -U to explicitly\\n hide certain #ifdef <ID> code paths from checking.\\n Example: \\'-UDEBUG\\'\\n -v, --verbose Output more detailed error information.\\n Note that this option is not mutually exclusive with --quiet.\\n --version Print out version number.\\n --xml Write results in xml format to error stream (stderr).\\n\\nExample usage:\\n # Recursively check the current folder. Print the progress on the screen and\\n # write errors to a file:\\n cppcheck . 2> err.txt\\n\\n # Recursively check ../myproject/ and don\\'t print progress:\\n cppcheck --quiet ../myproject/\\n\\n # Check test.cpp, enable all checks:\\n cppcheck --enable=all --inconclusive --library=posix test.cpp\\n\\n # Check f.cpp and search include files from inc1/ and inc2/:\\n cppcheck -I inc1/ -I inc2/ f.cpp\\n\\nFor more information:\\n https://cppcheck.sourceforge.io/manual.pdf\\n\\nMany thanks to the 3rd party libraries we use:\\n * tinyxml2 -- loading project/library/ctu files.\\n * picojson -- loading compile database.\\n * pcre -- rules.\\n * qt -- used in GUI\\n\\n', stderr='').stdouttests/test_harvest_premium.py:243: in test_cwe\n assert '<error id=\"a-id\" severity=\"error\" msg=\"bug\" verbose=\"bug\" cwe=\"123\" ' in result.stderr\nE assert '<error id=\"a-id\" severity=\"error\" msg=\"bug\" verbose=\"bug\" cwe=\"123\" ' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"2\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n </errors>\\n</results>\\n'\nE + where '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"2\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n </errors>\\n</results>\\n' = CompletedProcess(args=['/workspace/executable', '--addon=/tmp/pytest-of-root/pytest-0/popen-gw7/test_cwe2/premiumaddon.py', '--xml', '/tmp/pytest-of-root/pytest-0/popen-gw7/test_cwe2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw7/test_cwe2/test.c ...\\n', stderr='<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"2\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n </errors>\\n</results>\\n').stderrtests/test_harvest_premium.py:259: in test_hash\n assert '<error id=\"a-id\" severity=\"error\" msg=\"bug\" verbose=\"bug\" hash=\"123\" ' in result.stderr\nE assert '<error id=\"a-id\" severity=\"error\" msg=\"bug\" verbose=\"bug\" hash=\"123\" ' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"2\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n </errors>\\n</results>\\n'\nE + where '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"2\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n </errors>\\n</results>\\n' = CompletedProcess(args=['/workspace/executable', '--addon=/tmp/pytest-of-root/pytest-0/popen-gw7/test_hash2/premiumaddon.py', '--xml', '/tmp/pytest-of-root/pytest-0/popen-gw7/test_hash2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw7/test_hash2/test.c ...\\n', stderr='<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"2\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n </errors>\\n</results>\\n').stderrtests/test_harvest_proj2.py:91: in test_file_filter\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find any files matching the filter:proj2/b*\nE \nE assert 1 == 0tests/test_harvest_proj2.py:103: in test_local_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_proj2.py:114: in test_local_path_force\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_proj2.py:124: in test_local_path_maxconfigs\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0tests/test_harvest_proj2.py:136: in test_relative_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0", "returncode": 0, "exception_info": "", "branch": "1040f6b8a219"}, {"step": "restore_executable", "command": "rm -f ./executable && mv /opt/programbench-stashed-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.04725782100013021, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum ./executable", "wall_time": 0.04939320699986638, "output": "0003df32077cb123ab829f29b59141e37fecd31af40e535ce315d12dd7fbfaea ./executable\n", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.043236143000285665, "output": "", "returncode": 0, "exception_info": ""}, {"step": "patch_timeout_method", "command": "test -f eval/run.sh && sed -i 's/--timeout-method=thread/--timeout-method=signal/g' eval/run.sh || true", "wall_time": 0.04286048599988135, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "export PYTEST_ADDOPTS=\"$PYTEST_ADDOPTS --reruns=2 --reruns-delay=1\" && chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 1977.9162615570003, "output": "Installing pytest dependencies...\nRunning tests...\n============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace/eval\nplugins: timeout-2.4.0, rerunfailures-16.7, libtmux-0.58.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 60.0s\ntimeout method: signal\ntimeout func_only: False\ncollecting ... collected 417 items\n\ntests/dumpfile_test.py::test_libraries RERUN [ 0%]\ntests/dumpfile_test.py::test_libraries RERUN [ 0%]\ntests/dumpfile_test.py::test_libraries FAILED [ 0%]\ntests/dumpfile_test.py::test_language_c RERUN [ 0%]\ntests/dumpfile_test.py::test_language_c RERUN [ 0%]\ntests/dumpfile_test.py::test_language_c FAILED [ 0%]\ntests/dumpfile_test.py::test_language_c_force_c RERUN [ 0%]\ntests/dumpfile_test.py::test_language_c_force_c RERUN [ 0%]\ntests/dumpfile_test.py::test_language_c_force_c FAILED [ 0%]\ntests/dumpfile_test.py::test_language_c_force_cpp RERUN [ 0%]\ntests/dumpfile_test.py::test_language_c_force_cpp RERUN [ 0%]\ntests/dumpfile_test.py::test_language_c_force_cpp FAILED [ 0%]\ntests/dumpfile_test.py::test_language_cpp RERUN [ 1%]\ntests/dumpfile_test.py::test_language_cpp RERUN [ 1%]\ntests/dumpfile_test.py::test_language_cpp FAILED [ 1%]\ntests/dumpfile_test.py::test_language_cpp_force_cpp RERUN [ 1%]\ntests/dumpfile_test.py::test_language_cpp_force_cpp RERUN [ 1%]\ntests/dumpfile_test.py::test_language_cpp_force_cpp FAILED [ 1%]\ntests/dumpfile_test.py::test_language_cpp_force_c RERUN [ 1%]\ntests/dumpfile_test.py::test_language_cpp_force_c RERUN [ 1%]\ntests/dumpfile_test.py::test_language_cpp_force_c FAILED [ 1%]\ntests/dumpfile_test.py::test_language_h RERUN [ 1%]\ntests/dumpfile_test.py::test_language_h RERUN [ 1%]\ntests/dumpfile_test.py::test_language_h FAILED [ 1%]\ntests/dumpfile_test.py::test_language_h_force_c RERUN [ 2%]\ntests/dumpfile_test.py::test_language_h_force_c RERUN [ 2%]\ntests/dumpfile_test.py::test_language_h_force_c FAILED [ 2%]\ntests/dumpfile_test.py::test_language_h_force_cpp RERUN [ 2%]\ntests/dumpfile_test.py::test_language_h_force_cpp RERUN [ 2%]\ntests/dumpfile_test.py::test_language_h_force_cpp FAILED [ 2%]\ntests/dumpfile_test.py::test_language_unk RERUN [ 2%]\ntests/dumpfile_test.py::test_language_unk RERUN [ 2%]\ntests/dumpfile_test.py::test_language_unk FAILED [ 2%]\ntests/dumpfile_test.py::test_language_unk_force_c RERUN [ 2%]\ntests/dumpfile_test.py::test_language_unk_force_c RERUN [ 2%]\ntests/dumpfile_test.py::test_language_unk_force_c FAILED [ 2%]\ntests/dumpfile_test.py::test_language_unk_force_cpp RERUN [ 3%]\ntests/dumpfile_test.py::test_language_unk_force_cpp RERUN [ 3%]\ntests/dumpfile_test.py::test_language_unk_force_cpp FAILED [ 3%]\ntests/dumpfile_test.py::test_duplicate_file_entries RERUN [ 3%]\ntests/dumpfile_test.py::test_duplicate_file_entries RERUN [ 3%]\ntests/dumpfile_test.py::test_duplicate_file_entries FAILED [ 3%]\ntests/dumpfile_test.py::test_container_methods RERUN [ 3%]\ntests/dumpfile_test.py::test_container_methods RERUN [ 3%]\ntests/dumpfile_test.py::test_container_methods FAILED [ 3%]\ntests/fuzz_test.py::test_fuzz_crash PASSED [ 3%]\ntests/fuzz_test.py::test_fuzz_crash_c PASSED [ 4%]\ntests/fuzz_test.py::test_fuzz_timeout PASSED [ 4%]\ntests/helloworld_test.py::test_relative_path PASSED [ 4%]\ntests/helloworld_test.py::test_local_path PASSED [ 4%]\ntests/helloworld_test.py::test_absolute_path PASSED [ 5%]\ntests/helloworld_test.py::test_addon_local_path RERUN [ 5%]\ntests/helloworld_test.py::test_addon_local_path RERUN [ 5%]\ntests/helloworld_test.py::test_addon_local_path FAILED [ 5%]\ntests/helloworld_test.py::test_addon_local_path_not_enable PASSED [ 5%]\ntests/helloworld_test.py::test_addon_absolute_path RERUN [ 5%]\ntests/helloworld_test.py::test_addon_absolute_path RERUN [ 5%]\ntests/helloworld_test.py::test_addon_absolute_path FAILED [ 5%]\ntests/helloworld_test.py::test_addon_relative_path RERUN [ 5%]\ntests/helloworld_test.py::test_addon_relative_path RERUN [ 5%]\ntests/helloworld_test.py::test_addon_relative_path FAILED [ 5%]\ntests/helloworld_test.py::test_addon_with_gui_project RERUN [ 6%]\ntests/helloworld_test.py::test_addon_with_gui_project RERUN [ 6%]\ntests/helloworld_test.py::test_addon_with_gui_project FAILED [ 6%]\ntests/helloworld_test.py::test_basepath_relative_path PASSED [ 6%]\ntests/helloworld_test.py::test_basepath_absolute_path PASSED [ 6%]\ntests/helloworld_test.py::test_vs_project_local_path RERUN [ 6%]\ntests/helloworld_test.py::test_vs_project_local_path RERUN [ 6%]\ntests/helloworld_test.py::test_vs_project_local_path FAILED [ 6%]\ntests/helloworld_test.py::test_vs_project_local_path_select_one RERUN [ 7%]\ntests/helloworld_test.py::test_vs_project_local_path_select_one RERUN [ 7%]\ntests/helloworld_test.py::test_vs_project_local_path_select_one FAILED [ 7%]\ntests/helloworld_test.py::test_vs_project_local_path_select_one_multiple RERUN [ 7%]\ntests/helloworld_test.py::test_vs_project_local_path_select_one_multiple RERUN [ 7%]\ntests/helloworld_test.py::test_vs_project_local_path_select_one_multiple FAILED [ 7%]\ntests/helloworld_test.py::test_vs_project_local_path_no_analyze_all RERUN [ 7%]\ntests/helloworld_test.py::test_vs_project_local_path_no_analyze_all RERUN [ 7%]\ntests/helloworld_test.py::test_vs_project_local_path_no_analyze_all FAILED [ 7%]\ntests/helloworld_test.py::test_vs_project_relative_path RERUN [ 7%]\ntests/helloworld_test.py::test_vs_project_relative_path RERUN [ 7%]\ntests/helloworld_test.py::test_vs_project_relative_path FAILED [ 7%]\ntests/helloworld_test.py::test_vs_project_absolute_path RERUN [ 8%]\ntests/helloworld_test.py::test_vs_project_absolute_path RERUN [ 8%]\ntests/helloworld_test.py::test_vs_project_absolute_path FAILED [ 8%]\ntests/helloworld_test.py::test_cppcheck_project_local_path RERUN [ 8%]\ntests/helloworld_test.py::test_cppcheck_project_local_path RERUN [ 8%]\ntests/helloworld_test.py::test_cppcheck_project_local_path FAILED [ 8%]\ntests/helloworld_test.py::test_cppcheck_project_local_path_select_one XFAIL [ 8%]\ntests/helloworld_test.py::test_cppcheck_project_local_path_select_one_multiple XFAIL [ 8%]\ntests/helloworld_test.py::test_cppcheck_project_local_path_analyze_all RERUN [ 9%]\ntests/helloworld_test.py::test_cppcheck_project_local_path_analyze_all RERUN [ 9%]\ntests/helloworld_test.py::test_cppcheck_project_local_path_analyze_all FAILED [ 9%]\ntests/helloworld_test.py::test_cppcheck_project_relative_path RERUN [ 9%]\ntests/helloworld_test.py::test_cppcheck_project_relative_path RERUN [ 9%]\ntests/helloworld_test.py::test_cppcheck_project_relative_path FAILED [ 9%]\ntests/helloworld_test.py::test_cppcheck_project_absolute_path RERUN [ 9%]\ntests/helloworld_test.py::test_cppcheck_project_absolute_path RERUN [ 9%]\ntests/helloworld_test.py::test_cppcheck_project_absolute_path FAILED [ 9%]\ntests/helloworld_test.py::test_suppress_command_line_related PASSED [ 9%]\ntests/helloworld_test.py::test_suppress_command_line_absolute PASSED [ 10%]\ntests/helloworld_test.py::test_suppress_project_relative RERUN [ 10%]\ntests/helloworld_test.py::test_suppress_project_relative RERUN [ 10%]\ntests/helloworld_test.py::test_suppress_project_relative FAILED [ 10%]\ntests/helloworld_test.py::test_suppress_project_absolute RERUN [ 10%]\ntests/helloworld_test.py::test_suppress_project_absolute RERUN [ 10%]\ntests/helloworld_test.py::test_suppress_project_absolute FAILED [ 10%]\ntests/helloworld_test.py::test_exclude RERUN [ 10%]\ntests/helloworld_test.py::test_exclude RERUN [ 10%]\ntests/helloworld_test.py::test_exclude FAILED [ 10%]\ntests/helloworld_test.py::test_build_dir_dump_output PASSED [ 11%]\ntests/helloworld_test.py::test_checkers_report RERUN [ 11%]\ntests/helloworld_test.py::test_checkers_report RERUN [ 11%]\ntests/helloworld_test.py::test_checkers_report FAILED [ 11%]\ntests/helloworld_test.py::test_missing_include_system PASSED [ 11%]\ntests/helloworld_test.py::test_sarif PASSED [ 11%]\ntests/helloworld_test.py::test_xml_checkers_report PASSED [ 11%]\ntests/inline_suppress_test.py::test_1 RERUN [ 12%]\ntests/inline_suppress_test.py::test_1 RERUN [ 12%]\ntests/inline_suppress_test.py::test_1 FAILED [ 12%]\ntests/inline_suppress_test.py::test_2 PASSED [ 12%]\ntests/inline_suppress_test.py::test_xml RERUN [ 12%]\ntests/inline_suppress_test.py::test_xml RERUN [ 12%]\ntests/inline_suppress_test.py::test_xml FAILED [ 12%]\ntests/inline_suppress_test.py::test_unmatched_suppression PASSED [ 12%]\ntests/inline_suppress_test.py::test_unmatched_suppression_path_with_extra_stuff PASSED [ 13%]\ntests/inline_suppress_test.py::test_backwards_compatibility RERUN [ 13%]\ntests/inline_suppress_test.py::test_backwards_compatibility RERUN [ 13%]\ntests/inline_suppress_test.py::test_backwards_compatibility FAILED [ 13%]\ntests/inline_suppress_test.py::test_compile_commands_unused_function RERUN [ 13%]\ntests/inline_suppress_test.py::test_compile_commands_unused_function RERUN [ 13%]\ntests/inline_suppress_test.py::test_compile_commands_unused_function FAILED [ 13%]\ntests/inline_suppress_test.py::test_compile_commands_unused_function_j SKIPPED [ 13%]\ntests/inline_suppress_test.py::test_compile_commands_unused_function_suppression RERUN [ 14%]\ntests/inline_suppress_test.py::test_compile_commands_unused_function_suppression RERUN [ 14%]\ntests/inline_suppress_test.py::test_compile_commands_unused_function_suppression FAILED [ 14%]\ntests/inline_suppress_test.py::test_compile_commands_unused_function_suppression_j SKIPPED [ 14%]\ntests/inline_suppress_test.py::test_unmatched_suppression_ifdef PASSED [ 14%]\ntests/inline_suppress_test.py::test_unmatched_suppression_ifdef_0 PASSED [ 14%]\ntests/inline_suppress_test.py::test_build_dir PASSED [ 15%]\ntests/inline_suppress_test.py::test_build_dir_jobs_suppressions RERUN [ 15%]\ntests/inline_suppress_test.py::test_build_dir_jobs_suppressions RERUN [ 15%]\ntests/inline_suppress_test.py::test_build_dir_jobs_suppressions FAILED [ 15%]\ntests/inline_suppress_test.py::test_build_dir_unused_template RERUN [ 15%]\ntests/inline_suppress_test.py::test_build_dir_unused_template RERUN [ 15%]\ntests/inline_suppress_test.py::test_build_dir_unused_template FAILED [ 15%]\ntests/inline_suppress_test.py::test_build_dir_unused_template_j_thread PASSED [ 15%]\ntests/inline_suppress_test.py::test_build_dir_unused_template_j_process PASSED [ 16%]\ntests/inline_suppress_test.py::test_suppress_unmatched_inline_suppression PASSED [ 16%]\ntests/inline_suppress_test.py::test_duplicate SKIPPED (unconditional...) [ 16%]\ntests/inline_suppress_test.py::test_duplicate_cmd SKIPPED (unconditi...) [ 16%]\ntests/inline_suppress_test.py::test_duplicate_cmd_j SKIPPED (uncondi...) [ 17%]\ntests/inline_suppress_test.py::test_duplicate_file SKIPPED (uncondit...) [ 17%]\ntests/inline_suppress_test.py::test_duplicate_file_j SKIPPED (uncond...) [ 17%]\ntests/inline_suppress_test.py::test_unused_function_unmatched RERUN [ 17%]\ntests/inline_suppress_test.py::test_unused_function_unmatched RERUN [ 17%]\ntests/inline_suppress_test.py::test_unused_function_unmatched FAILED [ 17%]\ntests/inline_suppress_test.py::test_unused_function_unmatched_j XFAIL [ 17%]\ntests/inline_suppress_test.py::test_unused_function_unmatched_builddir PASSED [ 18%]\ntests/inline_suppress_test.py::test_unused_function_unmatched_builddir_j_thread PASSED [ 18%]\ntests/inline_suppress_test.py::test_unused_function_unmatched_builddir_j_process PASSED [ 18%]\ntests/inline_suppress_test.py::test_unused_function_disabled_unmatched PASSED [ 18%]\ntests/inline_suppress_test.py::test_unmatched_cfg PASSED [ 19%]\ntests/inline_suppress_test.py::test_unused_function_disabled_unmatched_j RERUN [ 19%]\ntests/inline_suppress_test.py::test_unused_function_disabled_unmatched_j RERUN [ 19%]\ntests/inline_suppress_test.py::test_unused_function_disabled_unmatched_j FAILED [ 19%]\ntests/inline_suppress_test.py::test_misra_disabled_unmatched RERUN [ 19%]\ntests/inline_suppress_test.py::test_misra_disabled_unmatched RERUN [ 19%]\ntests/inline_suppress_test.py::test_misra_disabled_unmatched FAILED [ 19%]\ntests/inline_suppress_test.py::test_premium_disabled_unmatched RERUN [ 19%]\ntests/inline_suppress_test.py::test_premium_disabled_unmatched RERUN [ 19%]\ntests/inline_suppress_test.py::test_premium_disabled_unmatched FAILED [ 19%]\ntests/lookup_test.py::test_lib_lookup PASSED [ 20%]\ntests/lookup_test.py::test_lib_lookup_ext PASSED [ 20%]\ntests/lookup_test.py::test_lib_lookup_notfound RERUN [ 20%]\ntests/lookup_test.py::test_lib_lookup_notfound RERUN [ 20%]\ntests/lookup_test.py::test_lib_lookup_notfound FAILED [ 20%]\ntests/lookup_test.py::test_lib_lookup_notfound_project RERUN [ 20%]\ntests/lookup_test.py::test_lib_lookup_notfound_project RERUN [ 20%]\ntests/lookup_test.py::test_lib_lookup_notfound_project FAILED [ 20%]\ntests/lookup_test.py::test_lib_lookup_notfound_compdb RERUN [ 21%]\ntests/lookup_test.py::test_lib_lookup_notfound_compdb RERUN [ 21%]\ntests/lookup_test.py::test_lib_lookup_notfound_compdb FAILED [ 21%]\ntests/lookup_test.py::test_lib_lookup_ext_notfound RERUN [ 21%]\ntests/lookup_test.py::test_lib_lookup_ext_notfound RERUN [ 21%]\ntests/lookup_test.py::test_lib_lookup_ext_notfound FAILED [ 21%]\ntests/lookup_test.py::test_lib_lookup_relative_notfound RERUN [ 21%]\ntests/lookup_test.py::test_lib_lookup_relative_notfound RERUN [ 21%]\ntests/lookup_test.py::test_lib_lookup_relative_notfound FAILED [ 21%]\ntests/lookup_test.py::test_lib_lookup_relative_noext_notfound RERUN [ 21%]\ntests/lookup_test.py::test_lib_lookup_relative_noext_notfound RERUN [ 21%]\ntests/lookup_test.py::test_lib_lookup_relative_noext_notfound FAILED [ 21%]\ntests/lookup_test.py::test_lib_lookup_absolute PASSED [ 22%]\ntests/lookup_test.py::test_lib_lookup_absolute_notfound PASSED [ 22%]\ntests/lookup_test.py::test_lib_lookup_nofile PASSED [ 22%]\ntests/lookup_test.py::test_lib_lookup_invalid RERUN [ 22%]\ntests/lookup_test.py::test_lib_lookup_invalid RERUN [ 22%]\ntests/lookup_test.py::test_lib_lookup_invalid FAILED [ 22%]\ntests/lookup_test.py::test_lib_lookup_multi PASSED [ 23%]\ntests/lookup_test.py::test_platform_lookup_builtin PASSED [ 23%]\ntests/lookup_test.py::test_platform_lookup SKIPPED (unconditional skip) [ 23%]\ntests/lookup_test.py::test_platform_lookup_ext SKIPPED (unconditiona...) [ 23%]\ntests/lookup_test.py::test_platform_lookup_path RERUN [ 23%]\ntests/lookup_test.py::test_platform_lookup_path RERUN [ 23%]\ntests/lookup_test.py::test_platform_lookup_path FAILED [ 23%]\ntests/lookup_test.py::test_platform_lookup_notfound RERUN [ 24%]\ntests/lookup_test.py::test_platform_lookup_notfound RERUN [ 24%]\ntests/lookup_test.py::test_platform_lookup_notfound FAILED [ 24%]\ntests/lookup_test.py::test_platform_lookup_notfound_project RERUN [ 24%]\ntests/lookup_test.py::test_platform_lookup_notfound_project RERUN [ 24%]\ntests/lookup_test.py::test_platform_lookup_notfound_project FAILED [ 24%]\ntests/lookup_test.py::test_platform_lookup_notfound_compdb RERUN [ 24%]\ntests/lookup_test.py::test_platform_lookup_notfound_compdb RERUN [ 24%]\ntests/lookup_test.py::test_platform_lookup_notfound_compdb FAILED [ 24%]\ntests/lookup_test.py::test_platform_lookup_ext_notfound RERUN [ 24%]\ntests/lookup_test.py::test_platform_lookup_ext_notfound RERUN [ 24%]\ntests/lookup_test.py::test_platform_lookup_ext_notfound FAILED [ 24%]\ntests/lookup_test.py::test_platform_lookup_relative_notfound RERUN [ 25%]\ntests/lookup_test.py::test_platform_lookup_relative_notfound RERUN [ 25%]\ntests/lookup_test.py::test_platform_lookup_relative_notfound FAILED [ 25%]\ntests/lookup_test.py::test_platform_lookup_relative_noext_notfound RERUN [ 25%]\ntests/lookup_test.py::test_platform_lookup_relative_noext_notfound RERUN [ 25%]\ntests/lookup_test.py::test_platform_lookup_relative_noext_notfound FAILED [ 25%]\ntests/lookup_test.py::test_platform_lookup_absolute RERUN [ 25%]\ntests/lookup_test.py::test_platform_lookup_absolute RERUN [ 25%]\ntests/lookup_test.py::test_platform_lookup_absolute FAILED [ 25%]\ntests/lookup_test.py::test_platform_lookup_absolute_notfound RERUN [ 25%]\ntests/lookup_test.py::test_platform_lookup_absolute_notfound RERUN [ 25%]\ntests/lookup_test.py::test_platform_lookup_absolute_notfound FAILED [ 25%]\ntests/lookup_test.py::test_platform_lookup_nofile SKIPPED (unconditi...) [ 26%]\ntests/lookup_test.py::test_platform_lookup_invalid RERUN [ 26%]\ntests/lookup_test.py::test_platform_lookup_invalid RERUN [ 26%]\ntests/lookup_test.py::test_platform_lookup_invalid FAILED [ 26%]\ntests/lookup_test.py::test_addon_lookup RERUN [ 26%]\ntests/lookup_test.py::test_addon_lookup RERUN [ 26%]\ntests/lookup_test.py::test_addon_lookup FAILED [ 26%]\ntests/lookup_test.py::test_addon_lookup_ext RERUN [ 26%]\ntests/lookup_test.py::test_addon_lookup_ext RERUN [ 26%]\ntests/lookup_test.py::test_addon_lookup_ext FAILED [ 26%]\ntests/lookup_test.py::test_addon_lookup_notfound RERUN [ 27%]\ntests/lookup_test.py::test_addon_lookup_notfound RERUN [ 27%]\ntests/lookup_test.py::test_addon_lookup_notfound FAILED [ 27%]\ntests/lookup_test.py::test_addon_lookup_notfound_project RERUN [ 27%]\ntests/lookup_test.py::test_addon_lookup_notfound_project RERUN [ 27%]\ntests/lookup_test.py::test_addon_lookup_notfound_project FAILED [ 27%]\ntests/lookup_test.py::test_addon_lookup_notfound_compdb RERUN [ 27%]\ntests/lookup_test.py::test_addon_lookup_notfound_compdb RERUN [ 27%]\ntests/lookup_test.py::test_addon_lookup_notfound_compdb FAILED [ 27%]\ntests/lookup_test.py::test_addon_lookup_ext_notfound RERUN [ 27%]\ntests/lookup_test.py::test_addon_lookup_ext_notfound RERUN [ 27%]\ntests/lookup_test.py::test_addon_lookup_ext_notfound FAILED [ 27%]\ntests/lookup_test.py::test_addon_lookup_relative_notfound RERUN [ 28%]\ntests/lookup_test.py::test_addon_lookup_relative_notfound RERUN [ 28%]\ntests/lookup_test.py::test_addon_lookup_relative_notfound FAILED [ 28%]\ntests/lookup_test.py::test_addon_lookup_relative_noext_notfound RERUN [ 28%]\ntests/lookup_test.py::test_addon_lookup_relative_noext_notfound RERUN [ 28%]\ntests/lookup_test.py::test_addon_lookup_relative_noext_notfound FAILED [ 28%]\ntests/lookup_test.py::test_addon_lookup_absolute RERUN [ 28%]\ntests/lookup_test.py::test_addon_lookup_absolute RERUN [ 28%]\ntests/lookup_test.py::test_addon_lookup_absolute FAILED [ 28%]\ntests/lookup_test.py::test_addon_lookup_absolute_notfound RERUN [ 28%]\ntests/lookup_test.py::test_addon_lookup_absolute_notfound RERUN [ 28%]\ntests/lookup_test.py::test_addon_lookup_absolute_notfound FAILED [ 28%]\ntests/lookup_test.py::test_addon_lookup_nofile RERUN [ 29%]\ntests/lookup_test.py::test_addon_lookup_nofile RERUN [ 29%]\ntests/lookup_test.py::test_addon_lookup_nofile FAILED [ 29%]\ntests/lookup_test.py::test_addon_lookup_invalid RERUN [ 29%]\ntests/lookup_test.py::test_addon_lookup_invalid RERUN [ 29%]\ntests/lookup_test.py::test_addon_lookup_invalid FAILED [ 29%]\ntests/lookup_test.py::test_config_lookup RERUN [ 29%]\ntests/lookup_test.py::test_config_lookup RERUN [ 29%]\ntests/lookup_test.py::test_config_lookup FAILED [ 29%]\ntests/lookup_test.py::test_config_lookup_notfound RERUN [ 29%]\ntests/lookup_test.py::test_config_lookup_notfound RERUN [ 29%]\ntests/lookup_test.py::test_config_lookup_notfound FAILED [ 29%]\ntests/lookup_test.py::test_config_invalid RERUN [ 29%]\ntests/lookup_test.py::test_config_invalid RERUN [ 29%]\ntests/lookup_test.py::test_config_invalid FAILED [ 29%]\ntests/lookup_test.py::test_lookup_path[addon-misra.py] RERUN [ 30%]\ntests/lookup_test.py::test_lookup_path[addon-misra.py] RERUN [ 30%]\ntests/lookup_test.py::test_lookup_path[addon-misra.py] FAILED [ 30%]\ntests/lookup_test.py::test_lookup_path[config-cppcheck.cfg] RERUN [ 30%]\ntests/lookup_test.py::test_lookup_path[config-cppcheck.cfg] RERUN [ 30%]\ntests/lookup_test.py::test_lookup_path[config-cppcheck.cfg] FAILED [ 30%]\ntests/lookup_test.py::test_lookup_path[library-gnu.cfg] RERUN [ 30%]\ntests/lookup_test.py::test_lookup_path[library-gnu.cfg] RERUN [ 30%]\ntests/lookup_test.py::test_lookup_path[library-gnu.cfg] FAILED [ 30%]\ntests/lookup_test.py::test_lookup_path[platform-avr8.xml] RERUN [ 30%]\ntests/lookup_test.py::test_lookup_path[platform-avr8.xml] RERUN [ 30%]\ntests/lookup_test.py::test_lookup_path[platform-avr8.xml] FAILED [ 30%]\ntests/metrics_test.py::test_dummy_metrics_xml_report RERUN [ 31%]\ntests/metrics_test.py::test_dummy_metrics_xml_report RERUN [ 31%]\ntests/metrics_test.py::test_dummy_metrics_xml_report FAILED [ 31%]\ntests/metrics_test.py::test_dummy_metrics_stdout RERUN [ 31%]\ntests/metrics_test.py::test_dummy_metrics_stdout RERUN [ 31%]\ntests/metrics_test.py::test_dummy_metrics_stdout FAILED [ 31%]\ntests/other_test.py::test_missing_include PASSED [ 31%]\ntests/other_test.py::test_missing_include_check_config PASSED [ 31%]\ntests/other_test.py::test_missing_include_check_config_j PASSED [ 32%]\ntests/other_test.py::test_missing_include_inline_suppr PASSED [ 32%]\ntests/other_test.py::test_preprocessor_error PASSED [ 32%]\ntests/other_test.py::test_color_non_tty[env0-True] RERUN [ 32%]\ntests/other_test.py::test_color_non_tty[env0-True] RERUN [ 32%]\ntests/other_test.py::test_color_non_tty[env0-True] FAILED [ 32%]\ntests/other_test.py::test_color_non_tty[env1-False] PASSED [ 33%]\ntests/other_test.py::test_color_tty[env0-True] RERUN [ 33%]\ntests/other_test.py::test_color_tty[env0-True] RERUN [ 33%]\ntests/other_test.py::test_color_tty[env0-True] FAILED [ 33%]\ntests/other_test.py::test_color_tty[env1-False] PASSED [ 33%]\ntests/other_test.py::test_invalid_library PASSED [ 33%]\ntests/other_test.py::test_message_j PASSED [ 34%]\ntests/other_test.py::test_progress RERUN [ 34%]\ntests/other_test.py::test_progress RERUN [ 34%]\ntests/other_test.py::test_progress FAILED [ 34%]\ntests/other_test.py::test_progress_j RERUN [ 34%]\ntests/other_test.py::test_progress_j RERUN [ 34%]\ntests/other_test.py::test_progress_j FAILED [ 34%]\ntests/other_test.py::test_execute_addon_failure_py_auto RERUN [ 34%]\ntests/other_test.py::test_execute_addon_failure_py_auto RERUN [ 34%]\ntests/other_test.py::test_execute_addon_failure_py_auto FAILED [ 34%]\ntests/other_test.py::test_execute_addon_failure_py_notexist RERUN [ 35%]\ntests/other_test.py::test_execute_addon_failure_py_notexist RERUN [ 35%]\ntests/other_test.py::test_execute_addon_failure_py_notexist FAILED [ 35%]\ntests/other_test.py::test_execute_addon_failure_json_notexist RERUN [ 35%]\ntests/other_test.py::test_execute_addon_failure_json_notexist RERUN [ 35%]\ntests/other_test.py::test_execute_addon_failure_json_notexist FAILED [ 35%]\ntests/other_test.py::test_execute_addon_path_with_spaces SKIPPED (Wi...) [ 35%]\ntests/other_test.py::test_execute_addon_failure_json_ctu_notexist RERUN [ 35%]\ntests/other_test.py::test_execute_addon_failure_json_ctu_notexist RERUN [ 35%]\ntests/other_test.py::test_execute_addon_failure_json_ctu_notexist FAILED [ 35%]\ntests/other_test.py::test_execute_addon_file0 RERUN [ 35%]\ntests/other_test.py::test_execute_addon_file0 RERUN [ 35%]\ntests/other_test.py::test_execute_addon_file0 FAILED [ 35%]\ntests/other_test.py::test_internal_error SKIPPED (unconditional skip) [ 36%]\ntests/other_test.py::test_addon_ctu_exitcode RERUN [ 36%]\ntests/other_test.py::test_addon_ctu_exitcode RERUN [ 36%]\ntests/other_test.py::test_addon_ctu_exitcode FAILED [ 36%]\ntests/other_test.py::test_addon_misra RERUN [ 36%]\ntests/other_test.py::test_addon_misra RERUN [ 36%]\ntests/other_test.py::test_addon_misra FAILED [ 36%]\ntests/other_test.py::test_addon_y2038 RERUN [ 36%]\ntests/other_test.py::test_addon_y2038 RERUN [ 36%]\ntests/other_test.py::test_addon_y2038 FAILED [ 36%]\ntests/other_test.py::test_addon_threadsafety RERUN [ 37%]\ntests/other_test.py::test_addon_threadsafety RERUN [ 37%]\ntests/other_test.py::test_addon_threadsafety FAILED [ 37%]\ntests/other_test.py::test_addon_naming RERUN [ 37%]\ntests/other_test.py::test_addon_naming RERUN [ 37%]\ntests/other_test.py::test_addon_naming FAILED [ 37%]\ntests/other_test.py::test_addon_namingng RERUN [ 37%]\ntests/other_test.py::test_addon_namingng RERUN [ 37%]\ntests/other_test.py::test_addon_namingng FAILED [ 37%]\ntests/other_test.py::test_addon_namingng_config RERUN [ 37%]\ntests/other_test.py::test_addon_namingng_config RERUN [ 37%]\ntests/other_test.py::test_addon_namingng_config FAILED [ 37%]\ntests/other_test.py::test_addon_findcasts RERUN [ 38%]\ntests/other_test.py::test_addon_findcasts RERUN [ 38%]\ntests/other_test.py::test_addon_findcasts FAILED [ 38%]\ntests/other_test.py::test_addon_misc RERUN [ 38%]\ntests/other_test.py::test_addon_misc RERUN [ 38%]\ntests/other_test.py::test_addon_misc FAILED [ 38%]\ntests/other_test.py::test_invalid_addon_json RERUN [ 38%]\ntests/other_test.py::test_invalid_addon_json RERUN [ 38%]\ntests/other_test.py::test_invalid_addon_json FAILED [ 38%]\ntests/other_test.py::test_invalid_addon_py RERUN [ 38%]\ntests/other_test.py::test_invalid_addon_py RERUN [ 38%]\ntests/other_test.py::test_invalid_addon_py FAILED [ 38%]\ntests/other_test.py::test_invalid_addon_py_verbose RERUN [ 39%]\ntests/other_test.py::test_invalid_addon_py_verbose RERUN [ 39%]\ntests/other_test.py::test_invalid_addon_py_verbose FAILED [ 39%]\ntests/other_test.py::test_addon_result RERUN [ 39%]\ntests/other_test.py::test_addon_result RERUN [ 39%]\ntests/other_test.py::test_addon_result FAILED [ 39%]\ntests/other_test.py::test_unused_function_include RERUN [ 39%]\ntests/other_test.py::test_unused_function_include RERUN [ 39%]\ntests/other_test.py::test_unused_function_include FAILED [ 39%]\ntests/other_test.py::test_showtime_top5_file RERUN [ 39%]\ntests/other_test.py::test_showtime_top5_file RERUN [ 39%]\ntests/other_test.py::test_showtime_top5_file FAILED [ 39%]\ntests/other_test.py::test_missing_addon RERUN [ 40%]\ntests/other_test.py::test_missing_addon RERUN [ 40%]\ntests/other_test.py::test_missing_addon FAILED [ 40%]\ntests/other_test.py::test_file_filter PASSED [ 40%]\ntests/other_test.py::test_file_filter_2 PASSED [ 40%]\ntests/other_test.py::test_file_filter_3 PASSED [ 40%]\ntests/other_test.py::test_file_filter_no_match PASSED [ 41%]\ntests/other_test.py::test_file_order RERUN [ 41%]\ntests/other_test.py::test_file_order RERUN [ 41%]\ntests/other_test.py::test_file_order FAILED [ 41%]\ntests/other_test.py::test_markup RERUN [ 41%]\ntests/other_test.py::test_markup RERUN [ 41%]\ntests/other_test.py::test_markup FAILED [ 41%]\ntests/other_test.py::test_markup_j RERUN [ 41%]\ntests/other_test.py::test_markup_j RERUN [ 41%]\ntests/other_test.py::test_markup_j FAILED [ 41%]\ntests/other_test.py::test_valueflow_debug RERUN [ 41%]\ntests/other_test.py::test_valueflow_debug RERUN [ 41%]\ntests/other_test.py::test_valueflow_debug FAILED [ 41%]\ntests/other_test.py::test_file_duplicate PASSED [ 42%]\ntests/other_test.py::test_file_duplicate_2 RERUN [ 42%]\ntests/other_test.py::test_file_duplicate_2 RERUN [ 42%]\ntests/other_test.py::test_file_duplicate_2 FAILED [ 42%]\ntests/other_test.py::test_file_duplicate_3 RERUN [ 42%]\ntests/other_test.py::test_file_duplicate_3 RERUN [ 42%]\ntests/other_test.py::test_file_duplicate_3 FAILED [ 42%]\ntests/other_test.py::test_file_duplicate_4 SKIPPED (requires Windows) [ 42%]\ntests/other_test.py::test_file_ignore PASSED [ 43%]\ntests/other_test.py::test_build_dir_j_memleak PASSED [ 43%]\ntests/other_test.py::test_addon_json_invalid_no_obj RERUN [ 43%]\ntests/other_test.py::test_addon_json_invalid_no_obj RERUN [ 43%]\ntests/other_test.py::test_addon_json_invalid_no_obj FAILED [ 43%]\ntests/other_test.py::test_addon_json_invalid_args_1 RERUN [ 43%]\ntests/other_test.py::test_addon_json_invalid_args_1 RERUN [ 43%]\ntests/other_test.py::test_addon_json_invalid_args_1 FAILED [ 43%]\ntests/other_test.py::test_addon_json_invalid_args_2 RERUN [ 44%]\ntests/other_test.py::test_addon_json_invalid_args_2 RERUN [ 44%]\ntests/other_test.py::test_addon_json_invalid_args_2 FAILED [ 44%]\ntests/other_test.py::test_addon_json_invalid_ctu RERUN [ 44%]\ntests/other_test.py::test_addon_json_invalid_ctu RERUN [ 44%]\ntests/other_test.py::test_addon_json_invalid_ctu FAILED [ 44%]\ntests/other_test.py::test_addon_json_invalid_python RERUN [ 44%]\ntests/other_test.py::test_addon_json_invalid_python RERUN [ 44%]\ntests/other_test.py::test_addon_json_invalid_python FAILED [ 44%]\ntests/other_test.py::test_addon_json_invalid_executable RERUN [ 44%]\ntests/other_test.py::test_addon_json_invalid_executable RERUN [ 44%]\ntests/other_test.py::test_addon_json_invalid_executable FAILED [ 44%]\ntests/other_test.py::test_addon_json_invalid_script_1 RERUN [ 45%]\ntests/other_test.py::test_addon_json_invalid_script_1 RERUN [ 45%]\ntests/other_test.py::test_addon_json_invalid_script_1 FAILED [ 45%]\ntests/other_test.py::test_addon_json_invalid_script_2 RERUN [ 45%]\ntests/other_test.py::test_addon_json_invalid_script_2 RERUN [ 45%]\ntests/other_test.py::test_addon_json_invalid_script_2 FAILED [ 45%]\ntests/other_test.py::test_unknown_extension PASSED [ 45%]\ntests/other_test.py::test_rule_file_define_multiple RERUN [ 45%]\ntests/other_test.py::test_rule_file_define_multiple RERUN [ 45%]\ntests/other_test.py::test_rule_file_define_multiple FAILED [ 45%]\ntests/other_test.py::test_rule_file_define RERUN [ 46%]\ntests/other_test.py::test_rule_file_define RERUN [ 46%]\ntests/other_test.py::test_rule_file_define FAILED [ 46%]\ntests/other_test.py::test_rule_file_normal RERUN [ 46%]\ntests/other_test.py::test_rule_file_normal RERUN [ 46%]\ntests/other_test.py::test_rule_file_normal FAILED [ 46%]\ntests/other_test.py::test_rule_file_raw RERUN [ 46%]\ntests/other_test.py::test_rule_file_raw RERUN [ 46%]\ntests/other_test.py::test_rule_file_raw FAILED [ 46%]\ntests/other_test.py::test_rule RERUN [ 46%]\ntests/other_test.py::test_rule RERUN [ 46%]\ntests/other_test.py::test_rule FAILED [ 46%]\ntests/other_test.py::test_rule_multiple_files RERUN [ 47%]\ntests/other_test.py::test_rule_multiple_files RERUN [ 47%]\ntests/other_test.py::test_rule_multiple_files FAILED [ 47%]\ntests/other_test.py::test_filelist RERUN [ 47%]\ntests/other_test.py::test_filelist RERUN [ 47%]\ntests/other_test.py::test_filelist FAILED [ 47%]\ntests/other_test.py::test_markup_lang PASSED [ 47%]\ntests/other_test.py::test_cpp_probe RERUN [ 47%]\ntests/other_test.py::test_cpp_probe RERUN [ 47%]\ntests/other_test.py::test_cpp_probe FAILED [ 47%]\ntests/other_test.py::test_cpp_probe_2 PASSED [ 47%]\ntests/other_test.py::test_config_invalid RERUN [ 48%]\ntests/other_test.py::test_config_invalid RERUN [ 48%]\ntests/other_test.py::test_config_invalid FAILED [ 48%]\ntests/other_test.py::test_config_override PASSED [ 48%]\ntests/other_test.py::test_checkers_report PASSED [ 48%]\ntests/other_test.py::test_checkers_report_misra_json RERUN [ 48%]\ntests/other_test.py::test_checkers_report_misra_json RERUN [ 48%]\ntests/other_test.py::test_checkers_report_misra_json FAILED [ 48%]\ntests/other_test.py::test_ignore_file PASSED [ 49%]\ntests/other_test.py::test_ignore_file_append PASSED [ 49%]\ntests/other_test.py::test_ignore_file_wildcard_back PASSED [ 49%]\ntests/other_test.py::test_ignore_file_wildcard_front PASSED [ 49%]\ntests/other_test.py::test_ignore_file_placeholder PASSED [ 50%]\ntests/other_test.py::test_ignore_file_relative PASSED [ 50%]\ntests/other_test.py::test_ignore_file_relative_backslash RERUN [ 50%]\ntests/other_test.py::test_ignore_file_relative_backslash RERUN [ 50%]\ntests/other_test.py::test_ignore_file_relative_backslash FAILED [ 50%]\ntests/other_test.py::test_ignore_file_relative_wildcard PASSED [ 50%]\ntests/other_test.py::test_ignore_file_relative_wildcard_backslash RERUN [ 51%]\ntests/other_test.py::test_ignore_file_relative_wildcard_backslash RERUN [ 51%]\ntests/other_test.py::test_ignore_file_relative_wildcard_backslash FAILED [ 51%]\ntests/other_test.py::test_ignore_path_relative PASSED [ 51%]\ntests/other_test.py::test_ignore_path_relative_backslash RERUN [ 51%]\ntests/other_test.py::test_ignore_path_relative_backslash RERUN [ 51%]\ntests/other_test.py::test_ignore_path_relative_backslash FAILED [ 51%]\ntests/other_test.py::test_ignore_path_relative_wildcard PASSED [ 51%]\ntests/other_test.py::test_ignore_path_relative_wildcard_backslash RERUN [ 52%]\ntests/other_test.py::test_ignore_path_relative_wildcard_backslash RERUN [ 52%]\ntests/other_test.py::test_ignore_path_relative_wildcard_backslash FAILED [ 52%]\ntests/other_test.py::test_ignore_abspath PASSED [ 52%]\ntests/other_test.py::test_ignore_project_file RERUN [ 52%]\ntests/other_test.py::test_ignore_project_file RERUN [ 52%]\ntests/other_test.py::test_ignore_project_file FAILED [ 52%]\ntests/other_test.py::test_ignore_project_file_cli_prepend RERUN [ 52%]\ntests/other_test.py::test_ignore_project_file_cli_prepend RERUN [ 52%]\ntests/other_test.py::test_ignore_project_file_cli_prepend FAILED [ 52%]\ntests/other_test.py::test_ignore_project_file_cli_append RERUN [ 52%]\ntests/other_test.py::test_ignore_project_file_cli_append RERUN [ 52%]\ntests/other_test.py::test_ignore_project_file_cli_append FAILED [ 52%]\ntests/other_test.py::test_ignore_project_file_wildcard_back RERUN [ 53%]\ntests/other_test.py::test_ignore_project_file_wildcard_back RERUN [ 53%]\ntests/other_test.py::test_ignore_project_file_wildcard_back FAILED [ 53%]\ntests/other_test.py::test_ignore_project_file_wildcard_front RERUN [ 53%]\ntests/other_test.py::test_ignore_project_file_wildcard_front RERUN [ 53%]\ntests/other_test.py::test_ignore_project_file_wildcard_front FAILED [ 53%]\ntests/other_test.py::test_ignore_project_file_placeholder RERUN [ 53%]\ntests/other_test.py::test_ignore_project_file_placeholder RERUN [ 53%]\ntests/other_test.py::test_ignore_project_file_placeholder FAILED [ 53%]\ntests/other_test.py::test_ignore_project_file_relative RERUN [ 53%]\ntests/other_test.py::test_ignore_project_file_relative RERUN [ 53%]\ntests/other_test.py::test_ignore_project_file_relative FAILED [ 53%]\ntests/other_test.py::test_ignore_project_file_relative_backslash RERUN [ 54%]\ntests/other_test.py::test_ignore_project_file_relative_backslash RERUN [ 54%]\ntests/other_test.py::test_ignore_project_file_relative_backslash FAILED [ 54%]\ntests/other_test.py::test_ignore_project_path_relative RERUN [ 54%]\ntests/other_test.py::test_ignore_project_path_relative RERUN [ 54%]\ntests/other_test.py::test_ignore_project_path_relative FAILED [ 54%]\ntests/other_test.py::test_ignore_project_path_relative_backslash RERUN [ 54%]\ntests/other_test.py::test_ignore_project_path_relative_backslash RERUN [ 54%]\ntests/other_test.py::test_ignore_project_path_relative_backslash FAILED [ 54%]\ntests/other_test.py::test_ignore_project_abspath RERUN [ 54%]\ntests/other_test.py::test_ignore_project_abspath RERUN [ 54%]\ntests/other_test.py::test_ignore_project_abspath FAILED [ 54%]\ntests/other_test.py::test_ignore_project_2_file RERUN [ 55%]\ntests/other_test.py::test_ignore_project_2_file RERUN [ 55%]\ntests/other_test.py::test_ignore_project_2_file FAILED [ 55%]\ntests/other_test.py::test_ignore_project_2_file_append RERUN [ 55%]\ntests/other_test.py::test_ignore_project_2_file_append RERUN [ 55%]\ntests/other_test.py::test_ignore_project_2_file_append FAILED [ 55%]\ntests/other_test.py::test_ignore_project_2_file_wildcard_back RERUN [ 55%]\ntests/other_test.py::test_ignore_project_2_file_wildcard_back RERUN [ 55%]\ntests/other_test.py::test_ignore_project_2_file_wildcard_back FAILED [ 55%]\ntests/other_test.py::test_ignore_project_2_file_wildcard_front RERUN [ 55%]\ntests/other_test.py::test_ignore_project_2_file_wildcard_front RERUN [ 55%]\ntests/other_test.py::test_ignore_project_2_file_wildcard_front FAILED [ 55%]\ntests/other_test.py::test_ignore_project_2_file_placeholder RERUN [ 56%]\ntests/other_test.py::test_ignore_project_2_file_placeholder RERUN [ 56%]\ntests/other_test.py::test_ignore_project_2_file_placeholder FAILED [ 56%]\ntests/other_test.py::test_ignore_project_2_file_relative RERUN [ 56%]\ntests/other_test.py::test_ignore_project_2_file_relative RERUN [ 56%]\ntests/other_test.py::test_ignore_project_2_file_relative FAILED [ 56%]\ntests/other_test.py::test_ignore_project_2_file_relative_backslash RERUN [ 56%]\ntests/other_test.py::test_ignore_project_2_file_relative_backslash RERUN [ 56%]\ntests/other_test.py::test_ignore_project_2_file_relative_backslash FAILED [ 56%]\ntests/other_test.py::test_ignore_project_2_file_relative_wildcard RERUN [ 56%]\ntests/other_test.py::test_ignore_project_2_file_relative_wildcard RERUN [ 56%]\ntests/other_test.py::test_ignore_project_2_file_relative_wildcard FAILED [ 56%]\ntests/other_test.py::test_ignore_project_2_file_relative_wildcard_backslash RERUN [ 57%]\ntests/other_test.py::test_ignore_project_2_file_relative_wildcard_backslash RERUN [ 57%]\ntests/other_test.py::test_ignore_project_2_file_relative_wildcard_backslash FAILED [ 57%]\ntests/other_test.py::test_ignore_project_2_path_relative RERUN [ 57%]\ntests/other_test.py::test_ignore_project_2_path_relative RERUN [ 57%]\ntests/other_test.py::test_ignore_project_2_path_relative FAILED [ 57%]\ntests/other_test.py::test_ignore_project_2_path_relative_backslash RERUN [ 57%]\ntests/other_test.py::test_ignore_project_2_path_relative_backslash RERUN [ 57%]\ntests/other_test.py::test_ignore_project_2_path_relative_backslash FAILED [ 57%]\ntests/other_test.py::test_ignore_project_2_path_relative_wildcard RERUN [ 57%]\ntests/other_test.py::test_ignore_project_2_path_relative_wildcard RERUN [ 57%]\ntests/other_test.py::test_ignore_project_2_path_relative_wildcard FAILED [ 57%]\ntests/other_test.py::test_ignore_project_2_path_relative_wildcard_backslash RERUN [ 58%]\ntests/other_test.py::test_ignore_project_2_path_relative_wildcard_backslash RERUN [ 58%]\ntests/other_test.py::test_ignore_project_2_path_relative_wildcard_backslash FAILED [ 58%]\ntests/other_test.py::test_ignore_project_2_abspath RERUN [ 58%]\ntests/other_test.py::test_ignore_project_2_abspath RERUN [ 58%]\ntests/other_test.py::test_ignore_project_2_abspath FAILED [ 58%]\ntests/other_test.py::test_dumpfile_platform PASSED [ 58%]\ntests/other_test.py::test_builddir_hash_check_level RERUN [ 58%]\ntests/other_test.py::test_builddir_hash_check_level RERUN [ 58%]\ntests/other_test.py::test_builddir_hash_check_level FAILED [ 58%]\ntests/other_test.py::test_def_undef RERUN [ 58%]\ntests/other_test.py::test_def_undef RERUN [ 58%]\ntests/other_test.py::test_def_undef FAILED [ 58%]\ntests/other_test.py::test_def_def XFAIL [ 59%]\ntests/other_test.py::test_def_undef_def XFAIL [ 59%]\ntests/other_test.py::test_undef RERUN [ 59%]\ntests/other_test.py::test_undef RERUN [ 59%]\ntests/other_test.py::test_undef FAILED [ 59%]\ntests/other_test.py::test_undef_src XFAIL [ 59%]\ntests/other_test.py::test_dump_check_config PASSED [ 60%]\ntests/other_test.py::test_inline_suppr PASSED [ 60%]\ntests/other_test.py::test_inline_suppr_j PASSED [ 60%]\ntests/other_test.py::test_inline_suppr_builddir PASSED [ 60%]\ntests/other_test.py::test_inline_suppr_builddir_cached RERUN [ 61%]\ntests/other_test.py::test_inline_suppr_builddir_cached RERUN [ 61%]\ntests/other_test.py::test_inline_suppr_builddir_cached FAILED [ 61%]\ntests/other_test.py::test_inline_suppr_builddir_j PASSED [ 61%]\ntests/other_test.py::test_inline_suppr_builddir_j_cached RERUN [ 61%]\ntests/other_test.py::test_inline_suppr_builddir_j_cached RERUN [ 61%]\ntests/other_test.py::test_inline_suppr_builddir_j_cached FAILED [ 61%]\ntests/other_test.py::test_duplicate_suppression RERUN [ 61%]\ntests/other_test.py::test_duplicate_suppression RERUN [ 61%]\ntests/other_test.py::test_duplicate_suppression FAILED [ 61%]\ntests/other_test.py::test_duplicate_suppressions_list RERUN [ 62%]\ntests/other_test.py::test_duplicate_suppressions_list RERUN [ 62%]\ntests/other_test.py::test_duplicate_suppressions_list FAILED [ 62%]\ntests/other_test.py::test_duplicate_suppressions_mixed RERUN [ 62%]\ntests/other_test.py::test_duplicate_suppressions_mixed RERUN [ 62%]\ntests/other_test.py::test_duplicate_suppressions_mixed FAILED [ 62%]\ntests/other_test.py::test_xml_output RERUN [ 62%]\ntests/other_test.py::test_xml_output RERUN [ 62%]\ntests/other_test.py::test_xml_output FAILED [ 62%]\ntests/other_test.py::test_outputfile PASSED [ 62%]\ntests/other_test.py::test_internal_error_loc_int RERUN [ 63%]\ntests/other_test.py::test_internal_error_loc_int RERUN [ 63%]\ntests/other_test.py::test_internal_error_loc_int FAILED [ 63%]\ntests/other_test.py::test_addon_suppr_inline RERUN [ 63%]\ntests/other_test.py::test_addon_suppr_inline RERUN [ 63%]\ntests/other_test.py::test_addon_suppr_inline FAILED [ 63%]\ntests/other_test.py::test_addon_suppr_inline_j RERUN [ 63%]\ntests/other_test.py::test_addon_suppr_inline_j RERUN [ 63%]\ntests/other_test.py::test_addon_suppr_inline_j FAILED [ 63%]\ntests/other_test.py::test_addon_suppr_cli_line RERUN [ 63%]\ntests/other_test.py::test_addon_suppr_cli_line RERUN [ 63%]\ntests/other_test.py::test_addon_suppr_cli_line FAILED [ 63%]\ntests/other_test.py::test_addon_suppr_cli_file_line RERUN [ 64%]\ntests/other_test.py::test_addon_suppr_cli_file_line RERUN [ 64%]\ntests/other_test.py::test_addon_suppr_cli_file_line FAILED [ 64%]\ntests/other_test.py::test_addon_suppr_cli_absfile_line RERUN [ 64%]\ntests/other_test.py::test_addon_suppr_cli_absfile_line RERUN [ 64%]\ntests/other_test.py::test_addon_suppr_cli_absfile_line FAILED [ 64%]\ntests/other_test.py::test_ctu_path_builddir RERUN [ 64%]\ntests/other_test.py::test_ctu_path_builddir RERUN [ 64%]\ntests/other_test.py::test_ctu_path_builddir FAILED [ 64%]\ntests/other_test.py::test_ctu_builddir XFAIL [ 64%]\ntests/other_test.py::test_debug RERUN [ 64%]\ntests/other_test.py::test_debug RERUN [ 64%]\ntests/other_test.py::test_debug FAILED [ 64%]\ntests/other_test.py::test_debug_xml RERUN [ 65%]\ntests/other_test.py::test_debug_xml RERUN [ 65%]\ntests/other_test.py::test_debug_xml FAILED [ 65%]\ntests/other_test.py::test_debug_verbose RERUN [ 65%]\ntests/other_test.py::test_debug_verbose RERUN [ 65%]\ntests/other_test.py::test_debug_verbose FAILED [ 65%]\ntests/other_test.py::test_debug_verbose_xml RERUN [ 65%]\ntests/other_test.py::test_debug_verbose_xml RERUN [ 65%]\ntests/other_test.py::test_debug_verbose_xml FAILED [ 65%]\ntests/other_test.py::test_debug_template RERUN [ 65%]\ntests/other_test.py::test_debug_template RERUN [ 65%]\ntests/other_test.py::test_debug_template FAILED [ 65%]\ntests/other_test.py::test_debug_template_verbose_nodiff RERUN [ 66%]\ntests/other_test.py::test_debug_template_verbose_nodiff RERUN [ 66%]\ntests/other_test.py::test_debug_template_verbose_nodiff FAILED [ 66%]\ntests/other_test.py::test_debug_template_debug RERUN [ 66%]\ntests/other_test.py::test_debug_template_debug RERUN [ 66%]\ntests/other_test.py::test_debug_template_debug FAILED [ 66%]\ntests/other_test.py::test_debug_template_debug_verbose_nodiff XFAIL [ 66%]\ntests/other_test.py::test_file_ignore_2 PASSED [ 66%]\ntests/other_test.py::test_debug_valueflow_data RERUN [ 67%]\ntests/other_test.py::test_debug_valueflow_data RERUN [ 67%]\ntests/other_test.py::test_debug_valueflow_data FAILED [ 67%]\ntests/other_test.py::test_debug_valueflow_data_xml RERUN [ 67%]\ntests/other_test.py::test_debug_valueflow_data_xml RERUN [ 67%]\ntests/other_test.py::test_debug_valueflow_data_xml FAILED [ 67%]\ntests/other_test.py::test_dir_ignore PASSED [ 67%]\ntests/other_test.py::test_check_headers RERUN [ 67%]\ntests/other_test.py::test_check_headers RERUN [ 67%]\ntests/other_test.py::test_check_headers FAILED [ 67%]\ntests/other_test.py::test_unique_error RERUN [ 68%]\ntests/other_test.py::test_unique_error RERUN [ 68%]\ntests/other_test.py::test_unique_error FAILED [ 68%]\ntests/other_test.py::test_check_unused_templates_class PASSED [ 68%]\ntests/other_test.py::test_check_unused_templates_func PASSED [ 68%]\ntests/other_test.py::test_clang_tidy SKIPPED (clang-tidy is not avai...) [ 68%]\ntests/other_test.py::test_clang_tidy_project SKIPPED (clang-tidy is ...) [ 69%]\ntests/other_test.py::test_clang_tidy_error_exit SKIPPED (clang-tidy ...) [ 69%]\ntests/other_test.py::test_suppress_unmatched_wildcard RERUN [ 69%]\ntests/other_test.py::test_suppress_unmatched_wildcard RERUN [ 69%]\ntests/other_test.py::test_suppress_unmatched_wildcard FAILED [ 69%]\ntests/other_test.py::test_suppress_unmatched_wildcard_unchecked PASSED [ 69%]\ntests/other_test.py::test_preprocess_enforced_c PASSED [ 70%]\ntests/other_test.py::test_preprocess_enforced_cpp RERUN [ 70%]\ntests/other_test.py::test_preprocess_enforced_cpp RERUN [ 70%]\ntests/other_test.py::test_preprocess_enforced_cpp FAILED [ 70%]\ntests/other_test.py::test_preprocess_system_include PASSED [ 70%]\ntests/other_test.py::test_debug_normal RERUN [ 70%]\ntests/other_test.py::test_debug_normal RERUN [ 70%]\ntests/other_test.py::test_debug_normal FAILED [ 70%]\ntests/other_test.py::test_debug_normal_verbose_nodiff XFAIL [ 70%]\ntests/other_test.py::test_debug_simplified RERUN [ 71%]\ntests/other_test.py::test_debug_simplified RERUN [ 71%]\ntests/other_test.py::test_debug_simplified FAILED [ 71%]\ntests/other_test.py::test_debug_simplified_verbose_nodiff RERUN [ 71%]\ntests/other_test.py::test_debug_simplified_verbose_nodiff RERUN [ 71%]\ntests/other_test.py::test_debug_simplified_verbose_nodiff FAILED [ 71%]\ntests/other_test.py::test_debug_symdb RERUN [ 71%]\ntests/other_test.py::test_debug_symdb RERUN [ 71%]\ntests/other_test.py::test_debug_symdb FAILED [ 71%]\ntests/other_test.py::test_debug_symdb_verbose_nodiff SKIPPED (uncond...) [ 71%]\ntests/other_test.py::test_debug_ast RERUN [ 72%]\ntests/other_test.py::test_debug_ast RERUN [ 72%]\ntests/other_test.py::test_debug_ast FAILED [ 72%]\ntests/other_test.py::test_debug_ast_verbose_nodiff RERUN [ 72%]\ntests/other_test.py::test_debug_ast_verbose_nodiff RERUN [ 72%]\ntests/other_test.py::test_debug_ast_verbose_nodiff FAILED [ 72%]\ntests/other_test.py::test_debug_valueflow RERUN [ 72%]\ntests/other_test.py::test_debug_valueflow RERUN [ 72%]\ntests/other_test.py::test_debug_valueflow FAILED [ 72%]\ntests/other_test.py::test_debug_valueflow_verbose_nodiff RERUN [ 72%]\ntests/other_test.py::test_debug_valueflow_verbose_nodiff RERUN [ 72%]\ntests/other_test.py::test_debug_valueflow_verbose_nodiff FAILED [ 72%]\ntests/other_test.py::test_debug_syntaxerror_c RERUN [ 73%]\ntests/other_test.py::test_debug_syntaxerror_c RERUN [ 73%]\ntests/other_test.py::test_debug_syntaxerror_c FAILED [ 73%]\ntests/other_test.py::test_ast_max_depth RERUN [ 73%]\ntests/other_test.py::test_ast_max_depth RERUN [ 73%]\ntests/other_test.py::test_ast_max_depth FAILED [ 73%]\ntests/other_test.py::test_misra_disabled_unmatched RERUN [ 73%]\ntests/other_test.py::test_misra_disabled_unmatched RERUN [ 73%]\ntests/other_test.py::test_misra_disabled_unmatched FAILED [ 73%]\ntests/other_test.py::test_premium_disabled_unmatched RERUN [ 73%]\ntests/other_test.py::test_premium_disabled_unmatched RERUN [ 73%]\ntests/other_test.py::test_premium_disabled_unmatched FAILED [ 73%]\ntests/other_test.py::test_unmatched_file RERUN [ 74%]\ntests/other_test.py::test_unmatched_file RERUN [ 74%]\ntests/other_test.py::test_unmatched_file FAILED [ 74%]\ntests/other_test.py::test_simplecpp_warning PASSED [ 74%]\ntests/other_test.py::test_simplecpp_unhandled_char RERUN [ 74%]\ntests/other_test.py::test_simplecpp_unhandled_char RERUN [ 74%]\ntests/other_test.py::test_simplecpp_unhandled_char FAILED [ 74%]\ntests/other_test.py::test_simplecpp_include_nested_too_deeply RERUN [ 74%]\ntests/other_test.py::test_simplecpp_include_nested_too_deeply RERUN [ 74%]\ntests/other_test.py::test_simplecpp_include_nested_too_deeply FAILED [ 74%]\ntests/other_test.py::test_simplecpp_syntax_error RERUN [ 75%]\ntests/other_test.py::test_simplecpp_syntax_error RERUN [ 75%]\ntests/other_test.py::test_simplecpp_syntax_error FAILED [ 75%]\ntests/other_test.py::test_max_configs[None-20-False-True] PASSED [ 75%]\ntests/other_test.py::test_max_configs[None-20-True-True] RERUN [ 75%]\ntests/other_test.py::test_max_configs[None-20-True-True] RERUN [ 75%]\ntests/other_test.py::test_max_configs[None-20-True-True] FAILED [ 75%]\ntests/other_test.py::test_max_configs[6-20-False-False] RERUN [ 75%]\ntests/other_test.py::test_max_configs[6-20-False-False] RERUN [ 75%]\ntests/other_test.py::test_max_configs[6-20-False-False] FAILED [ 75%]\ntests/other_test.py::test_max_configs[6-20-True-True] RERUN [ 76%]\ntests/other_test.py::test_max_configs[6-20-True-True] RERUN [ 76%]\ntests/other_test.py::test_max_configs[6-20-True-True] FAILED [ 76%]\ntests/other_test.py::test_max_configs[20-20-False-False0] PASSED [ 76%]\ntests/other_test.py::test_max_configs[20-20-False-False1] PASSED [ 76%]\ntests/other_test.py::test_no_valid_configuration RERUN [ 76%]\ntests/other_test.py::test_no_valid_configuration RERUN [ 76%]\ntests/other_test.py::test_no_valid_configuration FAILED [ 76%]\ntests/other_test.py::test_no_valid_configuration_check_config RERUN [ 76%]\ntests/other_test.py::test_no_valid_configuration_check_config RERUN [ 76%]\ntests/other_test.py::test_no_valid_configuration_check_config FAILED [ 76%]\ntests/other_test.py::test_active_unusedfunction_only RERUN [ 77%]\ntests/other_test.py::test_active_unusedfunction_only RERUN [ 77%]\ntests/other_test.py::test_active_unusedfunction_only FAILED [ 77%]\ntests/other_test.py::test_active_unusedfunction_only_builddir RERUN [ 77%]\ntests/other_test.py::test_active_unusedfunction_only_builddir RERUN [ 77%]\ntests/other_test.py::test_active_unusedfunction_only_builddir FAILED [ 77%]\ntests/other_test.py::test_active_unusedfunction_only_misra RERUN [ 77%]\ntests/other_test.py::test_active_unusedfunction_only_misra RERUN [ 77%]\ntests/other_test.py::test_active_unusedfunction_only_misra FAILED [ 77%]\ntests/other_test.py::test_active_unusedfunction_only_misra_builddir RERUN [ 77%]\ntests/other_test.py::test_active_unusedfunction_only_misra_builddir RERUN [ 77%]\ntests/other_test.py::test_active_unusedfunction_only_misra_builddir FAILED [ 77%]\ntests/other_test.py::test_analyzerinfo RERUN [ 78%]\ntests/other_test.py::test_analyzerinfo RERUN [ 78%]\ntests/other_test.py::test_analyzerinfo FAILED [ 78%]\ntests/performance_test.py::test_slow_array_many_floats PASSED [ 78%]\ntests/performance_test.py::test_slow_array_many_strings PASSED [ 78%]\ntests/performance_test.py::test_slow_long_line PASSED [ 78%]\ntests/performance_test.py::test_slow_large_constant_expression PASSED [ 79%]\ntests/performance_test.py::test_slow_exprid PASSED [ 79%]\ntests/performance_test.py::test_stack_overflow_AST +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++\n~~~~~~~~~~~~~~~ Stack of Thread-1 (run_server) (139838792627776) ~~~~~~~~~~~~~~~\n File \"/usr/lib/python3.10/threading.py\", line 973, in _bootstrap\n self._bootstrap_inner()\n File \"/usr/lib/python3.10/threading.py\", line 1016, in _bootstrap_inner\n self.run()\n File \"/usr/lib/python3.10/threading.py\", line 953, in run\n self._target(*self._args, **self._kwargs)\n File \"/usr/local/lib/python3.10/dist-packages/pytest_rerunfailures.py\", line 921, in run_server\n conn, _ = self.sock.accept()\n File \"/usr/lib/python3.10/socket.py\", line 293, in accept\n fd, addr = self._accept()\n+++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++\nRERUN [ 79%]\ntests/performance_test.py::test_stack_overflow_AST PASSED [ 79%]\ntests/performance_test.py::test_slow_initlist_varchanged PASSED [ 79%]\ntests/performance_test.py::test_slow_many_scopes PASSED [ 80%]\ntests/performance_test.py::test_crash_array_in_namespace +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++\n~~~~~~~~~~~~~~~ Stack of Thread-1 (run_server) (139838792627776) ~~~~~~~~~~~~~~~\n File \"/usr/lib/python3.10/threading.py\", line 973, in _bootstrap\n self._bootstrap_inner()\n File \"/usr/lib/python3.10/threading.py\", line 1016, in _bootstrap_inner\n self.run()\n File \"/usr/lib/python3.10/threading.py\", line 953, in run\n self._target(*self._args, **self._kwargs)\n File \"/usr/local/lib/python3.10/dist-packages/pytest_rerunfailures.py\", line 921, in run_server\n conn, _ = self.sock.accept()\n File \"/usr/lib/python3.10/socket.py\", line 293, in accept\n fd, addr = self._accept()\n+++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++\nRERUN [ 80%]\ntests/performance_test.py::test_crash_array_in_namespace PASSED [ 80%]\ntests/performance_test.py::test_crash_array_in_array +++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++\n~~~~~~~~~~~~~~~ Stack of Thread-1 (run_server) (139838792627776) ~~~~~~~~~~~~~~~\n File \"/usr/lib/python3.10/threading.py\", line 973, in _bootstrap\n self._bootstrap_inner()\n File \"/usr/lib/python3.10/threading.py\", line 1016, in _bootstrap_inner\n self.run()\n File \"/usr/lib/python3.10/threading.py\", line 953, in run\n self._target(*self._args, **self._kwargs)\n File \"/usr/local/lib/python3.10/dist-packages/pytest_rerunfailures.py\", line 921, in run_server\n conn, _ = self.sock.accept()\n File \"/usr/lib/python3.10/socket.py\", line 293, in accept\n fd, addr = self._accept()\n+++++++++++++++++++++++++++++++++++ Timeout ++++++++++++++++++++++++++++++++++++\nRERUN [ 80%]\ntests/performance_test.py::test_crash_array_in_array PASSED [ 80%]\ntests/performance_test.py::test_slow_bifurcate PASSED [ 80%]\ntests/proj2_test.py::test_file_filter RERUN [ 81%]\ntests/proj2_test.py::test_file_filter RERUN [ 81%]\ntests/proj2_test.py::test_file_filter FAILED [ 81%]\ntests/proj2_test.py::test_local_path RERUN [ 81%]\ntests/proj2_test.py::test_local_path RERUN [ 81%]\ntests/proj2_test.py::test_local_path FAILED [ 81%]\ntests/proj2_test.py::test_local_path_force RERUN [ 81%]\ntests/proj2_test.py::test_local_path_force RERUN [ 81%]\ntests/proj2_test.py::test_local_path_force FAILED [ 81%]\ntests/proj2_test.py::test_local_path_maxconfigs RERUN [ 81%]\ntests/proj2_test.py::test_local_path_maxconfigs RERUN [ 81%]\ntests/proj2_test.py::test_local_path_maxconfigs FAILED [ 81%]\ntests/proj2_test.py::test_relative_path RERUN [ 82%]\ntests/proj2_test.py::test_relative_path RERUN [ 82%]\ntests/proj2_test.py::test_relative_path FAILED [ 82%]\ntests/proj2_test.py::test_absolute_path RERUN [ 82%]\ntests/proj2_test.py::test_absolute_path RERUN [ 82%]\ntests/proj2_test.py::test_absolute_path FAILED [ 82%]\ntests/proj2_test.py::test_gui_project_loads_compile_commands_1 RERUN [ 82%]\ntests/proj2_test.py::test_gui_project_loads_compile_commands_1 RERUN [ 82%]\ntests/proj2_test.py::test_gui_project_loads_compile_commands_1 FAILED [ 82%]\ntests/proj2_test.py::test_gui_project_loads_compile_commands_2 RERUN [ 82%]\ntests/proj2_test.py::test_gui_project_loads_compile_commands_2 RERUN [ 82%]\ntests/proj2_test.py::test_gui_project_loads_compile_commands_2 FAILED [ 82%]\ntests/proj2_test.py::test_gui_project_loads_relative_vs_solution RERUN [ 82%]\ntests/proj2_test.py::test_gui_project_loads_relative_vs_solution RERUN [ 82%]\ntests/proj2_test.py::test_gui_project_loads_relative_vs_solution FAILED [ 82%]\ntests/proj2_test.py::test_gui_project_loads_absolute_vs_solution RERUN [ 83%]\ntests/proj2_test.py::test_gui_project_loads_absolute_vs_solution RERUN [ 83%]\ntests/proj2_test.py::test_gui_project_loads_absolute_vs_solution FAILED [ 83%]\ntests/proj2_test.py::test_gui_project_loads_relative_vs_solution_2 RERUN [ 83%]\ntests/proj2_test.py::test_gui_project_loads_relative_vs_solution_2 RERUN [ 83%]\ntests/proj2_test.py::test_gui_project_loads_relative_vs_solution_2 FAILED [ 83%]\ntests/proj2_test.py::test_gui_project_loads_relative_vs_solution_with_exclude RERUN [ 83%]\ntests/proj2_test.py::test_gui_project_loads_relative_vs_solution_with_exclude RERUN [ 83%]\ntests/proj2_test.py::test_gui_project_loads_relative_vs_solution_with_exclude FAILED [ 83%]\ntests/proj2_test.py::test_gui_project_loads_absolute_vs_solution_2 RERUN [ 83%]\ntests/proj2_test.py::test_gui_project_loads_absolute_vs_solution_2 RERUN [ 83%]\ntests/proj2_test.py::test_gui_project_loads_absolute_vs_solution_2 FAILED [ 83%]\ntests/samples_test.py::test_samples RERUN [ 84%]\ntests/samples_test.py::test_samples RERUN [ 84%]\ntests/samples_test.py::test_samples FAILED [ 84%]\ntests/sarif_test.py::test_sarif_basic_structure PASSED [ 84%]\ntests/sarif_test.py::test_sarif_null_pointer PASSED [ 84%]\ntests/sarif_test.py::test_sarif_security_rules PASSED [ 84%]\ntests/sarif_test.py::test_sarif_rule_descriptions PASSED [ 85%]\ntests/sarif_test.py::test_sarif_cwe_tags PASSED [ 85%]\ntests/sarif_test.py::test_sarif_severity_levels PASSED [ 85%]\ntests/sarif_test.py::test_sarif_instance_specific_messages PASSED [ 85%]\ntests/sarif_test.py::test_sarif_location_info PASSED [ 86%]\ntests/sarif_test.py::test_sarif_with_multiple_files PASSED [ 86%]\ntests/sarif_test.py::test_sarif_default_configuration PASSED [ 86%]\ntests/sarif_test.py::test_sarif_rule_properties PASSED [ 86%]\ntests/sarif_test.py::test_sarif_rule_coverage PASSED [ 87%]\ntests/sarif_test.py::test_sarif_generic_descriptions PASSED [ 87%]\ntests/sarif_test.py::test_sarif_security_rules_classification PASSED [ 87%]\ntests/sarif_test.py::test_sarif_results_consistency PASSED [ 87%]\ntests/suppress_syntaxError_test.py::test_j PASSED [ 88%]\ntests/suppress_syntaxError_test.py::test_suppress_j PASSED [ 88%]\ntests/suppress_syntaxError_test.py::test_safety_suppress_syntax_error_implicitly RERUN [ 88%]\ntests/suppress_syntaxError_test.py::test_safety_suppress_syntax_error_implicitly RERUN [ 88%]\ntests/suppress_syntaxError_test.py::test_safety_suppress_syntax_error_implicitly FAILED [ 88%]\ntests/suppress_syntaxError_test.py::test_safety_suppress_syntax_error_explicitly RERUN [ 88%]\ntests/suppress_syntaxError_test.py::test_safety_suppress_syntax_error_explicitly RERUN [ 88%]\ntests/suppress_syntaxError_test.py::test_safety_suppress_syntax_error_explicitly FAILED [ 88%]\ntests/unused_function_test.py::test_unused_functions RERUN [ 88%]\ntests/unused_function_test.py::test_unused_functions RERUN [ 88%]\ntests/unused_function_test.py::test_unused_functions FAILED [ 88%]\ntests/unused_function_test.py::test_unused_functions_j RERUN [ 89%]\ntests/unused_function_test.py::test_unused_functions_j RERUN [ 89%]\ntests/unused_function_test.py::test_unused_functions_j FAILED [ 89%]\ntests/unused_function_test.py::test_unused_functions_builddir PASSED [ 89%]\ntests/unused_function_test.py::test_unused_functions_builddir_j_thread PASSED [ 89%]\ntests/unused_function_test.py::test_unused_functions_builddir_j_process PASSED [ 89%]\ntests/unused_function_test.py::test_unused_functions_project RERUN [ 90%]\ntests/unused_function_test.py::test_unused_functions_project RERUN [ 90%]\ntests/unused_function_test.py::test_unused_functions_project FAILED [ 90%]\ntests/unused_function_test.py::test_unused_functions_project_j RERUN [ 90%]\ntests/unused_function_test.py::test_unused_functions_project_j RERUN [ 90%]\ntests/unused_function_test.py::test_unused_functions_project_j FAILED [ 90%]\ntests/unused_function_test.py::test_unused_functions_project_builddir RERUN [ 90%]\ntests/unused_function_test.py::test_unused_functions_project_builddir RERUN [ 90%]\ntests/unused_function_test.py::test_unused_functions_project_builddir FAILED [ 90%]\ntests/unused_function_test.py::test_unused_functions_project_builddir_j_thread RERUN [ 90%]\ntests/unused_function_test.py::test_unused_functions_project_builddir_j_thread RERUN [ 90%]\ntests/unused_function_test.py::test_unused_functions_project_builddir_j_thread FAILED [ 90%]\ntests/unused_function_test.py::test_unused_functions_project_builddir_j_process RERUN [ 91%]\ntests/unused_function_test.py::test_unused_functions_project_builddir_j_process RERUN [ 91%]\ntests/unused_function_test.py::test_unused_functions_project_builddir_j_process FAILED [ 91%]\ntests/unused_function_test.py::test_unused_functions_compdb RERUN [ 91%]\ntests/unused_function_test.py::test_unused_functions_compdb RERUN [ 91%]\ntests/unused_function_test.py::test_unused_functions_compdb FAILED [ 91%]\ntests/unused_function_test.py::test_unused_functions_compdb_j RERUN [ 91%]\ntests/unused_function_test.py::test_unused_functions_compdb_j RERUN [ 91%]\ntests/unused_function_test.py::test_unused_functions_compdb_j FAILED [ 91%]\ntests/unused_function_test.py::test_unused_functions_compdb_buildir_j_thread RERUN [ 91%]\ntests/unused_function_test.py::test_unused_functions_compdb_buildir_j_thread RERUN [ 91%]\ntests/unused_function_test.py::test_unused_functions_compdb_buildir_j_thread FAILED [ 91%]\ntests/unused_function_test.py::test_unused_functions_compdb_builddir_j_process RERUN [ 92%]\ntests/unused_function_test.py::test_unused_functions_compdb_builddir_j_process RERUN [ 92%]\ntests/unused_function_test.py::test_unused_functions_compdb_builddir_j_process FAILED [ 92%]\ntests/whole_program_test.py::test_addon_suppress_inline RERUN [ 92%]\ntests/whole_program_test.py::test_addon_suppress_inline RERUN [ 92%]\ntests/whole_program_test.py::test_addon_suppress_inline FAILED [ 92%]\ntests/whole_program_test.py::test_addon_suppress_inline_project RERUN [ 92%]\ntests/whole_program_test.py::test_addon_suppress_inline_project RERUN [ 92%]\ntests/whole_program_test.py::test_addon_suppress_inline_project FAILED [ 92%]\ntests/whole_program_test.py::test_suppress_inline RERUN [ 92%]\ntests/whole_program_test.py::test_suppress_inline RERUN [ 92%]\ntests/whole_program_test.py::test_suppress_inline FAILED [ 92%]\ntests/whole_program_test.py::test_suppress_inline_j XFAIL [ 93%]\ntests/whole_program_test.py::test_suppress_inline_builddir RERUN [ 93%]\ntests/whole_program_test.py::test_suppress_inline_builddir RERUN [ 93%]\ntests/whole_program_test.py::test_suppress_inline_builddir FAILED [ 93%]\ntests/whole_program_test.py::test_suppress_inline_builddir_cached RERUN [ 93%]\ntests/whole_program_test.py::test_suppress_inline_builddir_cached RERUN [ 93%]\ntests/whole_program_test.py::test_suppress_inline_builddir_cached FAILED [ 93%]\ntests/whole_program_test.py::test_suppress_inline_builddir_j RERUN [ 93%]\ntests/whole_program_test.py::test_suppress_inline_builddir_j RERUN [ 93%]\ntests/whole_program_test.py::test_suppress_inline_builddir_j FAILED [ 93%]\ntests/whole_program_test.py::test_inline_suppr_builddir_j_cached RERUN [ 94%]\ntests/whole_program_test.py::test_inline_suppr_builddir_j_cached RERUN [ 94%]\ntests/whole_program_test.py::test_inline_suppr_builddir_j_cached FAILED [ 94%]\ntests/whole_program_test.py::test_suppress_inline_project RERUN [ 94%]\ntests/whole_program_test.py::test_suppress_inline_project RERUN [ 94%]\ntests/whole_program_test.py::test_suppress_inline_project FAILED [ 94%]\ntests/whole_program_test.py::test_suppress_inline_project_j XFAIL [ 94%]\ntests/whole_program_test.py::test_suppress_inline_project_builddir RERUN [ 94%]\ntests/whole_program_test.py::test_suppress_inline_project_builddir RERUN [ 94%]\ntests/whole_program_test.py::test_suppress_inline_project_builddir FAILED [ 94%]\ntests/whole_program_test.py::test_suppress_inline_project_builddir_cached RERUN [ 94%]\ntests/whole_program_test.py::test_suppress_inline_project_builddir_cached RERUN [ 94%]\ntests/whole_program_test.py::test_suppress_inline_project_builddir_cached FAILED [ 94%]\ntests/whole_program_test.py::test_suppress_inline_project_builddir_j RERUN [ 95%]\ntests/whole_program_test.py::test_suppress_inline_project_builddir_j RERUN [ 95%]\ntests/whole_program_test.py::test_suppress_inline_project_builddir_j FAILED [ 95%]\ntests/whole_program_test.py::test_suppress_inline_project_builddir_j_cached RERUN [ 95%]\ntests/whole_program_test.py::test_suppress_inline_project_builddir_j_cached RERUN [ 95%]\ntests/whole_program_test.py::test_suppress_inline_project_builddir_j_cached FAILED [ 95%]\ntests/whole_program_test.py::test_addon_rerun[False] RERUN [ 95%]\ntests/whole_program_test.py::test_addon_rerun[False] RERUN [ 95%]\ntests/whole_program_test.py::test_addon_rerun[False] FAILED [ 95%]\ntests/whole_program_test.py::test_addon_rerun[True] RERUN [ 95%]\ntests/whole_program_test.py::test_addon_rerun[True] RERUN [ 95%]\ntests/whole_program_test.py::test_addon_rerun[True] FAILED [ 95%]\ntests/whole_program_test.py::test_addon_builddir_use_ctuinfo RERUN [ 96%]\ntests/whole_program_test.py::test_addon_builddir_use_ctuinfo RERUN [ 96%]\ntests/whole_program_test.py::test_addon_builddir_use_ctuinfo FAILED [ 96%]\ntests/whole_program_test.py::test_addon_no_artifacts[False] RERUN [ 96%]\ntests/whole_program_test.py::test_addon_no_artifacts[False] RERUN [ 96%]\ntests/whole_program_test.py::test_addon_no_artifacts[False] FAILED [ 96%]\ntests/whole_program_test.py::test_addon_no_artifacts[True] RERUN [ 96%]\ntests/whole_program_test.py::test_addon_no_artifacts[True] RERUN [ 96%]\ntests/whole_program_test.py::test_addon_no_artifacts[True] FAILED [ 96%]\ntests/whole_program_test.py::test_checkclass RERUN [ 96%]\ntests/whole_program_test.py::test_checkclass RERUN [ 96%]\ntests/whole_program_test.py::test_checkclass FAILED [ 96%]\ntests/whole_program_test.py::test_checkclass_j XFAIL [ 97%]\ntests/whole_program_test.py::test_checkclass_builddir RERUN [ 97%]\ntests/whole_program_test.py::test_checkclass_builddir RERUN [ 97%]\ntests/whole_program_test.py::test_checkclass_builddir FAILED [ 97%]\ntests/whole_program_test.py::test_checkclass_builddir_j RERUN [ 97%]\ntests/whole_program_test.py::test_checkclass_builddir_j RERUN [ 97%]\ntests/whole_program_test.py::test_checkclass_builddir_j FAILED [ 97%]\ntests/whole_program_test.py::test_checkclass_project RERUN [ 97%]\ntests/whole_program_test.py::test_checkclass_project RERUN [ 97%]\ntests/whole_program_test.py::test_checkclass_project FAILED [ 97%]\ntests/whole_program_test.py::test_checkclass_project_j XFAIL [ 98%]\ntests/whole_program_test.py::test_checkclass_project_builddir RERUN [ 98%]\ntests/whole_program_test.py::test_checkclass_project_builddir RERUN [ 98%]\ntests/whole_program_test.py::test_checkclass_project_builddir FAILED [ 98%]\ntests/whole_program_test.py::test_checkclass_project_builddir_j RERUN [ 98%]\ntests/whole_program_test.py::test_checkclass_project_builddir_j RERUN [ 98%]\ntests/whole_program_test.py::test_checkclass_project_builddir_j FAILED [ 98%]\ntests/whole_program_test.py::test_ctu_odr_config RERUN [ 98%]\ntests/whole_program_test.py::test_ctu_odr_config RERUN [ 98%]\ntests/whole_program_test.py::test_ctu_odr_config FAILED [ 98%]\ntests/whole_program_test.py::test_nullpointer_file0 RERUN [ 99%]\ntests/whole_program_test.py::test_nullpointer_file0 RERUN [ 99%]\ntests/whole_program_test.py::test_nullpointer_file0 FAILED [ 99%]\ntests/whole_program_test.py::test_nullpointer_file0_j XFAIL [ 99%]\ntests/whole_program_test.py::test_nullpointer_file0_builddir_j RERUN [ 99%]\ntests/whole_program_test.py::test_nullpointer_file0_builddir_j RERUN [ 99%]\ntests/whole_program_test.py::test_nullpointer_file0_builddir_j FAILED [ 99%]\ntests/whole_program_test.py::test_nullpointer_out_of_memory[False] RERUN [ 99%]\ntests/whole_program_test.py::test_nullpointer_out_of_memory[False] RERUN [ 99%]\ntests/whole_program_test.py::test_nullpointer_out_of_memory[False] FAILED [ 99%]\ntests/whole_program_test.py::test_nullpointer_out_of_memory[True] XFAIL [100%]\n\n=================================== FAILURES ===================================\n________________________________ test_libraries ________________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_libraries2')\n\n def test_libraries(tmpdir): #13701\n test_file = str(tmpdir / 'test.c')\n with open(test_file, 'wt') as f:\n f.write('x=1;\\n')\n \n args = ['--library=posix', '--dump', test_file]\n _, _, _ = cppcheck(args)\n \n dumpfile = test_file + '.dump'\n assert os.path.isfile(dumpfile)\n with open(dumpfile, 'rt') as f:\n dump = f.read()\n> assert '' in dump\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n\ntests/dumpfile_test.py:23: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________________ test_language_c ________________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c2')\n\n def test_language_c(tmp_path):\n> __test_language(tmp_path, 'c', exp_lang='c')\n\ntests/dumpfile_test.py:50: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c2/test.c.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_c2/test.c.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_language_c_force_c ____________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c_force_c2')\n\n def test_language_c_force_c(tmp_path):\n> __test_language(tmp_path, 'c', force_lang='c', exp_lang='c')\n\ntests/dumpfile_test.py:54: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c_force_c2/test.c.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_c_force_c2/test.c.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_language_c_force_cpp ___________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c_force_cpp2')\n\n def test_language_c_force_cpp(tmp_path):\n> __test_language(tmp_path, 'c', force_lang='c++', exp_lang='cpp')\n\ntests/dumpfile_test.py:58: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c_force_cpp2/test.c.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_c_force_cpp2/test.c.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________________ test_language_cpp _______________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp2')\n\n def test_language_cpp(tmp_path):\n> __test_language(tmp_path, 'cpp', exp_lang='cpp')\n\ntests/dumpfile_test.py:62: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp2/test.cpp.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_cpp2/test.cpp.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________ test_language_cpp_force_cpp __________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp_force_cpp2')\n\n def test_language_cpp_force_cpp(tmp_path):\n> __test_language(tmp_path, 'cpp', force_lang='c++', exp_lang='cpp')\n\ntests/dumpfile_test.py:66: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp_force_cpp2/test.cpp.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_cpp_force_cpp2/test.cpp.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_language_cpp_force_c ___________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp_force_c2')\n\n def test_language_cpp_force_c(tmp_path):\n> __test_language(tmp_path, 'cpp', force_lang='c', exp_lang='c')\n\ntests/dumpfile_test.py:70: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp_force_c2/test.cpp.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_cpp_force_c2/test.cpp.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________________ test_language_h ________________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h2')\n\n def test_language_h(tmp_path):\n> __test_language(tmp_path, 'h', exp_lang='c')\n\ntests/dumpfile_test.py:75: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h2/test.h.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_h2/test.h.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_language_h_force_c ____________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h_force_c2')\n\n def test_language_h_force_c(tmp_path):\n> __test_language(tmp_path, 'h', force_lang='c', exp_lang='c')\n\ntests/dumpfile_test.py:79: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h_force_c2/test.h.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_h_force_c2/test.h.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_language_h_force_cpp ___________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h_force_cpp2')\n\n def test_language_h_force_cpp(tmp_path):\n> __test_language(tmp_path, 'h', force_lang='c++', exp_lang='cpp')\n\ntests/dumpfile_test.py:83: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h_force_cpp2/test.h.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_h_force_cpp2/test.h.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________________ test_language_unk _______________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk2')\n\n def test_language_unk(tmp_path):\n> __test_language(tmp_path, 'src', exp_lang='cpp')\n\ntests/dumpfile_test.py:88: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk2/test.src.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_unk2/test.src.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_language_unk_force_c ___________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk_force_c2')\n\n def test_language_unk_force_c(tmp_path):\n> __test_language(tmp_path, 'src', force_lang='c', exp_lang='c')\n\ntests/dumpfile_test.py:92: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk_force_c2/test.src.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_unk_force_c2/test.src.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________ test_language_unk_force_cpp __________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk_force_cpp2')\n\n def test_language_unk_force_cpp(tmp_path):\n> __test_language(tmp_path, 'src', force_lang='c++', exp_lang='cpp')\n\ntests/dumpfile_test.py:96: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk_force_cpp2/test.src.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_unk_force_cpp2/test.src.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________ test_duplicate_file_entries __________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_duplicate_file_entries2')\n\n def test_duplicate_file_entries(tmpdir): #13333\n test_file = str(tmpdir / 'test.c')\n with open(test_file, 'wt') as f:\n f.write('x=1;\\n')\n \n project_file = str(tmpdir / 'compile_commands.json')\n with open(project_file, 'wt') as f:\n f.write(json.dumps([{\n \"file\": test_file,\n \"directory\": str(tmpdir),\n \"command\": \"cc -c test.c\"\n },{\n \"file\": test_file,\n \"directory\": str(tmpdir),\n \"command\": \"cc -c test.c\"\n }]))\n \n args = ['--project=compile_commands.json', '--dump']\n _, _, _ = cppcheck(args, cwd=str(tmpdir))\n \n> assert os.path.isfile(test_file + '.dump')\nE AssertionError: assert False\nE + where False = (('/tmp/pytest-of-root/pytest-0/test_duplicate_file_entries2/test.c' + '.dump'))\nE + where = .isfile\nE + where = os.path\n\ntests/dumpfile_test.py:119: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________________ test_container_methods ____________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_container_methods2')\n\n def test_container_methods(tmpdir):\n test_file = str(tmpdir / 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write('std::string s;\\n')\n \n exitcode, _, stderr = cppcheck(['--dump', '.'], cwd=str(tmpdir))\n assert exitcode == 0, stderr\n \n dumpfile = test_file + '.dump'\n with open(dumpfile, 'rt') as f:\n dump = f.read()\n> assert '' in dump\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n\ntests/dumpfile_test.py:134: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________________ test_addon_local_path _____________________________\n\n def test_addon_local_path():\n args = [\n '--addon=misra',\n '--enable=style',\n '--template=cppcheck1',\n '.'\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n assert ret == 0, stdout\n> assert stderr == ('[main.c:5]: (error) Division by zero.\\n'\n '[main.c:4]: (style) misra violation (use --rule-texts= to get proper output)\\n')\nE AssertionError: assert '[main.c:5]: ...on by zero.\\n' == '[main.c:5]: ...per output)\\n'\nE \nE [main.c:5]: (error) Division by zero.\nE - [main.c:4]: (style) misra violation (use --rule-texts= to get proper output)\n\ntests/helloworld_test.py:73: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_addon_absolute_path ___________________________\n\n def test_addon_absolute_path():\n args = [\n '--addon=misra',\n '--enable=style',\n '--template=cppcheck1',\n __proj_dir\n ]\n ret, stdout, stderr = cppcheck(args)\n filename = os.path.join(__proj_dir, 'main.c')\n assert ret == 0, stdout\n> assert stderr == ('[%s:5]: (error) Division by zero.\\n'\n '[%s:4]: (style) misra violation (use --rule-texts= to get proper output)\\n' % (filename, filename))\nE AssertionError: assert '[/workspace/...on by zero.\\n' == '[/workspace/...per output)\\n'\nE \nE [/workspace/eval/tests/testdata/helloworld/main.c:5]: (error) Division by zero.\nE - [/workspace/eval/tests/testdata/helloworld/main.c:4]: (style) misra violation (use --rule-texts= to get proper output)\n\ntests/helloworld_test.py:96: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_addon_relative_path ___________________________\n\n def test_addon_relative_path():\n args = [\n '--addon=misra',\n '--enable=style',\n '--template=cppcheck1',\n 'helloworld'\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n filename = os.path.join('helloworld', 'main.c')\n assert ret == 0, stdout\n assert stdout == ('Checking %s ...\\n'\n 'Checking %s: SOME_CONFIG=SOME_CONFIG...\\n' % (filename, filename))\n> assert stderr == ('[%s:5]: (error) Division by zero.\\n'\n '[%s:4]: (style) misra violation (use --rule-texts= to get proper output)\\n' % (filename, filename))\nE AssertionError: assert '[helloworld/...on by zero.\\n' == '[helloworld/...per output)\\n'\nE \nE [helloworld/main.c:5]: (error) Division by zero.\nE - [helloworld/main.c:4]: (style) misra violation (use --rule-texts= to get proper output)\n\ntests/helloworld_test.py:111: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________ test_addon_with_gui_project __________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_with_gui_project2')\n\n def test_addon_with_gui_project(tmp_path):\n shutil.copytree(os.path.join(__script_dir, 'helloworld'), tmp_path / 'helloworld')\n project_file = os.path.join('helloworld', 'test.cppcheck')\n create_gui_project_file(tmp_path / project_file, paths=['.'], addon='misra')\n args = [\n '--template=cppcheck1',\n '--enable=style',\n '--project={}'.format(project_file)\n ]\n ret, stdout, stderr = cppcheck(args, cwd=tmp_path)\n filename = os.path.join('helloworld', 'main.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:125: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_vs_project_local_path __________________________\n\n def test_vs_project_local_path():\n> __test_vs_project_local_path()\n\ntests/helloworld_test.py:166: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = None\nexp_vs_cfg = 'Debug|Win32 Debug|x64 Release|Win32 Release|x64'\n\n def __test_vs_project_local_path(extra_args=None, exp_vs_cfg='Debug|Win32 Debug|x64 Release|Win32 Release|x64'):\n args = [\n '--template=cppcheck1',\n '--project=helloworld.vcxproj'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:161: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________ test_vs_project_local_path_select_one _____________________\n\n def test_vs_project_local_path_select_one():\n> __test_vs_project_local_path(['--project-configuration=Release|Win32'], 'Release|Win32')\n\ntests/helloworld_test.py:169: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--project-configuration=Release|Win32']\nexp_vs_cfg = 'Release|Win32'\n\n def __test_vs_project_local_path(extra_args=None, exp_vs_cfg='Debug|Win32 Debug|x64 Release|Win32 Release|x64'):\n args = [\n '--template=cppcheck1',\n '--project=helloworld.vcxproj'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:161: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________ test_vs_project_local_path_select_one_multiple ________________\n\n def test_vs_project_local_path_select_one_multiple():\n> __test_vs_project_local_path(['--project-configuration=Debug|Win32', '--project-configuration=Release|Win32'], 'Release|Win32')\n\ntests/helloworld_test.py:172: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--project-configuration=Debug|Win32', '--project-configuration=Release|Win32']\nexp_vs_cfg = 'Release|Win32'\n\n def __test_vs_project_local_path(extra_args=None, exp_vs_cfg='Debug|Win32 Debug|x64 Release|Win32 Release|x64'):\n args = [\n '--template=cppcheck1',\n '--project=helloworld.vcxproj'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:161: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________ test_vs_project_local_path_no_analyze_all ___________________\n\n def test_vs_project_local_path_no_analyze_all():\n> __test_vs_project_local_path(['--no-analyze-all-vs-configs'], 'Debug|Win32')\n\ntests/helloworld_test.py:175: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--no-analyze-all-vs-configs'], exp_vs_cfg = 'Debug|Win32'\n\n def __test_vs_project_local_path(extra_args=None, exp_vs_cfg='Debug|Win32 Debug|x64 Release|Win32 Release|x64'):\n args = [\n '--template=cppcheck1',\n '--project=helloworld.vcxproj'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:161: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_vs_project_relative_path _________________________\n\n def test_vs_project_relative_path():\n args = [\n '--template=cppcheck1',\n '--project=' + os.path.join(__proj_dir, 'helloworld.vcxproj')\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n filename = os.path.join(__proj_dir, 'main.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/workspace/eval/tests/testdata/helloworld/helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:184: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_vs_project_absolute_path _________________________\n\n def test_vs_project_absolute_path():\n args = [\n '--template=cppcheck1',\n '--project=' + os.path.join(__proj_dir, 'helloworld.vcxproj')\n ]\n ret, stdout, stderr = cppcheck(args)\n filename = os.path.join(__proj_dir, 'main.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/workspace/eval/tests/testdata/helloworld/helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:195: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________ test_cppcheck_project_local_path _______________________\n\n def test_cppcheck_project_local_path():\n> __test_cppcheck_project_local_path()\n\ntests/helloworld_test.py:213: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = None, exp_vs_cfg = 'Debug|x64'\n\n def __test_cppcheck_project_local_path(extra_args=None, exp_vs_cfg='Debug|x64'):\n args = [\n '--template=cppcheck1',\n '--platform=win64',\n '--project=helloworld.cppcheck'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:208: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________ test_cppcheck_project_local_path_analyze_all _________________\n\n def test_cppcheck_project_local_path_analyze_all():\n> __test_cppcheck_project_local_path(['--analyze-all-vs-configs'], 'Debug|Win32 Debug|x64 Release|Win32 Release|x64')\n\ntests/helloworld_test.py:224: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--analyze-all-vs-configs']\nexp_vs_cfg = 'Debug|Win32 Debug|x64 Release|Win32 Release|x64'\n\n def __test_cppcheck_project_local_path(extra_args=None, exp_vs_cfg='Debug|x64'):\n args = [\n '--template=cppcheck1',\n '--platform=win64',\n '--project=helloworld.cppcheck'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:208: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________ test_cppcheck_project_relative_path ______________________\n\n def test_cppcheck_project_relative_path():\n args = [\n '--template=cppcheck1',\n '--platform=win64',\n '--project=' + os.path.join('helloworld', 'helloworld.cppcheck')\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n filename = os.path.join('helloworld', 'main.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld/helloworld.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:234: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________ test_cppcheck_project_absolute_path ______________________\n\n def test_cppcheck_project_absolute_path():\n args = [\n '--template=cppcheck1',\n '--platform=win64',\n '--project=' + os.path.join(__proj_dir, 'helloworld.cppcheck')\n ]\n ret, stdout, stderr = cppcheck(args)\n filename = os.path.join(__proj_dir, 'main.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/workspace/eval/tests/testdata/helloworld/helloworld.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:246: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_suppress_project_relative ________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_project_relative2')\n\n def test_suppress_project_relative(tmp_path):\n shutil.copytree(os.path.join(__script_dir, 'helloworld'), tmp_path / 'helloworld')\n project_file = os.path.join('helloworld', 'test.cppcheck')\n create_gui_project_file(tmp_path / project_file,\n paths=['.'],\n suppressions=[{'fileName':'main.c', 'id':'zerodiv'}])\n \n args = [\n '--project={}'.format(project_file)\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=tmp_path)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:280: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_suppress_project_absolute ________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_project_absolute2')\n\n def test_suppress_project_absolute(tmp_path):\n shutil.copytree(os.path.join(__script_dir, 'helloworld'), tmp_path / 'helloworld')\n project_file = tmp_path / 'helloworld' / 'test.cppcheck'\n create_gui_project_file(project_file,\n paths=['.'],\n suppressions=[{'fileName':'main.c', 'id':'zerodiv'}])\n \n args = [\n '--project={}'.format(project_file)\n ]\n \n ret, stdout, stderr = cppcheck(args)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_project_absolute2/helloworld/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:296: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________________ test_exclude _________________________________\n\n def test_exclude():\n args = [\n '-i' + 'helloworld',\n '--platform=win64',\n '--project=' + os.path.join('helloworld', 'helloworld.cppcheck')\n ]\n ret, stdout, _ = cppcheck(args, cwd=__script_dir)\n assert ret == 1\n lines = stdout.splitlines()\n> assert lines == [\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project 'helloworld/helloworld.cppcheck'. Project files are not supported.\" != 'cppcheck: error: no C or C++ source files found.'\nE Right contains one more item: 'cppcheck: all paths were ignored'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: no C or C++ source files found.',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/helloworld_test.py:308: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________________ test_checkers_report _____________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkers_report2')\n\n def test_checkers_report(tmpdir):\n filename = os.path.join(tmpdir, '1.txt')\n args = [\n f'--checkers-report={filename}',\n '--no-cppcheck-build-dir', # TODO: remove this\n 'helloworld'\n ]\n \n cppcheck(args, cwd=__script_dir)\n \n> with open(filename, 'rt') as f:\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_checkers_report2/1.txt'\n\ntests/helloworld_test.py:339: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________________________ test_1 ____________________________________\n\n def test_1():\n args = [\n '-q',\n '--template=simple',\n '--inline-suppr',\n 'proj-inline-suppress'\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n> assert stderr == ''\nE AssertionError: assert 'proj-inline-.... [zerodiv]\\n' == ''\nE \nE + proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]\n\ntests/inline_suppress_test.py:39: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________________ test_xml ___________________________________\n\n def test_xml():\n args = [\n '-q',\n '--template=simple',\n '--inline-suppr',\n '--xml-version=3',\n 'proj-inline-suppress'\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n> assert '' in stderr\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n\ntests/inline_suppress_test.py:68: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________ test_backwards_compatibility _________________________\n\n def test_backwards_compatibility():\n args = [\n '-q',\n '--template=simple',\n '{}3.cpp'.format(__proj_inline_suppres_path)\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == [\n '{}3.cpp:4:19: error: Division by zero. [zerodiv]'.format(__proj_inline_suppres_path)\n ]\n assert stdout == ''\n assert ret == 0, stdout\n \n args = [\n '-q',\n '--template=simple',\n '--inline-suppr',\n '{}3.cpp'.format(__proj_inline_suppres_path)\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['proj-inline...o. [zerodiv]'] == []\nE \nE Left contains one more item: 'proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]'\nE \nE Full diff:\nE - []\nE + [\nE + 'proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]',\nE + ]\n\ntests/inline_suppress_test.py:131: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n____________________ test_compile_commands_unused_function _____________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_compile_commands_unused_f2')\n\n def test_compile_commands_unused_function(tmpdir):\n> __test_compile_commands_unused_function(tmpdir, False)\n\ntests/inline_suppress_test.py:160: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_compile_commands_unused_f2')\nuse_j = False\n\n def __test_compile_commands_unused_function(tmpdir, use_j):\n compdb_file = __create_unused_function_compile_commands(tmpdir)\n args = [\n '-q',\n '--template=simple',\n '--enable=all',\n '--error-exitcode=1',\n '--project={}'.format(compdb_file)\n ]\n if use_j:\n args.append('-j2')\n else:\n args.append('-j1')\n ret, stdout, stderr = cppcheck(args)\n proj_path_sep = os.path.join(__script_dir, 'proj-inline-suppress-unusedFunction') + os.path.sep\n lines = stderr.splitlines()\n> assert lines == [\n \"{}B.cpp:6:9: style: The function 'unusedFunctionTest' is never used. [unusedFunction]\".format(proj_path_sep)\n ]\nE assert [] == ['/workspace/...sedFunction]']\nE \nE Right contains one more item: \"/workspace/eval/tests/testdata/proj-inline-suppress-unusedFunction/B.cpp:6:9: style: The function 'unusedFunctionTest' is never used. [unusedFunction]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/workspace/eval/tests/testdata/proj-inline-suppress-unusedFunction/B.cpp:6:9: '\nE - \"style: The function 'unusedFunctionTest' is never used. [unusedFunction]\",\nE - ]\n\ntests/inline_suppress_test.py:152: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________ test_compile_commands_unused_function_suppression _______________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_compile_commands_unused_f5')\n\n def test_compile_commands_unused_function_suppression(tmpdir):\n> __test_compile_commands_unused_function_suppression(tmpdir, False)\n\ntests/inline_suppress_test.py:190: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_compile_commands_unused_f5')\nuse_j = False\n\n def __test_compile_commands_unused_function_suppression(tmpdir, use_j):\n compdb_file = __create_unused_function_compile_commands(tmpdir)\n args = [\n '-q',\n '--template=simple',\n '--enable=all',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compdb_file)\n ]\n if use_j:\n args.append('-j2')\n else:\n args.append('-j1')\n ret, stdout, stderr = cppcheck(args)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er... supported.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_compile_commands_unused_f5/proj-inline-suppress-unusedFunction/compile_commands.json'. Project files are not supported.\n\ntests/inline_suppress_test.py:185: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________ test_build_dir_jobs_suppressions _______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_build_dir_jobs_suppressio2')\n\n def test_build_dir_jobs_suppressions(tmpdir): #14064\n args = [\n '-q',\n '--template=simple',\n '--cppcheck-build-dir={}'.format(tmpdir),\n '--enable=style',\n '--inline-suppr',\n '-j4',\n 'reanalysis'\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n assert stdout == ''\n assert ret == 0, stdout\n \n a1Path = os.path.join(tmpdir, 'd.a1')\n> assert os.path.exists(a1Path)\nE AssertionError: assert False\nE + where False = ('/tmp/pytest-of-root/pytest-0/test_build_dir_jobs_suppressio2/d.a1')\nE + where = .exists\nE + where = os.path\n\ntests/inline_suppress_test.py:269: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_build_dir_unused_template ________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_build_dir_unused_template2')\n\n def test_build_dir_unused_template(tmpdir):\n> __test_build_dir_unused_template(tmpdir, ['-j1', '--no-cppcheck-build-dir'])\n\ntests/inline_suppress_test.py:301: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_build_dir_unused_template2')\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_build_dir_unused_template(tmpdir, extra_args):\n args = [\n '-q',\n '--template=simple',\n '--cppcheck-build-dir={}'.format(tmpdir),\n '--enable=all',\n '--inline-suppr',\n '{}template.cpp'.format(__proj_inline_suppres_path)\n ]\n \n args = args + extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE assert 'cppcheck: er...build-dir\".\\n' == ''\nE \nE + cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\n\ntests/inline_suppress_test.py:296: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_unused_function_unmatched ________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_function_unmatched2')\n\n def test_unused_function_unmatched(tmpdir):\n> __test_unused_function_unmatched(tmpdir, ['-j1', '--no-cppcheck-build-dir'])\n\ntests/inline_suppress_test.py:442: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_function_unmatched2')\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_unused_function_unmatched(tmpdir, extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=all',\n '--inline-suppr',\n 'proj-inline-suppress/unusedFunctionUnmatched.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n lines.sort()\n> assert lines == [\n '{}unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'.format(__proj_inline_suppres_path),\n '{}unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: unusedFunction [unmatchedSuppression]'.format(__proj_inline_suppres_path)\n ]\nE AssertionError: assert [] == ['proj-inline...Suppression]']\nE \nE Right contains 2 more items, first extra item: 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/inline_suppress_test.py:433: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________ test_unused_function_disabled_unmatched_j ___________________\n\n def test_unused_function_disabled_unmatched_j():\n args = [\n '-q',\n '--template=simple',\n '--enable=warning,information',\n '--inline-suppr',\n '-j2',\n '--no-cppcheck-build-dir',\n 'proj-inline-suppress/unusedFunctionUnmatched.cpp'\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n> assert stderr.splitlines() == [\n '{}unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'.format(__proj_inline_suppres_path)\n ]\nE AssertionError: assert [] == ['proj-inline...Suppression]']\nE \nE Right contains one more item: 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: '\nE - 'Unmatched suppression: uninitvar [unmatchedSuppression]',\nE - ]\n\ntests/inline_suppress_test.py:520: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_misra_disabled_unmatched _________________________\n\n def test_misra_disabled_unmatched(): #14232\n args = [\n '-q',\n '--template=simple',\n '--enable=warning,information',\n '--inline-suppr',\n 'proj-inline-suppress/misraUnmatched.c'\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n> assert stderr.splitlines() == [\n '{}misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'.format(__proj_inline_suppres_path)\n ]\nE AssertionError: assert ['proj-inline...Suppression]'] == ['proj-inline...Suppression]']\nE \nE At index 0 diff: 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: misra-c2012-20.5 [unmatchedSuppression]' != 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/inline_suppress_test.py:538: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________ test_premium_disabled_unmatched ________________________\n\n def test_premium_disabled_unmatched(): #13663\n args = [\n '-q',\n '--template=simple',\n '--enable=warning,information',\n '--inline-suppr',\n 'proj-inline-suppress/premiumUnmatched.cpp'\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n> assert stderr.splitlines() == [\n '{}premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'.format(__proj_inline_suppres_path)\n ]\nE AssertionError: assert ['proj-inline...Suppression]'] == ['proj-inline...Suppression]']\nE \nE At index 0 diff: 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: premium-misra-cpp-2023-12.2.1 [unmatchedSuppression]' != 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/inline_suppress_test.py:556: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_lib_lookup_notfound ___________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_notfound2')\n\n def test_lib_lookup_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=library', '--library=none', test_file])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout\n lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n> assert lines == [\n # TODO: specify which folder is actually used for lookup here\n \"looking for library 'none.cfg'\",\n \"looking for library '{}/none.cfg'\".format(exepath),\n \"looking for library '{}/cfg/none.cfg'\".format(exepath),\n \"library not found: 'none'\",\n \"cppcheck: Failed to load library configuration file 'none'. File not found\"\n ]\nE assert [\"looking for...le not found'] == [\"looking for...le not found']\nE \nE At index 3 diff: \"looking for library '/usr/local/share/Cppcheck/cfg/none.cfg'\" != \"library not found: 'none'\"\nE Left contains one more item: \"cppcheck: Failed to load library configuration file 'none'. File not found\"\nE \nE Full diff:\nE [\nE \"looking for library 'none.cfg'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:107: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________ test_lib_lookup_notfound_project _______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_notfound_proje2')\n\n def test_lib_lookup_notfound_project(tmpdir): # #13938\n project_file, _ = __create_gui_project(tmpdir)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=library', '--library=none', '--project={}'.format(project_file)])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout\n> lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n\ntests/lookup_test.py:125: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nl = [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_lib_lookup_notfound_proje2/project.cppcheck'. Project files are not supported.\"]\nexepath = '/workspace'\n\n def __remove_std_lookup_log(l : list, exepath):\n> l.remove(\"looking for library 'std.cfg'\")\nE ValueError: list.remove(x): x not in list\n\ntests/lookup_test.py:10: ValueError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________ test_lib_lookup_notfound_compdb ________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_notfound_compd2')\n\n def test_lib_lookup_notfound_compdb(tmpdir):\n compdb_file, _ = __create_compdb(tmpdir)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=library', '--library=none', '--project={}'.format(compdb_file)])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout\n> lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n\ntests/lookup_test.py:145: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nl = [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_lib_lookup_notfound_compd2/compile_commands.json'. Project files are not supported.\"]\nexepath = '/workspace'\n\n def __remove_std_lookup_log(l : list, exepath):\n> l.remove(\"looking for library 'std.cfg'\")\nE ValueError: list.remove(x): x not in list\n\ntests/lookup_test.py:10: ValueError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________ test_lib_lookup_ext_notfound _________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_ext_notfound2')\n\n def test_lib_lookup_ext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=library', '--library=none.cfg', test_file])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n> assert lines == [\n \"looking for library 'none.cfg'\",\n \"looking for library '{}/none.cfg'\".format(exepath),\n \"looking for library '{}/cfg/none.cfg'\".format(exepath),\n \"library not found: 'none.cfg'\",\n \"cppcheck: Failed to load library configuration file 'none.cfg'. File not found\"\n ]\nE assert [\"looking for...le not found'] == [\"looking for...le not found']\nE \nE At index 3 diff: \"looking for library '/usr/local/share/Cppcheck/cfg/none.cfg'\" != \"library not found: 'none.cfg'\"\nE Left contains one more item: \"cppcheck: Failed to load library configuration file 'none.cfg'. File not found\"\nE \nE Full diff:\nE [\nE \"looking for library 'none.cfg'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:167: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________ test_lib_lookup_relative_notfound _______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_relative_notfo2')\n\n def test_lib_lookup_relative_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=library', '--library=config/gnu.xml', test_file])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n> assert lines == [\n \"looking for library 'config/gnu.xml'\",\n \"looking for library '{}/config/gnu.xml'\".format(exepath),\n \"looking for library '{}/cfg/config/gnu.xml'\".format(exepath),\n \"library not found: 'config/gnu.xml'\",\n \"cppcheck: Failed to load library configuration file 'config/gnu.xml'. File not found\"\n ]\nE assert [\"looking for...le not found'] == [\"looking for...le not found']\nE \nE At index 3 diff: \"looking for library '/usr/local/share/Cppcheck/cfg/config/gnu.xml'\" != \"library not found: 'config/gnu.xml'\"\nE Left contains one more item: \"cppcheck: Failed to load library configuration file 'config/gnu.xml'. File not found\"\nE \nE Full diff:\nE [\nE \"looking for library 'config/gnu.xml'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:187: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________ test_lib_lookup_relative_noext_notfound ____________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_relative_noext2')\n\n def test_lib_lookup_relative_noext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=library', '--library=config/gnu', test_file])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n> assert lines == [\n \"looking for library 'config/gnu.cfg'\",\n \"looking for library '{}/config/gnu.cfg'\".format(exepath),\n \"looking for library '{}/cfg/config/gnu.cfg'\".format(exepath),\n \"library not found: 'config/gnu'\",\n \"cppcheck: Failed to load library configuration file 'config/gnu'. File not found\"\n ]\nE assert [\"looking for...le not found'] == [\"looking for...le not found']\nE \nE At index 3 diff: \"looking for library '/usr/local/share/Cppcheck/cfg/config/gnu.cfg'\" != \"library not found: 'config/gnu'\"\nE Left contains one more item: \"cppcheck: Failed to load library configuration file 'config/gnu'. File not found\"\nE \nE Full diff:\nE [\nE \"looking for library 'config/gnu.cfg'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:207: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_lib_lookup_invalid ____________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_invalid2')\n\n def test_lib_lookup_invalid(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n gnu_cfg_file = os.path.join(tmpdir, 'gnu.cfg')\n with open(gnu_cfg_file, 'wt') as f:\n f.write('''{}''')\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=library', '--library=gnu', test_file], cwd=tmpdir)\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n> assert lines == [\n \"looking for library 'gnu.cfg'\",\n \"library not found: 'gnu'\",\n \"Error=XML_ERROR_PARSING_TEXT ErrorID=8 (0x8) Line number=1\", # TODO: log the failure before saying the library was not found\n \"cppcheck: Failed to load library configuration file 'gnu'. Bad XML\"\n ]\nE assert [\"looking for...nu'. Bad XML\"] == [\"looking for...nu'. Bad XML\"]\nE \nE At index 1 diff: 'Error=XML_ERROR_PARSING_TEXT ErrorID=8 (0x8) Line number=1' != \"library not found: 'gnu'\"\nE Right contains one more item: \"cppcheck: Failed to load library configuration file 'gnu'. Bad XML\"\nE \nE Full diff:\nE [\nE \"looking for library 'gnu.cfg'\",...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:300: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_platform_lookup_path ___________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_path2')\n\n def test_platform_lookup_path(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n cppcheck = 'cppcheck' # No path\n path = os.path.dirname(__lookup_cppcheck_exe())\n env = os.environ.copy()\n env['PATH'] = path\n> exitcode, stdout, stderr, _ = cppcheck_ex(args=['--debug-lookup=platform', '--platform=avr8.xml', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n\ntests/lookup_test.py:393: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/testutils.py:134: in cppcheck_ex\n return_code, stdout, stderr = __run_subprocess([exe] + args, env=env, cwd=cwd, timeout=timeout)\ntests/testutils.py:84: in __run_subprocess\n p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env, cwd=cwd)\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \nargs = ['cppcheck', '--debug-lookup=platform', '--platform=avr8.xml', '/tmp/pytest-of-root/pytest-0/test_platform_lookup_path2/test.c']\nexecutable = b'cppcheck', preexec_fn = None, close_fds = True, pass_fds = ()\ncwd = '/tmp/pytest-of-root/pytest-0/test_platform_lookup_path2'\nenv = {'CARGO_HOME': '/usr/local/cargo', 'DEBIAN_FRONTEND': 'noninteractive', 'GOMODCACHE': '/usr/local/go/mod-cache', 'HOME': '/root', ...}\nstartupinfo = None, creationflags = 0, shell = False, p2cread = -1\np2cwrite = -1, c2pread = 13, c2pwrite = 14, errread = 15, errwrite = 16\nrestore_signals = True, gid = None, gids = None, uid = None, umask = -1\nstart_new_session = False\n\n def _execute_child(self, args, executable, preexec_fn, close_fds,\n pass_fds, cwd, env,\n startupinfo, creationflags, shell,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite,\n restore_signals,\n gid, gids, uid, umask,\n start_new_session):\n \"\"\"Execute program (POSIX version)\"\"\"\n \n if isinstance(args, (str, bytes)):\n args = [args]\n elif isinstance(args, os.PathLike):\n if shell:\n raise TypeError('path-like args is not allowed when '\n 'shell is true')\n args = [args]\n else:\n args = list(args)\n \n if shell:\n # On Android the default shell is at '/system/bin/sh'.\n unix_shell = ('/system/bin/sh' if\n hasattr(sys, 'getandroidapilevel') else '/bin/sh')\n args = [unix_shell, \"-c\"] + args\n if executable:\n args[0] = executable\n \n if executable is None:\n executable = args[0]\n \n sys.audit(\"subprocess.Popen\", executable, args, cwd, env)\n \n if (_USE_POSIX_SPAWN\n and os.path.dirname(executable)\n and preexec_fn is None\n and not close_fds\n and not pass_fds\n and cwd is None\n and (p2cread == -1 or p2cread > 2)\n and (c2pwrite == -1 or c2pwrite > 2)\n and (errwrite == -1 or errwrite > 2)\n and not start_new_session\n and gid is None\n and gids is None\n and uid is None\n and umask < 0):\n self._posix_spawn(args, executable, env, restore_signals,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n return\n \n orig_executable = executable\n \n # For transferring possible exec failure from child to parent.\n # Data format: \"exception name:hex errno:description\"\n # Pickle is not used; it is complex and involves memory allocation.\n errpipe_read, errpipe_write = os.pipe()\n # errpipe_write must not be in the standard io 0, 1, or 2 fd range.\n low_fds_to_close = []\n while errpipe_write < 3:\n low_fds_to_close.append(errpipe_write)\n errpipe_write = os.dup(errpipe_write)\n for low_fd in low_fds_to_close:\n os.close(low_fd)\n try:\n try:\n # We must avoid complex work that could involve\n # malloc or free in the child process to avoid\n # potential deadlocks, thus we do all this here.\n # and pass it to fork_exec()\n \n if env is not None:\n env_list = []\n for k, v in env.items():\n k = os.fsencode(k)\n if b'=' in k:\n raise ValueError(\"illegal environment variable name\")\n env_list.append(k + b'=' + os.fsencode(v))\n else:\n env_list = None # Use execv instead of execve.\n executable = os.fsencode(executable)\n if os.path.dirname(executable):\n executable_list = (executable,)\n else:\n # This matches the behavior of os._execvpe().\n executable_list = tuple(\n os.path.join(os.fsencode(dir), executable)\n for dir in os.get_exec_path(env))\n fds_to_keep = set(pass_fds)\n fds_to_keep.add(errpipe_write)\n self.pid = _posixsubprocess.fork_exec(\n args, executable_list,\n close_fds, tuple(sorted(map(int, fds_to_keep))),\n cwd, env_list,\n p2cread, p2cwrite, c2pread, c2pwrite,\n errread, errwrite,\n errpipe_read, errpipe_write,\n restore_signals, start_new_session,\n gid, gids, uid, umask,\n preexec_fn)\n self._child_created = True\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_write)\n \n self._close_pipe_fds(p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n \n # Wait for exec to fail or succeed; possibly raising an\n # exception (limited in size)\n errpipe_data = bytearray()\n while True:\n part = os.read(errpipe_read, 50000)\n errpipe_data += part\n if not part or len(errpipe_data) > 50000:\n break\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_read)\n \n if errpipe_data:\n try:\n pid, sts = os.waitpid(self.pid, 0)\n if pid == self.pid:\n self._handle_exitstatus(sts)\n else:\n self.returncode = sys.maxsize\n except ChildProcessError:\n pass\n \n try:\n exception_name, hex_errno, err_msg = (\n errpipe_data.split(b':', 2))\n # The encoding here should match the encoding\n # written in by the subprocess implementations\n # like _posixsubprocess\n err_msg = err_msg.decode()\n except ValueError:\n exception_name = b'SubprocessError'\n hex_errno = b'0'\n err_msg = 'Bad exception data from child: {!r}'.format(\n bytes(errpipe_data))\n child_exception_type = getattr(\n builtins, exception_name.decode('ascii'),\n SubprocessError)\n if issubclass(child_exception_type, OSError) and hex_errno:\n errno_num = int(hex_errno, 16)\n child_exec_never_called = (err_msg == \"noexec\")\n if child_exec_never_called:\n err_msg = \"\"\n # The error must be from chdir(cwd).\n err_filename = cwd\n else:\n err_filename = orig_executable\n if errno_num != 0:\n err_msg = os.strerror(errno_num)\n> raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'\n\n/usr/lib/python3.10/subprocess.py:1863: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_platform_lookup_notfound _________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_notfound2')\n\n def test_platform_lookup_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=none', test_file])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'none'\",\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'none'.\"\n ]\nE assert [\"looking for...one.xml', ...] == [\"looking for...orm: 'none'.\"]\nE \nE At index 5 diff: \"try to load platform file '/usr/local/share/Cppcheck/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/none.xml\" != \"cppcheck: error: unrecognized platform: 'none'.\"\nE Left contains one more item: \"cppcheck: error: unrecognized platform: 'none'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'none'\",...\nE \nE ...Full output truncated (17 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:427: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________ test_platform_lookup_notfound_project _____________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_notfound_2')\n\n def test_platform_lookup_notfound_project(tmpdir): # #13939\n project_file, _ = __create_gui_project(tmpdir)\n project_path = os.path.dirname(project_file)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=none', '--project={}'.format(project_file)])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n project_path = project_path.replace('\\\\', '/')\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'none'\",\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(project_path, project_path),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(project_path, project_path),\n # TODO: the following lookups are in CWD - is this intended?\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'none'.\"\n ]\nE assert [\"looking for...one.xml', ...] == [\"looking for...one.xml', ...]\nE \nE At index 1 diff: \"try to load platform file '/workspace/eval/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/none.xml\" != \"try to load platform file '/tmp/pytest-of-root/pytest-0/test_platform_lookup_notfound_2/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/test_platform_lookup_notfound_2/none.xml\"\nE Right contains one more item: \"cppcheck: error: unrecognized platform: 'none'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'none'\",...\nE \nE ...Full output truncated (25 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:452: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________ test_platform_lookup_notfound_compdb _____________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_notfound_5')\n\n def test_platform_lookup_notfound_compdb(tmpdir):\n compdb_file, _ = __create_compdb(tmpdir)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=none', '--project={}'.format(compdb_file)])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'none'\",\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'none'.\"\n ]\nE assert [\"looking for...one.xml', ...] == [\"looking for...orm: 'none'.\"]\nE \nE At index 5 diff: \"try to load platform file '/usr/local/share/Cppcheck/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/none.xml\" != \"cppcheck: error: unrecognized platform: 'none'.\"\nE Left contains one more item: \"cppcheck: error: unrecognized platform: 'none'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'none'\",...\nE \nE ...Full output truncated (17 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:476: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________ test_platform_lookup_ext_notfound _______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_ext_notfo2')\n\n def test_platform_lookup_ext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=none.xml', test_file])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'none.xml'\",\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'none.xml'.\"\n ]\nE assert [\"looking for...xml.xml', ...] == [\"looking for... 'none.xml'.\"]\nE \nE At index 1 diff: \"try to load platform file '/workspace/eval/none.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/none.xml.xml\" != \"try to load platform file '/workspace/eval/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/none.xml\"\nE Left contains one more item: \"cppcheck: error: unrecognized platform: 'none.xml'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'none.xml'\",...\nE \nE ...Full output truncated (34 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:499: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________ test_platform_lookup_relative_notfound ____________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_relative_2')\n\n def test_platform_lookup_relative_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=platform/none.xml', test_file])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'platform/none.xml'\",\n \"try to load platform file '{}/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platform/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/platform/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platform/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/platform/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'platform/none.xml'.\"\n ]\nE assert [\"looking for...xml.xml', ...] == [\"looking for...m/none.xml'.\"]\nE \nE At index 1 diff: \"try to load platform file '/workspace/eval/platform/none.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platform/none.xml.xml\" != \"try to load platform file '/workspace/eval/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platform/none.xml\"\nE Left contains one more item: \"cppcheck: error: unrecognized platform: 'platform/none.xml'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'platform/none.xml'\",...\nE \nE ...Full output truncated (36 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:522: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________ test_platform_lookup_relative_noext_notfound _________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_relative_5')\n\n def test_platform_lookup_relative_noext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=platform/none', test_file])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'platform/none'\",\n \"try to load platform file '{}/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platform/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/platform/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platform/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/platform/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'platform/none'.\"\n ]\nE assert [\"looking for...one.xml', ...] == [\"looking for...tform/none'.\"]\nE \nE At index 5 diff: \"try to load platform file '/usr/local/share/Cppcheck/platforms/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/platform/none.xml\" != \"cppcheck: error: unrecognized platform: 'platform/none'.\"\nE Left contains one more item: \"cppcheck: error: unrecognized platform: 'platform/none'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'platform/none'\",...\nE \nE ...Full output truncated (18 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:545: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_platform_lookup_absolute _________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2')\n\n def test_platform_lookup_absolute(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n platform_file = os.path.join(tmpdir, 'test.xml')\n with open(platform_file, 'wt') as f:\n f.write('''\n \n ''')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=platform', '--platform={}'.format(platform_file), test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: looking for platform '/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml'\nE try to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\nE cppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml'.\nE \nE assert 1 == 0\n\ntests/lookup_test.py:567: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________ test_platform_lookup_absolute_notfound ____________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2')\n\n def test_platform_lookup_absolute_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n platform_file = os.path.join(tmpdir, 'test.xml')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=platform', '--platform={}'.format(platform_file), test_file])\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform '{}'\".format(platform_file),\n \"try to load platform file '{}' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}\".format(platform_file, platform_file),\n \"cppcheck: error: unrecognized platform: '{}'.\".format(platform_file)\n ]\nE assert [\"looking for...xml.xml', ...] == [\"looking for...2/test.xml'.\"]\nE \nE At index 1 diff: \"try to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2/test.xml.xml\" != \"try to load platform file '/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2/test.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2/test.xml\"\nE Left contains 4 more items,...\nE \nE ...Full output truncated (33 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:586: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________ test_platform_lookup_invalid _________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_invalid2')\n\n def test_platform_lookup_invalid(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n avr8_file = os.path.join(tmpdir, 'avr8.xml')\n with open(avr8_file, 'wt') as f:\n f.write('''{}''')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=platform', '--platform=avr8', test_file], cwd=tmpdir)\n cwd = str(tmpdir)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'avr8'\",\n \"try to load platform file '{}/avr8.xml' ... Error=XML_ERROR_PARSING_TEXT ErrorID=8 (0x8) Line number=1\".format(cwd),\n \"cppcheck: error: unrecognized platform: 'avr8'.\"\n ]\nE assert [\"looking for...vr8.xml', ...] == [\"looking for...orm: 'avr8'.\"]\nE \nE At index 1 diff: \"try to load platform file '/tmp/pytest-of-root/pytest-0/test_platform_lookup_invalid2/avr8.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/test_platform_lookup_invalid2/avr8.xml\" != \"try to load platform file '/tmp/pytest-of-root/pytest-0/test_platform_lookup_invalid2/avr8.xml' ... Error=XML_ERROR_PARSING_TEXT ErrorID=8 (0x8) Line number=1\"\nE Left contains 4 more items, first extra item: \"try to load platform file '/workspace/avr8.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line numb...\nE \nE ...Full output truncated (27 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:632: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________________ test_addon_lookup _______________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup2')\n\n def test_addon_lookup(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=misra', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'misra.py'\",\n \"looking for addon '{}misra.py'\".format(exepath_sep),\n \"looking for addon '{}addons/misra.py'\".format(exepath_sep), # TODO: mixed separators\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/misra.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup2/test.c ...'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'misra.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:649: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________________ test_addon_lookup_ext _____________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_ext2')\n\n def test_addon_lookup_ext(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=misra.py', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'misra.py'\",\n \"looking for addon '{}misra.py'\".format(exepath_sep),\n \"looking for addon '{}addons/misra.py'\".format(exepath_sep), # TODO: mixed separators\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/misra.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup_ext2/test.c ...'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'misra.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:667: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_addon_lookup_notfound __________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_notfound2')\n\n def test_addon_lookup_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=none', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'none.py'\",\n \"looking for addon '{}none.py'\".format(exepath_sep),\n \"looking for addon '{}addons/none.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon none.py'\n ]\nE assert [\"looking for...ddon none.py'] == [\"looking for...ddon none.py']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/none.py'\" != 'Did not find addon none.py'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/none.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'none.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:685: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________ test_addon_lookup_notfound_project ______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_notfound_pro2')\n\n def test_addon_lookup_notfound_project(tmpdir): # #13940 / #13941\n project_file, _ = __create_gui_project(tmpdir)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=none', '--project={}'.format(project_file)])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n # TODO: needs to look relative to the project file first\n \"looking for addon 'none.py'\",\n \"looking for addon '{}none.py'\".format(exepath_sep),\n \"looking for addon '{}addons/none.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon none.py'\n ]\nE assert ['cppcheck: e...t supported.'] == [\"looking for...ddon none.py']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_addon_lookup_notfound_pro2/project.cppcheck'. Project files are not supported.\" != \"looking for addon 'none.py'\"\nE Right contains 3 more items, first extra item: \"looking for addon '/workspace/none.py'\"\nE \nE Full diff:\nE [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:701: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________ test_addon_lookup_notfound_compdb _______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_notfound_com2')\n\n def test_addon_lookup_notfound_compdb(tmpdir):\n compdb_file, _ = __create_compdb(tmpdir)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=none', '--project={}'.format(compdb_file)])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'none.py'\",\n \"looking for addon '{}none.py'\".format(exepath_sep),\n \"looking for addon '{}addons/none.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon none.py'\n ]\nE assert ['cppcheck: e...t supported.'] == [\"looking for...ddon none.py']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_addon_lookup_notfound_com2/compile_commands.json'. Project files are not supported.\" != \"looking for addon 'none.py'\"\nE Right contains 3 more items, first extra item: \"looking for addon '/workspace/none.py'\"\nE \nE Full diff:\nE [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:718: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_addon_lookup_ext_notfound ________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_ext_notfound2')\n\n def test_addon_lookup_ext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=none.py', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'none.py'\",\n \"looking for addon '{}none.py'\".format(exepath_sep),\n \"looking for addon '{}addons/none.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon none.py'\n ]\nE assert [\"looking for...ddon none.py'] == [\"looking for...ddon none.py']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/none.py'\" != 'Did not find addon none.py'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/none.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'none.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:736: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________ test_addon_lookup_relative_notfound ______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_relative_not2')\n\n def test_addon_lookup_relative_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=addon/misra.py', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'addon/misra.py'\",\n \"looking for addon '{}addon/misra.py'\".format(exepath_sep),\n \"looking for addon '{}addons/addon/misra.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon addon/misra.py'\n ]\nE assert [\"looking for...don/misra.py'] == [\"looking for...don/misra.py']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/addon/misra.py'\" != 'Did not find addon addon/misra.py'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/addon/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'addon/misra.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:754: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________ test_addon_lookup_relative_noext_notfound ___________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_relative_noe2')\n\n def test_addon_lookup_relative_noext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=addon/misra', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'addon/misra.py'\",\n \"looking for addon '{}addon/misra.py'\".format(exepath_sep),\n \"looking for addon '{}addons/addon/misra.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon addon/misra.py'\n ]\nE assert [\"looking for...don/misra.py'] == [\"looking for...don/misra.py']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/addon/misra.py'\" != 'Did not find addon addon/misra.py'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/addon/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'addon/misra.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:772: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_addon_lookup_absolute __________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute2')\n\n def test_addon_lookup_absolute(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n addon_file = os.path.join(tmpdir, 'test.py')\n with open(addon_file, 'wt') as f:\n f.write('''''')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=addon', '--addon={}'.format(addon_file), test_file])\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon '{}'\".format(addon_file),\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 1 diff: \"looking for addon '/workspace//tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute2/test.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute2/test.c ...'\nE Left contains 4 more items, first extra item: \"looking for addon '/workspace/addons//tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute2/test.py'\"\nE \nE Full diff:\nE [\nE 'looking for addon '...\nE \nE ...Full output truncated (12 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:792: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________ test_addon_lookup_absolute_notfound ______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute_not2')\n\n def test_addon_lookup_absolute_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n addon_file = os.path.join(tmpdir, 'test.py')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=addon', '--addon={}'.format(addon_file), test_file])\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon '{}'\".format(addon_file),\n 'Did not find addon {}'.format(addon_file)\n ]\nE assert [\"looking for...not2/test.py'] == [\"looking for...not2/test.py']\nE \nE At index 1 diff: \"looking for addon '/workspace//tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute_not2/test.py'\" != 'Did not find addon /tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute_not2/test.py'\nE Left contains 4 more items, first extra item: \"looking for addon '/workspace/addons//tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute_not2/test.py'\"\nE \nE Full diff:\nE [\nE 'looking for addon '...\nE \nE ...Full output truncated (12 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:808: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_addon_lookup_nofile ___________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_nofile2')\n\n def test_addon_lookup_nofile(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n # make sure we do not produce an error when the attempted lookup path is a directory and not a file\n misra_dir = os.path.join(tmpdir, 'misra')\n os.mkdir(misra_dir)\n misra_cfg_dir = os.path.join(tmpdir, 'misra.py')\n os.mkdir(misra_cfg_dir)\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=misra', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'misra.py'\",\n \"looking for addon '{}misra.py'\".format(exepath_sep),\n \"looking for addon '{}addons/misra.py'\".format(exepath_sep), # TODO: mixed separators\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/misra.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup_nofile2/test.c ...'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'misra.py'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:830: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_addon_lookup_invalid ___________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_invalid2')\n\n def test_addon_lookup_invalid(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n misra_py_file = os.path.join(tmpdir, 'misra.py')\n with open(misra_py_file, 'wt') as f:\n f.write('''''')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=addon', '--addon=misra', test_file], cwd=tmpdir)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'misra.py'\",\n 'Checking {} ...'.format(test_file) # TODO: should bail out\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 1 diff: \"looking for addon '/workspace/misra.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup_invalid2/test.c ...'\nE Left contains 4 more items, first extra item: \"looking for addon '/workspace/addons/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'misra.py'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:851: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________________ test_config_lookup ______________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_config_lookup2')\n\n def test_config_lookup(tmpdir):\n cppcheck_exe = __lookup_cppcheck_exe()\n bin_dir = os.path.dirname(cppcheck_exe)\n tmp_cppcheck_exe = shutil.copy2(cppcheck_exe, tmpdir)\n if sys.platform == 'win32':\n shutil.copy2(os.path.join(bin_dir, 'cppcheck-core.dll'), tmpdir)\n shutil.copytree(os.path.join(bin_dir, 'cfg'), os.path.join(tmpdir, 'cfg'))\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n config_file = os.path.join(tmpdir, 'cppcheck.cfg')\n with open(config_file, 'wt') as f:\n f.write('{}')\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=config', test_file], cwd=tmpdir, cppcheck_exe=tmp_cppcheck_exe)\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n exepath_sep = exepath_sep.replace('\\\\', '/')\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for '{}cppcheck.cfg'\".format(exepath_sep),\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 0 diff: \"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\" != \"looking for '/tmp/pytest-of-root/pytest-0/test_config_lookup2/cppcheck.cfg'\"\nE Left contains 2 more items, first extra item: 'no configuration found'\nE \nE Full diff:\nE [\nE + \"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\",...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:879: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________ test_config_lookup_notfound __________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_config_lookup_notfound2')\n\n def test_config_lookup_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=config', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n exepath_sep = exepath_sep.replace('\\\\', '/')\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for '{}cppcheck.cfg'\".format(exepath_sep),\n 'no configuration found',\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 0 diff: \"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\" != \"looking for '/workspace/cppcheck.cfg'\"\nE Left contains one more item: 'Checking /tmp/pytest-of-root/pytest-0/test_config_lookup_notfound2/test.c ...'\nE \nE Full diff:\nE [\nE + \"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\",...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:896: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________________ test_config_invalid ______________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_config_invalid2')\n\n def test_config_invalid(tmpdir):\n cppcheck_exe = __lookup_cppcheck_exe()\n bin_dir = os.path.dirname(cppcheck_exe)\n tmp_cppcheck_exe = shutil.copy2(cppcheck_exe, tmpdir)\n if sys.platform == 'win32':\n shutil.copy2(os.path.join(bin_dir, 'cppcheck-core.dll'), tmpdir)\n shutil.copytree(os.path.join(bin_dir, 'cfg'), os.path.join(tmpdir, 'cfg'))\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n config_file = os.path.join(tmpdir, 'cppcheck.cfg')\n with open(config_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=config', test_file], cwd=tmpdir, cppcheck_exe=tmp_cppcheck_exe)\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n exepath_sep = exepath_sep.replace('\\\\', '/')\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\nE looking for '/tmp/pytest-of-root/pytest-0/test_config_invalid2/cppcheck.cfg'\nE no configuration found\nE Checking /tmp/pytest-of-root/pytest-0/test_config_invalid2/test.c ...\nE \nE assert 0 == 1\n\ntests/lookup_test.py:923: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________ test_lookup_path[addon-misra.py] _______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_lookup_path_addon_misra_p2')\ntype = 'addon', file = 'misra.py'\n\n @pytest.mark.parametrize(\"type,file\", [(\"addon\", \"misra.py\"), (\"config\", \"cppcheck.cfg\"), (\"library\", \"gnu.cfg\"), (\"platform\", \"avr8.xml\")])\n def test_lookup_path(tmpdir, type, file):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n cppcheck = 'cppcheck' # No path\n path = os.path.dirname(__lookup_cppcheck_exe())\n env = os.environ.copy()\n env['PATH'] = path + (';' if sys.platform == 'win32' else ':') + env.get('PATH', '')\n if type == 'config':\n with open(os.path.join(path, \"cppcheck.cfg\"), 'wt') as f:\n f.write('{}')\n exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n os.remove(os.path.join(path, \"cppcheck.cfg\")) # clean up otherwise other tests may fail\n else:\n> exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', f'--{type}={file}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n\ntests/lookup_test.py:948: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/testutils.py:134: in cppcheck_ex\n return_code, stdout, stderr = __run_subprocess([exe] + args, env=env, cwd=cwd, timeout=timeout)\ntests/testutils.py:84: in __run_subprocess\n p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env, cwd=cwd)\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \nargs = ['cppcheck', '--debug-lookup=addon', '--addon=misra.py', '/tmp/pytest-of-root/pytest-0/test_lookup_path_addon_misra_p2/test.c']\nexecutable = b'cppcheck', preexec_fn = None, close_fds = True, pass_fds = ()\ncwd = '/tmp/pytest-of-root/pytest-0/test_lookup_path_addon_misra_p2'\nenv = {'CARGO_HOME': '/usr/local/cargo', 'DEBIAN_FRONTEND': 'noninteractive', 'GOMODCACHE': '/usr/local/go/mod-cache', 'HOME': '/root', ...}\nstartupinfo = None, creationflags = 0, shell = False, p2cread = -1\np2cwrite = -1, c2pread = 13, c2pwrite = 14, errread = 15, errwrite = 16\nrestore_signals = True, gid = None, gids = None, uid = None, umask = -1\nstart_new_session = False\n\n def _execute_child(self, args, executable, preexec_fn, close_fds,\n pass_fds, cwd, env,\n startupinfo, creationflags, shell,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite,\n restore_signals,\n gid, gids, uid, umask,\n start_new_session):\n \"\"\"Execute program (POSIX version)\"\"\"\n \n if isinstance(args, (str, bytes)):\n args = [args]\n elif isinstance(args, os.PathLike):\n if shell:\n raise TypeError('path-like args is not allowed when '\n 'shell is true')\n args = [args]\n else:\n args = list(args)\n \n if shell:\n # On Android the default shell is at '/system/bin/sh'.\n unix_shell = ('/system/bin/sh' if\n hasattr(sys, 'getandroidapilevel') else '/bin/sh')\n args = [unix_shell, \"-c\"] + args\n if executable:\n args[0] = executable\n \n if executable is None:\n executable = args[0]\n \n sys.audit(\"subprocess.Popen\", executable, args, cwd, env)\n \n if (_USE_POSIX_SPAWN\n and os.path.dirname(executable)\n and preexec_fn is None\n and not close_fds\n and not pass_fds\n and cwd is None\n and (p2cread == -1 or p2cread > 2)\n and (c2pwrite == -1 or c2pwrite > 2)\n and (errwrite == -1 or errwrite > 2)\n and not start_new_session\n and gid is None\n and gids is None\n and uid is None\n and umask < 0):\n self._posix_spawn(args, executable, env, restore_signals,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n return\n \n orig_executable = executable\n \n # For transferring possible exec failure from child to parent.\n # Data format: \"exception name:hex errno:description\"\n # Pickle is not used; it is complex and involves memory allocation.\n errpipe_read, errpipe_write = os.pipe()\n # errpipe_write must not be in the standard io 0, 1, or 2 fd range.\n low_fds_to_close = []\n while errpipe_write < 3:\n low_fds_to_close.append(errpipe_write)\n errpipe_write = os.dup(errpipe_write)\n for low_fd in low_fds_to_close:\n os.close(low_fd)\n try:\n try:\n # We must avoid complex work that could involve\n # malloc or free in the child process to avoid\n # potential deadlocks, thus we do all this here.\n # and pass it to fork_exec()\n \n if env is not None:\n env_list = []\n for k, v in env.items():\n k = os.fsencode(k)\n if b'=' in k:\n raise ValueError(\"illegal environment variable name\")\n env_list.append(k + b'=' + os.fsencode(v))\n else:\n env_list = None # Use execv instead of execve.\n executable = os.fsencode(executable)\n if os.path.dirname(executable):\n executable_list = (executable,)\n else:\n # This matches the behavior of os._execvpe().\n executable_list = tuple(\n os.path.join(os.fsencode(dir), executable)\n for dir in os.get_exec_path(env))\n fds_to_keep = set(pass_fds)\n fds_to_keep.add(errpipe_write)\n self.pid = _posixsubprocess.fork_exec(\n args, executable_list,\n close_fds, tuple(sorted(map(int, fds_to_keep))),\n cwd, env_list,\n p2cread, p2cwrite, c2pread, c2pwrite,\n errread, errwrite,\n errpipe_read, errpipe_write,\n restore_signals, start_new_session,\n gid, gids, uid, umask,\n preexec_fn)\n self._child_created = True\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_write)\n \n self._close_pipe_fds(p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n \n # Wait for exec to fail or succeed; possibly raising an\n # exception (limited in size)\n errpipe_data = bytearray()\n while True:\n part = os.read(errpipe_read, 50000)\n errpipe_data += part\n if not part or len(errpipe_data) > 50000:\n break\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_read)\n \n if errpipe_data:\n try:\n pid, sts = os.waitpid(self.pid, 0)\n if pid == self.pid:\n self._handle_exitstatus(sts)\n else:\n self.returncode = sys.maxsize\n except ChildProcessError:\n pass\n \n try:\n exception_name, hex_errno, err_msg = (\n errpipe_data.split(b':', 2))\n # The encoding here should match the encoding\n # written in by the subprocess implementations\n # like _posixsubprocess\n err_msg = err_msg.decode()\n except ValueError:\n exception_name = b'SubprocessError'\n hex_errno = b'0'\n err_msg = 'Bad exception data from child: {!r}'.format(\n bytes(errpipe_data))\n child_exception_type = getattr(\n builtins, exception_name.decode('ascii'),\n SubprocessError)\n if issubclass(child_exception_type, OSError) and hex_errno:\n errno_num = int(hex_errno, 16)\n child_exec_never_called = (err_msg == \"noexec\")\n if child_exec_never_called:\n err_msg = \"\"\n # The error must be from chdir(cwd).\n err_filename = cwd\n else:\n err_filename = orig_executable\n if errno_num != 0:\n err_msg = os.strerror(errno_num)\n> raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'\n\n/usr/lib/python3.10/subprocess.py:1863: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________ test_lookup_path[config-cppcheck.cfg] _____________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_lookup_path_config_cppche2')\ntype = 'config', file = 'cppcheck.cfg'\n\n @pytest.mark.parametrize(\"type,file\", [(\"addon\", \"misra.py\"), (\"config\", \"cppcheck.cfg\"), (\"library\", \"gnu.cfg\"), (\"platform\", \"avr8.xml\")])\n def test_lookup_path(tmpdir, type, file):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n cppcheck = 'cppcheck' # No path\n path = os.path.dirname(__lookup_cppcheck_exe())\n env = os.environ.copy()\n env['PATH'] = path + (';' if sys.platform == 'win32' else ':') + env.get('PATH', '')\n if type == 'config':\n with open(os.path.join(path, \"cppcheck.cfg\"), 'wt') as f:\n f.write('{}')\n> exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n\ntests/lookup_test.py:945: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/testutils.py:134: in cppcheck_ex\n return_code, stdout, stderr = __run_subprocess([exe] + args, env=env, cwd=cwd, timeout=timeout)\ntests/testutils.py:84: in __run_subprocess\n p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env, cwd=cwd)\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \nargs = ['cppcheck', '--debug-lookup=config', '/tmp/pytest-of-root/pytest-0/test_lookup_path_config_cppche2/test.c']\nexecutable = b'cppcheck', preexec_fn = None, close_fds = True, pass_fds = ()\ncwd = '/tmp/pytest-of-root/pytest-0/test_lookup_path_config_cppche2'\nenv = {'CARGO_HOME': '/usr/local/cargo', 'DEBIAN_FRONTEND': 'noninteractive', 'GOMODCACHE': '/usr/local/go/mod-cache', 'HOME': '/root', ...}\nstartupinfo = None, creationflags = 0, shell = False, p2cread = -1\np2cwrite = -1, c2pread = 13, c2pwrite = 14, errread = 15, errwrite = 16\nrestore_signals = True, gid = None, gids = None, uid = None, umask = -1\nstart_new_session = False\n\n def _execute_child(self, args, executable, preexec_fn, close_fds,\n pass_fds, cwd, env,\n startupinfo, creationflags, shell,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite,\n restore_signals,\n gid, gids, uid, umask,\n start_new_session):\n \"\"\"Execute program (POSIX version)\"\"\"\n \n if isinstance(args, (str, bytes)):\n args = [args]\n elif isinstance(args, os.PathLike):\n if shell:\n raise TypeError('path-like args is not allowed when '\n 'shell is true')\n args = [args]\n else:\n args = list(args)\n \n if shell:\n # On Android the default shell is at '/system/bin/sh'.\n unix_shell = ('/system/bin/sh' if\n hasattr(sys, 'getandroidapilevel') else '/bin/sh')\n args = [unix_shell, \"-c\"] + args\n if executable:\n args[0] = executable\n \n if executable is None:\n executable = args[0]\n \n sys.audit(\"subprocess.Popen\", executable, args, cwd, env)\n \n if (_USE_POSIX_SPAWN\n and os.path.dirname(executable)\n and preexec_fn is None\n and not close_fds\n and not pass_fds\n and cwd is None\n and (p2cread == -1 or p2cread > 2)\n and (c2pwrite == -1 or c2pwrite > 2)\n and (errwrite == -1 or errwrite > 2)\n and not start_new_session\n and gid is None\n and gids is None\n and uid is None\n and umask < 0):\n self._posix_spawn(args, executable, env, restore_signals,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n return\n \n orig_executable = executable\n \n # For transferring possible exec failure from child to parent.\n # Data format: \"exception name:hex errno:description\"\n # Pickle is not used; it is complex and involves memory allocation.\n errpipe_read, errpipe_write = os.pipe()\n # errpipe_write must not be in the standard io 0, 1, or 2 fd range.\n low_fds_to_close = []\n while errpipe_write < 3:\n low_fds_to_close.append(errpipe_write)\n errpipe_write = os.dup(errpipe_write)\n for low_fd in low_fds_to_close:\n os.close(low_fd)\n try:\n try:\n # We must avoid complex work that could involve\n # malloc or free in the child process to avoid\n # potential deadlocks, thus we do all this here.\n # and pass it to fork_exec()\n \n if env is not None:\n env_list = []\n for k, v in env.items():\n k = os.fsencode(k)\n if b'=' in k:\n raise ValueError(\"illegal environment variable name\")\n env_list.append(k + b'=' + os.fsencode(v))\n else:\n env_list = None # Use execv instead of execve.\n executable = os.fsencode(executable)\n if os.path.dirname(executable):\n executable_list = (executable,)\n else:\n # This matches the behavior of os._execvpe().\n executable_list = tuple(\n os.path.join(os.fsencode(dir), executable)\n for dir in os.get_exec_path(env))\n fds_to_keep = set(pass_fds)\n fds_to_keep.add(errpipe_write)\n self.pid = _posixsubprocess.fork_exec(\n args, executable_list,\n close_fds, tuple(sorted(map(int, fds_to_keep))),\n cwd, env_list,\n p2cread, p2cwrite, c2pread, c2pwrite,\n errread, errwrite,\n errpipe_read, errpipe_write,\n restore_signals, start_new_session,\n gid, gids, uid, umask,\n preexec_fn)\n self._child_created = True\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_write)\n \n self._close_pipe_fds(p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n \n # Wait for exec to fail or succeed; possibly raising an\n # exception (limited in size)\n errpipe_data = bytearray()\n while True:\n part = os.read(errpipe_read, 50000)\n errpipe_data += part\n if not part or len(errpipe_data) > 50000:\n break\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_read)\n \n if errpipe_data:\n try:\n pid, sts = os.waitpid(self.pid, 0)\n if pid == self.pid:\n self._handle_exitstatus(sts)\n else:\n self.returncode = sys.maxsize\n except ChildProcessError:\n pass\n \n try:\n exception_name, hex_errno, err_msg = (\n errpipe_data.split(b':', 2))\n # The encoding here should match the encoding\n # written in by the subprocess implementations\n # like _posixsubprocess\n err_msg = err_msg.decode()\n except ValueError:\n exception_name = b'SubprocessError'\n hex_errno = b'0'\n err_msg = 'Bad exception data from child: {!r}'.format(\n bytes(errpipe_data))\n child_exception_type = getattr(\n builtins, exception_name.decode('ascii'),\n SubprocessError)\n if issubclass(child_exception_type, OSError) and hex_errno:\n errno_num = int(hex_errno, 16)\n child_exec_never_called = (err_msg == \"noexec\")\n if child_exec_never_called:\n err_msg = \"\"\n # The error must be from chdir(cwd).\n err_filename = cwd\n else:\n err_filename = orig_executable\n if errno_num != 0:\n err_msg = os.strerror(errno_num)\n> raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'\n\n/usr/lib/python3.10/subprocess.py:1863: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________ test_lookup_path[library-gnu.cfg] _______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_lookup_path_library_gnu_c2')\ntype = 'library', file = 'gnu.cfg'\n\n @pytest.mark.parametrize(\"type,file\", [(\"addon\", \"misra.py\"), (\"config\", \"cppcheck.cfg\"), (\"library\", \"gnu.cfg\"), (\"platform\", \"avr8.xml\")])\n def test_lookup_path(tmpdir, type, file):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n cppcheck = 'cppcheck' # No path\n path = os.path.dirname(__lookup_cppcheck_exe())\n env = os.environ.copy()\n env['PATH'] = path + (';' if sys.platform == 'win32' else ':') + env.get('PATH', '')\n if type == 'config':\n with open(os.path.join(path, \"cppcheck.cfg\"), 'wt') as f:\n f.write('{}')\n exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n os.remove(os.path.join(path, \"cppcheck.cfg\")) # clean up otherwise other tests may fail\n else:\n> exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', f'--{type}={file}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n\ntests/lookup_test.py:948: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/testutils.py:134: in cppcheck_ex\n return_code, stdout, stderr = __run_subprocess([exe] + args, env=env, cwd=cwd, timeout=timeout)\ntests/testutils.py:84: in __run_subprocess\n p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env, cwd=cwd)\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \nargs = ['cppcheck', '--debug-lookup=library', '--library=gnu.cfg', '/tmp/pytest-of-root/pytest-0/test_lookup_path_library_gnu_c2/test.c']\nexecutable = b'cppcheck', preexec_fn = None, close_fds = True, pass_fds = ()\ncwd = '/tmp/pytest-of-root/pytest-0/test_lookup_path_library_gnu_c2'\nenv = {'CARGO_HOME': '/usr/local/cargo', 'DEBIAN_FRONTEND': 'noninteractive', 'GOMODCACHE': '/usr/local/go/mod-cache', 'HOME': '/root', ...}\nstartupinfo = None, creationflags = 0, shell = False, p2cread = -1\np2cwrite = -1, c2pread = 13, c2pwrite = 14, errread = 15, errwrite = 16\nrestore_signals = True, gid = None, gids = None, uid = None, umask = -1\nstart_new_session = False\n\n def _execute_child(self, args, executable, preexec_fn, close_fds,\n pass_fds, cwd, env,\n startupinfo, creationflags, shell,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite,\n restore_signals,\n gid, gids, uid, umask,\n start_new_session):\n \"\"\"Execute program (POSIX version)\"\"\"\n \n if isinstance(args, (str, bytes)):\n args = [args]\n elif isinstance(args, os.PathLike):\n if shell:\n raise TypeError('path-like args is not allowed when '\n 'shell is true')\n args = [args]\n else:\n args = list(args)\n \n if shell:\n # On Android the default shell is at '/system/bin/sh'.\n unix_shell = ('/system/bin/sh' if\n hasattr(sys, 'getandroidapilevel') else '/bin/sh')\n args = [unix_shell, \"-c\"] + args\n if executable:\n args[0] = executable\n \n if executable is None:\n executable = args[0]\n \n sys.audit(\"subprocess.Popen\", executable, args, cwd, env)\n \n if (_USE_POSIX_SPAWN\n and os.path.dirname(executable)\n and preexec_fn is None\n and not close_fds\n and not pass_fds\n and cwd is None\n and (p2cread == -1 or p2cread > 2)\n and (c2pwrite == -1 or c2pwrite > 2)\n and (errwrite == -1 or errwrite > 2)\n and not start_new_session\n and gid is None\n and gids is None\n and uid is None\n and umask < 0):\n self._posix_spawn(args, executable, env, restore_signals,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n return\n \n orig_executable = executable\n \n # For transferring possible exec failure from child to parent.\n # Data format: \"exception name:hex errno:description\"\n # Pickle is not used; it is complex and involves memory allocation.\n errpipe_read, errpipe_write = os.pipe()\n # errpipe_write must not be in the standard io 0, 1, or 2 fd range.\n low_fds_to_close = []\n while errpipe_write < 3:\n low_fds_to_close.append(errpipe_write)\n errpipe_write = os.dup(errpipe_write)\n for low_fd in low_fds_to_close:\n os.close(low_fd)\n try:\n try:\n # We must avoid complex work that could involve\n # malloc or free in the child process to avoid\n # potential deadlocks, thus we do all this here.\n # and pass it to fork_exec()\n \n if env is not None:\n env_list = []\n for k, v in env.items():\n k = os.fsencode(k)\n if b'=' in k:\n raise ValueError(\"illegal environment variable name\")\n env_list.append(k + b'=' + os.fsencode(v))\n else:\n env_list = None # Use execv instead of execve.\n executable = os.fsencode(executable)\n if os.path.dirname(executable):\n executable_list = (executable,)\n else:\n # This matches the behavior of os._execvpe().\n executable_list = tuple(\n os.path.join(os.fsencode(dir), executable)\n for dir in os.get_exec_path(env))\n fds_to_keep = set(pass_fds)\n fds_to_keep.add(errpipe_write)\n self.pid = _posixsubprocess.fork_exec(\n args, executable_list,\n close_fds, tuple(sorted(map(int, fds_to_keep))),\n cwd, env_list,\n p2cread, p2cwrite, c2pread, c2pwrite,\n errread, errwrite,\n errpipe_read, errpipe_write,\n restore_signals, start_new_session,\n gid, gids, uid, umask,\n preexec_fn)\n self._child_created = True\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_write)\n \n self._close_pipe_fds(p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n \n # Wait for exec to fail or succeed; possibly raising an\n # exception (limited in size)\n errpipe_data = bytearray()\n while True:\n part = os.read(errpipe_read, 50000)\n errpipe_data += part\n if not part or len(errpipe_data) > 50000:\n break\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_read)\n \n if errpipe_data:\n try:\n pid, sts = os.waitpid(self.pid, 0)\n if pid == self.pid:\n self._handle_exitstatus(sts)\n else:\n self.returncode = sys.maxsize\n except ChildProcessError:\n pass\n \n try:\n exception_name, hex_errno, err_msg = (\n errpipe_data.split(b':', 2))\n # The encoding here should match the encoding\n # written in by the subprocess implementations\n # like _posixsubprocess\n err_msg = err_msg.decode()\n except ValueError:\n exception_name = b'SubprocessError'\n hex_errno = b'0'\n err_msg = 'Bad exception data from child: {!r}'.format(\n bytes(errpipe_data))\n child_exception_type = getattr(\n builtins, exception_name.decode('ascii'),\n SubprocessError)\n if issubclass(child_exception_type, OSError) and hex_errno:\n errno_num = int(hex_errno, 16)\n child_exec_never_called = (err_msg == \"noexec\")\n if child_exec_never_called:\n err_msg = \"\"\n # The error must be from chdir(cwd).\n err_filename = cwd\n else:\n err_filename = orig_executable\n if errno_num != 0:\n err_msg = os.strerror(errno_num)\n> raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'\n\n/usr/lib/python3.10/subprocess.py:1863: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________ test_lookup_path[platform-avr8.xml] ______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_lookup_path_platform_avr82')\ntype = 'platform', file = 'avr8.xml'\n\n @pytest.mark.parametrize(\"type,file\", [(\"addon\", \"misra.py\"), (\"config\", \"cppcheck.cfg\"), (\"library\", \"gnu.cfg\"), (\"platform\", \"avr8.xml\")])\n def test_lookup_path(tmpdir, type, file):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n cppcheck = 'cppcheck' # No path\n path = os.path.dirname(__lookup_cppcheck_exe())\n env = os.environ.copy()\n env['PATH'] = path + (';' if sys.platform == 'win32' else ':') + env.get('PATH', '')\n if type == 'config':\n with open(os.path.join(path, \"cppcheck.cfg\"), 'wt') as f:\n f.write('{}')\n exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n os.remove(os.path.join(path, \"cppcheck.cfg\")) # clean up otherwise other tests may fail\n else:\n> exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', f'--{type}={file}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n\ntests/lookup_test.py:948: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/testutils.py:134: in cppcheck_ex\n return_code, stdout, stderr = __run_subprocess([exe] + args, env=env, cwd=cwd, timeout=timeout)\ntests/testutils.py:84: in __run_subprocess\n p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env, cwd=cwd)\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \nargs = ['cppcheck', '--debug-lookup=platform', '--platform=avr8.xml', '/tmp/pytest-of-root/pytest-0/test_lookup_path_platform_avr82/test.c']\nexecutable = b'cppcheck', preexec_fn = None, close_fds = True, pass_fds = ()\ncwd = '/tmp/pytest-of-root/pytest-0/test_lookup_path_platform_avr82'\nenv = {'CARGO_HOME': '/usr/local/cargo', 'DEBIAN_FRONTEND': 'noninteractive', 'GOMODCACHE': '/usr/local/go/mod-cache', 'HOME': '/root', ...}\nstartupinfo = None, creationflags = 0, shell = False, p2cread = -1\np2cwrite = -1, c2pread = 13, c2pwrite = 14, errread = 15, errwrite = 16\nrestore_signals = True, gid = None, gids = None, uid = None, umask = -1\nstart_new_session = False\n\n def _execute_child(self, args, executable, preexec_fn, close_fds,\n pass_fds, cwd, env,\n startupinfo, creationflags, shell,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite,\n restore_signals,\n gid, gids, uid, umask,\n start_new_session):\n \"\"\"Execute program (POSIX version)\"\"\"\n \n if isinstance(args, (str, bytes)):\n args = [args]\n elif isinstance(args, os.PathLike):\n if shell:\n raise TypeError('path-like args is not allowed when '\n 'shell is true')\n args = [args]\n else:\n args = list(args)\n \n if shell:\n # On Android the default shell is at '/system/bin/sh'.\n unix_shell = ('/system/bin/sh' if\n hasattr(sys, 'getandroidapilevel') else '/bin/sh')\n args = [unix_shell, \"-c\"] + args\n if executable:\n args[0] = executable\n \n if executable is None:\n executable = args[0]\n \n sys.audit(\"subprocess.Popen\", executable, args, cwd, env)\n \n if (_USE_POSIX_SPAWN\n and os.path.dirname(executable)\n and preexec_fn is None\n and not close_fds\n and not pass_fds\n and cwd is None\n and (p2cread == -1 or p2cread > 2)\n and (c2pwrite == -1 or c2pwrite > 2)\n and (errwrite == -1 or errwrite > 2)\n and not start_new_session\n and gid is None\n and gids is None\n and uid is None\n and umask < 0):\n self._posix_spawn(args, executable, env, restore_signals,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n return\n \n orig_executable = executable\n \n # For transferring possible exec failure from child to parent.\n # Data format: \"exception name:hex errno:description\"\n # Pickle is not used; it is complex and involves memory allocation.\n errpipe_read, errpipe_write = os.pipe()\n # errpipe_write must not be in the standard io 0, 1, or 2 fd range.\n low_fds_to_close = []\n while errpipe_write < 3:\n low_fds_to_close.append(errpipe_write)\n errpipe_write = os.dup(errpipe_write)\n for low_fd in low_fds_to_close:\n os.close(low_fd)\n try:\n try:\n # We must avoid complex work that could involve\n # malloc or free in the child process to avoid\n # potential deadlocks, thus we do all this here.\n # and pass it to fork_exec()\n \n if env is not None:\n env_list = []\n for k, v in env.items():\n k = os.fsencode(k)\n if b'=' in k:\n raise ValueError(\"illegal environment variable name\")\n env_list.append(k + b'=' + os.fsencode(v))\n else:\n env_list = None # Use execv instead of execve.\n executable = os.fsencode(executable)\n if os.path.dirname(executable):\n executable_list = (executable,)\n else:\n # This matches the behavior of os._execvpe().\n executable_list = tuple(\n os.path.join(os.fsencode(dir), executable)\n for dir in os.get_exec_path(env))\n fds_to_keep = set(pass_fds)\n fds_to_keep.add(errpipe_write)\n self.pid = _posixsubprocess.fork_exec(\n args, executable_list,\n close_fds, tuple(sorted(map(int, fds_to_keep))),\n cwd, env_list,\n p2cread, p2cwrite, c2pread, c2pwrite,\n errread, errwrite,\n errpipe_read, errpipe_write,\n restore_signals, start_new_session,\n gid, gids, uid, umask,\n preexec_fn)\n self._child_created = True\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_write)\n \n self._close_pipe_fds(p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n \n # Wait for exec to fail or succeed; possibly raising an\n # exception (limited in size)\n errpipe_data = bytearray()\n while True:\n part = os.read(errpipe_read, 50000)\n errpipe_data += part\n if not part or len(errpipe_data) > 50000:\n break\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_read)\n \n if errpipe_data:\n try:\n pid, sts = os.waitpid(self.pid, 0)\n if pid == self.pid:\n self._handle_exitstatus(sts)\n else:\n self.returncode = sys.maxsize\n except ChildProcessError:\n pass\n \n try:\n exception_name, hex_errno, err_msg = (\n errpipe_data.split(b':', 2))\n # The encoding here should match the encoding\n # written in by the subprocess implementations\n # like _posixsubprocess\n err_msg = err_msg.decode()\n except ValueError:\n exception_name = b'SubprocessError'\n hex_errno = b'0'\n err_msg = 'Bad exception data from child: {!r}'.format(\n bytes(errpipe_data))\n child_exception_type = getattr(\n builtins, exception_name.decode('ascii'),\n SubprocessError)\n if issubclass(child_exception_type, OSError) and hex_errno:\n errno_num = int(hex_errno, 16)\n child_exec_never_called = (err_msg == \"noexec\")\n if child_exec_never_called:\n err_msg = \"\"\n # The error must be from chdir(cwd).\n err_filename = cwd\n else:\n err_filename = orig_executable\n if errno_num != 0:\n err_msg = os.strerror(errno_num)\n> raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'\n\n/usr/lib/python3.10/subprocess.py:1863: FileNotFoundError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_dummy_metrics_xml_report _________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_dummy_metrics_xml_report2')\n\n def test_dummy_metrics_xml_report(tmpdir):\n output_file = os.path.join(tmpdir, \"results.xml\")\n source_path = __create_source_file(tmpdir)\n addon_path = __create_addon(tmpdir)\n args = [\n f'--output-file={output_file}',\n f'--addon={addon_path}',\n '--xml-version=3',\n source_path\n ]\n \n ret, stdout, stderr = cppcheck(args)\n assert ret == 0\n assert stderr == ''\n assert stdout == f'Checking {source_path} ...\\n'\n \n with open(output_file, 'r') as file:\n xml = file.read()\n \n for expected in __expected_xml:\n> assert xml.find(expected) >= 0\nE assert -1 >= 0\nE + where -1 = ('')\nE + where = '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ...seWholeProgram\"/>\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'.find\n\ntests/metrics_test.py:61: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_dummy_metrics_stdout ___________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_dummy_metrics_stdout2')\n\n def test_dummy_metrics_stdout(tmpdir):\n source_path = __create_source_file(tmpdir)\n addon_path = __create_addon(tmpdir)\n args = [\n f'--addon={addon_path}',\n '--xml-version=3',\n source_path\n ]\n \n ret, stdout, stderr = cppcheck(args)\n assert ret == 0\n assert stdout == f'Checking {source_path} ...\\n'\n \n for expected in __expected_xml:\n> assert stderr.find(expected) >= 0\nE assert -1 >= 0\nE + where -1 = ('')\nE + where = '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ...seWholeProgram\"/>\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'.find\n\ntests/metrics_test.py:77: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_color_non_tty[env0-True] _________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_color_non_tty_env0_True_2')\nenv = {'CLICOLOR_FORCE': '1'}, color_expected = True\n\n @pytest.mark.parametrize(\"env,color_expected\", [({\"CLICOLOR_FORCE\":\"1\"}, True), ({\"NO_COLOR\": \"1\", \"CLICOLOR_FORCE\":\"1\"}, False)])\n def test_color_non_tty(tmpdir, env, color_expected):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('#error test\\nx=1;\\n')\n exitcode, stdout, stderr = cppcheck([test_file], env=env)\n \n assert exitcode == 0, stdout if stdout else stderr\n assert stderr\n> assert (__ANSI_BOLD in stderr) == color_expected\nE AssertionError: assert ('\\x1b[1m' in '/tmp/pytest-of-root/pytest-0/test_color_non_tty_env0_True_2/test.c:1:2: error: #error test [preprocessorErrorDirective]\\n#error test\\n ^\\n') == True\n\ntests/other_test.py:101: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_color_tty[env0-True] ___________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_color_tty_env0_True_2')\nenv = {}, color_expected = True\n\n @pytest.mark.skipif(sys.platform == \"win32\", reason=\"TTY not supported in Windows\")\n @pytest.mark.parametrize(\"env,color_expected\", [({}, True), ({\"NO_COLOR\": \"1\"}, False)])\n def test_color_tty(tmpdir, env, color_expected):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('#error test\\nx=1;\\n')\n exitcode, stdout, stderr = cppcheck([test_file], env=env, tty=True)\n \n assert exitcode == 0, stdout if stdout else stderr\n assert stderr\n> assert (__ANSI_BOLD in stderr) == color_expected\nE AssertionError: assert ('\\x1b[1m' in '/tmp/pytest-of-root/pytest-0/test_color_tty_env0_True_2/test.c:1:2: error: #error test [preprocessorErrorDirective]\\n#error test\\n ^\\n') == True\n\ntests/other_test.py:117: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________________ test_progress _________________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_progress2')\n\n def test_progress(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n int main(int argc)\n {\n }\n \"\"\")\n \n args = ['--report-progress=0', '--enable=all', '--inconclusive', '-j1', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: unrecognized command line option: \"--report-progress=0\".\nE \nE assert 1 == 0\n\ntests/other_test.py:158: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________________ test_progress_j ________________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_progress_j2')\n\n def test_progress_j(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n int main(int argc)\n {\n }\n \"\"\")\n \n args = ['--report-progress=0', '--enable=all', '--inconclusive', '-j2', '--disable=unusedFunction', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: unrecognized command line option: \"--report-progress=0\".\nE \nE assert 1 == 0\n\ntests/other_test.py:191: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________ test_execute_addon_failure_py_auto ______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_py_2')\n\n def test_execute_addon_failure_py_auto(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f();\n \"\"\")\n \n args = ['--addon=naming', test_file]\n \n # provide empty PATH environment variable so python is not found and execution of addon fails\n env = {'PATH': ''}\n _, _, stderr = cppcheck(args, env)\n> assert stderr == '{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to auto detect python [internalError]\\n\\n^\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_execute_addon_failure_py_2/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to auto detect python [internalError]\nE - \nE - ^\n\ntests/other_test.py:208: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________ test_execute_addon_failure_py_notexist ____________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_py_5')\n\n def test_execute_addon_failure_py_notexist(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f();\n \"\"\")\n \n # specify non-existent python executable so execution of addon fails\n args = ['--addon=naming', '--addon-python=python5.x', test_file]\n \n _, _, stderr = cppcheck(args)\n ec = 1 if os.name == 'nt' else 127\n> assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'naming' - exitcode is {} [internalError]\\n\\n^\\n\".format(test_file, ec)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_execute_addon_failure_py_5/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'naming' - exitcode is 127 [internalError]\nE - \nE - ^\n\ntests/other_test.py:223: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________ test_execute_addon_failure_json_notexist ___________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso2')\n\n def test_execute_addon_failure_json_notexist(tmpdir):\n # specify non-existent python executable so execution of addon fails\n addon_json = os.path.join(tmpdir, 'addon.json')\n with open(addon_json, 'wt') as f:\n f.write(json.dumps({'executable': 'notexist'}))\n \n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f();\n \"\"\")\n \n args = [\n '--addon={}'.format(addon_json),\n test_file\n ]\n \n _, _, stderr = cppcheck(args)\n ec = 1 if os.name == 'nt' else 127\n> assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is {} [internalError]\\n\\n^\\n\".format(test_file, ec)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso2/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is 127 [internalError]\nE - \nE - ^\n\ntests/other_test.py:245: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________ test_execute_addon_failure_json_ctu_notexist _________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso5')\n\n def test_execute_addon_failure_json_ctu_notexist(tmpdir):\n # specify non-existent python executable so execution of addon fails\n addon_json = os.path.join(tmpdir, 'addon.json')\n with open(addon_json, 'wt') as f:\n f.write(json.dumps({\n 'executable': 'notexist',\n 'ctu': True\n }))\n \n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f(); \"\"\")\n \n args = [\n '--template=simple',\n '--addon={}'.format(addon_json),\n test_file\n ]\n \n _, _, stderr = cppcheck(args)\n ec = 1 if os.name == 'nt' else 127\n> assert stderr.splitlines() == [\n \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is {} [internalError]\".format(test_file, ec),\n \":0:0: error: Bailing out from analysis: Whole program analysis failed: Failed to execute addon 'addon.json' - exitcode is {} [internalError]\".format(ec)\n ]\nE assert [] == ['/tmp/pytest...ternalError]']\nE \nE Right contains 2 more items, first extra item: \"/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso5/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is 127 [internalError]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso5/test.cpp:0:0: '...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n\ntests/other_test.py:299: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_execute_addon_file0 ___________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_execute_addon_file02')\n\n def test_execute_addon_file0(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('void foo() {}\\n')\n \n args = ['--xml', '--addon=misra', '--enable=style', test_file]\n \n _, _, stderr = cppcheck(args)\n> assert 'misra-c2012-8.2' in stderr\nE assert 'misra-c2012-8.2' in '\\n\\n \\n \\n \\n\\n'\n\ntests/other_test.py:313: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_addon_ctu_exitcode ____________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_ctu_exitcode2')\n\n def test_addon_ctu_exitcode(tmpdir):\n \"\"\" #12440 - Misra ctu violations found => exit code should be non-zero \"\"\"\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"typedef enum { BLOCK = 0x80U, } E;\"\"\")\n args = ['--addon=misra', '--enable=style', '--error-exitcode=1', test_file]\n exitcode, _, stderr = cppcheck(args)\n> assert '2.3' in stderr, stderr\nE AssertionError: \nE assert '2.3' in ''\n\ntests/other_test.py:345: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________________ test_addon_misra _______________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_misra2')\n\n def test_addon_misra(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n typedef int MISRA_5_6_VIOLATION;\n \"\"\")\n \n args = ['--addon=misra', '--enable=all', '--disable=unusedFunction', '-j1', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:2:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]\\ntypedef int MISRA_5_6_VIOLATION;\\n^\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...OLATION;\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_misra2/test.cpp:2:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]\nE - typedef int MISRA_5_6_VIOLATION;\nE - ^\n\ntests/other_test.py:365: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________________ test_addon_y2038 _______________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_y20382')\n\n def test_addon_y2038(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n # TODO: trigger warning\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n extern void f()\n {\n time_t t = std::time(nullptr);\n (void)t;\n }\n \"\"\")\n \n args = ['--addon=y2038', '--enable=all', '--disable=unusedFunction', '--template=simple', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:4:21: warning: time is Y2038-unsafe [y2038-unsafe-call]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nsafe-call]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_y20382/test.cpp:4:21: warning: time is Y2038-unsafe [y2038-unsafe-call]\n\ntests/other_test.py:388: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_addon_threadsafety ____________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_threadsafety2')\n\n def test_addon_threadsafety(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n extern const char* f()\n {\n return strerror(1);\n }\n \"\"\")\n \n args = ['--addon=threadsafety', '--enable=all', '--disable=unusedFunction', '--template=simple', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:4:12: warning: strerror is MT-unsafe [threadsafety-unsafe-call]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nsafe-call]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_threadsafety2/test.cpp:4:12: warning: strerror is MT-unsafe [threadsafety-unsafe-call]\n\ntests/other_test.py:409: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________________ test_addon_naming _______________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_naming2')\n\n def test_addon_naming(tmpdir):\n # the addon does nothing without a config\n addon_file = os.path.join(tmpdir, 'naming1.json')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n {\n \"script\": \"addons/naming.py\",\n \"args\": [\n \"--var=[_a-z].*\"\n ]\n }\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n int Var;\n \"\"\")\n \n args = ['--addon={}'.format(addon_file), '--enable=all', '--disable=unusedFunction', '--template=simple', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:2:1: style: Variable Var violates naming convention [naming-varname]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...ng-varname]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_naming2/test.cpp:2:1: style: Variable Var violates naming convention [naming-varname]\n\ntests/other_test.py:439: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________________ test_addon_namingng ______________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_namingng2')\n\n def test_addon_namingng(tmpdir):\n addon_file = os.path.join(tmpdir, 'namingng.json')\n addon_config_file = os.path.join(tmpdir, 'namingng.config.json')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n {\n \"script\": \"addons/namingng.py\",\n \"args\": [\n \"--configfile=%s\"\n ]\n }\n \"\"\"%(addon_config_file).replace('\\\\','\\\\\\\\'))\n \n with open(addon_config_file, 'wt') as f:\n f.write(\"\"\"\n {\n \"RE_FILE\": [\n \"[^/]*[a-z][a-z0-9_]*[a-z0-9]\\\\.c\\\\Z\"\n ],\n \"RE_CLASS_NAME\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"RE_NAMESPACE\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"RE_VARNAME\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"RE_PUBLIC_MEMBER_VARIABLE\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"RE_PRIVATE_MEMBER_VARIABLE\": {\n \".*_tmp\\\\Z\":[true,\"illegal suffix _tmp\"],\n \"priv_.*\\\\Z\":[false,\"required prefix priv_ missing\"]\n },\n \"RE_GLOBAL_VARNAME\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"RE_FUNCTIONNAME\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"include_guard\": {\n \"input\": \"basename\",\n \"prefix\": \"_\",\n \"suffix\": \"\",\n \"case\": \"upper\",\n \"max_linenr\": 5,\n \"RE_HEADERFILE\": \".*\\\\.h\\\\Z\",\n \"required\": true\n },\n \"var_prefixes\": {\"uint32_t\": \"ui32\"},\n \"function_prefixes\": {\"uint16_t\": \"ui16\",\n \"uint32_t\": \"ui32\"},\n \"skip_one_char_variables\": false\n }\n \"\"\".replace('\\\\','\\\\\\\\'))\n \n test_unguarded_include_file_basename = 'test_unguarded.h'\n test_unguarded_include_file = os.path.join(tmpdir, test_unguarded_include_file_basename)\n with open(test_unguarded_include_file, 'wt') as f:\n f.write(\"\"\"\n void InvalidFunctionUnguarded();\n \"\"\")\n \n test_include_file_basename = '_test.h'\n test_include_file = os.path.join(tmpdir, test_include_file_basename)\n with open(test_include_file, 'wt') as f:\n f.write(\"\"\"\n #ifndef TEST_H\n #define TEST_H\n \n void InvalidFunction();\n extern int _invalid_extern_global;\n \n #include \"{}\"\n \n #endif\n \"\"\".format(test_unguarded_include_file))\n \n test_file_basename = 'test_.cpp'\n test_file = os.path.join(tmpdir, test_file_basename)\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n #include \"%s\"\n \n void invalid_function_();\n void _invalid_function();\n void valid_function1();\n void valid_function2(int _invalid_arg);\n void valid_function3(int invalid_arg_);\n void valid_function4(int valid_arg32);\n void valid_function5(uint32_t invalid_arg32);\n void valid_function6(uint32_t ui32_valid_arg);\n uint16_t invalid_function7(int valid_arg);\n uint16_t ui16_valid_function8(int valid_arg);\n \n int _invalid_global;\n static int _invalid_static_global;\n \n class _clz {\n public:\n _clz() : _invalid_public(0), _invalid_private(0), priv_good(0), priv_bad_tmp(0) { }\n int _invalid_public;\n private:\n char _invalid_private;\n int priv_good;\n int priv_bad_tmp;\n };\n \n namespace _invalid_namespace { }\n \"\"\"%(test_include_file_basename))\n \n args = ['--addon='+addon_file, '--verbose', '--enable=all', '--disable=unusedFunction', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = __remove_verbose_log(stdout.splitlines())\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n lines = [line for line in stderr.splitlines() if line != '']\n expect = [\n '{}:0:0: style: File name {} violates naming convention [namingng-namingConvention]'.format(test_include_file,test_include_file_basename),\n '^',\n '{}:2:9: style: include guard naming violation; TEST_H != _TEST_H [namingng-includeGuardName]'.format(test_include_file),\n '#ifndef TEST_H',\n ' ^',\n '{}:5:6: style: Function InvalidFunction violates naming convention [namingng-namingConvention]'.format(test_include_file),\n 'void InvalidFunction();',\n ' ^',\n '{}:6:12: style: Global variable _invalid_extern_global violates naming convention [namingng-namingConvention]'.format(test_include_file),\n 'extern int _invalid_extern_global;',\n ' ^',\n \n '{}:0:0: style: File name {} violates naming convention [namingng-namingConvention]'.format(test_unguarded_include_file,test_unguarded_include_file_basename),\n '^',\n '{}:0:0: style: Missing include guard [namingng-includeGuardMissing]'.format(test_unguarded_include_file),\n '^',\n '{}:2:6: style: Function InvalidFunctionUnguarded violates naming convention [namingng-namingConvention]'.format(test_unguarded_include_file),\n 'void InvalidFunctionUnguarded();',\n ' ^',\n \n '{}:0:0: style: File name {} violates naming convention [namingng-namingConvention]'.format(test_file,test_file_basename),\n '^',\n '{}:7:26: style: Variable _invalid_arg violates naming convention [namingng-namingConvention]'.format(test_file),\n 'void valid_function2(int _invalid_arg);',\n ' ^',\n '{}:8:26: style: Variable invalid_arg_ violates naming convention [namingng-namingConvention]'.format(test_file),\n 'void valid_function3(int invalid_arg_);',\n ' ^',\n '{}:10:31: style: Variable invalid_arg32 violates naming convention [namingng-namingConvention]'.format(test_file),\n 'void valid_function5(uint32_t invalid_arg32);',\n ' ^',\n '{}:4:6: style: Function invalid_function_ violates naming convention [namingng-namingConvention]'.format(test_file),\n 'void invalid_function_();',\n ' ^',\n '{}:5:6: style: Function _invalid_function violates naming convention [namingng-namingConvention]'.format(test_file),\n 'void _invalid_function();',\n ' ^',\n '{}:12:10: style: Function invalid_function7 violates naming convention [namingng-namingConvention]'.format(test_file),\n 'uint16_t invalid_function7(int valid_arg);',\n ' ^',\n '{}:15:5: style: Global variable _invalid_global violates naming convention [namingng-namingConvention]'.format(test_file),\n 'int _invalid_global;',\n ' ^',\n '{}:16:12: style: Global variable _invalid_static_global violates naming convention [namingng-namingConvention]'.format(test_file),\n 'static int _invalid_static_global;',\n ' ^',\n '{}:20:5: style: Class Constructor _clz violates naming convention [namingng-namingConvention]'.format(test_file),\n ' _clz() : _invalid_public(0), _invalid_private(0), priv_good(0), priv_bad_tmp(0) { }',\n ' ^',\n '{}:21:9: style: Public member variable _invalid_public violates naming convention [namingng-namingConvention]'.format(test_file),\n ' int _invalid_public;',\n ' ^',\n '{}:23:10: style: Private member variable _invalid_private violates naming convention: required prefix priv_ missing [namingng-namingConvention]'.format(test_file),\n ' char _invalid_private;',\n ' ^',\n '{}:25:9: style: Private member variable priv_bad_tmp violates naming convention: illegal suffix _tmp [namingng-namingConvention]'.format(test_file),\n ' int priv_bad_tmp;',\n ' ^',\n '{}:28:11: style: Namespace _invalid_namespace violates naming convention [namingng-namingConvention]'.format(test_file),\n 'namespace _invalid_namespace { }',\n ' ^',\n ]\n # test sorted lines; the order of messages may vary and is not of importance\n lines.sort()\n expect.sort()\n> assert lines == expect\nE AssertionError: assert [' ^', '#incl...singInclude]'] == [' ... ^', ...]\nE \nE At index 0 diff: ' ^' != ' ^'\nE Right contains 56 more items, first extra item: ' ^'\nE \nE Full diff:\nE [\nE - ' ^',...\nE \nE ...Full output truncated (108 lines hidden), use '-vv' to show\n\ntests/other_test.py:617: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_addon_namingng_config __________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_namingng_config2')\n\n def test_addon_namingng_config(tmpdir):\n addon_file = os.path.join(tmpdir, 'namingng.json')\n addon_config_file = os.path.join(tmpdir, 'namingng.config.json')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n {\n \"script\": \"addons/namingng.py\",\n \"args\": [\n \"--configfile=%s\"\n ]\n }\n \"\"\"%(addon_config_file).replace('\\\\','\\\\\\\\'))\n \n with open(addon_config_file, 'wt') as f:\n f.write(\"\"\"\n {\n \"RE_FILE\": \"[^/]*[a-z][a-z0-9_]*[a-z0-9]\\\\.c\\\\Z\",\n \"RE_NAMESPACE\": false,\n \"RE_VARNAME\": [\"+bad pattern\",\"[a-z]_good_pattern\\\\Z\",\"(parentheses?\"],\n \"RE_PRIVATE_MEMBER_VARIABLE\": \"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\",\n \"RE_PUBLIC_MEMBER_VARIABLE\": {\n \"tmp_.*\\\\Z\":[true,\"illegal prefix tmp_\"],\n \"bad_.*\\\\Z\":true,\n \"public_.*\\\\Z\":[false],\n \"pub_.*\\\\Z\":[0,\"required prefix pub_ missing\"]\n },\n \"RE_GLOBAL_VARNAME\": \"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\",\n \"RE_FUNCTIONNAME\": \"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\",\n \"RE_CLASS_NAME\": \"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\",\n \"_comment1\": \"these should all be arrays, or null, or not set\",\n \n \"include_guard\": true,\n \"var_prefixes\": [\"bad\"],\n \"function_prefixes\": false,\n \"_comment2\": \"these should all be dict\",\n \n \"skip_one_char_variables\": \"false\",\n \"_comment3\": \"this should be bool\",\n \n \"RE_VAR_NAME\": \"typo\"\n }\n \"\"\".replace('\\\\','\\\\\\\\'))\n \n test_file_basename = 'test.c'\n test_file = os.path.join(tmpdir, test_file_basename)\n with open(test_file, 'a'):\n # only create the file\n pass\n \n args = ['--addon='+addon_file, '--verbose', '--enable=all', '-j1', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n \n lines = __remove_verbose_log(stdout.splitlines())\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n lines = stderr.splitlines()\n # ignore the first line, stating that the addon failed to run properly\n> lines.pop(0)\nE IndexError: pop from empty list\n\ntests/other_test.py:681: IndexError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________________ test_addon_findcasts _____________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_findcasts2')\n\n def test_addon_findcasts(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n extern void f(char c)\n {\n int i = (int)c;\n (void)i;\n }\n \"\"\")\n \n args = ['--addon=findcasts', '--enable=all', '--disable=unusedFunction', '--template=simple', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:4:21: information: found a cast [findcasts-cast]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...casts-cast]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_findcasts2/test.cpp:4:21: information: found a cast [findcasts-cast]\n\ntests/other_test.py:724: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________________ test_addon_misc ________________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_misc2')\n\n def test_addon_misc(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n extern void f()\n {\n char char* [] = {\"a\" \"b\"}\n }\n \"\"\")\n \n args = ['--addon=misc', '--enable=all', '--disable=unusedFunction', '--template=simple', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:4:26: style: String concatenation in array initialization, missing comma? [misc-stringConcatInArrayInit]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nArrayInit]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_misc2/test.cpp:4:26: style: String concatenation in array initialization, missing comma? [misc-stringConcatInArrayInit]\n\ntests/other_test.py:745: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_invalid_addon_json ____________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_invalid_addon_json2')\n\n def test_invalid_addon_json(tmpdir):\n addon_file = os.path.join(tmpdir, 'addon1.json')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:761: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________________ test_invalid_addon_py _____________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_invalid_addon_py2')\n\n def test_invalid_addon_py(tmpdir):\n addon_file = os.path.join(tmpdir, 'addon1.py')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n raise Exception()\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n typedef int MISRA_5_6_VIOLATION;\n \"\"\")\n \n args = ['--addon={}'.format(addon_file), '--enable=all', '--disable=unusedFunction', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0 # TODO: needs to be 1\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1 [internalError]\\n\\n^\\n\".format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_invalid_addon_py2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1 [internalError]\nE - \nE - ^\n\ntests/other_test.py:790: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_invalid_addon_py_verbose _________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_invalid_addon_py_verbose2')\n\n def test_invalid_addon_py_verbose(tmpdir):\n addon_file = os.path.join(tmpdir, 'addon1.py')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n raise Exception()\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n typedef int MISRA_5_6_VIOLATION;\n \"\"\")\n \n args = ['--addon={}'.format(addon_file), '--enable=all', '--disable=unusedFunction', '--verbose', '-j1', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0 # TODO: needs to be 1\n lines = __remove_verbose_log(stdout.splitlines())\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n \"\"\"\n /tmp/pytest-of-user/pytest-11/test_invalid_addon_py_20/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: python3 /home/user/CLionProjects/cppcheck/addons/runaddon.py /tmp/pytest-of-user/pytest-11/test_invalid_addon_py_20/addon1.py --cli /tmp/pytest-of-user/pytest-11/test_invalid_addon_py_20/file.cpp.24762.dump\n Output:\n Traceback (most recent call last):\n File \"/home/user/CLionProjects/cppcheck/addons/runaddon.py\", line 8, in \n runpy.run_path(addon, run_name='__main__')\n File \"\", line 291, in run_path\n File \"\", line 98, in _run_module_code\n File \"\", line 88, in _run_code\n File \"/tmp/pytest-of-user/pytest-11/test_invalid_addon_py_20/addon1.py\", line 2, in \n raise Exception()\n Exceptio [internalError]\n \"\"\"\n # /tmp/pytest-of-user/pytest-10/test_invalid_addon_py_20/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 256.: python3 /home/user/CLionProjects/cppcheck/addons/runaddon.py /tmp/pytest-of-user/pytest-10/test_invalid_addon_py_20/addon1.py --cli /tmp/pytest-of-user/pytest-10/test_invalid_addon_py_20/file.cpp.24637.dump\n> assert stderr.startswith(\"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \".format(test_file))\nE assert False\nE + where False = (\"/tmp/pytest-of-root/pytest-0/test_invalid_addon_py_verbose2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \")\nE + where = ''.startswith\nE + and \"/tmp/pytest-of-root/pytest-0/test_invalid_addon_py_verbose2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \" = ('/tmp/pytest-of-root/pytest-0/test_invalid_addon_py_verbose2/file.cpp')\nE + where = \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \".format\n\ntests/other_test.py:829: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________________ test_addon_result _______________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_result2')\n\n def test_addon_result(tmpdir):\n addon_file = os.path.join(tmpdir, 'addon1.py')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n print(\"Checking ...\")\n print(\"\")\n print('{\"file\": \"test.cpp\", \"linenr\": 1, \"column\": 1, \"severity\": \"style\", \"message\": \"msg\", \"addon\": \"addon1\", \"errorId\": \"id\", \"extra\": \"\"}')\n print('{\"loc\": [{\"file\": \"test.cpp\", \"linenr\": 1, \"column\": 1, \"info\": \"\"}], \"severity\": \"style\", \"message\": \"msg\", \"addon\": \"addon1\", \"errorId\": \"id\", \"extra\": \"\"}')\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n typedef int MISRA_5_6_VIOLATION;\n \"\"\")\n \n args = ['--addon={}'.format(addon_file), '--enable=all', '--disable=unusedFunction', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0 # TODO: needs to be 1\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == 'test.cpp:1:1: style: msg [addon1-id]\\n\\n^\\n'\nE AssertionError: assert '' == 'test.cpp:1:1...n1-id]\\n\\n^\\n'\nE \nE - test.cpp:1:1: style: msg [addon1-id]\nE - \nE - ^\n\ntests/other_test.py:858: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________ test_unused_function_include _________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_function_include2')\n\n def test_unused_function_include(tmpdir):\n> __test_unused_function_include(tmpdir, [])\n\ntests/other_test.py:896: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_function_include2')\nextra_args = []\n\n def __test_unused_function_include(tmpdir, extra_args):\n test_cpp_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_cpp_file, 'wt') as f:\n f.write(\"\"\"\n #include \"test.h\"\n \"\"\")\n \n test_h_file = os.path.join(tmpdir, 'test.h')\n with open(test_h_file, 'wt') as f:\n f.write(\"\"\"\n class A {\n public:\n void f() {}\n // cppcheck-suppress unusedFunction\n void f2() {}\n };\n \"\"\")\n \n args = [\n '--enable=unusedFunction',\n '--inline-suppr',\n '--template=simple',\n '-j1',\n test_cpp_file\n ]\n \n args += extra_args\n \n _, _, stderr = cppcheck(args)\n> assert stderr == \"{}:4:26: style: The function 'f' is never used. [unusedFunction]\\n\".format(test_h_file)\nE AssertionError: assert '' == '/tmp/pytest-...edFunction]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_unused_function_include2/test.h:4:26: style: The function 'f' is never used. [unusedFunction]\n\ntests/other_test.py:892: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_showtime_top5_file ____________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_showtime_top5_file2')\n\n def test_showtime_top5_file(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n int main(int argc)\n {\n }\n \"\"\")\n \n args = ['--showtime=top5_file', '--quiet', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0 # TODO: needs to be 1\n lines = stdout.splitlines()\n> assert len(lines) == 7\nE assert 0 == 7\nE + where 0 = len([])\n\ntests/other_test.py:914: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________________ test_missing_addon ______________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_missing_addon2')\n\n def test_missing_addon(tmpdir):\n args = ['--addon=misra3', '--addon=misra', '--addon=misra2', 'file.c']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 1\n lines = stdout.splitlines()\n lines.sort()\n> assert lines == [\n 'Did not find addon misra2.py',\n 'Did not find addon misra3.py'\n ]\nE AssertionError: assert ['Did not fin...on misra3.py'] == ['Did not fin...on misra3.py']\nE \nE At index 0 diff: 'Did not find addon misra3.py' != 'Did not find addon misra2.py'\nE Right contains one more item: 'Did not find addon misra3.py'\nE \nE Full diff:\nE [\nE - 'Did not find addon misra2.py',\nE 'Did not find addon misra3.py',\nE ]\n\ntests/other_test.py:933: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________________ test_file_order ________________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_file_order2')\n\n def test_file_order(tmpdir):\n test_file_a = os.path.join(tmpdir, 'a.c')\n with open(test_file_a, 'wt'):\n pass\n test_file_b = os.path.join(tmpdir, 'b.c')\n with open(test_file_b, 'wt'):\n pass\n test_file_c = os.path.join(tmpdir, 'c.c')\n with open(test_file_c, 'wt'):\n pass\n test_file_d = os.path.join(tmpdir, 'd.c')\n with open(test_file_d, 'wt'):\n pass\n \n args = [test_file_c, test_file_d, test_file_b, test_file_a, '-j1']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n 'Checking {} ...'.format(test_file_c),\n '1/4 files checked 25% done',\n 'Checking {} ...'.format(test_file_d),\n '2/4 files checked 50% done',\n 'Checking {} ...'.format(test_file_b),\n '3/4 files checked 75% done',\n 'Checking {} ...'.format(test_file_a),\n '4/4 files checked 100% done'\n ]\nE AssertionError: assert ['Checking /t...0% done', ...] == ['Checking /t...5% done', ...]\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/test_file_order2/a.c ...' != 'Checking /tmp/pytest-of-root/pytest-0/test_file_order2/c.c ...'\nE \nE Full diff:\nE [\nE + 'Checking /tmp/pytest-of-root/pytest-0/test_file_order2/a.c ...',\nE + '1/4 files checked 0% done',...\nE \nE ...Full output truncated (16 lines hidden), use '-vv' to show\n\ntests/other_test.py:1017: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________________ test_markup __________________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_markup2')\n\n def test_markup(tmpdir):\n test_file_1 = os.path.join(tmpdir, 'test_1.qml')\n with open(test_file_1, 'wt'):\n pass\n test_file_2 = os.path.join(tmpdir, 'test_2.cpp')\n with open(test_file_2, 'wt'):\n pass\n test_file_3 = os.path.join(tmpdir, 'test_3.qml')\n with open(test_file_3, 'wt'):\n pass\n test_file_4 = os.path.join(tmpdir, 'test_4.cpp')\n with open(test_file_4, 'wt'):\n pass\n \n args = ['--library=qt', test_file_1, test_file_2, test_file_3, test_file_4, '-j1']\n out_lines = [\n 'Checking {} ...'.format(test_file_2),\n '1/4 files checked 25% done',\n 'Checking {} ...'.format(test_file_4),\n '2/4 files checked 50% done',\n 'Checking {} ...'.format(test_file_1),\n '3/4 files checked 75% done',\n 'Checking {} ...'.format(test_file_3),\n '4/4 files checked 100% done'\n ]\n \n> assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\n\ntests/other_test.py:1056: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nargs = ['--library=qt', '/tmp/pytest-of-root/pytest-0/test_markup2/test_1.qml', '/tmp/pytest-of-root/pytest-0/test_markup2/te... '/tmp/pytest-of-root/pytest-0/test_markup2/test_3.qml', '/tmp/pytest-of-root/pytest-0/test_markup2/test_4.cpp', '-j1']\nec_exp = 0\nout_exp = ['Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_2.cpp ...', '1/4 files checked 25% done', 'Checking /tmp/pyt...cked 50% done', 'Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_1.qml ...', '3/4 files checked 75% done', ...]\nerr_exp = [], env = None, cwd = None\n\n def assert_cppcheck(args, ec_exp=None, out_exp=None, err_exp=None, env=None, cwd=None):\n exitcode, stdout, stderr = cppcheck(args, env=env, cwd=cwd)\n if ec_exp is not None:\n assert exitcode == ec_exp, stdout\n if out_exp is not None:\n out_lines = stdout.splitlines()\n> assert out_lines == out_exp, out_lines\nE AssertionError: ['Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_1.qml ...', '1/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_2.cpp ...', '2/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_3.qml ...', '3/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_4.cpp ...', '4/4 files checked 0% done']\n\ntests/testutils.py:170: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________________ test_markup_j _________________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_markup_j2')\n\n def test_markup_j(tmpdir):\n test_file_1 = os.path.join(tmpdir, 'test_1.qml')\n with open(test_file_1, 'wt'):\n pass\n test_file_2 = os.path.join(tmpdir, 'test_2.cpp')\n with open(test_file_2, 'wt'):\n pass\n test_file_3 = os.path.join(tmpdir, 'test_3.qml')\n with open(test_file_3, 'wt'):\n pass\n test_file_4 = os.path.join(tmpdir, 'test_4.cpp')\n with open(test_file_4, 'wt'):\n pass\n \n args = ['--library=qt', '-j2', test_file_1, test_file_2, test_file_3, test_file_4]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n \n> assert sorted(lines) == [\n '1/4 files checked 25% done',\n '2/4 files checked 50% done',\n '3/4 files checked 75% done',\n '4/4 files checked 100% done',\n 'Checking {} ...'.format(test_file_1),\n 'Checking {} ...'.format(test_file_2),\n 'Checking {} ...'.format(test_file_3),\n 'Checking {} ...'.format(test_file_4)\n ]\nE AssertionError: assert ['1/4 files c...cpp ...', ...] == ['1/4 files c...cpp ...', ...]\nE \nE At index 0 diff: '1/4 files checked 0% done' != '1/4 files checked 25% done'\nE \nE Full diff:\nE [\nE - '1/4 files checked 25% done',\nE ? ^^...\nE \nE ...Full output truncated (17 lines hidden), use '-vv' to show\n\ntests/other_test.py:1079: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________________ test_valueflow_debug _____________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_valueflow_debug2')\n\n def test_valueflow_debug(tmpdir):\n test_file_cpp = os.path.join(tmpdir, 'test_1.cpp')\n with open(test_file_cpp, 'wt') as f:\n f.write(\"\"\"\n #include \"test.h\"\n \n void f()\n {\n int i = 0;\n }\n \"\"\"\n )\n test_file_h = os.path.join(tmpdir, 'test.h')\n with open(test_file_h, 'wt') as f:\n f.write(\"\"\"\n #include \"test2.h\"\n inline void f1()\n {\n int i = 0;\n }\n \"\"\"\n )\n test_file_h_2 = os.path.join(tmpdir, 'test2.h')\n with open(test_file_h_2, 'wt') as f:\n f.write(\"\"\"\n inline void f2()\n {\n int i = 0;\n }\n \"\"\"\n )\n \n args = ['--debug', test_file_cpp]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n if sys.platform == \"win32\":\n stdout = stdout.replace('/', '\\\\')\n assert f'Checking {test_file_cpp} ...' in stdout\n stdout = stdout.replace(f'Checking {test_file_cpp} ...\\n', '').strip()\n> assert stdout == '''##file {}\n 2: void f2 ( )\n 3: {{\n 4: int i@var1 ; i@var1 = 0 ;\n 5: }}\n \n ##file {}\n \n 1:\n 2:\n 3: void f1 ( )\n 4: {{\n 5: int i@var2 ; i@var2 = 0 ;\n 6: }}\n \n ##file {}\n \n 1:\n 2:\n 3:\n 4: void f ( )\n 5: {{\n 6: int i@var3 ; i@var3 = 0 ;\n 7: }}\n \n \n \n ##Value flow\n File {}\n Line 4\n = always 0\n 0 always 0\n File {}\n Line 5\n = always 0\n 0 always 0\n File {}\n Line 6\n = always 0\n 0 always 0'''.format(test_file_h_2, test_file_h, test_file_cpp,\n test_file_h_2, test_file_h, test_file_cpp)\nE AssertionError: assert '##file /tmp/...i = 0 ;\\n7: }' == '##file /tmp/...n 0 always 0'\nE \nE - ##file /tmp/pytest-of-root/pytest-0/test_valueflow_debug2/test2.h\nE ? ^ ^\nE + ##file /tmp/pytest-of-root/pytest-0/test_valueflow_debug2/test_1.cpp\nE ? ^^ ^^^\nE 2: void f2 ( )\nE 3: {...\nE \nE ...Full output truncated (45 lines hidden), use '-vv' to show\n\ntests/other_test.py:1132: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________________ test_file_duplicate_2 _____________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_file_duplicate_22')\n\n def test_file_duplicate_2(tmpdir):\n test_file_a = os.path.join(tmpdir, 'a.c')\n with open(test_file_a, 'wt'):\n pass\n test_file_b = os.path.join(tmpdir, 'b.c')\n with open(test_file_b, 'wt'):\n pass\n test_file_c = os.path.join(tmpdir, 'c.c')\n with open(test_file_c, 'wt'):\n pass\n \n args = [test_file_c, test_file_a, test_file_b, str(tmpdir), test_file_b, test_file_c, test_file_a, str(tmpdir), '-j1']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n 'Checking {} ...'.format(test_file_c),\n '1/3 files checked 33% done',\n 'Checking {} ...'.format(test_file_a),\n '2/3 files checked 66% done',\n 'Checking {} ...'.format(test_file_b),\n '3/3 files checked 100% done'\n ]\nE AssertionError: assert ['Checking /t...cked 0% done'] == ['Checking /t...ed 100% done']\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_22/a.c ...' != 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_22/c.c ...'\nE \nE Full diff:\nE [\nE + 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_22/a.c ...',\nE + '1/3 files checked 0% done',...\nE \nE ...Full output truncated (11 lines hidden), use '-vv' to show\n\ntests/other_test.py:1208: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________________ test_file_duplicate_3 _____________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_file_duplicate_32')\n\n def test_file_duplicate_3(tmpdir): # #12834\n test_file_a = os.path.join(tmpdir, 'a.c')\n with open(test_file_a, 'wt'):\n pass\n \n # multiple ways to specify the same file\n in_file_a = 'a.c'\n in_file_b = os.path.join('.', 'a.c')\n in_file_c = os.path.join('dummy', '..', 'a.c')\n in_file_d = os.path.join(tmpdir, 'a.c')\n in_file_e = os.path.join(tmpdir, '.', 'a.c')\n in_file_f = os.path.join(tmpdir, 'dummy', '..', 'a.c')\n \n args = [in_file_a, in_file_b, in_file_c, in_file_d, in_file_e, in_file_f, str(tmpdir)]\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n 'Checking {} ...'.format('a.c')\n ]\nE AssertionError: assert ['Checking /t...cked 0% done'] == ['Checking a.c ...']\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_32/a.c ...' != 'Checking a.c ...'\nE Left contains 3 more items, first extra item: '1/2 files checked 0% done'\nE \nE Full diff:\nE [\nE + 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_32/a.c ...',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:1237: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_addon_json_invalid_no_obj ________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_no_obj2')\n\n def test_addon_json_invalid_no_obj(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps([]), \"JSON is not an object.\")\n\ntests/other_test.py:1324: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_no_obj2')\naddon_json = '[]', expected = 'JSON is not an object.'\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_addon_json_invalid_args_1 ________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_args_12')\n\n def test_addon_json_invalid_args_1(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'args':0}), \"'args' must be an array.\")\n\ntests/other_test.py:1328: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_args_12')\naddon_json = '{\"args\": 0}', expected = \"'args' must be an array.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_addon_json_invalid_args_2 ________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_args_22')\n\n def test_addon_json_invalid_args_2(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'args':[0]}), \"'args' entry is not a string.\")\n\ntests/other_test.py:1332: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_args_22')\naddon_json = '{\"args\": [0]}', expected = \"'args' entry is not a string.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________ test_addon_json_invalid_ctu __________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_ctu2')\n\n def test_addon_json_invalid_ctu(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'ctu':0}), \"'ctu' must be a boolean.\")\n\ntests/other_test.py:1336: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_ctu2')\naddon_json = '{\"ctu\": 0}', expected = \"'ctu' must be a boolean.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_addon_json_invalid_python ________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_python2')\n\n def test_addon_json_invalid_python(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'python':0}), \"'python' must be a string.\")\n\ntests/other_test.py:1340: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_python2')\naddon_json = '{\"python\": 0}', expected = \"'python' must be a string.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________ test_addon_json_invalid_executable ______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_execut2')\n\n def test_addon_json_invalid_executable(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'executable':0}), \"'executable' must be a string.\")\n\ntests/other_test.py:1344: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_execut2')\naddon_json = '{\"executable\": 0}', expected = \"'executable' must be a string.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________ test_addon_json_invalid_script_1 _______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_script2')\n\n def test_addon_json_invalid_script_1(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'Script':''}), \"'script' is missing.\")\n\ntests/other_test.py:1348: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_script2')\naddon_json = '{\"Script\": \"\"}', expected = \"'script' is missing.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________ test_addon_json_invalid_script_2 _______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_script5')\n\n def test_addon_json_invalid_script_2(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'script':0}), \"'script' must be a string.\")\n\ntests/other_test.py:1352: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_script5')\naddon_json = '{\"script\": 0}', expected = \"'script' must be a string.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_rule_file_define_multiple ________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule_file_define_multiple2')\n\n def test_rule_file_define_multiple(tmpdir):\n rule_file = os.path.join(tmpdir, 'rule_file.xml')\n with open(rule_file, 'wt') as f:\n f.write(\"\"\"\n \n \n define\n DEF_1\n \n error\n ruleId1\n \n \n \n define\n DEF_2\n \n error\n ruleId2\n define2\n \n \n \"\"\")\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n void f() { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['--template=simple', '--rule-file={}'.format(rule_file), '-DDEF_3', test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule-file cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1401: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________________ test_rule_file_define _____________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule_file_define2')\n\n def test_rule_file_define(tmpdir):\n rule_file = os.path.join(tmpdir, 'rule_file.xml')\n with open(rule_file, 'wt') as f:\n f.write(\"\"\"\n \n define\n DEF_.\n \n \"\"\")\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n void f() { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['--template=simple', '--rule-file={}'.format(rule_file), '-DDEF_3', test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule-file cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1435: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________________ test_rule_file_normal _____________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule_file_normal2')\n\n def test_rule_file_normal(tmpdir):\n rule_file = os.path.join(tmpdir, 'rule_file.xml')\n with open(rule_file, 'wt') as f:\n f.write(\"\"\"\n \n int\n \n \"\"\")\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n typedef int i32;\n void f(i32) { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['--template=simple', '--rule-file={}'.format(rule_file), test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule-file cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1468: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________________ test_rule_file_raw ______________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule_file_raw2')\n\n def test_rule_file_raw(tmpdir):\n rule_file = os.path.join(tmpdir, 'rule_file.xml')\n with open(rule_file, 'wt') as f:\n f.write(\"\"\"\n \n raw\n i32\n \n \"\"\")\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n typedef int i32;\n void f(i32) { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['--template=simple', '--rule-file={}'.format(rule_file), test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule-file cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1500: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________________ test_rule ___________________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule2')\n\n def test_rule(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n void f() { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['--template=simple', '--rule=f', test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1523: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_rule_multiple_files ___________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule_multiple_files2')\n\n def test_rule_multiple_files(tmpdir):\n stderr_exp = []\n for i in range(10):\n test_file = os.path.join(tmpdir, f'test_{i}.c')\n stderr_exp.append(\"{}:4:0: style: found 'f' [rule]\".format(test_file))\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n void f() { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['-q', '--template=simple', '--rule=f', str(tmpdir)])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1548: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________________ test_filelist _________________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_filelist2')\n\n def test_filelist(tmpdir):\n list_dir = os.path.join(tmpdir, 'list-dir')\n os.mkdir(list_dir)\n \n with open(os.path.join(list_dir, 'aaa.c'), 'wt'):\n pass\n with open(os.path.join(list_dir, 'zzz.c'), 'wt'):\n pass\n with open(os.path.join(list_dir, 'valueflow.cpp'), 'wt'):\n pass\n with open(os.path.join(list_dir, 'vfvalue.cpp'), 'wt'):\n pass\n with open(os.path.join(list_dir, 'vf_enumvalue.cpp'), 'wt'):\n pass\n with open(os.path.join(list_dir, 'vf_analyze.h'), 'wt'):\n pass\n \n sub_dir_1 = os.path.join(list_dir, 'valueflow')\n os.mkdir(sub_dir_1)\n with open(os.path.join(sub_dir_1, 'file.cpp'), 'wt'):\n pass\n with open(os.path.join(sub_dir_1, 'file.c'), 'wt'):\n pass\n with open(os.path.join(sub_dir_1, 'file.h'), 'wt'):\n pass\n \n sub_dir_2 = os.path.join(list_dir, 'vfvalue')\n os.mkdir(sub_dir_2)\n with open(os.path.join(sub_dir_2, 'file.cpp'), 'wt'):\n pass\n with open(os.path.join(sub_dir_2, 'file.c'), 'wt'):\n pass\n with open(os.path.join(sub_dir_2, 'file.h'), 'wt'):\n pass\n \n sub_dir_3 = os.path.join(list_dir, 'vf_enumvalue')\n os.mkdir(sub_dir_3)\n with open(os.path.join(sub_dir_3, 'file.cpp'), 'wt'):\n pass\n with open(os.path.join(sub_dir_3, 'file.c'), 'wt'):\n pass\n with open(os.path.join(sub_dir_3, 'file.h'), 'wt'):\n pass\n \n # TODO: -rp is not applied to \"Checking\" messages\n #exitcode, stdout, stderr = cppcheck(['-j1', '-rp', list_dir])\n exitcode, stdout, stderr = cppcheck(['-j1', '.'], cwd=list_dir)\n assert exitcode == 0, stdout if stdout else stderr\n if sys.platform == \"win32\":\n stdout = stdout.replace('\\\\', '/')\n lines = stdout.splitlines()\n expected = [\n 'Checking aaa.c ...',\n 'Checking valueflow.cpp ...',\n 'Checking valueflow/file.c ...',\n 'Checking valueflow/file.cpp ...',\n 'Checking vf_enumvalue.cpp ...',\n 'Checking vf_enumvalue/file.c ...',\n 'Checking vf_enumvalue/file.cpp ...',\n 'Checking vfvalue.cpp ...',\n 'Checking vfvalue/file.c ...',\n 'Checking vfvalue/file.cpp ...',\n 'Checking zzz.c ...'\n ]\n assert len(expected), len(lines)\n for i in range(1, len(expected)+1):\n> lines.remove('{}/{} files checked {}% done'.format(i, len(expected), int(100 * i // len(expected))))\nE ValueError: list.remove(x): x not in list\n\ntests/other_test.py:1622: ValueError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________________ test_cpp_probe ________________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_cpp_probe2')\n\n def test_cpp_probe(tmpdir):\n test_file = os.path.join(tmpdir, 'test.h')\n with open(test_file, 'wt') as f:\n f.writelines([\n 'class A {};'\n ])\n \n args = ['-q', '--template=simple', '--cpp-header-probe', '--verbose', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == []\nE AssertionError: assert ['Defines:', ...tform:native'] == []\nE \nE Left contains 4 more items, first extra item: 'Defines:'\nE \nE Full diff:\nE - []\nE + [\nE + 'Defines:',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:1660: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________________ test_config_invalid ______________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_config_invalid5')\n\n def test_config_invalid(tmpdir):\n # cppcheck.cfg needs to be next to executable\n exe = shutil.copy2(__lookup_cppcheck_exe(), tmpdir)\n if sys.platform == 'win32':\n shutil.copy2(os.path.join(os.path.dirname(__lookup_cppcheck_exe()), 'cppcheck-core.dll'), tmpdir)\n shutil.copytree(os.path.join(os.path.dirname(__lookup_cppcheck_exe()), 'cfg'), os.path.join(tmpdir, 'cfg'))\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n config_file = os.path.join(tmpdir, 'cppcheck.cfg')\n with open(config_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex([test_file], cwd=tmpdir, cppcheck_exe=exe)\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_config_invalid5/test.c ...\nE \nE assert 0 == 1\n\ntests/other_test.py:1697: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n_______________________ test_checkers_report_misra_json ________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkers_report_misra_jso2')\n\n def test_checkers_report_misra_json(tmpdir):\n \"\"\"check that misra checkers are reported properly when --addon=misra.json is used\"\"\"\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('x=1;')\n misra_json = os.path.join(tmpdir, 'misra.json')\n with open(misra_json, 'wt') as f:\n f.write('{\"script\":\"misra.py\"}')\n exitcode, stdout, stderr = cppcheck('--enable=style --addon=misra.json --xml-version=3 test.c'.split(), cwd=tmpdir)\n assert exitcode == 0, stdout if stdout else stderr\n> assert '' in stderr\nE assert '' in '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n\ntests/other_test.py:1747: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________ test_ignore_file_relative_backslash ______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_file_relative_back2')\n\n def test_ignore_file_relative_backslash(tmpdir):\n> __test_ignore_file(tmpdir, 'src\\\\test.cpp')\n\ntests/other_test.py:1806: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_file_relative_back2')\nign = 'src\\\\test.cpp', append = False, inject_path = False\n\n def __test_ignore_file(tmpdir, ign, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths are ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n args = [\n '--debug-ignore',\n test_file\n ]\n \n if inject_path:\n ign = ign.replace('$path', str(test_file))\n \n if append:\n args += ['-i{}'.format(ign)]\n else:\n args = ['-i{}'.format(ign)] + args\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_ignore_file_relative_back2/src/test.cpp ...\nE \nE assert 0 == 1\n\ntests/other_test.py:1777: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________ test_ignore_file_relative_wildcard_backslash _________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_file_relative_wild3')\n\n def test_ignore_file_relative_wildcard_backslash(tmpdir):\n> __test_ignore_file(tmpdir, 'src\\\\test.c*')\n\ntests/other_test.py:1814: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_file_relative_wild3')\nign = 'src\\\\test.c*', append = False, inject_path = False\n\n def __test_ignore_file(tmpdir, ign, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths are ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n args = [\n '--debug-ignore',\n test_file\n ]\n \n if inject_path:\n ign = ign.replace('$path', str(test_file))\n \n if append:\n args += ['-i{}'.format(ign)]\n else:\n args = ['-i{}'.format(ign)] + args\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_ignore_file_relative_wild3/src/test.cpp ...\nE \nE assert 0 == 1\n\ntests/other_test.py:1777: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________ test_ignore_path_relative_backslash ______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_path_relative_back2')\n\n def test_ignore_path_relative_backslash(tmpdir):\n> __test_ignore_file(tmpdir, 'src\\\\')\n\ntests/other_test.py:1822: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_path_relative_back2')\nign = 'src\\\\', append = False, inject_path = False\n\n def __test_ignore_file(tmpdir, ign, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths are ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n args = [\n '--debug-ignore',\n test_file\n ]\n \n if inject_path:\n ign = ign.replace('$path', str(test_file))\n \n if append:\n args += ['-i{}'.format(ign)]\n else:\n args = ['-i{}'.format(ign)] + args\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_ignore_path_relative_back2/src/test.cpp ...\nE \nE assert 0 == 1\n\ntests/other_test.py:1777: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________ test_ignore_path_relative_wildcard_backslash _________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_path_relative_wild3')\n\n def test_ignore_path_relative_wildcard_backslash(tmpdir):\n> __test_ignore_file(tmpdir, 'src*\\\\')\n\ntests/other_test.py:1830: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_path_relative_wild3')\nign = 'src*\\\\', append = False, inject_path = False\n\n def __test_ignore_file(tmpdir, ign, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths are ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n args = [\n '--debug-ignore',\n test_file\n ]\n \n if inject_path:\n ign = ign.replace('$path', str(test_file))\n \n if append:\n args += ['-i{}'.format(ign)]\n else:\n args = ['-i{}'.format(ign)] + args\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_ignore_path_relative_wild3/src/test.cpp ...\nE \nE assert 0 == 1\n\ntests/other_test.py:1777: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_ignore_project_file ___________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file2')\n\n def test_ignore_project_file(tmpdir):\n> __test_ignore_project(tmpdir, 'test.cpp')\n\ntests/other_test.py:1887: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file2')\nign_proj = 'test.cpp', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________ test_ignore_project_file_cli_prepend _____________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_p2')\n\n def test_ignore_project_file_cli_prepend(tmpdir):\n> __test_ignore_project(tmpdir, ign_proj='test2.cpp', ign_cli='test.cpp')\n\ntests/other_test.py:1891: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_p2')\nign_proj = 'test2.cpp', ign_cli = 'test.cpp', append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_p2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_p2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________ test_ignore_project_file_cli_append ______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_a2')\n\n def test_ignore_project_file_cli_append(tmpdir):\n> __test_ignore_project(tmpdir, ign_proj='test2.cpp', ign_cli='test.cpp', append_cli=True)\n\ntests/other_test.py:1895: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_a2')\nign_proj = 'test2.cpp', ign_cli = 'test.cpp', append_cli = True\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_a2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_a2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________ test_ignore_project_file_wildcard_back ____________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc2')\n\n def test_ignore_project_file_wildcard_back(tmpdir):\n> __test_ignore_project(tmpdir, 'test.c*')\n\ntests/other_test.py:1899: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc2')\nign_proj = 'test.c*', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________ test_ignore_project_file_wildcard_front ____________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc5')\n\n def test_ignore_project_file_wildcard_front(tmpdir):\n> __test_ignore_project(tmpdir, '*test.cpp')\n\ntests/other_test.py:1903: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc5')\nign_proj = '*test.cpp', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________ test_ignore_project_file_placeholder _____________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_place2')\n\n def test_ignore_project_file_placeholder(tmpdir):\n> __test_ignore_project(tmpdir, 't?st.cpp')\n\ntests/other_test.py:1907: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_place2')\nign_proj = 't?st.cpp', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_place2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_place2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________ test_ignore_project_file_relative _______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat2')\n\n def test_ignore_project_file_relative(tmpdir):\n> __test_ignore_project(tmpdir, 'src/test.cpp')\n\ntests/other_test.py:1911: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat2')\nign_proj = 'src/test.cpp', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________ test_ignore_project_file_relative_backslash __________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat5')\n\n def test_ignore_project_file_relative_backslash(tmpdir):\n> __test_ignore_project(tmpdir, 'src\\\\test.cpp')\n\ntests/other_test.py:1915: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat5')\nign_proj = 'src\\\\test.cpp', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________ test_ignore_project_path_relative _______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat2')\n\n def test_ignore_project_path_relative(tmpdir):\n> __test_ignore_project(tmpdir, 'src/')\n\ntests/other_test.py:1919: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat2')\nign_proj = 'src/', ign_cli = None, append_cli = False, inject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________ test_ignore_project_path_relative_backslash __________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat5')\n\n def test_ignore_project_path_relative_backslash(tmpdir):\n> __test_ignore_project(tmpdir, 'src\\\\')\n\ntests/other_test.py:1923: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat5')\nign_proj = 'src\\\\', ign_cli = None, append_cli = False, inject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________ test_ignore_project_abspath __________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_abspath2')\n\n def test_ignore_project_abspath(tmpdir):\n> __test_ignore_project(tmpdir, '$path', inject_path_proj=True)\n\ntests/other_test.py:1927: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_abspath2')\nign_proj = '/tmp/pytest-of-root/pytest-0/test_ignore_project_abspath2/src/test.cpp'\nign_cli = None, append_cli = False, inject_path_proj = True\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_abspath2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_abspath2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_ignore_project_2_file __________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file2')\n\n def test_ignore_project_2_file(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-itest.cpp'])\n\ntests/other_test.py:1975: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file2')\nextra_args = ['-itest.cpp'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError\n----------------------------- Captured stdout call -----------------------------\n['-itest.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file0/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-itest.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file1/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-itest.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file2/compile_commands.json']\nusing '/workspace/executable'\n______________________ test_ignore_project_2_file_append _______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_app2')\n\n def test_ignore_project_2_file_append(tmpdir):\n # make sure it also matches when specified after project\n> __test_ignore_project_2(tmpdir, ['-itest.cpp'], append=True)\n\ntests/other_test.py:1980: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_app2')\nextra_args = ['-itest.cpp'], append = True, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_app2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_app2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError\n----------------------------- Captured stdout call -----------------------------\n['--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_app0/compile_commands.json', '-itest.cpp']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_app1/compile_commands.json', '-itest.cpp']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_app2/compile_commands.json', '-itest.cpp']\nusing '/workspace/executable'\n___________________ test_ignore_project_2_file_wildcard_back ___________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil2')\n\n def test_ignore_project_2_file_wildcard_back(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-itest.c*'])\n\ntests/other_test.py:1984: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil2')\nextra_args = ['-itest.c*'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError\n----------------------------- Captured stdout call -----------------------------\n['-itest.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil0/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-itest.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil1/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-itest.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil2/compile_commands.json']\nusing '/workspace/executable'\n__________________ test_ignore_project_2_file_wildcard_front ___________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil5')\n\n def test_ignore_project_2_file_wildcard_front(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-i*test.cpp'])\n\ntests/other_test.py:1988: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil5')\nextra_args = ['-i*test.cpp'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError\n----------------------------- Captured stdout call -----------------------------\n['-i*test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil3/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-i*test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil4/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-i*test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil5/compile_commands.json']\nusing '/workspace/executable'\n____________________ test_ignore_project_2_file_placeholder ____________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_pla2')\n\n def test_ignore_project_2_file_placeholder(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-it?st.cpp'])\n\ntests/other_test.py:1992: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_pla2')\nextra_args = ['-it?st.cpp'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_pla2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_pla2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError\n----------------------------- Captured stdout call -----------------------------\n['-it?st.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_pla0/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-it?st.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_pla1/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-it?st.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_pla2/compile_commands.json']\nusing '/workspace/executable'\n_____________________ test_ignore_project_2_file_relative ______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel2')\n\n def test_ignore_project_2_file_relative(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc/test.cpp'])\n\ntests/other_test.py:1996: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel2')\nextra_args = ['-isrc/test.cpp'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError\n----------------------------- Captured stdout call -----------------------------\n['-isrc/test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel0/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-isrc/test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel1/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-isrc/test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel2/compile_commands.json']\nusing '/workspace/executable'\n________________ test_ignore_project_2_file_relative_backslash _________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel5')\n\n def test_ignore_project_2_file_relative_backslash(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc\\\\test.cpp'])\n\ntests/other_test.py:2000: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel5')\nextra_args = ['-isrc\\\\test.cpp'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel3/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel4/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel5/compile_commands.json']\nusing '/workspace/executable'\n_________________ test_ignore_project_2_file_relative_wildcard _________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel8')\n\n def test_ignore_project_2_file_relative_wildcard(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc/test.c*'])\n\ntests/other_test.py:2004: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel8')\nextra_args = ['-isrc/test.c*'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel8/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel8/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError\n----------------------------- Captured stdout call -----------------------------\n['-isrc/test.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel6/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-isrc/test.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel7/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-isrc/test.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel8/compile_commands.json']\nusing '/workspace/executable'\n____________ test_ignore_project_2_file_relative_wildcard_backslash ____________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel11')\n\n def test_ignore_project_2_file_relative_wildcard_backslash(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc\\\\test.c*'])\n\ntests/other_test.py:2008: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel11')\nextra_args = ['-isrc\\\\test.c*'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel11/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel11/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\test.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel9/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\test.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel10/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\test.c*', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel11/compile_commands.json']\nusing '/workspace/executable'\n_____________________ test_ignore_project_2_path_relative ______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel2')\n\n def test_ignore_project_2_path_relative(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc/'])\n\ntests/other_test.py:2012: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel2')\nextra_args = ['-isrc/'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError\n----------------------------- Captured stdout call -----------------------------\n['-isrc/', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel0/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-isrc/', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel1/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-isrc/', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel2/compile_commands.json']\nusing '/workspace/executable'\n________________ test_ignore_project_2_path_relative_backslash _________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel5')\n\n def test_ignore_project_2_path_relative_backslash(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc\\\\'])\n\ntests/other_test.py:2016: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel5')\nextra_args = ['-isrc\\\\'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel3/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel4/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-isrc\\\\', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel5/compile_commands.json']\nusing '/workspace/executable'\n_________________ test_ignore_project_2_path_relative_wildcard _________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel8')\n\n def test_ignore_project_2_path_relative_wildcard(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc*/'])\n\ntests/other_test.py:2020: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel8')\nextra_args = ['-isrc*/'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel8/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel8/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError\n----------------------------- Captured stdout call -----------------------------\n['-isrc*/', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel6/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-isrc*/', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel7/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-isrc*/', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel8/compile_commands.json']\nusing '/workspace/executable'\n____________ test_ignore_project_2_path_relative_wildcard_backslash ____________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel11')\n\n def test_ignore_project_2_path_relative_wildcard_backslash(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc*\\\\'])\n\ntests/other_test.py:2024: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel11')\nextra_args = ['-isrc*\\\\'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel11/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel11/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError\n----------------------------- Captured stdout call -----------------------------\n['-isrc*\\\\', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel9/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-isrc*\\\\', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel10/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-isrc*\\\\', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel11/compile_commands.json']\nusing '/workspace/executable'\n________________________ test_ignore_project_2_abspath _________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2')\n\n def test_ignore_project_2_abspath(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-i$path'], inject_path=True)\n\ntests/other_test.py:2028: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2')\nextra_args = ['-i/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2/src/test.cpp']\nappend = False, inject_path = True\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError\n----------------------------- Captured stdout call -----------------------------\n['-i/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath0/src/test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath0/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-i/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath1/src/test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath1/compile_commands.json']\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\n['-i/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2/src/test.cpp', '--debug-ignore', '--project=/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2/compile_commands.json']\nusing '/workspace/executable'\n________________________ test_builddir_hash_check_level ________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_builddir_hash_check_level2')\n\n def test_builddir_hash_check_level(tmp_path): # #13376\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f(bool b)\n {\n for (int i = 0; i < 2; ++i)\n {\n if (i == 0) {}\n if (b) continue;\n }\n }\n \"\"\")\n \n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n \n args = [ # // #14029\n '--enable=warning', # to execute the code which generates the normalCheckLevelMaxBranches message\n '--cppcheck-build-dir={}'.format(build_dir),\n '--template=simple',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stderr == ''\n \n args = [\n '--enable=warning', # to execute the code which generates the normalCheckLevelMaxBranches message\n '--enable=information', # to show the normalCheckLevelMaxBranches message\n '--cppcheck-build-dir={}'.format(build_dir),\n '--template=simple',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n> assert stderr == '{}:0:0: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...axBranches]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_builddir_hash_check_level2/test.c:0:0: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches]\n\ntests/other_test.py:2084: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n________________________________ test_def_undef ________________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_def_undef2')\n\n def test_def_undef(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f()\n {\n #ifndef DEF_1\n (void)(*((int*)0));\n #endif\n }\n \"\"\")\n \n args = [\n '--template=simple',\n '-DDEF_1',\n '-UDEF_1',\n str(test_file)\n ]\n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0\n assert stdout.splitlines() == [\n 'Checking {} ...'.format(test_file),\n 'Checking {}: DEF_1=1...'.format(test_file) # TODO: should not print DEF_1 - see #13335\n ]\n> assert stderr.splitlines() == [\n '{}:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...nullPointer]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_def_undef2/test.c:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_def_undef2/test.c:5:14: error: Null '\nE - 'pointer dereference: (int*)0 [nullPointer]',\nE - ]\n\ntests/other_test.py:2127: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________________ test_undef __________________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_undef2')\n\n def test_undef(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f()\n {\n #ifndef DEF_1\n (void)(*((int*)0));\n #endif\n }\n \"\"\")\n \n args = [\n '--template=simple',\n '-UDEF_1',\n str(test_file)\n ]\n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0\n assert stdout.splitlines() == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr.splitlines() == [\n '{}:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...nullPointer]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_undef2/test.c:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_undef2/test.c:5:14: error: Null pointer '\nE - 'dereference: (int*)0 [nullPointer]',\nE - ]\n\ntests/other_test.py:2218: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________ test_inline_suppr_builddir_cached _______________________\n[XPASS(strict)] \n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n_____________________ test_inline_suppr_builddir_j_cached ______________________\n[XPASS(strict)] \n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n__________________________ test_duplicate_suppression __________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_duplicate_suppression2')\n\n def test_duplicate_suppression(tmp_path):\n test_file = tmp_path / 'file.cpp'\n with open(test_file, 'wt'):\n pass\n \n args = [\n '-q',\n '--suppress=uninitvar',\n '--suppress=uninitvar',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1\n\ntests/other_test.py:2355: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________ test_duplicate_suppressions_list _______________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_duplicate_suppressions_li2')\n\n def test_duplicate_suppressions_list(tmp_path):\n suppr_file = tmp_path / 'suppressions'\n with open(suppr_file, 'wt') as f:\n f.write('''\n uninitvar\n uninitvar\n ''')\n \n test_file = tmp_path / 'file.cpp'\n with open(test_file, 'wt'):\n pass\n \n args = [\n '-q',\n '--suppressions-list={}'.format(suppr_file),\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1\n\ntests/other_test.py:2381: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________ test_duplicate_suppressions_mixed _______________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_duplicate_suppressions_mi2')\n\n def test_duplicate_suppressions_mixed(tmp_path):\n suppr_file = tmp_path / 'suppressions'\n with open(suppr_file, 'wt') as f:\n f.write('uninitvar')\n \n test_file = tmp_path / 'file.cpp'\n with open(test_file, 'wt'):\n pass\n \n args = [\n '-q',\n '--suppress=uninitvar',\n '--suppressions-list={}'.format(suppr_file),\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1\n\ntests/other_test.py:2405: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________________ test_xml_output ________________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_xml_output2')\n\n def test_xml_output(tmp_path): # #13391 / #13485\n test_file = tmp_path / 'test.cpp'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f(const void* p)\n {\n if(p) {}\n (void)*p; // REMARK: boom\n }\n \"\"\")\n \n _, version_str, _ = cppcheck(['--version'])\n version_str = version_str.replace('Cppcheck ', '').strip()\n \n args = [\n '-q',\n '--enable=style',\n '--xml',\n str(test_file)\n ]\n exitcode_1, stdout_1, stderr_1 = cppcheck(args)\n assert exitcode_1 == 0, stdout_1\n assert stdout_1 == ''\n test_file_exp = str(test_file).replace('\\\\', '/')\n> assert (stderr_1 ==\n '''\n \n \n \n \n \n \n p\n \n \n \n '''.format(version_str, test_file_exp, test_file_exp, test_file_exp))\nE assert '\\n' == '\\n'\nE \nE \nE \nE \nE \nE - \nE - ...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n\ntests/other_test.py:2436: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n_________________________ test_internal_error_loc_int __________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_internal_error_loc_int2')\n\n def test_internal_error_loc_int(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\n \"\"\"\n void f() {\n int i = 0x10000000000000000;\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n str(test_file)\n ]\n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n '{}:3:13: error: Internal Error. MathLib::toBigUNumber: out_of_range: 0x10000000000000000 [internalError]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...ternalError]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_internal_error_loc_int2/test.c:3:13: error: Internal Error. MathLib::toBigUNumber: out_of_range: 0x10000000000000000 [internalError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_internal_error_loc_int2/test.c:3:13: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2504: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_addon_suppr_inline ____________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline2')\n\n def test_addon_suppr_inline(tmp_path):\n> __test_addon_suppr(tmp_path, ['--inline-suppr', '-j1'])\n\ntests/other_test.py:2538: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline2')\nextra_args = ['--inline-suppr', '-j1']\n\n def __test_addon_suppr(tmp_path, extra_args):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n // cppcheck-suppress misra-c2012-2.3\n typedef int MISRA_5_6_VIOLATION;\n typedef int MISRA_5_6_VIOLATION_1;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--enable=style',\n '--addon=misra',\n str(test_file)\n ]\n \n args += extra_args\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout == ''\n> assert stderr.splitlines() == [\n '{}:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'.format(test_file),\n ]\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline2/test.c:4:1: style: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2531: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_addon_suppr_inline_j ___________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline_j2')\n\n def test_addon_suppr_inline_j(tmp_path):\n> __test_addon_suppr(tmp_path, ['--inline-suppr', '-j2'])\n\ntests/other_test.py:2542: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline_j2')\nextra_args = ['--inline-suppr', '-j2']\n\n def __test_addon_suppr(tmp_path, extra_args):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n // cppcheck-suppress misra-c2012-2.3\n typedef int MISRA_5_6_VIOLATION;\n typedef int MISRA_5_6_VIOLATION_1;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--enable=style',\n '--addon=misra',\n str(test_file)\n ]\n \n args += extra_args\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout == ''\n> assert stderr.splitlines() == [\n '{}:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'.format(test_file),\n ]\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline_j2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline_j2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2531: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_addon_suppr_cli_line ___________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_line2')\n\n def test_addon_suppr_cli_line(tmp_path):\n> __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:*:3'])\n\ntests/other_test.py:2546: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_line2')\nextra_args = ['--suppress=misra-c2012-2.3:*:3']\n\n def __test_addon_suppr(tmp_path, extra_args):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n // cppcheck-suppress misra-c2012-2.3\n typedef int MISRA_5_6_VIOLATION;\n typedef int MISRA_5_6_VIOLATION_1;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--enable=style',\n '--addon=misra',\n str(test_file)\n ]\n \n args += extra_args\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout == ''\n> assert stderr.splitlines() == [\n '{}:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'.format(test_file),\n ]\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_line2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_line2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2531: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_addon_suppr_cli_file_line ________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_file_line2')\n\n def test_addon_suppr_cli_file_line(tmp_path):\n> __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:test.c:3'])\n\ntests/other_test.py:2550: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_file_line2')\nextra_args = ['--suppress=misra-c2012-2.3:test.c:3']\n\n def __test_addon_suppr(tmp_path, extra_args):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n // cppcheck-suppress misra-c2012-2.3\n typedef int MISRA_5_6_VIOLATION;\n typedef int MISRA_5_6_VIOLATION_1;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--enable=style',\n '--addon=misra',\n str(test_file)\n ]\n \n args += extra_args\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout == ''\n> assert stderr.splitlines() == [\n '{}:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'.format(test_file),\n ]\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_file_line2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_file_line2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2531: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________ test_addon_suppr_cli_absfile_line _______________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_absfile_l2')\n\n def test_addon_suppr_cli_absfile_line(tmp_path):\n test_file = tmp_path / 'test.c'\n> __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:{}:3'.format(test_file)])\n\ntests/other_test.py:2555: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_absfile_l2')\nextra_args = ['--suppress=misra-c2012-2.3:/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_absfile_l2/test.c:3']\n\n def __test_addon_suppr(tmp_path, extra_args):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n // cppcheck-suppress misra-c2012-2.3\n typedef int MISRA_5_6_VIOLATION;\n typedef int MISRA_5_6_VIOLATION_1;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--enable=style',\n '--addon=misra',\n str(test_file)\n ]\n \n args += extra_args\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout == ''\n> assert stderr.splitlines() == [\n '{}:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'.format(test_file),\n ]\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_absfile_l2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_absfile_l2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2531: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________________ test_ctu_path_builddir ____________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_ctu_path_builddir2')\n\n def test_ctu_path_builddir(tmp_path): # #11883\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n \n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f(int *p) { *p = 3; }\n int main() {\n int *p = 0;\n f(p);\n }\n \"\"\")\n \n args = [\n '-q',\n '--enable=style',\n '--suppress=nullPointer', # we only care about the CTU findings\n '--cppcheck-build-dir={}'.format(build_dir),\n str(test_file)\n ]\n \n # the CTU path was not properly read leading to missing location information\n stderr_exp = [\n '{}:2:19: error: Null pointer dereference: p [ctunullpointer]'.format(test_file),\n 'void f(int *p) { *p = 3; }',\n ' ^',\n \"{}:4:14: note: Assignment 'p=0', assigned value is 0\".format(test_file),\n ' int *p = 0;',\n ' ^',\n '{}:5:2: note: Calling function f, 1st argument is null'.format(test_file),\n 'f(p);',\n ' ^',\n '{}:2:19: note: Dereferencing argument p that is null'.format(test_file),\n 'void f(int *p) { *p = 3; }',\n ' ^'\n ]\n \n exitcode_1, stdout_1, stderr_1 = cppcheck(args)\n assert exitcode_1 == 0, stdout_1\n assert stdout_1 == ''\n> assert stderr_1.splitlines() == stderr_exp\nE AssertionError: assert [] == ['/tmp/pytest... ^', ...]\nE \nE Right contains 12 more items, first extra item: '/tmp/pytest-of-root/pytest-0/test_ctu_path_builddir2/test.c:2:19: error: Null pointer dereference: p [ctunullpointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_ctu_path_builddir2/test.c:2:19: error: '...\nE \nE ...Full output truncated (16 lines hidden), use '-vv' to show\n\ntests/other_test.py:2599: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________________ test_debug __________________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug2')\n\n def test_debug(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') != -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find\n\ntests/other_test.py:2661: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________________ test_debug_xml ________________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_xml2')\n\n def test_debug_xml(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug',\n '--xml',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n \n assert stderr\n assert ElementTree.fromstring(stderr) is not None\n \n assert stdout.find('##file ') != -1 # also exists in CDATA\n assert stdout.find('##Value flow') == -1\n assert stdout.find('### Symbol database ###') == -1\n assert stdout.find('##AST') == -1\n assert stdout.find('### Template Simplifier pass ') == -1\n \n> debug_xml = ElementTree.fromstring(stdout)\n\ntests/other_test.py:2697: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_xml2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'\nparser = \n\n def XML(text, parser=None):\n \"\"\"Parse XML document from string constant.\n \n This function can be used to embed \"XML Literals\" in Python code.\n \n *text* is a string containing XML data, *parser* is an\n optional parser instance, defaulting to the standard XMLParser.\n \n Returns an Element instance.\n \n \"\"\"\n if not parser:\n parser = XMLParser(target=TreeBuilder())\n> parser.feed(text)\nE xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 3, column 1\n\n/usr/lib/python3.10/xml/etree/ElementTree.py:1342: ParseError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________________ test_debug_verbose ______________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_verbose2')\n\n def test_debug_verbose(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug',\n '--verbose',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') != -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = 'Defines:\\nUndefines:\\nIncludes:\\nPlatform:native\\n\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_verbose2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find\n\ntests/other_test.py:2730: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________________ test_debug_verbose_xml ____________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_verbose_xml2')\n\n def test_debug_verbose_xml(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug',\n '--verbose',\n '--xml',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n \n assert stderr\n assert ElementTree.fromstring(stderr) is not None\n \n assert stdout.find('##file ') != -1 # also exists in CDATA\n assert stdout.find('##Value flow') == -1\n assert stdout.find('### Symbol database ###') == -1\n assert stdout.find('##AST') == -1\n assert stdout.find('### Template Simplifier pass ') == -1\n \n> debug_xml = ElementTree.fromstring(stdout)\n\ntests/other_test.py:2767: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'Defines:\\nUndefines:\\nIncludes:\\nPlatform:native\\n\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_verbose_xml2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'\nparser = \n\n def XML(text, parser=None):\n \"\"\"Parse XML document from string constant.\n \n This function can be used to embed \"XML Literals\" in Python code.\n \n *text* is a string containing XML data, *parser* is an\n optional parser instance, defaulting to the standard XMLParser.\n \n Returns an Element instance.\n \n \"\"\"\n if not parser:\n parser = XMLParser(target=TreeBuilder())\n> parser.feed(text)\nE xml.etree.ElementTree.ParseError: syntax error: line 1, column 0\n\n/usr/lib/python3.10/xml/etree/ElementTree.py:1342: ParseError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________________ test_debug_template ______________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template2')\n\n def test_debug_template(tmp_path):\n> __test_debug_template(tmp_path, verbose=False)\n\ntests/other_test.py:2834: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template2')\nverbose = False, debug = False\n\n def __test_debug_template(tmp_path, verbose=False, debug=False):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"template class TemplCl;\n void f()\n {\n (void)(*((int*)nullptr));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-template',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n if debug:\n args += ['--debug']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n if debug:\n assert stdout.find('##file ') != -1\n else:\n assert stdout.find('##file ') == -1\n if debug:\n assert stdout.find('##Value flow') != -1\n else:\n assert stdout.find('##Value flow') == -1\n if debug and verbose:\n assert stdout.find('### Symbol database ###') != -1\n else:\n assert stdout.find('### Symbol database ###') == -1\n if debug and verbose:\n assert stdout.find('##AST') != -1\n else:\n assert stdout.find('##AST') == -1\n if debug:\n assert stdout.count('### Template Simplifier pass ') == 2\n else:\n> assert stdout.count('### Template Simplifier pass ') == 1\nE AssertionError: assert 0 == 1\nE + where 0 = ('### Template Simplifier pass ')\nE + where = ''.count\n\ntests/other_test.py:2826: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________ test_debug_template_verbose_nodiff ______________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template_verbose_no2')\n\n def test_debug_template_verbose_nodiff(tmp_path):\n # make sure --verbose does not change the output\n> assert __test_debug_template(tmp_path, verbose=False) == __test_debug_template(tmp_path, verbose=True)\n\ntests/other_test.py:2839: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template_verbose_no2')\nverbose = False, debug = False\n\n def __test_debug_template(tmp_path, verbose=False, debug=False):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"template class TemplCl;\n void f()\n {\n (void)(*((int*)nullptr));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-template',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n if debug:\n args += ['--debug']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n if debug:\n assert stdout.find('##file ') != -1\n else:\n assert stdout.find('##file ') == -1\n if debug:\n assert stdout.find('##Value flow') != -1\n else:\n assert stdout.find('##Value flow') == -1\n if debug and verbose:\n assert stdout.find('### Symbol database ###') != -1\n else:\n assert stdout.find('### Symbol database ###') == -1\n if debug and verbose:\n assert stdout.find('##AST') != -1\n else:\n assert stdout.find('##AST') == -1\n if debug:\n assert stdout.count('### Template Simplifier pass ') == 2\n else:\n> assert stdout.count('### Template Simplifier pass ') == 1\nE AssertionError: assert 0 == 1\nE + where 0 = ('### Template Simplifier pass ')\nE + where = ''.count\n\ntests/other_test.py:2826: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_debug_template_debug ___________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template_debug2')\n\n def test_debug_template_debug(tmp_path):\n> __test_debug_template(tmp_path, debug=True)\n\ntests/other_test.py:2843: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template_debug2')\nverbose = False, debug = True\n\n def __test_debug_template(tmp_path, verbose=False, debug=False):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"template class TemplCl;\n void f()\n {\n (void)(*((int*)nullptr));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-template',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n if debug:\n args += ['--debug']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n if debug:\n assert stdout.find('##file ') != -1\n else:\n assert stdout.find('##file ') == -1\n if debug:\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_template_debug2/test.cpp\\n1: template < class T > class TemplCl ;\\n2: void f ( )\\n3: {\\n4: ( void ) ( * ( ( int * ) nullptr ) ) ;\\n5: }\\n'.find\n\ntests/other_test.py:2812: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_debug_valueflow_data ___________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow_data2')\n\n def test_debug_valueflow_data(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"int f()\n {\n double d = 1.0 / 0.5;\n return d;\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug-valueflow',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n \n # check sections in output\n assert stdout.find('##file ') == -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = ''.find\n\ntests/other_test.py:2900: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_debug_valueflow_data_xml _________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow_data_xml2')\n\n def test_debug_valueflow_data_xml(tmp_path): # #13606\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"double f()\n {\n double d = 0.0000001;\n return d;\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug-valueflow',\n '--xml',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n \n assert stderr\n assert ElementTree.fromstring(stderr) is not None\n \n # check sections in output\n assert stdout.find('##file ') == -1\n assert stdout.find('##Value flow') == -1\n assert stdout.find('### Symbol database ###') == -1\n assert stdout.find('##AST') == -1\n assert stdout.find('### Template Simplifier pass ') == -1\n \n # check XML nodes in output\n> debug_xml = ElementTree.fromstring(stdout)\n\ntests/other_test.py:2953: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = '', parser = \n\n def XML(text, parser=None):\n \"\"\"Parse XML document from string constant.\n \n This function can be used to embed \"XML Literals\" in Python code.\n \n *text* is a string containing XML data, *parser* is an\n optional parser instance, defaulting to the standard XMLParser.\n \n Returns an Element instance.\n \n \"\"\"\n if not parser:\n parser = XMLParser(target=TreeBuilder())\n parser.feed(text)\n> return parser.close()\nE xml.etree.ElementTree.ParseError: no element found: line 1, column 0\n\n/usr/lib/python3.10/xml/etree/ElementTree.py:1343: ParseError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________________ test_check_headers ______________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_check_headers2')\n\n def test_check_headers(tmp_path):\n test_file_h = tmp_path / 'test.h'\n with open(test_file_h, 'wt') as f:\n f.write(\n \"\"\"\n inline void hdr()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n test_file_c = tmp_path / 'test.c'\n with open(test_file_c, 'wt') as f:\n f.write(\n \"\"\"\n #include \"test.h\"\n \n void f() {}\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--no-check-headers',\n str(test_file_c)\n ]\n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-check-headers\".\nE \nE assert 1 == 0\n\ntests/other_test.py:3026: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________________ test_unique_error _______________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_unique_error2')\n\n def test_unique_error(tmp_path): # #6366\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\n \"\"\"void f()\n {\n const long m[9] = {};\n long a=m[9], b=m[9];\n (void)a;\n (void)b;\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n str(test_file)\n ]\n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n \"{}:4:13: error: Array 'm[9]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds]\".format(test_file),\n \"{}:4:21: error: Array 'm[9]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds]\".format(test_file)\n ]\nE assert [] == ['/tmp/pytest...OutOfBounds]']\nE \nE Right contains 2 more items, first extra item: \"/tmp/pytest-of-root/pytest-0/test_unique_error2/test.c:4:13: error: Array 'm[9]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_unique_error2/test.c:4:13: error: Array '...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/other_test.py:3052: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________ test_suppress_unmatched_wildcard _______________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_unmatched_wildca2')\n\n def test_suppress_unmatched_wildcard(tmp_path): # #13660\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n # need to run in the temporary folder because the path of the suppression has to match\n args = [\n '-q',\n '--template=simple',\n '--enable=information',\n '--suppress=nullPointer:test*.c', # checked and matched\n '--suppress=id:test*.c', # checked and unmatched\n '--suppress=id2:test*.c', # checked and unmatched\n '--suppress=id2:tes?.c', # checked and unmatched\n '--suppress=*:test*.c', # checked and unmatched\n '--suppress=id:test*.cpp', # unchecked\n '--suppress=id2:test?.cpp', # unchecked\n 'test.c'\n ]\n exitcode, stdout, stderr = cppcheck(args, cwd=tmp_path)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n # TODO: invalid locations - see #13659\n> assert stderr.splitlines() == [\n 'test*.c:-1:0: information: Unmatched suppression: id [unmatchedSuppression]',\n 'test*.c:-1:0: information: Unmatched suppression: id2 [unmatchedSuppression]',\n 'tes?.c:-1:0: information: Unmatched suppression: id2 [unmatchedSuppression]'\n ]\nE AssertionError: assert ['test*.c:-1:...ession]', ...] == ['test*.c:-1:...Suppression]']\nE \nE At index 0 diff: 'test*.c:-1:0: information: Unmatched suppression: nullPointer [unmatchedSuppression]' != 'test*.c:-1:0: information: Unmatched suppression: id [unmatchedSuppression]'\nE Left contains 4 more items, first extra item: 'tes?.c:-1:0: information: Unmatched suppression: id2 [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'test*.c:-1:0: information: Unmatched suppression: nullPointer '...\nE \nE ...Full output truncated (14 lines hidden), use '-vv' to show\n\ntests/other_test.py:3317: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________ test_preprocess_enforced_cpp _________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_preprocess_enforced_cpp2')\n\n def test_preprocess_enforced_cpp(tmp_path): # #10989\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\n \"\"\"#ifdef __cplusplus\n #error \"err\"\n #endif\"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--language=c++',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n '{}:2:2: error: #error \"err\" [preprocessorErrorDirective]'.format(test_file)\n ]\nE assert ['/tmp/pytest...orDirective]'] == ['/tmp/pytest...orDirective]']\nE \nE At index 0 diff: '/tmp/pytest-of-root/pytest-0/test_preprocess_enforced_cpp2/test.c:2:2: error: #error\"err\" [preprocessorErrorDirective]' != '/tmp/pytest-of-root/pytest-0/test_preprocess_enforced_cpp2/test.c:2:2: error: #error \"err\" [preprocessorErrorDirective]'\nE \nE Full diff:\nE [\nE '/tmp/pytest-of-root/pytest-0/test_preprocess_enforced_cpp2/test.c:2:2: '\nE - 'error: #error \"err\" [preprocessorErrorDirective]',...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:3393: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________________ test_debug_normal _______________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_normal2')\n\n def test_debug_normal(tmp_path):\n> __test_debug_normal(tmp_path, False)\n\ntests/other_test.py:3467: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_normal2')\nverbose = False\n\n def __test_debug_normal(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-normal',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') != -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_normal2/test.c\\n1: void f ( )\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find\n\ntests/other_test.py:3450: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________________ test_debug_simplified _____________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_simplified2')\n\n def test_debug_simplified(tmp_path):\n> __test_debug_simplified(tmp_path, False)\n\ntests/other_test.py:3511: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_simplified2')\nverbose = False\n\n def __test_debug_simplified(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-simplified',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n> assert stdout.find('##file ') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##file ')\nE + where = ''.find\n\ntests/other_test.py:3499: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________ test_debug_simplified_verbose_nodiff _____________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_simplified_verbose_2')\n\n def test_debug_simplified_verbose_nodiff(tmp_path):\n # make sure --verbose does not change the output\n> assert __test_debug_simplified(tmp_path, False) == __test_debug_simplified(tmp_path, True)\n\ntests/other_test.py:3516: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_simplified_verbose_2')\nverbose = False\n\n def __test_debug_simplified(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-simplified',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n> assert stdout.find('##file ') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##file ')\nE + where = ''.find\n\ntests/other_test.py:3499: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________________ test_debug_symdb _______________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_symdb2')\n\n def test_debug_symdb(tmp_path):\n> __test_debug_symdb(tmp_path, False)\n\ntests/other_test.py:3554: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_symdb2')\nverbose = False\n\n def __test_debug_symdb(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-symdb',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') == -1\n assert stdout.find('##Value flow') == -1\n> assert stdout.find('### Symbol database ###') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('### Symbol database ###')\nE + where = ''.find\n\ntests/other_test.py:3544: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________________ test_debug_ast ________________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_ast2')\n\n def test_debug_ast(tmp_path):\n> __test_debug_ast(tmp_path, False)\n\ntests/other_test.py:3598: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_ast2')\nverbose = False\n\n def __test_debug_ast(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-ast',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') == -1\n assert stdout.find('##Value flow') == -1\n assert stdout.find('### Symbol database ###') == -1\n> assert stdout.find('##AST') != -1\nE assert -1 != -1\nE + where -1 = ('##AST')\nE + where = \"1:1 'void' varId=0 type=12 scope=0\\n1:6 'f' varId=0 type=14 scope=0\\n1:7 '(' varId=0 type=9 scope=0\\n1:8 ')' varId=0 type=9 scope=0\\n2:1 '{' varId=0 type=9 scope=0\\n3:5 '(' varId=0 type=9 op1='*' scope=5\\n3:6 'void' varId=0 type=12 scope=5\\n3:10 ')' varId=0 type=9 scope=5\\n3:11 '(' varId=0 type=9 scope=5\\n3:12 '*' varId=0 type=8 parent='(' op1='(' scope=5\\n3:13 '(' varId=0 type=9 scope=5\\n3:14 '(' varId=0 type=9 parent='*' op1='0' scope=5 val=0K\\n3:15 'int' varId=0 type=12 scope=5\\n3:18 '*' varId=0 type=8 scope=5\\n3:19 ')' varId=0 type=9 scope=5\\n3:20 '0' varId=0 type=3 parent='(' scope=5 val=0K\\n3:21 ')' varId=0 type=9 scope=5\\n3:22 ')' varId=0 type=9 scope=5\\n3:23 ';' varId=0 type=8 scope=5\\n4:1 '}' varId=0 type=9 scope=0\\n\\n\".find\n\ntests/other_test.py:3589: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_debug_ast_verbose_nodiff _________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_ast_verbose_nodiff2')\n\n def test_debug_ast_verbose_nodiff(tmp_path):\n # make sure --verbose does not change the output\n> assert __test_debug_ast(tmp_path, False) == __test_debug_ast(tmp_path, True)\n\ntests/other_test.py:3603: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_ast_verbose_nodiff2')\nverbose = False\n\n def __test_debug_ast(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-ast',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') == -1\n assert stdout.find('##Value flow') == -1\n assert stdout.find('### Symbol database ###') == -1\n> assert stdout.find('##AST') != -1\nE assert -1 != -1\nE + where -1 = ('##AST')\nE + where = \"1:1 'void' varId=0 type=12 scope=0\\n1:6 'f' varId=0 type=14 scope=0\\n1:7 '(' varId=0 type=9 scope=0\\n1:8 ')' varId=0 type=9 scope=0\\n2:1 '{' varId=0 type=9 scope=0\\n3:5 '(' varId=0 type=9 op1='*' scope=5\\n3:6 'void' varId=0 type=12 scope=5\\n3:10 ')' varId=0 type=9 scope=5\\n3:11 '(' varId=0 type=9 scope=5\\n3:12 '*' varId=0 type=8 parent='(' op1='(' scope=5\\n3:13 '(' varId=0 type=9 scope=5\\n3:14 '(' varId=0 type=9 parent='*' op1='0' scope=5 val=0K\\n3:15 'int' varId=0 type=12 scope=5\\n3:18 '*' varId=0 type=8 scope=5\\n3:19 ')' varId=0 type=9 scope=5\\n3:20 '0' varId=0 type=3 parent='(' scope=5 val=0K\\n3:21 ')' varId=0 type=9 scope=5\\n3:22 ')' varId=0 type=9 scope=5\\n3:23 ';' varId=0 type=8 scope=5\\n4:1 '}' varId=0 type=9 scope=0\\n\\n\".find\n\ntests/other_test.py:3589: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________________ test_debug_valueflow _____________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow2')\n\n def test_debug_valueflow(tmp_path):\n> __test_debug_valueflow(tmp_path, False)\n\ntests/other_test.py:3641: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow2')\nverbose = False\n\n def __test_debug_valueflow(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-valueflow',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') == -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = ''.find\n\ntests/other_test.py:3630: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________ test_debug_valueflow_verbose_nodiff ______________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow_verbose_n2')\n\n def test_debug_valueflow_verbose_nodiff(tmp_path):\n # make sure --verbose does not change the output\n> assert __test_debug_valueflow(tmp_path, False) == __test_debug_valueflow(tmp_path, True)\n\ntests/other_test.py:3646: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow_verbose_n2')\nverbose = False\n\n def __test_debug_valueflow(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-valueflow',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') == -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = ''.find\n\ntests/other_test.py:3630: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_debug_syntaxerror_c ___________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_syntaxerror_c2')\n\n def test_debug_syntaxerror_c(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"\n template class TemplCl;\n void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-normal',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') != -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_syntaxerror_c2/test.c\\n2: template < class T > class TemplCl ;\\n3: void f ( )\\n4: {\\n5: ( void ) ( * ( ( int * ) 0 ) ) ;\\n6: }\\n'.find\n\ntests/other_test.py:3671: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________________ test_ast_max_depth ______________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_ast_max_depth2')\n\n def test_ast_max_depth(tmp_path):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"\n #define PTR1 (* (* (* (*\n #define PTR2 PTR1 PTR1 PTR1 PTR1\n #define PTR3 PTR2 PTR2 PTR2 PTR2\n #define PTR4 PTR3 PTR3 PTR3 PTR3\n \n #define RBR1 ) ) ) )\n #define RBR2 RBR1 RBR1 RBR1 RBR1\n #define RBR3 RBR2 RBR2 RBR2 RBR2\n #define RBR4 RBR3 RBR3 RBR3 RBR3\n \n int PTR4 q4_var RBR4 = 0;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n '{}:12:5: error: maximum AST depth exceeded [internalAstError]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...nalAstError]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_ast_max_depth2/test.cpp:12:5: error: maximum AST depth exceeded [internalAstError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_ast_max_depth2/test.cpp:12:5: error: '\nE - 'maximum AST depth exceeded [internalAstError]',\nE - ]\n\ntests/other_test.py:3707: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_misra_disabled_unmatched _________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_misra_disabled_unmatched2')\n\n def test_misra_disabled_unmatched(tmp_path): #14232\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\"):\n pass\n \n args = [\n '-q',\n '--template=simple',\n '--enable=warning,information',\n '--suppress=misra-c2012-20.5',\n '--suppress=uninitvar',\n str(test_file)\n ]\n \n ret, stdout, stderr = cppcheck(args)\n> assert stderr.splitlines() == [\n 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n ]\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['nofile:0:0:...Suppression]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: misra-c2012-20.5 [unmatchedSuppression]' != 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: misra-c2012-20.5 '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3728: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________ test_premium_disabled_unmatched ________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_premium_disabled_unmatche2')\n\n def test_premium_disabled_unmatched(tmp_path): #13663\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\"):\n pass\n \n args = [\n '-q',\n '--template=simple',\n '--enable=warning,information',\n '--suppress=premium-misra-cpp-2023-12.2.1',\n '--suppress=uninitvar',\n str(test_file)\n ]\n \n ret, stdout, stderr = cppcheck(args)\n> assert stderr.splitlines() == [\n 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n ]\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['nofile:0:0:...Suppression]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: premium-misra-cpp-2023-12.2.1 [unmatchedSuppression]' != 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3751: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________________ test_unmatched_file ______________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_unmatched_file2')\n\n def test_unmatched_file(tmp_path): # #14248 / #14249\n lib_path = tmp_path / 'lib'\n os.makedirs(lib_path)\n \n test_file = lib_path / 'test.c'\n with open(test_file, \"w\"):\n pass\n \n suppr_txt = tmp_path / 'suppr.txt'\n with open(suppr_txt, \"w\") as f:\n f.write('''\n error:lib/test.c\n error2:lib\\\\test.c\n ''')\n \n suppr_xml = tmp_path / 'suppr.xml'\n with open(suppr_xml, \"w\") as f:\n f.write('''\n \n \n error3\n lib/test.c\n \n \n error4\n lib\\\\test.c\n \n \n ''')\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information',\n f'--suppressions-list={suppr_txt}',\n f'--suppress-xml={suppr_xml}',\n '--suppress=error5:lib/test.c',\n '--suppress=error6:lib\\\\test.c',\n str(test_file)\n ]\n \n lib_file = 'lib' + os.path.sep + 'test.c'\n \n ret, stdout, stderr = cppcheck(args)\n assert stdout == ''\n> assert stderr.splitlines() == [\n f'{lib_file}:-1:0: information: Unmatched suppression: error [unmatchedSuppression]',\n f'{lib_file}:-1:0: information: Unmatched suppression: error2 [unmatchedSuppression]',\n f'{lib_file}:-1:0: information: Unmatched suppression: error3 [unmatchedSuppression]',\n f'{lib_file}:-1:0: information: Unmatched suppression: error4 [unmatchedSuppression]',\n f'{lib_file}:-1:0: information: Unmatched suppression: error5 [unmatchedSuppression]',\n f'{lib_file}:-1:0: information: Unmatched suppression: error6 [unmatchedSuppression]'\n ]\nE AssertionError: assert [] == ['lib/test.c:...Suppression]']\nE \nE Right contains 6 more items, first extra item: 'lib/test.c:-1:0: information: Unmatched suppression: error [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'lib/test.c:-1:0: information: Unmatched suppression: error '...\nE \nE ...Full output truncated (12 lines hidden), use '-vv' to show\n\ntests/other_test.py:3803: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_simplecpp_unhandled_char _________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_simplecpp_unhandled_char2')\n\n def test_simplecpp_unhandled_char(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\", encoding='utf-8') as f:\n f.write(\n \"\"\"\n int \u4f60=0;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--emit-duplicates',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n '{}:2:5: error: The code contains unhandled character(s) (character code=228). Neither unicode nor extended ascii is supported. [unhandledChar]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...handledChar]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_simplecpp_unhandled_char2/test.c:2:5: error: The code contains unhandled character(s) (character code=228). Neither unicode nor extended ascii is supported. [unhandledChar]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_simplecpp_unhandled_char2/test.c:2:5: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:3852: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________ test_simplecpp_include_nested_too_deeply ___________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_simplecpp_include_nested_2')\n\n def test_simplecpp_include_nested_too_deeply(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write('#include \"test.h\"')\n \n test_h = tmp_path / 'test.h'\n with open(test_h, \"w\") as f:\n f.write('#include \"test_0.h\"')\n \n for i in range(400):\n test_h = tmp_path / f'test_{i}.h'\n with open(test_h, \"w\") as f:\n f.write('#include \"test_{}.h\"'.format(i+1))\n \n args = [\n '-q',\n '--template=simple',\n '--emit-duplicates',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n test_h = tmp_path / 'test_398.h'\n> assert stderr.splitlines() == [\n # TODO: should only report the error once\n '{}:1:2: error: #include nested too deeply [includeNestedTooDeeply]'.format(test_h),\n '{}:1:2: error: #include nested too deeply [includeNestedTooDeeply]'.format(test_h)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...edTooDeeply]']\nE \nE Right contains 2 more items, first extra item: '/tmp/pytest-of-root/pytest-0/test_simplecpp_include_nested_2/test_398.h:1:2: error: #include nested too deeply [includeNestedTooDeeply]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_simplecpp_include_nested_2/test_398.h:1:2: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3882: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________ test_simplecpp_syntax_error __________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_simplecpp_syntax_error2')\n\n def test_simplecpp_syntax_error(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write('#include \"\"')\n \n args = [\n '-q',\n '--template=simple',\n '--emit-duplicates',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n # TODO: should only report the error once\n '{}:1:2: error: No header in #include [syntaxError]'.format(test_file),\n '{}:1:2: error: No header in #include [syntaxError]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...syntaxError]']\nE \nE Right contains 2 more items, first extra item: '/tmp/pytest-of-root/pytest-0/test_simplecpp_syntax_error2/test.c:1:2: error: No header in #include [syntaxError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_simplecpp_syntax_error2/test.c:1:2: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3904: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________ test_max_configs[None-20-True-True] ______________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_max_configs_None_20_True_2')\nmax_configs = 12, number_of_configs = 20, check_config = True\nexpected_warn = True\n\n @pytest.mark.parametrize('max_configs,number_of_configs,check_config,expected_warn', [\n # max configs = default, max configs < number of configs => warn\n (None, 20, False, True),\n (None, 20, True, True),\n \n # max configs != default, max configs < number of configs => warn if --check-config\n (6, 20, False, False),\n (6, 20, True, True),\n \n # max configs >= number of configs => no warning\n (20, 20, False, False),\n (20, 20, False, False)\n ])\n def test_max_configs(tmp_path, max_configs, number_of_configs, check_config, expected_warn):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n for i in range(1,number_of_configs):\n dir = 'if' if i == 1 else 'elif'\n f.write(f'#{dir} defined(X{i})\\nx = {i};\\n')\n f.write('#endif\\n')\n \n args = ['--enable=information', '--template=simple', str(test_file)]\n \n if max_configs is None:\n max_configs = 12 # default value\n else:\n args = [f'--max-configs={max_configs}'] + args\n \n if check_config:\n args = ['--check-config'] + args\n \n # default max configs is set to 12, warn if code contains more configurations than that\n _, _, stderr = cppcheck(args)\n if not expected_warn:\n assert stderr.splitlines() == []\n else:\n> assert stderr.splitlines() == [\n '{}:0:0: information: Too many #ifdef configurations - cppcheck only checks {} of {} configurations. Use --force to check all configurations. [toomanyconfigs]'\n .format(test_file, max_configs, number_of_configs)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...manyconfigs]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_max_configs_None_20_True_2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_max_configs_None_20_True_2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3947: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________ test_max_configs[6-20-False-False] ______________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_False_Fa2')\nmax_configs = 6, number_of_configs = 20, check_config = False\nexpected_warn = False\n\n @pytest.mark.parametrize('max_configs,number_of_configs,check_config,expected_warn', [\n # max configs = default, max configs < number of configs => warn\n (None, 20, False, True),\n (None, 20, True, True),\n \n # max configs != default, max configs < number of configs => warn if --check-config\n (6, 20, False, False),\n (6, 20, True, True),\n \n # max configs >= number of configs => no warning\n (20, 20, False, False),\n (20, 20, False, False)\n ])\n def test_max_configs(tmp_path, max_configs, number_of_configs, check_config, expected_warn):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n for i in range(1,number_of_configs):\n dir = 'if' if i == 1 else 'elif'\n f.write(f'#{dir} defined(X{i})\\nx = {i};\\n')\n f.write('#endif\\n')\n \n args = ['--enable=information', '--template=simple', str(test_file)]\n \n if max_configs is None:\n max_configs = 12 # default value\n else:\n args = [f'--max-configs={max_configs}'] + args\n \n if check_config:\n args = ['--check-config'] + args\n \n # default max configs is set to 12, warn if code contains more configurations than that\n _, _, stderr = cppcheck(args)\n if not expected_warn:\n> assert stderr.splitlines() == []\nE AssertionError: assert ['/tmp/pytest...manyconfigs]'] == []\nE \nE Left contains one more item: '/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_False_Fa2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 6 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE - []\nE + [\nE + '/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_False_Fa2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3945: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________ test_max_configs[6-20-True-True] _______________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_True_Tru2')\nmax_configs = 6, number_of_configs = 20, check_config = True\nexpected_warn = True\n\n @pytest.mark.parametrize('max_configs,number_of_configs,check_config,expected_warn', [\n # max configs = default, max configs < number of configs => warn\n (None, 20, False, True),\n (None, 20, True, True),\n \n # max configs != default, max configs < number of configs => warn if --check-config\n (6, 20, False, False),\n (6, 20, True, True),\n \n # max configs >= number of configs => no warning\n (20, 20, False, False),\n (20, 20, False, False)\n ])\n def test_max_configs(tmp_path, max_configs, number_of_configs, check_config, expected_warn):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n for i in range(1,number_of_configs):\n dir = 'if' if i == 1 else 'elif'\n f.write(f'#{dir} defined(X{i})\\nx = {i};\\n')\n f.write('#endif\\n')\n \n args = ['--enable=information', '--template=simple', str(test_file)]\n \n if max_configs is None:\n max_configs = 12 # default value\n else:\n args = [f'--max-configs={max_configs}'] + args\n \n if check_config:\n args = ['--check-config'] + args\n \n # default max configs is set to 12, warn if code contains more configurations than that\n _, _, stderr = cppcheck(args)\n if not expected_warn:\n assert stderr.splitlines() == []\n else:\n> assert stderr.splitlines() == [\n '{}:0:0: information: Too many #ifdef configurations - cppcheck only checks {} of {} configurations. Use --force to check all configurations. [toomanyconfigs]'\n .format(test_file, max_configs, number_of_configs)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...manyconfigs]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_True_Tru2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 6 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_True_Tru2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3947: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________ test_no_valid_configuration __________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_no_valid_configuration2')\n\n def test_no_valid_configuration(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"#include \"\"\n #ifdef DEF_1\n #include \"\"\n #endif\n \"\"\")\n \n args = [\n '--template=simple',\n '--emit-duplicates',\n '--enable=information',\n '--suppress=checkersReport',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n> assert stdout.splitlines() == [\n 'Checking {} ...'.format(test_file)\n ]\nE AssertionError: assert ['Checking /t...F_1=DEF_1...'] == ['Checking /t...2/test.c ...']\nE \nE Left contains one more item: 'Checking /tmp/pytest-of-root/pytest-0/test_no_valid_configuration2/test.c: DEF_1=DEF_1...'\nE \nE Full diff:\nE [\nE 'Checking /tmp/pytest-of-root/pytest-0/test_no_valid_configuration2/test.c '\nE '...',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3973: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________ test_no_valid_configuration_check_config ___________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_no_valid_configuration_ch2')\n\n def test_no_valid_configuration_check_config(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"#include \"\"\n #ifdef DEF_1\n #include \"\"\n #endif\n \"\"\")\n \n args = [\n '--template=simple',\n '--emit-duplicates',\n '--enable=information',\n '--suppress=checkersReport',\n '--check-config',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == [\n 'Checking {} ...'.format(test_file)\n ]\n # TODO: this lacks context about the configuration which encounters these errors\n # TODO: add message when a configuration is dropped\n> assert stderr.splitlines() == [\n '{}:1:2: error: No header in #include [syntaxError]'.format(test_file),\n '{}:1:2: error: No header in #include [syntaxError]'.format(test_file)\n ]\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['/tmp/pytest...syntaxError]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: checkersReport [unmatchedSuppression]' != '/tmp/pytest-of-root/pytest-0/test_no_valid_configuration_ch2/test.c:1:2: error: No header in #include [syntaxError]'\nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_no_valid_configuration_ch2/test.c:1:2: error: No header in #include [syntaxError]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: checkersReport '...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/other_test.py:4013: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________ test_active_unusedfunction_only ________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl2')\n\n def test_active_unusedfunction_only(tmp_path):\n> __test_active_checkers(tmp_path, 1, 186, use_unusedfunction_only=True)\n\ntests/other_test.py:4065: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl2')\nactive_cnt = 1, total_cnt = 186, use_misra = False\nuse_unusedfunction_only = True, checkers_exp = None\n\n def __test_active_checkers(tmp_path, active_cnt, total_cnt, use_misra=False, use_unusedfunction_only=False, checkers_exp=None):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'w') as f:\n f.write('int i;')\n \n build_dir = None\n if checkers_exp is not None:\n build_dir = tmp_path / 'b1'\n os.makedirs(build_dir)\n \n args = [\n '-q',\n '--enable=information',\n '-j1',\n str(test_file)\n ]\n \n if use_misra:\n args += ['--addon=misra']\n if build_dir:\n args += ['--cppcheck-build-dir={}'.format(build_dir)]\n else:\n args += ['--no-cppcheck-build-dir']\n \n env = {}\n if use_unusedfunction_only:\n env = {'UNUSEDFUNCTION_ONLY': '1'}\n args += ['--enable=unusedFunction']\n exitcode, stdout, stderr, _ = cppcheck_ex(args, remove_checkers_report=False, env=env)\n> assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\nE \nE assert 1 == 0\n\ntests/other_test.py:4048: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________ test_active_unusedfunction_only_builddir ___________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl5')\n\n def test_active_unusedfunction_only_builddir(tmp_path):\n checkers_exp = [\n 'CheckUnusedFunctions::check'\n ]\n> __test_active_checkers(tmp_path, 1, 186, use_unusedfunction_only=True, checkers_exp=checkers_exp)\n\ntests/other_test.py:4072: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl5')\nactive_cnt = 1, total_cnt = 186, use_misra = False\nuse_unusedfunction_only = True, checkers_exp = ['CheckUnusedFunctions::check']\n\n def __test_active_checkers(tmp_path, active_cnt, total_cnt, use_misra=False, use_unusedfunction_only=False, checkers_exp=None):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'w') as f:\n f.write('int i;')\n \n build_dir = None\n if checkers_exp is not None:\n build_dir = tmp_path / 'b1'\n os.makedirs(build_dir)\n \n args = [\n '-q',\n '--enable=information',\n '-j1',\n str(test_file)\n ]\n \n if use_misra:\n args += ['--addon=misra']\n if build_dir:\n args += ['--cppcheck-build-dir={}'.format(build_dir)]\n else:\n args += ['--no-cppcheck-build-dir']\n \n env = {}\n if use_unusedfunction_only:\n env = {'UNUSEDFUNCTION_ONLY': '1'}\n args += ['--enable=unusedFunction']\n exitcode, stdout, stderr, _ = cppcheck_ex(args, remove_checkers_report=False, env=env)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n f'nofile:0:0: information: Active checkers: {active_cnt}/{total_cnt} (use --checkers-report= to see details) [checkersReport]',\n '' # TODO: get rid of extra newline\n ]\nE AssertionError: assert ['nofile:0:0:...sReport]', ''] == ['nofile:0:0:...sReport]', '']\nE \nE At index 0 diff: 'nofile:0:0: information: Active checkers: 41/186 (use --checkers-report= to see details) [checkersReport]' != 'nofile:0:0: information: Active checkers: 1/186 (use --checkers-report= to see details) [checkersReport]'\nE \nE Full diff:\nE [\nE - 'nofile:0:0: information: Active checkers: 1/186 (use '\nE + 'nofile:0:0: information: Active checkers: 41/186 (use '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:4050: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________ test_active_unusedfunction_only_misra _____________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl8')\n\n def test_active_unusedfunction_only_misra(tmp_path):\n> __test_active_checkers(tmp_path, 1, 386, use_unusedfunction_only=True, use_misra=True)\n\ntests/other_test.py:4076: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl8')\nactive_cnt = 1, total_cnt = 386, use_misra = True\nuse_unusedfunction_only = True, checkers_exp = None\n\n def __test_active_checkers(tmp_path, active_cnt, total_cnt, use_misra=False, use_unusedfunction_only=False, checkers_exp=None):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'w') as f:\n f.write('int i;')\n \n build_dir = None\n if checkers_exp is not None:\n build_dir = tmp_path / 'b1'\n os.makedirs(build_dir)\n \n args = [\n '-q',\n '--enable=information',\n '-j1',\n str(test_file)\n ]\n \n if use_misra:\n args += ['--addon=misra']\n if build_dir:\n args += ['--cppcheck-build-dir={}'.format(build_dir)]\n else:\n args += ['--no-cppcheck-build-dir']\n \n env = {}\n if use_unusedfunction_only:\n env = {'UNUSEDFUNCTION_ONLY': '1'}\n args += ['--enable=unusedFunction']\n exitcode, stdout, stderr, _ = cppcheck_ex(args, remove_checkers_report=False, env=env)\n> assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\nE \nE assert 1 == 0\n\ntests/other_test.py:4048: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________ test_active_unusedfunction_only_misra_builddir ________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl11')\n\n def test_active_unusedfunction_only_misra_builddir(tmp_path):\n checkers_exp = [\n 'CheckUnusedFunctions::check'\n ]\n> __test_active_checkers(tmp_path, 1, 386, use_unusedfunction_only=True, use_misra=True, checkers_exp=checkers_exp)\n\ntests/other_test.py:4083: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl11')\nactive_cnt = 1, total_cnt = 386, use_misra = True\nuse_unusedfunction_only = True, checkers_exp = ['CheckUnusedFunctions::check']\n\n def __test_active_checkers(tmp_path, active_cnt, total_cnt, use_misra=False, use_unusedfunction_only=False, checkers_exp=None):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'w') as f:\n f.write('int i;')\n \n build_dir = None\n if checkers_exp is not None:\n build_dir = tmp_path / 'b1'\n os.makedirs(build_dir)\n \n args = [\n '-q',\n '--enable=information',\n '-j1',\n str(test_file)\n ]\n \n if use_misra:\n args += ['--addon=misra']\n if build_dir:\n args += ['--cppcheck-build-dir={}'.format(build_dir)]\n else:\n args += ['--no-cppcheck-build-dir']\n \n env = {}\n if use_unusedfunction_only:\n env = {'UNUSEDFUNCTION_ONLY': '1'}\n args += ['--enable=unusedFunction']\n exitcode, stdout, stderr, _ = cppcheck_ex(args, remove_checkers_report=False, env=env)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n f'nofile:0:0: information: Active checkers: {active_cnt}/{total_cnt} (use --checkers-report= to see details) [checkersReport]',\n '' # TODO: get rid of extra newline\n ]\nE AssertionError: assert ['nofile:0:0:...sReport]', ''] == ['nofile:0:0:...sReport]', '']\nE \nE At index 0 diff: 'nofile:0:0: information: Active checkers: 41/186 (use --checkers-report= to see details) [checkersReport]' != 'nofile:0:0: information: Active checkers: 1/386 (use --checkers-report= to see details) [checkersReport]'\nE \nE Full diff:\nE [\nE - 'nofile:0:0: information: Active checkers: 1/386 (use '\nE ? ^...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n\ntests/other_test.py:4050: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________________ test_analyzerinfo _______________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_analyzerinfo2')\n\n def test_analyzerinfo(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n build_dir = tmp_path / 'b1'\n os.makedirs(build_dir)\n \n test_a1_file = build_dir / 'test.a1'\n \n args = [\n '-q',\n '--debug-analyzerinfo',\n '--template=simple',\n '--cppcheck-build-dir={}'.format(build_dir),\n '--enable=all',\n str(test_file)\n ]\n \n stderr_exp = [\n '{}:3:14: error: Null pointer dereference: (int*)0 [nullPointer]'.format(test_file),\n \"{}:1:6: style: The function 'f' is never used. [unusedFunction]\".format(test_file)\n ]\n \n def run_and_assert_cppcheck(stdout_exp):\n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == stdout_exp\n assert stderr.splitlines() == stderr_exp\n \n test_a1_file_s = str(test_a1_file).replace('\\\\', '/')\n \n # no cached results\n> run_and_assert_cppcheck([\n \"no cached result '{}' found\".format(test_a1_file_s)\n ])\n\ntests/other_test.py:4124: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nstdout_exp = [\"no cached result '/tmp/pytest-of-root/pytest-0/test_analyzerinfo2/b1/test.a1' found\"]\n\n def run_and_assert_cppcheck(stdout_exp):\n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--debug-analyzerinfo\".\nE \nE assert 1 == 0\n\ntests/other_test.py:4117: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________________ test_file_filter _______________________________\n\n def test_file_filter():\n ret, stdout, _ = cppcheck(['proj2/','--file-filter=proj2/a/*'], cwd=__script_dir)\n file1 = os.path.join('proj2', 'a', 'a.c')\n file2 = os.path.join('proj2', 'b', 'b.c')\n assert ret == 0, stdout\n assert stdout.find('Checking %s ...' % file1) >= 0\n ret, stdout, _ = cppcheck(['proj2/','--file-filter=proj2/b*'], cwd=__script_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find any files matching the filter:proj2/b*\nE \nE assert 1 == 0\n\ntests/proj2_test.py:36: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\nusing '/workspace/executable'\n_______________________________ test_local_path ________________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_local_path2')\n\n def test_local_path(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=compile_commands.json'], cwd=proj_dir)\n file1 = os.path.join('a', 'a.c')\n file2 = os.path.join('b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:46: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________________ test_local_path_force _____________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_local_path_force2')\n\n def test_local_path_force(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=compile_commands.json', '--force'], cwd=proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:55: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_local_path_maxconfigs __________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_local_path_maxconfigs2')\n\n def test_local_path_maxconfigs(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=compile_commands.json', '--max-configs=2'], cwd=proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:63: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________________ test_relative_path ______________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_relative_path2')\n\n def test_relative_path(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=proj2/' + __COMPILE_COMMANDS_JSON], cwd=tmp_path)\n file1 = os.path.join('proj2', 'a', 'a.c')\n file2 = os.path.join('proj2', 'b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:73: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________________ test_absolute_path ______________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_absolute_path2')\n\n def test_absolute_path(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=' + os.path.join(proj_dir, __COMPILE_COMMANDS_JSON)], cwd=tmp_path)\n file1 = os.path.join(proj_dir, 'a', 'a.c')\n file2 = os.path.join(proj_dir, 'b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_absolute_path2/proj2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:84: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________ test_gui_project_loads_compile_commands_1 ___________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_compile2')\n\n def test_gui_project_loads_compile_commands_1(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=proj2/proj2.cppcheck'], cwd=tmp_path)\n file1 = os.path.join('proj2', 'a', 'a.c')\n file2 = os.path.join('proj2', 'b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/proj2.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:95: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________ test_gui_project_loads_compile_commands_2 ___________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_compile5')\n\n def test_gui_project_loads_compile_commands_2(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n exclude_path_1 = 'proj2/b'\n create_gui_project_file(os.path.join(proj_dir, 'test.cppcheck'),\n import_project='compile_commands.json',\n exclude_paths=[exclude_path_1])\n ret, stdout, _ = cppcheck(['--project=' + os.path.join('proj2','test.cppcheck')], cwd=tmp_path)\n file1 = os.path.join('proj2', 'a', 'a.c')\n file2 = os.path.join('proj2', 'b', 'b.c') # Excluded by test.cppcheck\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:110: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________ test_gui_project_loads_relative_vs_solution __________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_relativ2')\n\n def test_gui_project_loads_relative_vs_solution(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n create_gui_project_file(os.path.join(tmp_path, 'test.cppcheck'), import_project='proj2/proj2.sln')\n ret, stdout, _ = cppcheck(['--project=test.cppcheck'], cwd=tmp_path)\n file1 = os.path.join('proj2', 'a', 'a.c')\n file2 = os.path.join('proj2', 'b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:122: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________ test_gui_project_loads_absolute_vs_solution __________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_absolut2')\n\n def test_gui_project_loads_absolute_vs_solution(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n create_gui_project_file(os.path.join(tmp_path, 'test.cppcheck'), import_project=os.path.join(proj_dir, 'proj2.sln'))\n ret, stdout, _ = cppcheck(['--project=test.cppcheck'], cwd=tmp_path)\n file1 = os.path.join(proj_dir, 'a', 'a.c')\n file2 = os.path.join(proj_dir, 'b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:139: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________ test_gui_project_loads_relative_vs_solution_2 _________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_relativ5')\n\n def test_gui_project_loads_relative_vs_solution_2(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n create_gui_project_file(os.path.join(tmp_path, 'test.cppcheck'), root_path='proj2', import_project='proj2/proj2.sln')\n ret, stdout, stderr = cppcheck(['--project=test.cppcheck'], cwd=tmp_path)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:154: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________ test_gui_project_loads_relative_vs_solution_with_exclude ___________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_relativ8')\n\n def test_gui_project_loads_relative_vs_solution_with_exclude(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n create_gui_project_file(os.path.join(tmp_path, 'test.cppcheck'), root_path='proj2', import_project='proj2/proj2.sln', exclude_paths=['b'])\n ret, stdout, stderr = cppcheck(['--project=test.cppcheck'], cwd=tmp_path)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:162: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________ test_gui_project_loads_absolute_vs_solution_2 _________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_absolut5')\n\n def test_gui_project_loads_absolute_vs_solution_2(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n create_gui_project_file(os.path.join(tmp_path, 'test.cppcheck'),\n root_path=str(proj_dir),\n import_project=os.path.join(proj_dir, 'proj2.sln'))\n ret, stdout, stderr = cppcheck(['--project=test.cppcheck'], cwd=tmp_path)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:172: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________________ test_samples _________________________________\n\n def test_samples():\n failures = {}\n \n samples_dir = os.path.join(__root_dir, 'samples')\n> for entry in os.listdir(samples_dir):\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/samples'\n\ntests/samples_test.py:14: FileNotFoundError\n_________________ test_safety_suppress_syntax_error_implicitly _________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_safety_suppress_syntax_er2')\n\n def test_safety_suppress_syntax_error_implicitly(tmpdir):\n ret, stdout, stderr = cppcheck(['-q', '--safety', '--suppress=*', 'proj-suppress-syntaxError', '-j1'], remove_checkers_report=False, cwd=__script_dir)\n> assert ret == 1, stdout\nE AssertionError: \nE assert 0 == 1\n\ntests/suppress_syntaxError_test.py:22: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________ test_safety_suppress_syntax_error_explicitly _________________\n\n def test_safety_suppress_syntax_error_explicitly():\n ret, stdout, stderr = cppcheck(['-q', '--safety', '--suppress=syntaxError', 'proj-suppress-syntaxError', '-j1'], remove_checkers_report=False, cwd=__script_dir)\n> assert ret == 1, stdout\nE AssertionError: \nE assert 0 == 1\n\ntests/suppress_syntaxError_test.py:29: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________________ test_unused_functions _____________________________\n\n def test_unused_functions():\n> __test_unused_functions(['-j1', '--no-cppcheck-build-dir'])\n\ntests/unused_function_test.py:53: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_unused_functions(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n __project_dir\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...-build-dir\".'] == []\nE \nE Left contains one more item: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".'\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: unrecognized command line option: '\nE + '\"--no-cppcheck-build-dir\".',\nE + ]\n\ntests/unused_function_test.py:45: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_unused_functions_j ____________________________\n\n def test_unused_functions_j():\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '-j2',\n '--no-cppcheck-build-dir',\n __project_dir\n ]\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == [\n \"cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.\"\n ]\nE assert ['cppcheck: e...-build-dir\".'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".' != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:67: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_unused_functions_project _________________________\n\n def test_unused_functions_project():\n> __test_unused_functions_project(['-j1', '--no-cppcheck-build-dir'])\n\ntests/unused_function_test.py:112: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_unused_functions_project(extra_args):\n project_file = os.path.join(__project_dir, 'unusedFunction.cppcheck')\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(project_file),\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:104: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________ test_unused_functions_project_j ________________________\n\n def test_unused_functions_project_j():\n project_file = os.path.join(__project_dir, 'unusedFunction.cppcheck')\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(project_file),\n '-j2',\n '--no-cppcheck-build-dir'\n ]\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == [\n \"cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.\"\n ]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\" != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:127: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________ test_unused_functions_project_builddir ____________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_project_2')\n\n def test_unused_functions_project_builddir(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_unused_functions_project(['-j1', '--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/unused_function_test.py:137: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_unused_functions_project_2/b1']\n\n def __test_unused_functions_project(extra_args):\n project_file = os.path.join(__project_dir, 'unusedFunction.cppcheck')\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(project_file),\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:104: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________ test_unused_functions_project_builddir_j_thread ________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_project_5')\n\n def test_unused_functions_project_builddir_j_thread(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_unused_functions_project(['-j2', '--cppcheck-build-dir={}'.format(build_dir), '--executor=thread'])\n\ntests/unused_function_test.py:143: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_unused_functions_project_5/b1', '--executor=thread']\n\n def __test_unused_functions_project(extra_args):\n project_file = os.path.join(__project_dir, 'unusedFunction.cppcheck')\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(project_file),\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:104: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________ test_unused_functions_project_builddir_j_process _______________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_project_8')\n\n @pytest.mark.skipif(sys.platform == 'win32', reason='ProcessExecutor not available on Windows')\n def test_unused_functions_project_builddir_j_process(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_unused_functions_project(['-j2', '--cppcheck-build-dir={}'.format(build_dir), '--executor=process'])\n\ntests/unused_function_test.py:150: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_unused_functions_project_8/b1', '--executor=process']\n\n def __test_unused_functions_project(extra_args):\n project_file = os.path.join(__project_dir, 'unusedFunction.cppcheck')\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(project_file),\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:104: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________ test_unused_functions_compdb _________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb2')\n\n def test_unused_functions_compdb(tmpdir):\n> __test_unused_functions_compdb(tmpdir, ['-j1', '--no-cppcheck-build-dir'])\n\ntests/unused_function_test.py:172: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb2')\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_unused_functions_compdb(tmpdir, extra_args):\n compdb_file = __create_compdb(tmpdir, __project_dir)\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(compdb_file)\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb2/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:164: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_unused_functions_compdb_j ________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_j2')\n\n def test_unused_functions_compdb_j(tmpdir):\n compdb_file = __create_compdb(tmpdir, __project_dir)\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(compdb_file),\n '-j2',\n '--no-cppcheck-build-dir'\n ]\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == [\n \"cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.\"\n ]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_j2/compile_commands.json'. Project files are not supported.\" != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:187: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________ test_unused_functions_compdb_buildir_j_thread _________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b2')\n\n def test_unused_functions_compdb_buildir_j_thread(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_unused_functions_compdb(tmpdir, ['-j2', '--cppcheck-build-dir={}'.format(build_dir), '--executor=thread'])\n\ntests/unused_function_test.py:197: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b2')\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b2/b1', '--executor=thread']\n\n def __test_unused_functions_compdb(tmpdir, extra_args):\n compdb_file = __create_compdb(tmpdir, __project_dir)\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(compdb_file)\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b2/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:164: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________ test_unused_functions_compdb_builddir_j_process ________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b5')\n\n @pytest.mark.skipif(sys.platform == 'win32', reason='ProcessExecutor not available on Windows')\n def test_unused_functions_compdb_builddir_j_process(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_unused_functions_compdb(tmpdir, ['-j2', '--cppcheck-build-dir={}'.format(build_dir), '--executor=process'])\n\ntests/unused_function_test.py:204: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b5')\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b5/b1', '--executor=process']\n\n def __test_unused_functions_compdb(tmpdir, extra_args):\n compdb_file = __create_compdb(tmpdir, __project_dir)\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(compdb_file)\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b5/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:164: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_addon_suppress_inline __________________________\n\n def test_addon_suppress_inline():\n args = [\n '-q',\n '--addon=misra',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/whole1.c',\n 'whole-program/whole2.c'\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['whole-progr...Suppression]'] == []\nE \nE Left contains 3 more items, first extra item: 'whole-program/whole1.c:3:0: information: Unmatched suppression: misra-c2012-8.4 [unmatchedSuppression]'\nE \nE Full diff:\nE - []\nE + [\nE + 'whole-program/whole1.c:3:0: information: Unmatched suppression: '...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:46: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________ test_addon_suppress_inline_project ______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_suppress_inline_pro2')\n\n def test_addon_suppress_inline_project(tmpdir):\n compile_db = __create_compile_commands(tmpdir, [\n os.path.join(__script_dir, 'whole-program', 'whole1.c'),\n os.path.join(__script_dir, 'whole-program', 'whole2.c')\n ])\n \n args = [\n '-q',\n '--addon=misra',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_addon_suppress_inline_pro2/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:69: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________________ test_suppress_inline _____________________________\n\n def test_suppress_inline():\n> __test_suppress_inline(['-j1', '--no-cppcheck-build-dir'])\n\ntests/whole_program_test.py:95: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_suppress_inline(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE assert 'cppcheck: er...build-dir\".\\n' == ''\nE \nE + cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\n\ntests/whole_program_test.py:90: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_suppress_inline_builddir _________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir2')\n\n def test_suppress_inline_builddir(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\n\ntests/whole_program_test.py:106: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir2/b1', '-j1']\n\n def __test_suppress_inline(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['whole-progr...Suppression]'] == []\nE \nE Left contains one more item: 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: ctuOneDefinitionRuleViolation [unmatchedSuppression]'\nE \nE Full diff:\nE - []\nE + [\nE + 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: '\nE + 'ctuOneDefinitionRuleViolation [unmatchedSuppression]',\nE + ]\n\ntests/whole_program_test.py:89: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________ test_suppress_inline_builddir_cached _____________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir_2')\n\n def test_suppress_inline_builddir_cached(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\n\ntests/whole_program_test.py:112: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir_2/b1', '-j1']\n\n def __test_suppress_inline(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['whole-progr...Suppression]'] == []\nE \nE Left contains one more item: 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: ctuOneDefinitionRuleViolation [unmatchedSuppression]'\nE \nE Full diff:\nE - []\nE + [\nE + 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: '\nE + 'ctuOneDefinitionRuleViolation [unmatchedSuppression]',\nE + ]\n\ntests/whole_program_test.py:89: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________ test_suppress_inline_builddir_j ________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir_5')\n\n def test_suppress_inline_builddir_j(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\n\ntests/whole_program_test.py:119: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir_5/b1', '-j2']\n\n def __test_suppress_inline(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['whole-progr...Suppression]'] == []\nE \nE Left contains one more item: 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: ctuOneDefinitionRuleViolation [unmatchedSuppression]'\nE \nE Full diff:\nE - []\nE + [\nE + 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: '\nE + 'ctuOneDefinitionRuleViolation [unmatchedSuppression]',\nE + ]\n\ntests/whole_program_test.py:89: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________ test_inline_suppr_builddir_j_cached ______________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_inline_suppr_builddir_j_c5')\n\n def test_inline_suppr_builddir_j_cached(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\n\ntests/whole_program_test.py:125: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_inline_suppr_builddir_j_c5/b1', '-j2']\n\n def __test_suppress_inline(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['whole-progr...Suppression]'] == []\nE \nE Left contains one more item: 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: ctuOneDefinitionRuleViolation [unmatchedSuppression]'\nE \nE Full diff:\nE - []\nE + [\nE + 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: '\nE + 'ctuOneDefinitionRuleViolation [unmatchedSuppression]',\nE + ]\n\ntests/whole_program_test.py:89: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________________ test_suppress_inline_project _________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project2')\n\n def test_suppress_inline_project(tmp_path):\n> __test_suppress_inline_project(tmp_path, ['-j1', '--no-cppcheck-build-dir'])\n\ntests/whole_program_test.py:156: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project2')\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_suppress_inline_project(tmp_path, extra_args):\n compile_db = __create_compile_commands(str(tmp_path), [\n os.path.join(__script_dir, 'whole-program', 'odr1.cpp'),\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project2/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:150: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________ test_suppress_inline_project_builddir _____________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b2')\n\n def test_suppress_inline_project_builddir(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\n\ntests/whole_program_test.py:167: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b2')\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b2/b1', '-j1']\n\n def __test_suppress_inline_project(tmp_path, extra_args):\n compile_db = __create_compile_commands(str(tmp_path), [\n os.path.join(__script_dir, 'whole-program', 'odr1.cpp'),\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b2/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:150: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_________________ test_suppress_inline_project_builddir_cached _________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b5')\n\n def test_suppress_inline_project_builddir_cached(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\n\ntests/whole_program_test.py:173: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b5')\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b5/b1', '-j1']\n\n def __test_suppress_inline_project(tmp_path, extra_args):\n compile_db = __create_compile_commands(str(tmp_path), [\n os.path.join(__script_dir, 'whole-program', 'odr1.cpp'),\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b5/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:150: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________ test_suppress_inline_project_builddir_j ____________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b8')\n\n def test_suppress_inline_project_builddir_j(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\n\ntests/whole_program_test.py:180: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b8')\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b8/b1', '-j2']\n\n def __test_suppress_inline_project(tmp_path, extra_args):\n compile_db = __create_compile_commands(str(tmp_path), [\n os.path.join(__script_dir, 'whole-program', 'odr1.cpp'),\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b8/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:150: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________ test_suppress_inline_project_builddir_j_cached ________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b11')\n\n def test_suppress_inline_project_builddir_j_cached(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\n\ntests/whole_program_test.py:186: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b11')\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b11/b1', '-j2']\n\n def __test_suppress_inline_project(tmp_path, extra_args):\n compile_db = __create_compile_commands(str(tmp_path), [\n os.path.join(__script_dir, 'whole-program', 'odr1.cpp'),\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b11/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:150: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_addon_rerun[False] ____________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_rerun_False_2')\nbuilddir = False\n\n @pytest.mark.parametrize(\"builddir\", (False,True))\n def test_addon_rerun(tmp_path, builddir):\n \"\"\"Rerun analysis and ensure that misra CTU works; with and without build dir\"\"\"\n args = [\n '--addon=misra',\n '--enable=style',\n '--template={id}',\n 'whole-program']\n # do not use the injection because the directory needs to survive runs\n if builddir:\n args.append('--cppcheck-build-dir=' + str(tmp_path))\n else:\n args.append('--no-cppcheck-build-dir')\n _, _, stderr = cppcheck(args, cwd=__script_dir)\n> assert 'misra-c2012-5.8' in stderr\nE AssertionError: assert 'misra-c2012-5.8' in ''\n\ntests/whole_program_test.py:204: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________________ test_addon_rerun[True] ____________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_rerun_True_2')\nbuilddir = True\n\n @pytest.mark.parametrize(\"builddir\", (False,True))\n def test_addon_rerun(tmp_path, builddir):\n \"\"\"Rerun analysis and ensure that misra CTU works; with and without build dir\"\"\"\n args = [\n '--addon=misra',\n '--enable=style',\n '--template={id}',\n 'whole-program']\n # do not use the injection because the directory needs to survive runs\n if builddir:\n args.append('--cppcheck-build-dir=' + str(tmp_path))\n else:\n args.append('--no-cppcheck-build-dir')\n _, _, stderr = cppcheck(args, cwd=__script_dir)\n> assert 'misra-c2012-5.8' in stderr\nE AssertionError: assert 'misra-c2012-5.8' in ''\n\ntests/whole_program_test.py:204: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________ test_addon_builddir_use_ctuinfo ________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_builddir_use_ctuinf2')\n\n def test_addon_builddir_use_ctuinfo(tmp_path):\n \"\"\"Test that ctu-info files are used when builddir is used\"\"\"\n args = [\n '--cppcheck-build-dir=' + str(tmp_path),\n '--addon=misra',\n '--enable=style',\n '--template={id}',\n 'whole-program']\n _, _, stderr = cppcheck(args, cwd=__script_dir)\n> assert 'misra-c2012-5.8' in stderr\nE AssertionError: assert 'misra-c2012-5.8' in ''\n\ntests/whole_program_test.py:217: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_addon_no_artifacts[False] ________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_no_artifacts_False_2')\nbuilddir = False\n\n @pytest.mark.parametrize(\"builddir\", (False,True))\n def test_addon_no_artifacts(tmp_path, builddir):\n \"\"\"Test that there are no artifacts left after analysis\"\"\"\n shutil.copyfile(os.path.join(__script_dir, 'whole-program', 'whole1.c'), tmp_path / 'whole1.c')\n shutil.copyfile(os.path.join(__script_dir, 'whole-program', 'whole2.c'), tmp_path / 'whole2.c')\n build_dir = str(tmp_path / 'b1')\n os.mkdir(build_dir)\n args = [\n '--addon=misra',\n '--enable=style',\n '--template={id}',\n str(tmp_path)]\n if builddir:\n args.append('--cppcheck-build-dir=' + build_dir)\n _, _, stderr = cppcheck(args, cwd=__script_dir)\n> assert 'misra-c2012-5.8' in stderr\nE AssertionError: assert 'misra-c2012-5.8' in ''\n\ntests/whole_program_test.py:241: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n________________________ test_addon_no_artifacts[True] _________________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_no_artifacts_True_2')\nbuilddir = True\n\n @pytest.mark.parametrize(\"builddir\", (False,True))\n def test_addon_no_artifacts(tmp_path, builddir):\n \"\"\"Test that there are no artifacts left after analysis\"\"\"\n shutil.copyfile(os.path.join(__script_dir, 'whole-program', 'whole1.c'), tmp_path / 'whole1.c')\n shutil.copyfile(os.path.join(__script_dir, 'whole-program', 'whole2.c'), tmp_path / 'whole2.c')\n build_dir = str(tmp_path / 'b1')\n os.mkdir(build_dir)\n args = [\n '--addon=misra',\n '--enable=style',\n '--template={id}',\n str(tmp_path)]\n if builddir:\n args.append('--cppcheck-build-dir=' + build_dir)\n _, _, stderr = cppcheck(args, cwd=__script_dir)\n> assert 'misra-c2012-5.8' in stderr\nE AssertionError: assert 'misra-c2012-5.8' in ''\n\ntests/whole_program_test.py:241: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________________ test_checkclass ________________________________\n\n def test_checkclass():\n> __test_checkclass(['-j1'])\n\ntests/whole_program_test.py:273: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1']\n\n def __test_checkclass(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp',\n 'whole-program/odr3.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"whole-program{}odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(os.path.sep)\n ]\nE assert [] == ['whole-progr...leViolation]']\nE \nE Right contains one more item: \"whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - 'whole-program/odr1.cpp:6:1: error: The one definition rule is violated, '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:265: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_checkclass_builddir ___________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_builddir2')\n\n def test_checkclass_builddir(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_checkclass(['--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/whole_program_test.py:284: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_checkclass_builddir2/b1']\n\n def __test_checkclass(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp',\n 'whole-program/odr3.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"whole-program{}odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(os.path.sep)\n ]\nE assert [] == ['whole-progr...leViolation]']\nE \nE Right contains one more item: \"whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - 'whole-program/odr1.cpp:6:1: error: The one definition rule is violated, '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:265: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n__________________________ test_checkclass_builddir_j __________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_builddir_j2')\n\n def test_checkclass_builddir_j(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_checkclass(['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/whole_program_test.py:290: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_checkclass_builddir_j2/b1']\n\n def __test_checkclass(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp',\n 'whole-program/odr3.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"whole-program{}odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(os.path.sep)\n ]\nE assert [] == ['whole-progr...leViolation]']\nE \nE Right contains one more item: \"whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - 'whole-program/odr1.cpp:6:1: error: The one definition rule is violated, '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:265: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n___________________________ test_checkclass_project ____________________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project2')\n\n def test_checkclass_project(tmpdir):\n> __test_checkclass_project(tmpdir, ['-j1'])\n\ntests/whole_program_test.py:321: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project2')\nextra_args = ['-j1']\n\n def __test_checkclass_project(tmpdir, extra_args):\n odr_file_1 = os.path.join(__script_dir, 'whole-program', 'odr1.cpp')\n \n compile_db = __create_compile_commands(tmpdir, [\n odr_file_1,\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"{}:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(odr_file_1)\n ]\nE assert [] == ['/workspace/...leViolation]']\nE \nE Right contains one more item: \"/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:313: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_______________________ test_checkclass_project_builddir _______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd2')\n\n def test_checkclass_project_builddir(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_checkclass_project(tmpdir, ['-j1', '--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/whole_program_test.py:332: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd2')\nextra_args = ['-j1', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd2/b1']\n\n def __test_checkclass_project(tmpdir, extra_args):\n odr_file_1 = os.path.join(__script_dir, 'whole-program', 'odr1.cpp')\n \n compile_db = __create_compile_commands(tmpdir, [\n odr_file_1,\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"{}:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(odr_file_1)\n ]\nE assert [] == ['/workspace/...leViolation]']\nE \nE Right contains one more item: \"/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:313: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________ test_checkclass_project_builddir_j ______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd5')\n\n def test_checkclass_project_builddir_j(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_checkclass_project(tmpdir, ['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/whole_program_test.py:338: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd5')\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd5/b1']\n\n def __test_checkclass_project(tmpdir, extra_args):\n odr_file_1 = os.path.join(__script_dir, 'whole-program', 'odr1.cpp')\n \n compile_db = __create_compile_commands(tmpdir, [\n odr_file_1,\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"{}:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(odr_file_1)\n ]\nE assert [] == ['/workspace/...leViolation]']\nE \nE Right contains one more item: \"/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:313: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n_____________________________ test_ctu_odr_config ______________________________\n\n def test_ctu_odr_config():\n args = [\n '-q',\n '-j1',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n 'whole-program/odr_cfg1.cpp',\n 'whole-program/odr_cfg2.cpp'\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"whole-program{}odr_cfg1.cpp:2:1: error: The one definition rule is violated, different classes/structs have the same name 'S' [ctuOneDefinitionRuleViolation]\".format(os.path.sep)\n ]\nE assert [] == ['whole-progr...leViolation]']\nE \nE Right contains one more item: \"whole-program/odr_cfg1.cpp:2:1: error: The one definition rule is violated, different classes/structs have the same name 'S' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - 'whole-program/odr_cfg1.cpp:2:1: error: The one definition rule is '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:353: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________________ test_nullpointer_file0 ____________________________\n\n def test_nullpointer_file0():\n> __test_nullpointer_file0(['-j1'])\n\ntests/whole_program_test.py:382: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1']\n\n def __test_nullpointer_file0(extra_args):\n args = [\n '-q',\n '--xml',\n '--error-exitcode=1',\n 'whole-program/nullpointer1.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n results = ET.fromstring(stderr)\n file0 = ''\n for e in results.findall('errors/error[@id=\"ctunullpointer\"]'):\n file0 = e.attrib['file0']\n \n> assert ret == 1, stdout if stdout else stderr\nE AssertionError: \nE \nE \nE \nE \nE \nE \nE assert 0 == 1\n\ntests/whole_program_test.py:376: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n______________________ test_nullpointer_file0_builddir_j _______________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_nullpointer_file0_builddi2')\n\n def test_nullpointer_file0_builddir_j(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_nullpointer_file0(['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/whole_program_test.py:393: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_nullpointer_file0_builddi2/b1']\n\n def __test_nullpointer_file0(extra_args):\n args = [\n '-q',\n '--xml',\n '--error-exitcode=1',\n 'whole-program/nullpointer1.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n results = ET.fromstring(stderr)\n file0 = ''\n for e in results.findall('errors/error[@id=\"ctunullpointer\"]'):\n file0 = e.attrib['file0']\n \n> assert ret == 1, stdout if stdout else stderr\nE AssertionError: \nE \nE \nE \nE \nE \nE \nE assert 0 == 1\n\ntests/whole_program_test.py:376: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n____________________ test_nullpointer_out_of_memory[False] _____________________\n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_nullpointer_out_of_memory2')\nsingle_file = False\n\n @pytest.mark.parametrize(\"single_file\", [\n False,\n pytest.param(True, marks=pytest.mark.xfail(strict=True)),\n ])\n def test_nullpointer_out_of_memory(tmpdir, single_file):\n \"\"\"Ensure that there are not duplicate warnings related to memory/resource allocation failures\n https://trac.cppcheck.net/ticket/13521\n \"\"\"\n code1 = 'void f(int* p) { *p = 0; }\\n'\n code2 = 'int main() { int* p = malloc(10); f(p); return 0; }\\n'\n if single_file:\n with open(tmpdir / 'test.c', 'wt') as f:\n f.write(code1 + code2)\n else:\n with open(tmpdir / 'header.h', 'wt') as f:\n f.write('void f(int* p);\\n')\n with open(tmpdir / 'test1.c', 'wt') as f:\n f.write('#include \"header.h\"\\n' + code1)\n with open(tmpdir / 'test2.c', 'wt') as f:\n f.write('#include \"header.h\"\\n' + code2)\n args = [\n '--cppcheck-build-dir=.',\n '--enable=style',\n '.']\n _, _, stderr = cppcheck(args, cwd=tmpdir)\n results = []\n for line in stderr.splitlines():\n if line.endswith(']'):\n results.append(line[line.find('['):])\n \n if single_file:\n # the bug is found and reported using normal valueflow analysis\n # ctu finding is not reported\n assert results == ['[nullPointerOutOfMemory]']\n else:\n # the bug is found using ctu analysis\n> assert results == ['[ctunullpointerOutOfMemory]']\nE AssertionError: assert [] == ['[ctunullpoi...OutOfMemory]']\nE \nE Right contains one more item: '[ctunullpointerOutOfMemory]'\nE \nE Full diff:\nE + []\nE - [\nE - '[ctunullpointerOutOfMemory]',\nE - ]\n\ntests/whole_program_test.py:432: AssertionError\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n----------------------------- Captured stdout call -----------------------------\nusing '/workspace/executable'\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED tests/dumpfile_test.py::test_libraries - assert '= 0\nFAILED tests/metrics_test.py::test_dummy_metrics_stdout - assert -1 >= 0\nFAILED tests/other_test.py::test_color_non_tty[env0-True] - AssertionError: a...\nFAILED tests/other_test.py::test_color_tty[env0-True] - AssertionError: asser...\nFAILED tests/other_test.py::test_progress - AssertionError: cppcheck: error: ...\nFAILED tests/other_test.py::test_progress_j - AssertionError: cppcheck: error...\nFAILED tests/other_test.py::test_execute_addon_failure_py_auto - AssertionErr...\nFAILED tests/other_test.py::test_execute_addon_failure_py_notexist - Assertio...\nFAILED tests/other_test.py::test_execute_addon_failure_json_notexist - Assert...\nFAILED tests/other_test.py::test_execute_addon_failure_json_ctu_notexist - as...\nFAILED tests/other_test.py::test_execute_addon_file0 - assert 'misra-c2012-8....\nFAILED tests/other_test.py::test_addon_ctu_exitcode - AssertionError: \nFAILED tests/other_test.py::test_addon_misra - AssertionError: assert '' == '...\nFAILED tests/other_test.py::test_addon_y2038 - AssertionError: assert '' == '...\nFAILED tests/other_test.py::test_addon_threadsafety - AssertionError: assert ...\nFAILED tests/other_test.py::test_addon_naming - AssertionError: assert '' == ...\nFAILED tests/other_test.py::test_addon_namingng - AssertionError: assert [' ^...\nFAILED tests/other_test.py::test_addon_namingng_config - IndexError: pop from...\nFAILED tests/other_test.py::test_addon_findcasts - AssertionError: assert '' ...\nFAILED tests/other_test.py::test_addon_misc - AssertionError: assert '' == '/...\nFAILED tests/other_test.py::test_invalid_addon_json - assert 0 == 1\nFAILED tests/other_test.py::test_invalid_addon_py - AssertionError: assert ''...\nFAILED tests/other_test.py::test_invalid_addon_py_verbose - assert False\nFAILED tests/other_test.py::test_addon_result - AssertionError: assert '' == ...\nFAILED tests/other_test.py::test_unused_function_include - AssertionError: as...\nFAILED tests/other_test.py::test_showtime_top5_file - assert 0 == 7\nFAILED tests/other_test.py::test_missing_addon - AssertionError: assert ['Did...\nFAILED tests/other_test.py::test_file_order - AssertionError: assert ['Checki...\nFAILED tests/other_test.py::test_markup - AssertionError: ['Checking /tmp/pyt...\nFAILED tests/other_test.py::test_markup_j - AssertionError: assert ['1/4 file...\nFAILED tests/other_test.py::test_valueflow_debug - AssertionError: assert '##...\nFAILED tests/other_test.py::test_file_duplicate_2 - AssertionError: assert ['...\nFAILED tests/other_test.py::test_file_duplicate_3 - AssertionError: assert ['...\nFAILED tests/other_test.py::test_addon_json_invalid_no_obj - assert 0 == 1\nFAILED tests/other_test.py::test_addon_json_invalid_args_1 - assert 0 == 1\nFAILED tests/other_test.py::test_addon_json_invalid_args_2 - assert 0 == 1\nFAILED tests/other_test.py::test_addon_json_invalid_ctu - assert 0 == 1\nFAILED tests/other_test.py::test_addon_json_invalid_python - assert 0 == 1\nFAILED tests/other_test.py::test_addon_json_invalid_executable - assert 0 == 1\nFAILED tests/other_test.py::test_addon_json_invalid_script_1 - assert 0 == 1\nFAILED tests/other_test.py::test_addon_json_invalid_script_2 - assert 0 == 1\nFAILED tests/other_test.py::test_rule_file_define_multiple - AssertionError: ...\nFAILED tests/other_test.py::test_rule_file_define - AssertionError: cppcheck:...\nFAILED tests/other_test.py::test_rule_file_normal - AssertionError: cppcheck:...\nFAILED tests/other_test.py::test_rule_file_raw - AssertionError: cppcheck: er...\nFAILED tests/other_test.py::test_rule - AssertionError: cppcheck: error: Opti...\nFAILED tests/other_test.py::test_rule_multiple_files - AssertionError: cppche...\nFAILED tests/other_test.py::test_filelist - ValueError: list.remove(x): x not...\nFAILED tests/other_test.py::test_cpp_probe - AssertionError: assert ['Defines...\nFAILED tests/other_test.py::test_config_invalid - AssertionError: Checking /t...\nFAILED tests/other_test.py::test_checkers_report_misra_json - assert 'tmpdir = local('/tmp/pytest-of-root/pytest-0/test_libraries2')\n\n def test_libraries(tmpdir): #13701\n test_file = str(tmpdir / 'test.c')\n with open(test_file, 'wt') as f:\n f.write('x=1;\\n')\n \n args = ['--library=posix', '--dump', test_file]\n _, _, _ = cppcheck(args)\n \n dumpfile = test_file + '.dump'\n assert os.path.isfile(dumpfile)\n with open(dumpfile, 'rt') as f:\n dump = f.read()\n> assert '<library lib=\"posix\"/>' in dump\nE assert '<library lib=\"posix\"/>' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<dumps language=\"c\">\\n <platform name=\"native\" char_bit=\"8\" short_bit=\"16\" int_bit=\"32\" long_bit=\"64\" long_long_bit=\"64\" pointer_bit=\"64\" wchar_t_bit=\"32\" size_t_bit=\"64\"/>\\n <rawtokens>\\n <file index=\"0\" name=\"/tmp/pytest-of-root/pytest-0/test_libraries2/test.c\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"1\" str=\"x\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"2\" str=\"=\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"3\" str=\"1\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"4\" str=\";\"/>\\n </rawtokens>\\n <dump cfg=\"\">\\n <standards>\\n <c version=\"c11\"/>\\n <cpp version=\"c++20\"/>\\n </standards>\\n <tokenlist>\\n <token id=\"0x55fe978aa730\" file=\"/tmp/pytest-of-root/pytest-0/test_libraries2/test.c\" linenr=\"1\" column=\"1\" str=\"x\" type=\"name\" astParent=\"0x55fe978255f0\"/>\\n <token id=\"0x55fe978255f0\" file=\"/tmp/pytest-of-root/pytest-0/test_libraries2/test.c\" linenr=\"1\" column=\"2\" str=\"=\" type=\"op\" astOperand1=\"0x55fe978aa730\" astOperand2=\"0x55fe97830040\"/>\\n <token id=\"0x55fe97830040\" file=\"/tmp/pytest-of-root/pytest-0/test_libraries2/test.c\" linenr=\"1\" column=\"3\" str=\"1\" type=\"number\" astParent=\"0x55fe978255f0\"/>\\n <token id=\"0x55fe978b1730\" file=\"/tmp/pytest-of-root/pytest-0/test_libraries2/test.c\" linenr=\"1\" column=\"4\" str=\";\" type=\"op\"/>\\n </tokenlist>\\n </dump>\\n</dumps>\\n'\n\ntests/dumpfile_test.py:23: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c2')\n\n def test_language_c(tmp_path):\n> __test_language(tmp_path, 'c', exp_lang='c')\n\ntests/dumpfile_test.py:50: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c2/test.c.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_c2/test.c.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c_force_c2')\n\n def test_language_c_force_c(tmp_path):\n> __test_language(tmp_path, 'c', force_lang='c', exp_lang='c')\n\ntests/dumpfile_test.py:54: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c_force_c2/test.c.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_c_force_c2/test.c.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c_force_cpp2')\n\n def test_language_c_force_cpp(tmp_path):\n> __test_language(tmp_path, 'c', force_lang='c++', exp_lang='cpp')\n\ntests/dumpfile_test.py:58: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c_force_cpp2/test.c.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_c_force_cpp2/test.c.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp2')\n\n def test_language_cpp(tmp_path):\n> __test_language(tmp_path, 'cpp', exp_lang='cpp')\n\ntests/dumpfile_test.py:62: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp2/test.cpp.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_cpp2/test.cpp.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp_force_cpp2')\n\n def test_language_cpp_force_cpp(tmp_path):\n> __test_language(tmp_path, 'cpp', force_lang='c++', exp_lang='cpp')\n\ntests/dumpfile_test.py:66: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp_force_cpp2/test.cpp.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_cpp_force_cpp2/test.cpp.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp_force_c2')\n\n def test_language_cpp_force_c(tmp_path):\n> __test_language(tmp_path, 'cpp', force_lang='c', exp_lang='c')\n\ntests/dumpfile_test.py:70: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp_force_c2/test.cpp.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_cpp_force_c2/test.cpp.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h2')\n\n def test_language_h(tmp_path):\n> __test_language(tmp_path, 'h', exp_lang='c')\n\ntests/dumpfile_test.py:75: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h2/test.h.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_h2/test.h.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h_force_c2')\n\n def test_language_h_force_c(tmp_path):\n> __test_language(tmp_path, 'h', force_lang='c', exp_lang='c')\n\ntests/dumpfile_test.py:79: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h_force_c2/test.h.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_h_force_c2/test.h.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h_force_cpp2')\n\n def test_language_h_force_cpp(tmp_path):\n> __test_language(tmp_path, 'h', force_lang='c++', exp_lang='cpp')\n\ntests/dumpfile_test.py:83: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h_force_cpp2/test.h.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_h_force_cpp2/test.h.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk2')\n\n def test_language_unk(tmp_path):\n> __test_language(tmp_path, 'src', exp_lang='cpp')\n\ntests/dumpfile_test.py:88: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk2/test.src.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_unk2/test.src.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk_force_c2')\n\n def test_language_unk_force_c(tmp_path):\n> __test_language(tmp_path, 'src', force_lang='c', exp_lang='c')\n\ntests/dumpfile_test.py:92: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk_force_c2/test.src.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_unk_force_c2/test.src.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk_force_cpp2')\n\n def test_language_unk_force_cpp(tmp_path):\n> __test_language(tmp_path, 'src', force_lang='c++', exp_lang='cpp')\n\ntests/dumpfile_test.py:96: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk_force_cpp2/test.src.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_unk_force_cpp2/test.src.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_duplicate_file_entries2')\n\n def test_duplicate_file_entries(tmpdir): #13333\n test_file = str(tmpdir / 'test.c')\n with open(test_file, 'wt') as f:\n f.write('x=1;\\n')\n \n project_file = str(tmpdir / 'compile_commands.json')\n with open(project_file, 'wt') as f:\n f.write(json.dumps([{\n \"file\": test_file,\n \"directory\": str(tmpdir),\n \"command\": \"cc -c test.c\"\n },{\n \"file\": test_file,\n \"directory\": str(tmpdir),\n \"command\": \"cc -c test.c\"\n }]))\n \n args = ['--project=compile_commands.json', '--dump']\n _, _, _ = cppcheck(args, cwd=str(tmpdir))\n \n> assert os.path.isfile(test_file + '.dump')\nE AssertionError: assert False\nE + where False = <function isfile at 0x7f2ec2da1fc0>(('/tmp/pytest-of-root/pytest-0/test_duplicate_file_entries2/test.c' + '.dump'))\nE + where <function isfile at 0x7f2ec2da1fc0> = <module 'posixpath' from '/usr/lib/python3.10/posixpath.py'>.isfile\nE + where <module 'posixpath' from '/usr/lib/python3.10/posixpath.py'> = os.path\n\ntests/dumpfile_test.py:119: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_container_methods2')\n\n def test_container_methods(tmpdir):\n test_file = str(tmpdir / 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write('std::string s;\\n')\n \n exitcode, _, stderr = cppcheck(['--dump', '.'], cwd=str(tmpdir))\n assert exitcode == 0, stderr\n \n dumpfile = test_file + '.dump'\n with open(dumpfile, 'rt') as f:\n dump = f.read()\n> assert '<f name=\"emplace\" action=\"push\" yield=\"iterator\"/>' in dump\nE assert '<f name=\"emplace\" action=\"push\" yield=\"iterator\"/>' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<dumps language=\"cpp\">\\n <platform name=\"native\" char_bit=\"8\" short_bit=\"16\" int_bit=\"32\" long_bit=\"64\" long_long_bit=\"64\" pointer_bit=\"64\" wchar_t_bit=\"32\" size_t_bit=\"64\"/>\\n <rawtokens>\\n <file index=\"0\" name=\"test.cpp\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"1\" str=\"std\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"4\" str=\"::\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"6\" str=\"string\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"13\" str=\"s\"/>\\n <tok fileIndex=\"0\" linenr=\"1\" column=\"14\" str=\";\"/>\\n </rawtokens>\\n <dump cfg=\"\">\\n <standards>\\n <c version=\"c11\"/>\\n <cpp version=\"c++20\"/>\\n </standards>\\n <tokenlist>\\n <token id=\"0x560aa3b262c0\" file=\"test.cpp\" linenr=\"1\" column=\"1\" str=\"std\" type=\"name\"/>\\n <token id=\"0x560aa3acf6d0\" file=\"test.cpp\" linenr=\"1\" column=\"4\" str=\"::\" type=\"op\"/>\\n <token id=\"0x560aa3bb0960\" file=\"test.cpp\" linenr=\"1\" column=\"6\" str=\"string\" type=\"name\"/>\\n <token id=\"0x560aa3b31010\" file=\"test.cpp\" linenr=\"1\" column=\"13\" str=\"s\" type=\"name\" varId=\"1\"/>\\n <token id=\"0x560aa3b31130\" file=\"test.cpp\" linenr=\"1\" column=\"14\" str=\";\" type=\"op\"/>\\n </tokenlist>\\n </dump>\\n</dumps>\\n'\n\ntests/dumpfile_test.py:134: AssertionErrordef test_addon_local_path():\n args = [\n '--addon=misra',\n '--enable=style',\n '--template=cppcheck1',\n '.'\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n assert ret == 0, stdout\n> assert stderr == ('[main.c:5]: (error) Division by zero.\\n'\n '[main.c:4]: (style) misra violation (use --rule-texts=<file> to get proper output)\\n')\nE AssertionError: assert '[main.c:5]: ...on by zero.\\n' == '[main.c:5]: ...per output)\\n'\nE \nE [main.c:5]: (error) Division by zero.\nE - [main.c:4]: (style) misra violation (use --rule-texts=<file> to get proper output)\n\ntests/helloworld_test.py:73: AssertionErrordef test_addon_absolute_path():\n args = [\n '--addon=misra',\n '--enable=style',\n '--template=cppcheck1',\n __proj_dir\n ]\n ret, stdout, stderr = cppcheck(args)\n filename = os.path.join(__proj_dir, 'main.c')\n assert ret == 0, stdout\n> assert stderr == ('[%s:5]: (error) Division by zero.\\n'\n '[%s:4]: (style) misra violation (use --rule-texts=<file> to get proper output)\\n' % (filename, filename))\nE AssertionError: assert '[/workspace/...on by zero.\\n' == '[/workspace/...per output)\\n'\nE \nE [/workspace/eval/tests/testdata/helloworld/main.c:5]: (error) Division by zero.\nE - [/workspace/eval/tests/testdata/helloworld/main.c:4]: (style) misra violation (use --rule-texts=<file> to get proper output)\n\ntests/helloworld_test.py:96: AssertionErrordef test_addon_relative_path():\n args = [\n '--addon=misra',\n '--enable=style',\n '--template=cppcheck1',\n 'helloworld'\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n filename = os.path.join('helloworld', 'main.c')\n assert ret == 0, stdout\n assert stdout == ('Checking %s ...\\n'\n 'Checking %s: SOME_CONFIG=SOME_CONFIG...\\n' % (filename, filename))\n> assert stderr == ('[%s:5]: (error) Division by zero.\\n'\n '[%s:4]: (style) misra violation (use --rule-texts=<file> to get proper output)\\n' % (filename, filename))\nE AssertionError: assert '[helloworld/...on by zero.\\n' == '[helloworld/...per output)\\n'\nE \nE [helloworld/main.c:5]: (error) Division by zero.\nE - [helloworld/main.c:4]: (style) misra violation (use --rule-texts=<file> to get proper output)\n\ntests/helloworld_test.py:111: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_with_gui_project2')\n\n def test_addon_with_gui_project(tmp_path):\n shutil.copytree(os.path.join(__script_dir, 'helloworld'), tmp_path / 'helloworld')\n project_file = os.path.join('helloworld', 'test.cppcheck')\n create_gui_project_file(tmp_path / project_file, paths=['.'], addon='misra')\n args = [\n '--template=cppcheck1',\n '--enable=style',\n '--project={}'.format(project_file)\n ]\n ret, stdout, stderr = cppcheck(args, cwd=tmp_path)\n filename = os.path.join('helloworld', 'main.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:125: AssertionErrordef test_vs_project_local_path():\n> __test_vs_project_local_path()\n\ntests/helloworld_test.py:166: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = None\nexp_vs_cfg = 'Debug|Win32 Debug|x64 Release|Win32 Release|x64'\n\n def __test_vs_project_local_path(extra_args=None, exp_vs_cfg='Debug|Win32 Debug|x64 Release|Win32 Release|x64'):\n args = [\n '--template=cppcheck1',\n '--project=helloworld.vcxproj'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:161: AssertionErrordef test_vs_project_local_path_select_one():\n> __test_vs_project_local_path(['--project-configuration=Release|Win32'], 'Release|Win32')\n\ntests/helloworld_test.py:169: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--project-configuration=Release|Win32']\nexp_vs_cfg = 'Release|Win32'\n\n def __test_vs_project_local_path(extra_args=None, exp_vs_cfg='Debug|Win32 Debug|x64 Release|Win32 Release|x64'):\n args = [\n '--template=cppcheck1',\n '--project=helloworld.vcxproj'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:161: AssertionErrordef test_vs_project_local_path_select_one_multiple():\n> __test_vs_project_local_path(['--project-configuration=Debug|Win32', '--project-configuration=Release|Win32'], 'Release|Win32')\n\ntests/helloworld_test.py:172: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--project-configuration=Debug|Win32', '--project-configuration=Release|Win32']\nexp_vs_cfg = 'Release|Win32'\n\n def __test_vs_project_local_path(extra_args=None, exp_vs_cfg='Debug|Win32 Debug|x64 Release|Win32 Release|x64'):\n args = [\n '--template=cppcheck1',\n '--project=helloworld.vcxproj'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:161: AssertionErrordef test_vs_project_local_path_no_analyze_all():\n> __test_vs_project_local_path(['--no-analyze-all-vs-configs'], 'Debug|Win32')\n\ntests/helloworld_test.py:175: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--no-analyze-all-vs-configs'], exp_vs_cfg = 'Debug|Win32'\n\n def __test_vs_project_local_path(extra_args=None, exp_vs_cfg='Debug|Win32 Debug|x64 Release|Win32 Release|x64'):\n args = [\n '--template=cppcheck1',\n '--project=helloworld.vcxproj'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:161: AssertionErrordef test_vs_project_relative_path():\n args = [\n '--template=cppcheck1',\n '--project=' + os.path.join(__proj_dir, 'helloworld.vcxproj')\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n filename = os.path.join(__proj_dir, 'main.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/workspace/eval/tests/testdata/helloworld/helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:184: AssertionErrordef test_vs_project_absolute_path():\n args = [\n '--template=cppcheck1',\n '--project=' + os.path.join(__proj_dir, 'helloworld.vcxproj')\n ]\n ret, stdout, stderr = cppcheck(args)\n filename = os.path.join(__proj_dir, 'main.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/workspace/eval/tests/testdata/helloworld/helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:195: AssertionErrordef test_cppcheck_project_local_path():\n> __test_cppcheck_project_local_path()\n\ntests/helloworld_test.py:213: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = None, exp_vs_cfg = 'Debug|x64'\n\n def __test_cppcheck_project_local_path(extra_args=None, exp_vs_cfg='Debug|x64'):\n args = [\n '--template=cppcheck1',\n '--platform=win64',\n '--project=helloworld.cppcheck'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:208: AssertionErrordef test_cppcheck_project_local_path_analyze_all():\n> __test_cppcheck_project_local_path(['--analyze-all-vs-configs'], 'Debug|Win32 Debug|x64 Release|Win32 Release|x64')\n\ntests/helloworld_test.py:224: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--analyze-all-vs-configs']\nexp_vs_cfg = 'Debug|Win32 Debug|x64 Release|Win32 Release|x64'\n\n def __test_cppcheck_project_local_path(extra_args=None, exp_vs_cfg='Debug|x64'):\n args = [\n '--template=cppcheck1',\n '--platform=win64',\n '--project=helloworld.cppcheck'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:208: AssertionErrordef test_cppcheck_project_relative_path():\n args = [\n '--template=cppcheck1',\n '--platform=win64',\n '--project=' + os.path.join('helloworld', 'helloworld.cppcheck')\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n filename = os.path.join('helloworld', 'main.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld/helloworld.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:234: AssertionErrordef test_cppcheck_project_absolute_path():\n args = [\n '--template=cppcheck1',\n '--platform=win64',\n '--project=' + os.path.join(__proj_dir, 'helloworld.cppcheck')\n ]\n ret, stdout, stderr = cppcheck(args)\n filename = os.path.join(__proj_dir, 'main.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/workspace/eval/tests/testdata/helloworld/helloworld.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:246: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_project_relative2')\n\n def test_suppress_project_relative(tmp_path):\n shutil.copytree(os.path.join(__script_dir, 'helloworld'), tmp_path / 'helloworld')\n project_file = os.path.join('helloworld', 'test.cppcheck')\n create_gui_project_file(tmp_path / project_file,\n paths=['.'],\n suppressions=[{'fileName':'main.c', 'id':'zerodiv'}])\n \n args = [\n '--project={}'.format(project_file)\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=tmp_path)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:280: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_project_absolute2')\n\n def test_suppress_project_absolute(tmp_path):\n shutil.copytree(os.path.join(__script_dir, 'helloworld'), tmp_path / 'helloworld')\n project_file = tmp_path / 'helloworld' / 'test.cppcheck'\n create_gui_project_file(project_file,\n paths=['.'],\n suppressions=[{'fileName':'main.c', 'id':'zerodiv'}])\n \n args = [\n '--project={}'.format(project_file)\n ]\n \n ret, stdout, stderr = cppcheck(args)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_project_absolute2/helloworld/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:296: AssertionErrordef test_exclude():\n args = [\n '-i' + 'helloworld',\n '--platform=win64',\n '--project=' + os.path.join('helloworld', 'helloworld.cppcheck')\n ]\n ret, stdout, _ = cppcheck(args, cwd=__script_dir)\n assert ret == 1\n lines = stdout.splitlines()\n> assert lines == [\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project 'helloworld/helloworld.cppcheck'. Project files are not supported.\" != 'cppcheck: error: no C or C++ source files found.'\nE Right contains one more item: 'cppcheck: all paths were ignored'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: no C or C++ source files found.',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/helloworld_test.py:308: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkers_report2')\n\n def test_checkers_report(tmpdir):\n filename = os.path.join(tmpdir, '1.txt')\n args = [\n f'--checkers-report={filename}',\n '--no-cppcheck-build-dir', # TODO: remove this\n 'helloworld'\n ]\n \n cppcheck(args, cwd=__script_dir)\n \n> with open(filename, 'rt') as f:\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_checkers_report2/1.txt'\n\ntests/helloworld_test.py:339: FileNotFoundErrordef test_1():\n args = [\n '-q',\n '--template=simple',\n '--inline-suppr',\n 'proj-inline-suppress'\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n> assert stderr == ''\nE AssertionError: assert 'proj-inline-.... [zerodiv]\\n' == ''\nE \nE + proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]\n\ntests/inline_suppress_test.py:39: AssertionErrordef test_xml():\n args = [\n '-q',\n '--template=simple',\n '--inline-suppr',\n '--xml-version=3',\n 'proj-inline-suppress'\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n> assert '<suppression errorId=\"some_warning_id\" fileName=\"proj-inline-suppress/2.c\" lineNumber=\"2\" inline=\"true\" comment=\"there should be a unmatchedSuppression warning about this\" />' in stderr\nE assert '<suppression errorId=\"some_warning_id\" fileName=\"proj-inline-suppress/2.c\" lineNumber=\"2\" inline=\"true\" comment=\"there should be a unmatchedSuppression warning about this\" />' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"3\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n <error id=\"zerodiv\" severity=\"error\" msg=\"Division by zero.\" verbose=\"Division by zero.\" cwe=\"369\" file0=\"proj-inline-suppress/3.cpp\">\\n <location file=\"proj-inline-suppress/3.cpp\" line=\"4\" column=\"19\" info=\"Division by zero\"/>\\n </error>\\n </errors>\\n\\n <critical-errors/>\\n <checkers-report>\\n <checker id=\"CheckAutoVariables::autoVariables\"/>\\n <checker id=\"CheckAutoVariables::checkVarLifetime\"/>\\n <checker id=\"CheckBool::checkAssignBoolToPointer\"/>\\n <checker id=\"CheckBool::pointerArithBool\"/>\\n <checker id=\"CheckBufferOverrun::analyseWholeProgram\"/>\\n <checker id=\"CheckBufferOverrun::arrayIndex\"/>\\n <checker id=\"CheckBufferOverrun::bufferOverflow\"/>\\n <checker id=\"CheckBufferOverrun::negativeArraySize\"/>\\n <checker id=\"CheckBufferOverrun::objectIndex\"/>\\n <checker id=\"CheckClass::analyseWholeProgram\"/>\\n <checker id=\"CheckClass::checkMemset\"/>\\n <checker id=\"CheckClass::checkSelfInitialization\"/>\\n <checker id=\"CheckClass::virtualDestructor\"...torOutOfBounds\"/>\\n <checker id=\"CheckStl::invalidContainer\"/>\\n <checker id=\"CheckStl::iterators\"/>\\n <checker id=\"CheckStl::misMatchingContainerIterator\"/>\\n <checker id=\"CheckStl::misMatchingContainers\"/>\\n <checker id=\"CheckStl::negativeIndex\"/>\\n <checker id=\"CheckStl::outOfBounds\"/>\\n <checker id=\"CheckStl::outOfBoundsIndexExpression\"/>\\n <checker id=\"CheckStl::stlBoundaries\"/>\\n <checker id=\"CheckStl::stlOutOfBounds\"/>\\n <checker id=\"CheckStl::string_c_str\"/>\\n <checker id=\"CheckString::sprintfOverlappingData\"/>\\n <checker id=\"CheckString::strPlusChar\"/>\\n <checker id=\"CheckString::stringLiteralWrite\"/>\\n <checker id=\"CheckType::checkFloatToIntegerOverflow\"/>\\n <checker id=\"CheckType::checkIntegerOverflow\"/>\\n <checker id=\"CheckType::checkTooBigBitwiseShift\"/>\\n <checker id=\"CheckUninitVar::analyseWholeProgram\"/>\\n <checker id=\"CheckUninitVar::check\"/>\\n <checker id=\"CheckUninitVar::valueFlowUninit\"/>\\n <checker id=\"CheckVaarg::va_list_usage\"/>\\n <checker id=\"CheckVaarg::va_start_argument\"/>\\n </checkers-report>\\n</results>\\n'\n\ntests/inline_suppress_test.py:68: AssertionErrordef test_backwards_compatibility():\n args = [\n '-q',\n '--template=simple',\n '{}3.cpp'.format(__proj_inline_suppres_path)\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == [\n '{}3.cpp:4:19: error: Division by zero. [zerodiv]'.format(__proj_inline_suppres_path)\n ]\n assert stdout == ''\n assert ret == 0, stdout\n \n args = [\n '-q',\n '--template=simple',\n '--inline-suppr',\n '{}3.cpp'.format(__proj_inline_suppres_path)\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['proj-inline...o. [zerodiv]'] == []\nE \nE Left contains one more item: 'proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]'\nE \nE Full diff:\nE - []\nE + [\nE + 'proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]',\nE + ]\n\ntests/inline_suppress_test.py:131: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_compile_commands_unused_f2')\n\n def test_compile_commands_unused_function(tmpdir):\n> __test_compile_commands_unused_function(tmpdir, False)\n\ntests/inline_suppress_test.py:160: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_compile_commands_unused_f2')\nuse_j = False\n\n def __test_compile_commands_unused_function(tmpdir, use_j):\n compdb_file = __create_unused_function_compile_commands(tmpdir)\n args = [\n '-q',\n '--template=simple',\n '--enable=all',\n '--error-exitcode=1',\n '--project={}'.format(compdb_file)\n ]\n if use_j:\n args.append('-j2')\n else:\n args.append('-j1')\n ret, stdout, stderr = cppcheck(args)\n proj_path_sep = os.path.join(__script_dir, 'proj-inline-suppress-unusedFunction') + os.path.sep\n lines = stderr.splitlines()\n> assert lines == [\n \"{}B.cpp:6:9: style: The function 'unusedFunctionTest' is never used. [unusedFunction]\".format(proj_path_sep)\n ]\nE assert [] == ['/workspace/...sedFunction]']\nE \nE Right contains one more item: \"/workspace/eval/tests/testdata/proj-inline-suppress-unusedFunction/B.cpp:6:9: style: The function 'unusedFunctionTest' is never used. [unusedFunction]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/workspace/eval/tests/testdata/proj-inline-suppress-unusedFunction/B.cpp:6:9: '\nE - \"style: The function 'unusedFunctionTest' is never used. [unusedFunction]\",\nE - ]\n\ntests/inline_suppress_test.py:152: AssertionError/workspace/eval/tests/inline_suppress_test.py:163: unconditional skiptmpdir = local('/tmp/pytest-of-root/pytest-0/test_compile_commands_unused_f5')\n\n def test_compile_commands_unused_function_suppression(tmpdir):\n> __test_compile_commands_unused_function_suppression(tmpdir, False)\n\ntests/inline_suppress_test.py:190: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_compile_commands_unused_f5')\nuse_j = False\n\n def __test_compile_commands_unused_function_suppression(tmpdir, use_j):\n compdb_file = __create_unused_function_compile_commands(tmpdir)\n args = [\n '-q',\n '--template=simple',\n '--enable=all',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compdb_file)\n ]\n if use_j:\n args.append('-j2')\n else:\n args.append('-j1')\n ret, stdout, stderr = cppcheck(args)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er... supported.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_compile_commands_unused_f5/proj-inline-suppress-unusedFunction/compile_commands.json'. Project files are not supported.\n\ntests/inline_suppress_test.py:185: AssertionError/workspace/eval/tests/inline_suppress_test.py:193: unconditional skiptmpdir = local('/tmp/pytest-of-root/pytest-0/test_build_dir_jobs_suppressio2')\n\n def test_build_dir_jobs_suppressions(tmpdir): #14064\n args = [\n '-q',\n '--template=simple',\n '--cppcheck-build-dir={}'.format(tmpdir),\n '--enable=style',\n '--inline-suppr',\n '-j4',\n 'reanalysis'\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n assert stdout == ''\n assert ret == 0, stdout\n \n a1Path = os.path.join(tmpdir, 'd.a1')\n> assert os.path.exists(a1Path)\nE AssertionError: assert False\nE + where False = <function exists at 0x7f2ec2da1f30>('/tmp/pytest-of-root/pytest-0/test_build_dir_jobs_suppressio2/d.a1')\nE + where <function exists at 0x7f2ec2da1f30> = <module 'posixpath' from '/usr/lib/python3.10/posixpath.py'>.exists\nE + where <module 'posixpath' from '/usr/lib/python3.10/posixpath.py'> = os.path\n\ntests/inline_suppress_test.py:269: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_build_dir_unused_template2')\n\n def test_build_dir_unused_template(tmpdir):\n> __test_build_dir_unused_template(tmpdir, ['-j1', '--no-cppcheck-build-dir'])\n\ntests/inline_suppress_test.py:301: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_build_dir_unused_template2')\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_build_dir_unused_template(tmpdir, extra_args):\n args = [\n '-q',\n '--template=simple',\n '--cppcheck-build-dir={}'.format(tmpdir),\n '--enable=all',\n '--inline-suppr',\n '{}template.cpp'.format(__proj_inline_suppres_path)\n ]\n \n args = args + extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE assert 'cppcheck: er...build-dir\".\\n' == ''\nE \nE + cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\n\ntests/inline_suppress_test.py:296: AssertionError/workspace/eval/tests/inline_suppress_test.py:329: unconditional skip/workspace/eval/tests/inline_suppress_test.py:371: unconditional skip/workspace/eval/tests/inline_suppress_test.py:376: unconditional skip/workspace/eval/tests/inline_suppress_test.py:408: unconditional skip/workspace/eval/tests/inline_suppress_test.py:413: unconditional skiptmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_function_unmatched2')\n\n def test_unused_function_unmatched(tmpdir):\n> __test_unused_function_unmatched(tmpdir, ['-j1', '--no-cppcheck-build-dir'])\n\ntests/inline_suppress_test.py:442: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_function_unmatched2')\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_unused_function_unmatched(tmpdir, extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=all',\n '--inline-suppr',\n 'proj-inline-suppress/unusedFunctionUnmatched.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n lines.sort()\n> assert lines == [\n '{}unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'.format(__proj_inline_suppres_path),\n '{}unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: unusedFunction [unmatchedSuppression]'.format(__proj_inline_suppres_path)\n ]\nE AssertionError: assert [] == ['proj-inline...Suppression]']\nE \nE Right contains 2 more items, first extra item: 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/inline_suppress_test.py:433: AssertionErrordef test_unused_function_disabled_unmatched_j():\n args = [\n '-q',\n '--template=simple',\n '--enable=warning,information',\n '--inline-suppr',\n '-j2',\n '--no-cppcheck-build-dir',\n 'proj-inline-suppress/unusedFunctionUnmatched.cpp'\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n> assert stderr.splitlines() == [\n '{}unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'.format(__proj_inline_suppres_path)\n ]\nE AssertionError: assert [] == ['proj-inline...Suppression]']\nE \nE Right contains one more item: 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: '\nE - 'Unmatched suppression: uninitvar [unmatchedSuppression]',\nE - ]\n\ntests/inline_suppress_test.py:520: AssertionErrordef test_misra_disabled_unmatched(): #14232\n args = [\n '-q',\n '--template=simple',\n '--enable=warning,information',\n '--inline-suppr',\n 'proj-inline-suppress/misraUnmatched.c'\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n> assert stderr.splitlines() == [\n '{}misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'.format(__proj_inline_suppres_path)\n ]\nE AssertionError: assert ['proj-inline...Suppression]'] == ['proj-inline...Suppression]']\nE \nE At index 0 diff: 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: misra-c2012-20.5 [unmatchedSuppression]' != 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/inline_suppress_test.py:538: AssertionErrordef test_premium_disabled_unmatched(): #13663\n args = [\n '-q',\n '--template=simple',\n '--enable=warning,information',\n '--inline-suppr',\n 'proj-inline-suppress/premiumUnmatched.cpp'\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n> assert stderr.splitlines() == [\n '{}premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'.format(__proj_inline_suppres_path)\n ]\nE AssertionError: assert ['proj-inline...Suppression]'] == ['proj-inline...Suppression]']\nE \nE At index 0 diff: 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: premium-misra-cpp-2023-12.2.1 [unmatchedSuppression]' != 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/inline_suppress_test.py:556: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_notfound2')\n\n def test_lib_lookup_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=library', '--library=none', test_file])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout\n lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n> assert lines == [\n # TODO: specify which folder is actually used for lookup here\n \"looking for library 'none.cfg'\",\n \"looking for library '{}/none.cfg'\".format(exepath),\n \"looking for library '{}/cfg/none.cfg'\".format(exepath),\n \"library not found: 'none'\",\n \"cppcheck: Failed to load library configuration file 'none'. File not found\"\n ]\nE assert [\"looking for...le not found'] == [\"looking for...le not found']\nE \nE At index 3 diff: \"looking for library '/usr/local/share/Cppcheck/cfg/none.cfg'\" != \"library not found: 'none'\"\nE Left contains one more item: \"cppcheck: Failed to load library configuration file 'none'. File not found\"\nE \nE Full diff:\nE [\nE \"looking for library 'none.cfg'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:107: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_notfound_proje2')\n\n def test_lib_lookup_notfound_project(tmpdir): # #13938\n project_file, _ = __create_gui_project(tmpdir)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=library', '--library=none', '--project={}'.format(project_file)])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout\n> lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n\ntests/lookup_test.py:125: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nl = [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_lib_lookup_notfound_proje2/project.cppcheck'. Project files are not supported.\"]\nexepath = '/workspace'\n\n def __remove_std_lookup_log(l : list, exepath):\n> l.remove(\"looking for library 'std.cfg'\")\nE ValueError: list.remove(x): x not in list\n\ntests/lookup_test.py:10: ValueErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_notfound_compd2')\n\n def test_lib_lookup_notfound_compdb(tmpdir):\n compdb_file, _ = __create_compdb(tmpdir)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=library', '--library=none', '--project={}'.format(compdb_file)])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout\n> lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n\ntests/lookup_test.py:145: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nl = [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_lib_lookup_notfound_compd2/compile_commands.json'. Project files are not supported.\"]\nexepath = '/workspace'\n\n def __remove_std_lookup_log(l : list, exepath):\n> l.remove(\"looking for library 'std.cfg'\")\nE ValueError: list.remove(x): x not in list\n\ntests/lookup_test.py:10: ValueErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_ext_notfound2')\n\n def test_lib_lookup_ext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=library', '--library=none.cfg', test_file])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n> assert lines == [\n \"looking for library 'none.cfg'\",\n \"looking for library '{}/none.cfg'\".format(exepath),\n \"looking for library '{}/cfg/none.cfg'\".format(exepath),\n \"library not found: 'none.cfg'\",\n \"cppcheck: Failed to load library configuration file 'none.cfg'. File not found\"\n ]\nE assert [\"looking for...le not found'] == [\"looking for...le not found']\nE \nE At index 3 diff: \"looking for library '/usr/local/share/Cppcheck/cfg/none.cfg'\" != \"library not found: 'none.cfg'\"\nE Left contains one more item: \"cppcheck: Failed to load library configuration file 'none.cfg'. File not found\"\nE \nE Full diff:\nE [\nE \"looking for library 'none.cfg'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:167: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_relative_notfo2')\n\n def test_lib_lookup_relative_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=library', '--library=config/gnu.xml', test_file])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n> assert lines == [\n \"looking for library 'config/gnu.xml'\",\n \"looking for library '{}/config/gnu.xml'\".format(exepath),\n \"looking for library '{}/cfg/config/gnu.xml'\".format(exepath),\n \"library not found: 'config/gnu.xml'\",\n \"cppcheck: Failed to load library configuration file 'config/gnu.xml'. File not found\"\n ]\nE assert [\"looking for...le not found'] == [\"looking for...le not found']\nE \nE At index 3 diff: \"looking for library '/usr/local/share/Cppcheck/cfg/config/gnu.xml'\" != \"library not found: 'config/gnu.xml'\"\nE Left contains one more item: \"cppcheck: Failed to load library configuration file 'config/gnu.xml'. File not found\"\nE \nE Full diff:\nE [\nE \"looking for library 'config/gnu.xml'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:187: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_relative_noext2')\n\n def test_lib_lookup_relative_noext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=library', '--library=config/gnu', test_file])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n> assert lines == [\n \"looking for library 'config/gnu.cfg'\",\n \"looking for library '{}/config/gnu.cfg'\".format(exepath),\n \"looking for library '{}/cfg/config/gnu.cfg'\".format(exepath),\n \"library not found: 'config/gnu'\",\n \"cppcheck: Failed to load library configuration file 'config/gnu'. File not found\"\n ]\nE assert [\"looking for...le not found'] == [\"looking for...le not found']\nE \nE At index 3 diff: \"looking for library '/usr/local/share/Cppcheck/cfg/config/gnu.cfg'\" != \"library not found: 'config/gnu'\"\nE Left contains one more item: \"cppcheck: Failed to load library configuration file 'config/gnu'. File not found\"\nE \nE Full diff:\nE [\nE \"looking for library 'config/gnu.cfg'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:207: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_invalid2')\n\n def test_lib_lookup_invalid(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n gnu_cfg_file = os.path.join(tmpdir, 'gnu.cfg')\n with open(gnu_cfg_file, 'wt') as f:\n f.write('''{}''')\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=library', '--library=gnu', test_file], cwd=tmpdir)\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n> assert lines == [\n \"looking for library 'gnu.cfg'\",\n \"library not found: 'gnu'\",\n \"Error=XML_ERROR_PARSING_TEXT ErrorID=8 (0x8) Line number=1\", # TODO: log the failure before saying the library was not found\n \"cppcheck: Failed to load library configuration file 'gnu'. Bad XML\"\n ]\nE assert [\"looking for...nu'. Bad XML\"] == [\"looking for...nu'. Bad XML\"]\nE \nE At index 1 diff: 'Error=XML_ERROR_PARSING_TEXT ErrorID=8 (0x8) Line number=1' != \"library not found: 'gnu'\"\nE Right contains one more item: \"cppcheck: Failed to load library configuration file 'gnu'. Bad XML\"\nE \nE Full diff:\nE [\nE \"looking for library 'gnu.cfg'\",...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:300: AssertionError/workspace/eval/tests/lookup_test.py:344: unconditional skip/workspace/eval/tests/lookup_test.py:364: unconditional skiptmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_path2')\n\n def test_platform_lookup_path(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n cppcheck = 'cppcheck' # No path\n path = os.path.dirname(__lookup_cppcheck_exe())\n env = os.environ.copy()\n env['PATH'] = path\n> exitcode, stdout, stderr, _ = cppcheck_ex(args=['--debug-lookup=platform', '--platform=avr8.xml', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n\ntests/lookup_test.py:393: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/testutils.py:134: in cppcheck_ex\n return_code, stdout, stderr = __run_subprocess([exe] + args, env=env, cwd=cwd, timeout=timeout)\ntests/testutils.py:84: in __run_subprocess\n p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env, cwd=cwd)\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <Popen: returncode: 255 args: ['cppcheck', '--debug-lookup=platform', '--pla...>\nargs = ['cppcheck', '--debug-lookup=platform', '--platform=avr8.xml', '/tmp/pytest-of-root/pytest-0/test_platform_lookup_path2/test.c']\nexecutable = b'cppcheck', preexec_fn = None, close_fds = True, pass_fds = ()\ncwd = '/tmp/pytest-of-root/pytest-0/test_platform_lookup_path2'\nenv = {'CARGO_HOME': '/usr/local/cargo', 'DEBIAN_FRONTEND': 'noninteractive', 'GOMODCACHE': '/usr/local/go/mod-cache', 'HOME': '/root', ...}\nstartupinfo = None, creationflags = 0, shell = False, p2cread = -1\np2cwrite = -1, c2pread = 13, c2pwrite = 14, errread = 15, errwrite = 16\nrestore_signals = True, gid = None, gids = None, uid = None, umask = -1\nstart_new_session = False\n\n def _execute_child(self, args, executable, preexec_fn, close_fds,\n pass_fds, cwd, env,\n startupinfo, creationflags, shell,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite,\n restore_signals,\n gid, gids, uid, umask,\n start_new_session):\n \"\"\"Execute program (POSIX version)\"\"\"\n \n if isinstance(args, (str, bytes)):\n args = [args]\n elif isinstance(args, os.PathLike):\n if shell:\n raise TypeError('path-like args is not allowed when '\n 'shell is true')\n args = [args]\n else:\n args = list(args)\n \n if shell:\n # On Android the default shell is at '/system/bin/sh'.\n unix_shell = ('/system/bin/sh' if\n hasattr(sys, 'getandroidapilevel') else '/bin/sh')\n args = [unix_shell, \"-c\"] + args\n if executable:\n args[0] = executable\n \n if executable is None:\n executable = args[0]\n \n sys.audit(\"subprocess.Popen\", executable, args, cwd, env)\n \n if (_USE_POSIX_SPAWN\n and os.path.dirname(executable)\n and preexec_fn is None\n and not close_fds\n and not pass_fds\n and cwd is None\n and (p2cread == -1 or p2cread > 2)\n and (c2pwrite == -1 or c2pwrite > 2)\n and (errwrite == -1 or errwrite > 2)\n and not start_new_session\n and gid is None\n and gids is None\n and uid is None\n and umask < 0):\n self._posix_spawn(args, executable, env, restore_signals,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n return\n \n orig_executable = executable\n \n # For transferring possible exec failure from child to parent.\n # Data format: \"exception name:hex errno:description\"\n # Pickle is not used; it is complex and involves memory allocation.\n errpipe_read, errpipe_write = os.pipe()\n # errpipe_write must not be in the standard io 0, 1, or 2 fd range.\n low_fds_to_close = []\n while errpipe_write < 3:\n low_fds_to_close.append(errpipe_write)\n errpipe_write = os.dup(errpipe_write)\n for low_fd in low_fds_to_close:\n os.close(low_fd)\n try:\n try:\n # We must avoid complex work that could involve\n # malloc or free in the child process to avoid\n # potential deadlocks, thus we do all this here.\n # and pass it to fork_exec()\n \n if env is not None:\n env_list = []\n for k, v in env.items():\n k = os.fsencode(k)\n if b'=' in k:\n raise ValueError(\"illegal environment variable name\")\n env_list.append(k + b'=' + os.fsencode(v))\n else:\n env_list = None # Use execv instead of execve.\n executable = os.fsencode(executable)\n if os.path.dirname(executable):\n executable_list = (executable,)\n else:\n # This matches the behavior of os._execvpe().\n executable_list = tuple(\n os.path.join(os.fsencode(dir), executable)\n for dir in os.get_exec_path(env))\n fds_to_keep = set(pass_fds)\n fds_to_keep.add(errpipe_write)\n self.pid = _posixsubprocess.fork_exec(\n args, executable_list,\n close_fds, tuple(sorted(map(int, fds_to_keep))),\n cwd, env_list,\n p2cread, p2cwrite, c2pread, c2pwrite,\n errread, errwrite,\n errpipe_read, errpipe_write,\n restore_signals, start_new_session,\n gid, gids, uid, umask,\n preexec_fn)\n self._child_created = True\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_write)\n \n self._close_pipe_fds(p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n \n # Wait for exec to fail or succeed; possibly raising an\n # exception (limited in size)\n errpipe_data = bytearray()\n while True:\n part = os.read(errpipe_read, 50000)\n errpipe_data += part\n if not part or len(errpipe_data) > 50000:\n break\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_read)\n \n if errpipe_data:\n try:\n pid, sts = os.waitpid(self.pid, 0)\n if pid == self.pid:\n self._handle_exitstatus(sts)\n else:\n self.returncode = sys.maxsize\n except ChildProcessError:\n pass\n \n try:\n exception_name, hex_errno, err_msg = (\n errpipe_data.split(b':', 2))\n # The encoding here should match the encoding\n # written in by the subprocess implementations\n # like _posixsubprocess\n err_msg = err_msg.decode()\n except ValueError:\n exception_name = b'SubprocessError'\n hex_errno = b'0'\n err_msg = 'Bad exception data from child: {!r}'.format(\n bytes(errpipe_data))\n child_exception_type = getattr(\n builtins, exception_name.decode('ascii'),\n SubprocessError)\n if issubclass(child_exception_type, OSError) and hex_errno:\n errno_num = int(hex_errno, 16)\n child_exec_never_called = (err_msg == \"noexec\")\n if child_exec_never_called:\n err_msg = \"\"\n # The error must be from chdir(cwd).\n err_filename = cwd\n else:\n err_filename = orig_executable\n if errno_num != 0:\n err_msg = os.strerror(errno_num)\n> raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'\n\n/usr/lib/python3.10/subprocess.py:1863: FileNotFoundErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_notfound2')\n\n def test_platform_lookup_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=none', test_file])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'none'\",\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'none'.\"\n ]\nE assert [\"looking for...one.xml', ...] == [\"looking for...orm: 'none'.\"]\nE \nE At index 5 diff: \"try to load platform file '/usr/local/share/Cppcheck/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/none.xml\" != \"cppcheck: error: unrecognized platform: 'none'.\"\nE Left contains one more item: \"cppcheck: error: unrecognized platform: 'none'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'none'\",...\nE \nE ...Full output truncated (17 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:427: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_notfound_2')\n\n def test_platform_lookup_notfound_project(tmpdir): # #13939\n project_file, _ = __create_gui_project(tmpdir)\n project_path = os.path.dirname(project_file)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=none', '--project={}'.format(project_file)])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n project_path = project_path.replace('\\\\', '/')\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'none'\",\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(project_path, project_path),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(project_path, project_path),\n # TODO: the following lookups are in CWD - is this intended?\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'none'.\"\n ]\nE assert [\"looking for...one.xml', ...] == [\"looking for...one.xml', ...]\nE \nE At index 1 diff: \"try to load platform file '/workspace/eval/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/none.xml\" != \"try to load platform file '/tmp/pytest-of-root/pytest-0/test_platform_lookup_notfound_2/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/test_platform_lookup_notfound_2/none.xml\"\nE Right contains one more item: \"cppcheck: error: unrecognized platform: 'none'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'none'\",...\nE \nE ...Full output truncated (25 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:452: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_notfound_5')\n\n def test_platform_lookup_notfound_compdb(tmpdir):\n compdb_file, _ = __create_compdb(tmpdir)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=none', '--project={}'.format(compdb_file)])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'none'\",\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'none'.\"\n ]\nE assert [\"looking for...one.xml', ...] == [\"looking for...orm: 'none'.\"]\nE \nE At index 5 diff: \"try to load platform file '/usr/local/share/Cppcheck/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/none.xml\" != \"cppcheck: error: unrecognized platform: 'none'.\"\nE Left contains one more item: \"cppcheck: error: unrecognized platform: 'none'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'none'\",...\nE \nE ...Full output truncated (17 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:476: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_ext_notfo2')\n\n def test_platform_lookup_ext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=none.xml', test_file])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'none.xml'\",\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'none.xml'.\"\n ]\nE assert [\"looking for...xml.xml', ...] == [\"looking for... 'none.xml'.\"]\nE \nE At index 1 diff: \"try to load platform file '/workspace/eval/none.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/none.xml.xml\" != \"try to load platform file '/workspace/eval/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/none.xml\"\nE Left contains one more item: \"cppcheck: error: unrecognized platform: 'none.xml'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'none.xml'\",...\nE \nE ...Full output truncated (34 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:499: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_relative_2')\n\n def test_platform_lookup_relative_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=platform/none.xml', test_file])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'platform/none.xml'\",\n \"try to load platform file '{}/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platform/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/platform/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platform/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/platform/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'platform/none.xml'.\"\n ]\nE assert [\"looking for...xml.xml', ...] == [\"looking for...m/none.xml'.\"]\nE \nE At index 1 diff: \"try to load platform file '/workspace/eval/platform/none.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platform/none.xml.xml\" != \"try to load platform file '/workspace/eval/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platform/none.xml\"\nE Left contains one more item: \"cppcheck: error: unrecognized platform: 'platform/none.xml'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'platform/none.xml'\",...\nE \nE ...Full output truncated (36 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:522: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_relative_5')\n\n def test_platform_lookup_relative_noext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=platform/none', test_file])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'platform/none'\",\n \"try to load platform file '{}/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platform/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/platform/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platform/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/platform/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'platform/none'.\"\n ]\nE assert [\"looking for...one.xml', ...] == [\"looking for...tform/none'.\"]\nE \nE At index 5 diff: \"try to load platform file '/usr/local/share/Cppcheck/platforms/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/platform/none.xml\" != \"cppcheck: error: unrecognized platform: 'platform/none'.\"\nE Left contains one more item: \"cppcheck: error: unrecognized platform: 'platform/none'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'platform/none'\",...\nE \nE ...Full output truncated (18 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:545: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2')\n\n def test_platform_lookup_absolute(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n platform_file = os.path.join(tmpdir, 'test.xml')\n with open(platform_file, 'wt') as f:\n f.write('''\n <platform format=\"2\"/>\n ''')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=platform', '--platform={}'.format(platform_file), test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: looking for platform '/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml'\nE try to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\nE cppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml'.\nE \nE assert 1 == 0\n\ntests/lookup_test.py:567: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2')\n\n def test_platform_lookup_absolute_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n platform_file = os.path.join(tmpdir, 'test.xml')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=platform', '--platform={}'.format(platform_file), test_file])\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform '{}'\".format(platform_file),\n \"try to load platform file '{}' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}\".format(platform_file, platform_file),\n \"cppcheck: error: unrecognized platform: '{}'.\".format(platform_file)\n ]\nE assert [\"looking for...xml.xml', ...] == [\"looking for...2/test.xml'.\"]\nE \nE At index 1 diff: \"try to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2/test.xml.xml\" != \"try to load platform file '/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2/test.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2/test.xml\"\nE Left contains 4 more items,...\nE \nE ...Full output truncated (33 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:586: AssertionError/workspace/eval/tests/lookup_test.py:593: unconditional skiptmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_invalid2')\n\n def test_platform_lookup_invalid(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n avr8_file = os.path.join(tmpdir, 'avr8.xml')\n with open(avr8_file, 'wt') as f:\n f.write('''{}''')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=platform', '--platform=avr8', test_file], cwd=tmpdir)\n cwd = str(tmpdir)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'avr8'\",\n \"try to load platform file '{}/avr8.xml' ... Error=XML_ERROR_PARSING_TEXT ErrorID=8 (0x8) Line number=1\".format(cwd),\n \"cppcheck: error: unrecognized platform: 'avr8'.\"\n ]\nE assert [\"looking for...vr8.xml', ...] == [\"looking for...orm: 'avr8'.\"]\nE \nE At index 1 diff: \"try to load platform file '/tmp/pytest-of-root/pytest-0/test_platform_lookup_invalid2/avr8.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/test_platform_lookup_invalid2/avr8.xml\" != \"try to load platform file '/tmp/pytest-of-root/pytest-0/test_platform_lookup_invalid2/avr8.xml' ... Error=XML_ERROR_PARSING_TEXT ErrorID=8 (0x8) Line number=1\"\nE Left contains 4 more items, first extra item: \"try to load platform file '/workspace/avr8.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line numb...\nE \nE ...Full output truncated (27 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:632: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup2')\n\n def test_addon_lookup(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=misra', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'misra.py'\",\n \"looking for addon '{}misra.py'\".format(exepath_sep),\n \"looking for addon '{}addons/misra.py'\".format(exepath_sep), # TODO: mixed separators\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/misra.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup2/test.c ...'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'misra.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:649: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_ext2')\n\n def test_addon_lookup_ext(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=misra.py', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'misra.py'\",\n \"looking for addon '{}misra.py'\".format(exepath_sep),\n \"looking for addon '{}addons/misra.py'\".format(exepath_sep), # TODO: mixed separators\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/misra.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup_ext2/test.c ...'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'misra.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:667: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_notfound2')\n\n def test_addon_lookup_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=none', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'none.py'\",\n \"looking for addon '{}none.py'\".format(exepath_sep),\n \"looking for addon '{}addons/none.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon none.py'\n ]\nE assert [\"looking for...ddon none.py'] == [\"looking for...ddon none.py']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/none.py'\" != 'Did not find addon none.py'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/none.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'none.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:685: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_notfound_pro2')\n\n def test_addon_lookup_notfound_project(tmpdir): # #13940 / #13941\n project_file, _ = __create_gui_project(tmpdir)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=none', '--project={}'.format(project_file)])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n # TODO: needs to look relative to the project file first\n \"looking for addon 'none.py'\",\n \"looking for addon '{}none.py'\".format(exepath_sep),\n \"looking for addon '{}addons/none.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon none.py'\n ]\nE assert ['cppcheck: e...t supported.'] == [\"looking for...ddon none.py']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_addon_lookup_notfound_pro2/project.cppcheck'. Project files are not supported.\" != \"looking for addon 'none.py'\"\nE Right contains 3 more items, first extra item: \"looking for addon '/workspace/none.py'\"\nE \nE Full diff:\nE [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:701: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_notfound_com2')\n\n def test_addon_lookup_notfound_compdb(tmpdir):\n compdb_file, _ = __create_compdb(tmpdir)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=none', '--project={}'.format(compdb_file)])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'none.py'\",\n \"looking for addon '{}none.py'\".format(exepath_sep),\n \"looking for addon '{}addons/none.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon none.py'\n ]\nE assert ['cppcheck: e...t supported.'] == [\"looking for...ddon none.py']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_addon_lookup_notfound_com2/compile_commands.json'. Project files are not supported.\" != \"looking for addon 'none.py'\"\nE Right contains 3 more items, first extra item: \"looking for addon '/workspace/none.py'\"\nE \nE Full diff:\nE [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:718: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_ext_notfound2')\n\n def test_addon_lookup_ext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=none.py', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'none.py'\",\n \"looking for addon '{}none.py'\".format(exepath_sep),\n \"looking for addon '{}addons/none.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon none.py'\n ]\nE assert [\"looking for...ddon none.py'] == [\"looking for...ddon none.py']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/none.py'\" != 'Did not find addon none.py'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/none.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'none.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:736: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_relative_not2')\n\n def test_addon_lookup_relative_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=addon/misra.py', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'addon/misra.py'\",\n \"looking for addon '{}addon/misra.py'\".format(exepath_sep),\n \"looking for addon '{}addons/addon/misra.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon addon/misra.py'\n ]\nE assert [\"looking for...don/misra.py'] == [\"looking for...don/misra.py']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/addon/misra.py'\" != 'Did not find addon addon/misra.py'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/addon/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'addon/misra.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:754: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_relative_noe2')\n\n def test_addon_lookup_relative_noext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=addon/misra', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'addon/misra.py'\",\n \"looking for addon '{}addon/misra.py'\".format(exepath_sep),\n \"looking for addon '{}addons/addon/misra.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon addon/misra.py'\n ]\nE assert [\"looking for...don/misra.py'] == [\"looking for...don/misra.py']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/addon/misra.py'\" != 'Did not find addon addon/misra.py'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/addon/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'addon/misra.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:772: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute2')\n\n def test_addon_lookup_absolute(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n addon_file = os.path.join(tmpdir, 'test.py')\n with open(addon_file, 'wt') as f:\n f.write('''''')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=addon', '--addon={}'.format(addon_file), test_file])\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon '{}'\".format(addon_file),\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 1 diff: \"looking for addon '/workspace//tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute2/test.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute2/test.c ...'\nE Left contains 4 more items, first extra item: \"looking for addon '/workspace/addons//tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute2/test.py'\"\nE \nE Full diff:\nE [\nE 'looking for addon '...\nE \nE ...Full output truncated (12 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:792: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute_not2')\n\n def test_addon_lookup_absolute_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n addon_file = os.path.join(tmpdir, 'test.py')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=addon', '--addon={}'.format(addon_file), test_file])\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon '{}'\".format(addon_file),\n 'Did not find addon {}'.format(addon_file)\n ]\nE assert [\"looking for...not2/test.py'] == [\"looking for...not2/test.py']\nE \nE At index 1 diff: \"looking for addon '/workspace//tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute_not2/test.py'\" != 'Did not find addon /tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute_not2/test.py'\nE Left contains 4 more items, first extra item: \"looking for addon '/workspace/addons//tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute_not2/test.py'\"\nE \nE Full diff:\nE [\nE 'looking for addon '...\nE \nE ...Full output truncated (12 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:808: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_nofile2')\n\n def test_addon_lookup_nofile(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n # make sure we do not produce an error when the attempted lookup path is a directory and not a file\n misra_dir = os.path.join(tmpdir, 'misra')\n os.mkdir(misra_dir)\n misra_cfg_dir = os.path.join(tmpdir, 'misra.py')\n os.mkdir(misra_cfg_dir)\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=misra', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'misra.py'\",\n \"looking for addon '{}misra.py'\".format(exepath_sep),\n \"looking for addon '{}addons/misra.py'\".format(exepath_sep), # TODO: mixed separators\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/misra.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup_nofile2/test.c ...'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'misra.py'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:830: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_invalid2')\n\n def test_addon_lookup_invalid(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n misra_py_file = os.path.join(tmpdir, 'misra.py')\n with open(misra_py_file, 'wt') as f:\n f.write('''<def/>''')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=addon', '--addon=misra', test_file], cwd=tmpdir)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'misra.py'\",\n 'Checking {} ...'.format(test_file) # TODO: should bail out\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 1 diff: \"looking for addon '/workspace/misra.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup_invalid2/test.c ...'\nE Left contains 4 more items, first extra item: \"looking for addon '/workspace/addons/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'misra.py'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:851: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_config_lookup2')\n\n def test_config_lookup(tmpdir):\n cppcheck_exe = __lookup_cppcheck_exe()\n bin_dir = os.path.dirname(cppcheck_exe)\n tmp_cppcheck_exe = shutil.copy2(cppcheck_exe, tmpdir)\n if sys.platform == 'win32':\n shutil.copy2(os.path.join(bin_dir, 'cppcheck-core.dll'), tmpdir)\n shutil.copytree(os.path.join(bin_dir, 'cfg'), os.path.join(tmpdir, 'cfg'))\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n config_file = os.path.join(tmpdir, 'cppcheck.cfg')\n with open(config_file, 'wt') as f:\n f.write('{}')\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=config', test_file], cwd=tmpdir, cppcheck_exe=tmp_cppcheck_exe)\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n exepath_sep = exepath_sep.replace('\\\\', '/')\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for '{}cppcheck.cfg'\".format(exepath_sep),\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 0 diff: \"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\" != \"looking for '/tmp/pytest-of-root/pytest-0/test_config_lookup2/cppcheck.cfg'\"\nE Left contains 2 more items, first extra item: 'no configuration found'\nE \nE Full diff:\nE [\nE + \"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\",...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:879: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_config_lookup_notfound2')\n\n def test_config_lookup_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=config', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n exepath_sep = exepath_sep.replace('\\\\', '/')\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for '{}cppcheck.cfg'\".format(exepath_sep),\n 'no configuration found',\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 0 diff: \"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\" != \"looking for '/workspace/cppcheck.cfg'\"\nE Left contains one more item: 'Checking /tmp/pytest-of-root/pytest-0/test_config_lookup_notfound2/test.c ...'\nE \nE Full diff:\nE [\nE + \"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\",...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:896: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_config_invalid2')\n\n def test_config_invalid(tmpdir):\n cppcheck_exe = __lookup_cppcheck_exe()\n bin_dir = os.path.dirname(cppcheck_exe)\n tmp_cppcheck_exe = shutil.copy2(cppcheck_exe, tmpdir)\n if sys.platform == 'win32':\n shutil.copy2(os.path.join(bin_dir, 'cppcheck-core.dll'), tmpdir)\n shutil.copytree(os.path.join(bin_dir, 'cfg'), os.path.join(tmpdir, 'cfg'))\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n config_file = os.path.join(tmpdir, 'cppcheck.cfg')\n with open(config_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=config', test_file], cwd=tmpdir, cppcheck_exe=tmp_cppcheck_exe)\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n exepath_sep = exepath_sep.replace('\\\\', '/')\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\nE looking for '/tmp/pytest-of-root/pytest-0/test_config_invalid2/cppcheck.cfg'\nE no configuration found\nE Checking /tmp/pytest-of-root/pytest-0/test_config_invalid2/test.c ...\nE \nE assert 0 == 1\n\ntests/lookup_test.py:923: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_lookup_path_addon_misra_p2')\ntype = 'addon', file = 'misra.py'\n\n @pytest.mark.parametrize(\"type,file\", [(\"addon\", \"misra.py\"), (\"config\", \"cppcheck.cfg\"), (\"library\", \"gnu.cfg\"), (\"platform\", \"avr8.xml\")])\n def test_lookup_path(tmpdir, type, file):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n cppcheck = 'cppcheck' # No path\n path = os.path.dirname(__lookup_cppcheck_exe())\n env = os.environ.copy()\n env['PATH'] = path + (';' if sys.platform == 'win32' else ':') + env.get('PATH', '')\n if type == 'config':\n with open(os.path.join(path, \"cppcheck.cfg\"), 'wt') as f:\n f.write('{}')\n exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n os.remove(os.path.join(path, \"cppcheck.cfg\")) # clean up otherwise other tests may fail\n else:\n> exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', f'--{type}={file}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n\ntests/lookup_test.py:948: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/testutils.py:134: in cppcheck_ex\n return_code, stdout, stderr = __run_subprocess([exe] + args, env=env, cwd=cwd, timeout=timeout)\ntests/testutils.py:84: in __run_subprocess\n p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env, cwd=cwd)\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <Popen: returncode: 255 args: ['cppcheck', '--debug-lookup=addon', '--addon=...>\nargs = ['cppcheck', '--debug-lookup=addon', '--addon=misra.py', '/tmp/pytest-of-root/pytest-0/test_lookup_path_addon_misra_p2/test.c']\nexecutable = b'cppcheck', preexec_fn = None, close_fds = True, pass_fds = ()\ncwd = '/tmp/pytest-of-root/pytest-0/test_lookup_path_addon_misra_p2'\nenv = {'CARGO_HOME': '/usr/local/cargo', 'DEBIAN_FRONTEND': 'noninteractive', 'GOMODCACHE': '/usr/local/go/mod-cache', 'HOME': '/root', ...}\nstartupinfo = None, creationflags = 0, shell = False, p2cread = -1\np2cwrite = -1, c2pread = 13, c2pwrite = 14, errread = 15, errwrite = 16\nrestore_signals = True, gid = None, gids = None, uid = None, umask = -1\nstart_new_session = False\n\n def _execute_child(self, args, executable, preexec_fn, close_fds,\n pass_fds, cwd, env,\n startupinfo, creationflags, shell,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite,\n restore_signals,\n gid, gids, uid, umask,\n start_new_session):\n \"\"\"Execute program (POSIX version)\"\"\"\n \n if isinstance(args, (str, bytes)):\n args = [args]\n elif isinstance(args, os.PathLike):\n if shell:\n raise TypeError('path-like args is not allowed when '\n 'shell is true')\n args = [args]\n else:\n args = list(args)\n \n if shell:\n # On Android the default shell is at '/system/bin/sh'.\n unix_shell = ('/system/bin/sh' if\n hasattr(sys, 'getandroidapilevel') else '/bin/sh')\n args = [unix_shell, \"-c\"] + args\n if executable:\n args[0] = executable\n \n if executable is None:\n executable = args[0]\n \n sys.audit(\"subprocess.Popen\", executable, args, cwd, env)\n \n if (_USE_POSIX_SPAWN\n and os.path.dirname(executable)\n and preexec_fn is None\n and not close_fds\n and not pass_fds\n and cwd is None\n and (p2cread == -1 or p2cread > 2)\n and (c2pwrite == -1 or c2pwrite > 2)\n and (errwrite == -1 or errwrite > 2)\n and not start_new_session\n and gid is None\n and gids is None\n and uid is None\n and umask < 0):\n self._posix_spawn(args, executable, env, restore_signals,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n return\n \n orig_executable = executable\n \n # For transferring possible exec failure from child to parent.\n # Data format: \"exception name:hex errno:description\"\n # Pickle is not used; it is complex and involves memory allocation.\n errpipe_read, errpipe_write = os.pipe()\n # errpipe_write must not be in the standard io 0, 1, or 2 fd range.\n low_fds_to_close = []\n while errpipe_write < 3:\n low_fds_to_close.append(errpipe_write)\n errpipe_write = os.dup(errpipe_write)\n for low_fd in low_fds_to_close:\n os.close(low_fd)\n try:\n try:\n # We must avoid complex work that could involve\n # malloc or free in the child process to avoid\n # potential deadlocks, thus we do all this here.\n # and pass it to fork_exec()\n \n if env is not None:\n env_list = []\n for k, v in env.items():\n k = os.fsencode(k)\n if b'=' in k:\n raise ValueError(\"illegal environment variable name\")\n env_list.append(k + b'=' + os.fsencode(v))\n else:\n env_list = None # Use execv instead of execve.\n executable = os.fsencode(executable)\n if os.path.dirname(executable):\n executable_list = (executable,)\n else:\n # This matches the behavior of os._execvpe().\n executable_list = tuple(\n os.path.join(os.fsencode(dir), executable)\n for dir in os.get_exec_path(env))\n fds_to_keep = set(pass_fds)\n fds_to_keep.add(errpipe_write)\n self.pid = _posixsubprocess.fork_exec(\n args, executable_list,\n close_fds, tuple(sorted(map(int, fds_to_keep))),\n cwd, env_list,\n p2cread, p2cwrite, c2pread, c2pwrite,\n errread, errwrite,\n errpipe_read, errpipe_write,\n restore_signals, start_new_session,\n gid, gids, uid, umask,\n preexec_fn)\n self._child_created = True\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_write)\n \n self._close_pipe_fds(p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n \n # Wait for exec to fail or succeed; possibly raising an\n # exception (limited in size)\n errpipe_data = bytearray()\n while True:\n part = os.read(errpipe_read, 50000)\n errpipe_data += part\n if not part or len(errpipe_data) > 50000:\n break\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_read)\n \n if errpipe_data:\n try:\n pid, sts = os.waitpid(self.pid, 0)\n if pid == self.pid:\n self._handle_exitstatus(sts)\n else:\n self.returncode = sys.maxsize\n except ChildProcessError:\n pass\n \n try:\n exception_name, hex_errno, err_msg = (\n errpipe_data.split(b':', 2))\n # The encoding here should match the encoding\n # written in by the subprocess implementations\n # like _posixsubprocess\n err_msg = err_msg.decode()\n except ValueError:\n exception_name = b'SubprocessError'\n hex_errno = b'0'\n err_msg = 'Bad exception data from child: {!r}'.format(\n bytes(errpipe_data))\n child_exception_type = getattr(\n builtins, exception_name.decode('ascii'),\n SubprocessError)\n if issubclass(child_exception_type, OSError) and hex_errno:\n errno_num = int(hex_errno, 16)\n child_exec_never_called = (err_msg == \"noexec\")\n if child_exec_never_called:\n err_msg = \"\"\n # The error must be from chdir(cwd).\n err_filename = cwd\n else:\n err_filename = orig_executable\n if errno_num != 0:\n err_msg = os.strerror(errno_num)\n> raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'\n\n/usr/lib/python3.10/subprocess.py:1863: FileNotFoundErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_lookup_path_config_cppche2')\ntype = 'config', file = 'cppcheck.cfg'\n\n @pytest.mark.parametrize(\"type,file\", [(\"addon\", \"misra.py\"), (\"config\", \"cppcheck.cfg\"), (\"library\", \"gnu.cfg\"), (\"platform\", \"avr8.xml\")])\n def test_lookup_path(tmpdir, type, file):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n cppcheck = 'cppcheck' # No path\n path = os.path.dirname(__lookup_cppcheck_exe())\n env = os.environ.copy()\n env['PATH'] = path + (';' if sys.platform == 'win32' else ':') + env.get('PATH', '')\n if type == 'config':\n with open(os.path.join(path, \"cppcheck.cfg\"), 'wt') as f:\n f.write('{}')\n> exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n\ntests/lookup_test.py:945: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/testutils.py:134: in cppcheck_ex\n return_code, stdout, stderr = __run_subprocess([exe] + args, env=env, cwd=cwd, timeout=timeout)\ntests/testutils.py:84: in __run_subprocess\n p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env, cwd=cwd)\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <Popen: returncode: 255 args: ['cppcheck', '--debug-lookup=config', '/tmp/py...>\nargs = ['cppcheck', '--debug-lookup=config', '/tmp/pytest-of-root/pytest-0/test_lookup_path_config_cppche2/test.c']\nexecutable = b'cppcheck', preexec_fn = None, close_fds = True, pass_fds = ()\ncwd = '/tmp/pytest-of-root/pytest-0/test_lookup_path_config_cppche2'\nenv = {'CARGO_HOME': '/usr/local/cargo', 'DEBIAN_FRONTEND': 'noninteractive', 'GOMODCACHE': '/usr/local/go/mod-cache', 'HOME': '/root', ...}\nstartupinfo = None, creationflags = 0, shell = False, p2cread = -1\np2cwrite = -1, c2pread = 13, c2pwrite = 14, errread = 15, errwrite = 16\nrestore_signals = True, gid = None, gids = None, uid = None, umask = -1\nstart_new_session = False\n\n def _execute_child(self, args, executable, preexec_fn, close_fds,\n pass_fds, cwd, env,\n startupinfo, creationflags, shell,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite,\n restore_signals,\n gid, gids, uid, umask,\n start_new_session):\n \"\"\"Execute program (POSIX version)\"\"\"\n \n if isinstance(args, (str, bytes)):\n args = [args]\n elif isinstance(args, os.PathLike):\n if shell:\n raise TypeError('path-like args is not allowed when '\n 'shell is true')\n args = [args]\n else:\n args = list(args)\n \n if shell:\n # On Android the default shell is at '/system/bin/sh'.\n unix_shell = ('/system/bin/sh' if\n hasattr(sys, 'getandroidapilevel') else '/bin/sh')\n args = [unix_shell, \"-c\"] + args\n if executable:\n args[0] = executable\n \n if executable is None:\n executable = args[0]\n \n sys.audit(\"subprocess.Popen\", executable, args, cwd, env)\n \n if (_USE_POSIX_SPAWN\n and os.path.dirname(executable)\n and preexec_fn is None\n and not close_fds\n and not pass_fds\n and cwd is None\n and (p2cread == -1 or p2cread > 2)\n and (c2pwrite == -1 or c2pwrite > 2)\n and (errwrite == -1 or errwrite > 2)\n and not start_new_session\n and gid is None\n and gids is None\n and uid is None\n and umask < 0):\n self._posix_spawn(args, executable, env, restore_signals,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n return\n \n orig_executable = executable\n \n # For transferring possible exec failure from child to parent.\n # Data format: \"exception name:hex errno:description\"\n # Pickle is not used; it is complex and involves memory allocation.\n errpipe_read, errpipe_write = os.pipe()\n # errpipe_write must not be in the standard io 0, 1, or 2 fd range.\n low_fds_to_close = []\n while errpipe_write < 3:\n low_fds_to_close.append(errpipe_write)\n errpipe_write = os.dup(errpipe_write)\n for low_fd in low_fds_to_close:\n os.close(low_fd)\n try:\n try:\n # We must avoid complex work that could involve\n # malloc or free in the child process to avoid\n # potential deadlocks, thus we do all this here.\n # and pass it to fork_exec()\n \n if env is not None:\n env_list = []\n for k, v in env.items():\n k = os.fsencode(k)\n if b'=' in k:\n raise ValueError(\"illegal environment variable name\")\n env_list.append(k + b'=' + os.fsencode(v))\n else:\n env_list = None # Use execv instead of execve.\n executable = os.fsencode(executable)\n if os.path.dirname(executable):\n executable_list = (executable,)\n else:\n # This matches the behavior of os._execvpe().\n executable_list = tuple(\n os.path.join(os.fsencode(dir), executable)\n for dir in os.get_exec_path(env))\n fds_to_keep = set(pass_fds)\n fds_to_keep.add(errpipe_write)\n self.pid = _posixsubprocess.fork_exec(\n args, executable_list,\n close_fds, tuple(sorted(map(int, fds_to_keep))),\n cwd, env_list,\n p2cread, p2cwrite, c2pread, c2pwrite,\n errread, errwrite,\n errpipe_read, errpipe_write,\n restore_signals, start_new_session,\n gid, gids, uid, umask,\n preexec_fn)\n self._child_created = True\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_write)\n \n self._close_pipe_fds(p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n \n # Wait for exec to fail or succeed; possibly raising an\n # exception (limited in size)\n errpipe_data = bytearray()\n while True:\n part = os.read(errpipe_read, 50000)\n errpipe_data += part\n if not part or len(errpipe_data) > 50000:\n break\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_read)\n \n if errpipe_data:\n try:\n pid, sts = os.waitpid(self.pid, 0)\n if pid == self.pid:\n self._handle_exitstatus(sts)\n else:\n self.returncode = sys.maxsize\n except ChildProcessError:\n pass\n \n try:\n exception_name, hex_errno, err_msg = (\n errpipe_data.split(b':', 2))\n # The encoding here should match the encoding\n # written in by the subprocess implementations\n # like _posixsubprocess\n err_msg = err_msg.decode()\n except ValueError:\n exception_name = b'SubprocessError'\n hex_errno = b'0'\n err_msg = 'Bad exception data from child: {!r}'.format(\n bytes(errpipe_data))\n child_exception_type = getattr(\n builtins, exception_name.decode('ascii'),\n SubprocessError)\n if issubclass(child_exception_type, OSError) and hex_errno:\n errno_num = int(hex_errno, 16)\n child_exec_never_called = (err_msg == \"noexec\")\n if child_exec_never_called:\n err_msg = \"\"\n # The error must be from chdir(cwd).\n err_filename = cwd\n else:\n err_filename = orig_executable\n if errno_num != 0:\n err_msg = os.strerror(errno_num)\n> raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'\n\n/usr/lib/python3.10/subprocess.py:1863: FileNotFoundErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_lookup_path_library_gnu_c2')\ntype = 'library', file = 'gnu.cfg'\n\n @pytest.mark.parametrize(\"type,file\", [(\"addon\", \"misra.py\"), (\"config\", \"cppcheck.cfg\"), (\"library\", \"gnu.cfg\"), (\"platform\", \"avr8.xml\")])\n def test_lookup_path(tmpdir, type, file):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n cppcheck = 'cppcheck' # No path\n path = os.path.dirname(__lookup_cppcheck_exe())\n env = os.environ.copy()\n env['PATH'] = path + (';' if sys.platform == 'win32' else ':') + env.get('PATH', '')\n if type == 'config':\n with open(os.path.join(path, \"cppcheck.cfg\"), 'wt') as f:\n f.write('{}')\n exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n os.remove(os.path.join(path, \"cppcheck.cfg\")) # clean up otherwise other tests may fail\n else:\n> exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', f'--{type}={file}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n\ntests/lookup_test.py:948: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/testutils.py:134: in cppcheck_ex\n return_code, stdout, stderr = __run_subprocess([exe] + args, env=env, cwd=cwd, timeout=timeout)\ntests/testutils.py:84: in __run_subprocess\n p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env, cwd=cwd)\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <Popen: returncode: 255 args: ['cppcheck', '--debug-lookup=library', '--libr...>\nargs = ['cppcheck', '--debug-lookup=library', '--library=gnu.cfg', '/tmp/pytest-of-root/pytest-0/test_lookup_path_library_gnu_c2/test.c']\nexecutable = b'cppcheck', preexec_fn = None, close_fds = True, pass_fds = ()\ncwd = '/tmp/pytest-of-root/pytest-0/test_lookup_path_library_gnu_c2'\nenv = {'CARGO_HOME': '/usr/local/cargo', 'DEBIAN_FRONTEND': 'noninteractive', 'GOMODCACHE': '/usr/local/go/mod-cache', 'HOME': '/root', ...}\nstartupinfo = None, creationflags = 0, shell = False, p2cread = -1\np2cwrite = -1, c2pread = 13, c2pwrite = 14, errread = 15, errwrite = 16\nrestore_signals = True, gid = None, gids = None, uid = None, umask = -1\nstart_new_session = False\n\n def _execute_child(self, args, executable, preexec_fn, close_fds,\n pass_fds, cwd, env,\n startupinfo, creationflags, shell,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite,\n restore_signals,\n gid, gids, uid, umask,\n start_new_session):\n \"\"\"Execute program (POSIX version)\"\"\"\n \n if isinstance(args, (str, bytes)):\n args = [args]\n elif isinstance(args, os.PathLike):\n if shell:\n raise TypeError('path-like args is not allowed when '\n 'shell is true')\n args = [args]\n else:\n args = list(args)\n \n if shell:\n # On Android the default shell is at '/system/bin/sh'.\n unix_shell = ('/system/bin/sh' if\n hasattr(sys, 'getandroidapilevel') else '/bin/sh')\n args = [unix_shell, \"-c\"] + args\n if executable:\n args[0] = executable\n \n if executable is None:\n executable = args[0]\n \n sys.audit(\"subprocess.Popen\", executable, args, cwd, env)\n \n if (_USE_POSIX_SPAWN\n and os.path.dirname(executable)\n and preexec_fn is None\n and not close_fds\n and not pass_fds\n and cwd is None\n and (p2cread == -1 or p2cread > 2)\n and (c2pwrite == -1 or c2pwrite > 2)\n and (errwrite == -1 or errwrite > 2)\n and not start_new_session\n and gid is None\n and gids is None\n and uid is None\n and umask < 0):\n self._posix_spawn(args, executable, env, restore_signals,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n return\n \n orig_executable = executable\n \n # For transferring possible exec failure from child to parent.\n # Data format: \"exception name:hex errno:description\"\n # Pickle is not used; it is complex and involves memory allocation.\n errpipe_read, errpipe_write = os.pipe()\n # errpipe_write must not be in the standard io 0, 1, or 2 fd range.\n low_fds_to_close = []\n while errpipe_write < 3:\n low_fds_to_close.append(errpipe_write)\n errpipe_write = os.dup(errpipe_write)\n for low_fd in low_fds_to_close:\n os.close(low_fd)\n try:\n try:\n # We must avoid complex work that could involve\n # malloc or free in the child process to avoid\n # potential deadlocks, thus we do all this here.\n # and pass it to fork_exec()\n \n if env is not None:\n env_list = []\n for k, v in env.items():\n k = os.fsencode(k)\n if b'=' in k:\n raise ValueError(\"illegal environment variable name\")\n env_list.append(k + b'=' + os.fsencode(v))\n else:\n env_list = None # Use execv instead of execve.\n executable = os.fsencode(executable)\n if os.path.dirname(executable):\n executable_list = (executable,)\n else:\n # This matches the behavior of os._execvpe().\n executable_list = tuple(\n os.path.join(os.fsencode(dir), executable)\n for dir in os.get_exec_path(env))\n fds_to_keep = set(pass_fds)\n fds_to_keep.add(errpipe_write)\n self.pid = _posixsubprocess.fork_exec(\n args, executable_list,\n close_fds, tuple(sorted(map(int, fds_to_keep))),\n cwd, env_list,\n p2cread, p2cwrite, c2pread, c2pwrite,\n errread, errwrite,\n errpipe_read, errpipe_write,\n restore_signals, start_new_session,\n gid, gids, uid, umask,\n preexec_fn)\n self._child_created = True\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_write)\n \n self._close_pipe_fds(p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n \n # Wait for exec to fail or succeed; possibly raising an\n # exception (limited in size)\n errpipe_data = bytearray()\n while True:\n part = os.read(errpipe_read, 50000)\n errpipe_data += part\n if not part or len(errpipe_data) > 50000:\n break\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_read)\n \n if errpipe_data:\n try:\n pid, sts = os.waitpid(self.pid, 0)\n if pid == self.pid:\n self._handle_exitstatus(sts)\n else:\n self.returncode = sys.maxsize\n except ChildProcessError:\n pass\n \n try:\n exception_name, hex_errno, err_msg = (\n errpipe_data.split(b':', 2))\n # The encoding here should match the encoding\n # written in by the subprocess implementations\n # like _posixsubprocess\n err_msg = err_msg.decode()\n except ValueError:\n exception_name = b'SubprocessError'\n hex_errno = b'0'\n err_msg = 'Bad exception data from child: {!r}'.format(\n bytes(errpipe_data))\n child_exception_type = getattr(\n builtins, exception_name.decode('ascii'),\n SubprocessError)\n if issubclass(child_exception_type, OSError) and hex_errno:\n errno_num = int(hex_errno, 16)\n child_exec_never_called = (err_msg == \"noexec\")\n if child_exec_never_called:\n err_msg = \"\"\n # The error must be from chdir(cwd).\n err_filename = cwd\n else:\n err_filename = orig_executable\n if errno_num != 0:\n err_msg = os.strerror(errno_num)\n> raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'\n\n/usr/lib/python3.10/subprocess.py:1863: FileNotFoundErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_lookup_path_platform_avr82')\ntype = 'platform', file = 'avr8.xml'\n\n @pytest.mark.parametrize(\"type,file\", [(\"addon\", \"misra.py\"), (\"config\", \"cppcheck.cfg\"), (\"library\", \"gnu.cfg\"), (\"platform\", \"avr8.xml\")])\n def test_lookup_path(tmpdir, type, file):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n cppcheck = 'cppcheck' # No path\n path = os.path.dirname(__lookup_cppcheck_exe())\n env = os.environ.copy()\n env['PATH'] = path + (';' if sys.platform == 'win32' else ':') + env.get('PATH', '')\n if type == 'config':\n with open(os.path.join(path, \"cppcheck.cfg\"), 'wt') as f:\n f.write('{}')\n exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n os.remove(os.path.join(path, \"cppcheck.cfg\")) # clean up otherwise other tests may fail\n else:\n> exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', f'--{type}={file}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n\ntests/lookup_test.py:948: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/testutils.py:134: in cppcheck_ex\n return_code, stdout, stderr = __run_subprocess([exe] + args, env=env, cwd=cwd, timeout=timeout)\ntests/testutils.py:84: in __run_subprocess\n p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env, cwd=cwd)\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <Popen: returncode: 255 args: ['cppcheck', '--debug-lookup=platform', '--pla...>\nargs = ['cppcheck', '--debug-lookup=platform', '--platform=avr8.xml', '/tmp/pytest-of-root/pytest-0/test_lookup_path_platform_avr82/test.c']\nexecutable = b'cppcheck', preexec_fn = None, close_fds = True, pass_fds = ()\ncwd = '/tmp/pytest-of-root/pytest-0/test_lookup_path_platform_avr82'\nenv = {'CARGO_HOME': '/usr/local/cargo', 'DEBIAN_FRONTEND': 'noninteractive', 'GOMODCACHE': '/usr/local/go/mod-cache', 'HOME': '/root', ...}\nstartupinfo = None, creationflags = 0, shell = False, p2cread = -1\np2cwrite = -1, c2pread = 13, c2pwrite = 14, errread = 15, errwrite = 16\nrestore_signals = True, gid = None, gids = None, uid = None, umask = -1\nstart_new_session = False\n\n def _execute_child(self, args, executable, preexec_fn, close_fds,\n pass_fds, cwd, env,\n startupinfo, creationflags, shell,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite,\n restore_signals,\n gid, gids, uid, umask,\n start_new_session):\n \"\"\"Execute program (POSIX version)\"\"\"\n \n if isinstance(args, (str, bytes)):\n args = [args]\n elif isinstance(args, os.PathLike):\n if shell:\n raise TypeError('path-like args is not allowed when '\n 'shell is true')\n args = [args]\n else:\n args = list(args)\n \n if shell:\n # On Android the default shell is at '/system/bin/sh'.\n unix_shell = ('/system/bin/sh' if\n hasattr(sys, 'getandroidapilevel') else '/bin/sh')\n args = [unix_shell, \"-c\"] + args\n if executable:\n args[0] = executable\n \n if executable is None:\n executable = args[0]\n \n sys.audit(\"subprocess.Popen\", executable, args, cwd, env)\n \n if (_USE_POSIX_SPAWN\n and os.path.dirname(executable)\n and preexec_fn is None\n and not close_fds\n and not pass_fds\n and cwd is None\n and (p2cread == -1 or p2cread > 2)\n and (c2pwrite == -1 or c2pwrite > 2)\n and (errwrite == -1 or errwrite > 2)\n and not start_new_session\n and gid is None\n and gids is None\n and uid is None\n and umask < 0):\n self._posix_spawn(args, executable, env, restore_signals,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n return\n \n orig_executable = executable\n \n # For transferring possible exec failure from child to parent.\n # Data format: \"exception name:hex errno:description\"\n # Pickle is not used; it is complex and involves memory allocation.\n errpipe_read, errpipe_write = os.pipe()\n # errpipe_write must not be in the standard io 0, 1, or 2 fd range.\n low_fds_to_close = []\n while errpipe_write < 3:\n low_fds_to_close.append(errpipe_write)\n errpipe_write = os.dup(errpipe_write)\n for low_fd in low_fds_to_close:\n os.close(low_fd)\n try:\n try:\n # We must avoid complex work that could involve\n # malloc or free in the child process to avoid\n # potential deadlocks, thus we do all this here.\n # and pass it to fork_exec()\n \n if env is not None:\n env_list = []\n for k, v in env.items():\n k = os.fsencode(k)\n if b'=' in k:\n raise ValueError(\"illegal environment variable name\")\n env_list.append(k + b'=' + os.fsencode(v))\n else:\n env_list = None # Use execv instead of execve.\n executable = os.fsencode(executable)\n if os.path.dirname(executable):\n executable_list = (executable,)\n else:\n # This matches the behavior of os._execvpe().\n executable_list = tuple(\n os.path.join(os.fsencode(dir), executable)\n for dir in os.get_exec_path(env))\n fds_to_keep = set(pass_fds)\n fds_to_keep.add(errpipe_write)\n self.pid = _posixsubprocess.fork_exec(\n args, executable_list,\n close_fds, tuple(sorted(map(int, fds_to_keep))),\n cwd, env_list,\n p2cread, p2cwrite, c2pread, c2pwrite,\n errread, errwrite,\n errpipe_read, errpipe_write,\n restore_signals, start_new_session,\n gid, gids, uid, umask,\n preexec_fn)\n self._child_created = True\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_write)\n \n self._close_pipe_fds(p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n \n # Wait for exec to fail or succeed; possibly raising an\n # exception (limited in size)\n errpipe_data = bytearray()\n while True:\n part = os.read(errpipe_read, 50000)\n errpipe_data += part\n if not part or len(errpipe_data) > 50000:\n break\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_read)\n \n if errpipe_data:\n try:\n pid, sts = os.waitpid(self.pid, 0)\n if pid == self.pid:\n self._handle_exitstatus(sts)\n else:\n self.returncode = sys.maxsize\n except ChildProcessError:\n pass\n \n try:\n exception_name, hex_errno, err_msg = (\n errpipe_data.split(b':', 2))\n # The encoding here should match the encoding\n # written in by the subprocess implementations\n # like _posixsubprocess\n err_msg = err_msg.decode()\n except ValueError:\n exception_name = b'SubprocessError'\n hex_errno = b'0'\n err_msg = 'Bad exception data from child: {!r}'.format(\n bytes(errpipe_data))\n child_exception_type = getattr(\n builtins, exception_name.decode('ascii'),\n SubprocessError)\n if issubclass(child_exception_type, OSError) and hex_errno:\n errno_num = int(hex_errno, 16)\n child_exec_never_called = (err_msg == \"noexec\")\n if child_exec_never_called:\n err_msg = \"\"\n # The error must be from chdir(cwd).\n err_filename = cwd\n else:\n err_filename = orig_executable\n if errno_num != 0:\n err_msg = os.strerror(errno_num)\n> raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'\n\n/usr/lib/python3.10/subprocess.py:1863: FileNotFoundErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_dummy_metrics_xml_report2')\n\n def test_dummy_metrics_xml_report(tmpdir):\n output_file = os.path.join(tmpdir, \"results.xml\")\n source_path = __create_source_file(tmpdir)\n addon_path = __create_addon(tmpdir)\n args = [\n f'--output-file={output_file}',\n f'--addon={addon_path}',\n '--xml-version=3',\n source_path\n ]\n \n ret, stdout, stderr = cppcheck(args)\n assert ret == 0\n assert stderr == ''\n assert stdout == f'Checking {source_path} ...\\n'\n \n with open(output_file, 'r') as file:\n xml = file.read()\n \n for expected in __expected_xml:\n> assert xml.find(expected) >= 0\nE assert -1 >= 0\nE + where -1 = <built-in method find of str object at 0x56484d97fa20>('<metric fileName=\"1.cpp\" function=\"write\" id=\"HISCall\" lineNumber=\"6\" value=\"2\"/>')\nE + where <built-in method find of str object at 0x56484d97fa20> = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"3\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n </errors>\\n\\n <critical-errors/>\\n <checkers-report>\\n <checker id=\"CheckAutoVariables::autoVariables\"/>\\n <checker id=\"CheckAutoVariables::checkVarLifetime\"/>\\n <checker id=\"CheckBool::checkAssignBoolToPointer\"/>\\n <checker id=\"CheckBool::pointerArithBool\"/>\\n <checker id=\"CheckBufferOverrun::analyseWholeProgram\"/>\\n <checker id=\"CheckBufferOverrun::arrayIndex\"/>\\n <checker id=\"CheckBufferOverrun::bufferOverflow\"/>\\n <checker id=\"CheckBufferOverrun::negativeArraySize\"/>\\n <checker id=\"CheckBufferOverrun::objectIndex\"/>\\n <checker id=\"CheckClass::analyseWholeProgram\"/>\\n <checker id=\"CheckFunctions::checkMissingReturn\"/>\\n <checker id=\"CheckFunctions::checkProhibitedFunctions\"/>\\n <checker id=\"CheckFunctions::invalidFunctionUsage\"/>\\n <checker id=\"CheckIO::checkFileUsage\"/>\\n <checker id=\"CheckIO::checkWrongPrintfScanfArguments\"/>\\n <checker id=\"CheckLeakAutoVar::check\"/>\\n <checker id=\"CheckMemoryLeakInFunction::checkReallocUsage\"/>\\n ...seWholeProgram\"/>\\n <checker id=\"CheckNullPointer::arithmetic\"/>\\n <checker id=\"CheckNullPointer::nullConstantDereference\"/>\\n <checker id=\"CheckNullPointer::nullPointer\"/>\\n <checker id=\"CheckOther::checkComparePointers\"/>\\n <checker id=\"CheckOther::checkEvaluationOrder\"/>\\n <checker id=\"CheckOther::checkInvalidFree\"/>\\n <checker id=\"CheckOther::checkNegativeBitwiseShift\"/>\\n <checker id=\"CheckOther::checkOverlappingWrite\"/>\\n <checker id=\"CheckOther::checkZeroDivision\"/>\\n <checker id=\"CheckString::sprintfOverlappingData\"/>\\n <checker id=\"CheckString::strPlusChar\"/>\\n <checker id=\"CheckString::stringLiteralWrite\"/>\\n <checker id=\"CheckType::checkFloatToIntegerOverflow\"/>\\n <checker id=\"CheckType::checkIntegerOverflow\"/>\\n <checker id=\"CheckType::checkTooBigBitwiseShift\"/>\\n <checker id=\"CheckUninitVar::analyseWholeProgram\"/>\\n <checker id=\"CheckUninitVar::check\"/>\\n <checker id=\"CheckUninitVar::valueFlowUninit\"/>\\n <checker id=\"CheckVaarg::va_list_usage\"/>\\n <checker id=\"CheckVaarg::va_start_argument\"/>\\n </checkers-report>\\n</results>\\n'.find\n\ntests/metrics_test.py:61: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_dummy_metrics_stdout2')\n\n def test_dummy_metrics_stdout(tmpdir):\n source_path = __create_source_file(tmpdir)\n addon_path = __create_addon(tmpdir)\n args = [\n f'--addon={addon_path}',\n '--xml-version=3',\n source_path\n ]\n \n ret, stdout, stderr = cppcheck(args)\n assert ret == 0\n assert stdout == f'Checking {source_path} ...\\n'\n \n for expected in __expected_xml:\n> assert stderr.find(expected) >= 0\nE assert -1 >= 0\nE + where -1 = <built-in method find of str object at 0x56484d9595a0>('<metric fileName=\"1.cpp\" function=\"write\" id=\"HISCall\" lineNumber=\"6\" value=\"2\"/>')\nE + where <built-in method find of str object at 0x56484d9595a0> = '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"3\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n </errors>\\n\\n <critical-errors/>\\n <checkers-report>\\n <checker id=\"CheckAutoVariables::autoVariables\"/>\\n <checker id=\"CheckAutoVariables::checkVarLifetime\"/>\\n <checker id=\"CheckBool::checkAssignBoolToPointer\"/>\\n <checker id=\"CheckBool::pointerArithBool\"/>\\n <checker id=\"CheckBufferOverrun::analyseWholeProgram\"/>\\n <checker id=\"CheckBufferOverrun::arrayIndex\"/>\\n <checker id=\"CheckBufferOverrun::bufferOverflow\"/>\\n <checker id=\"CheckBufferOverrun::negativeArraySize\"/>\\n <checker id=\"CheckBufferOverrun::objectIndex\"/>\\n <checker id=\"CheckClass::analyseWholeProgram\"/>\\n <checker id=\"CheckFunctions::checkMissingReturn\"/>\\n <checker id=\"CheckFunctions::checkProhibitedFunctions\"/>\\n <checker id=\"CheckFunctions::invalidFunctionUsage\"/>\\n <checker id=\"CheckIO::checkFileUsage\"/>\\n <checker id=\"CheckIO::checkWrongPrintfScanfArguments\"/>\\n <checker id=\"CheckLeakAutoVar::check\"/>\\n <checker id=\"CheckMemoryLeakInFunction::checkReallocUsage\"/>\\n ...seWholeProgram\"/>\\n <checker id=\"CheckNullPointer::arithmetic\"/>\\n <checker id=\"CheckNullPointer::nullConstantDereference\"/>\\n <checker id=\"CheckNullPointer::nullPointer\"/>\\n <checker id=\"CheckOther::checkComparePointers\"/>\\n <checker id=\"CheckOther::checkEvaluationOrder\"/>\\n <checker id=\"CheckOther::checkInvalidFree\"/>\\n <checker id=\"CheckOther::checkNegativeBitwiseShift\"/>\\n <checker id=\"CheckOther::checkOverlappingWrite\"/>\\n <checker id=\"CheckOther::checkZeroDivision\"/>\\n <checker id=\"CheckString::sprintfOverlappingData\"/>\\n <checker id=\"CheckString::strPlusChar\"/>\\n <checker id=\"CheckString::stringLiteralWrite\"/>\\n <checker id=\"CheckType::checkFloatToIntegerOverflow\"/>\\n <checker id=\"CheckType::checkIntegerOverflow\"/>\\n <checker id=\"CheckType::checkTooBigBitwiseShift\"/>\\n <checker id=\"CheckUninitVar::analyseWholeProgram\"/>\\n <checker id=\"CheckUninitVar::check\"/>\\n <checker id=\"CheckUninitVar::valueFlowUninit\"/>\\n <checker id=\"CheckVaarg::va_list_usage\"/>\\n <checker id=\"CheckVaarg::va_start_argument\"/>\\n </checkers-report>\\n</results>\\n'.find\n\ntests/metrics_test.py:77: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_color_non_tty_env0_True_2')\nenv = {'CLICOLOR_FORCE': '1'}, color_expected = True\n\n @pytest.mark.parametrize(\"env,color_expected\", [({\"CLICOLOR_FORCE\":\"1\"}, True), ({\"NO_COLOR\": \"1\", \"CLICOLOR_FORCE\":\"1\"}, False)])\n def test_color_non_tty(tmpdir, env, color_expected):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('#error test\\nx=1;\\n')\n exitcode, stdout, stderr = cppcheck([test_file], env=env)\n \n assert exitcode == 0, stdout if stdout else stderr\n assert stderr\n> assert (__ANSI_BOLD in stderr) == color_expected\nE AssertionError: assert ('\\x1b[1m' in '/tmp/pytest-of-root/pytest-0/test_color_non_tty_env0_True_2/test.c:1:2: error: #error test [preprocessorErrorDirective]\\n#error test\\n ^\\n') == True\n\ntests/other_test.py:101: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_color_tty_env0_True_2')\nenv = {}, color_expected = True\n\n @pytest.mark.skipif(sys.platform == \"win32\", reason=\"TTY not supported in Windows\")\n @pytest.mark.parametrize(\"env,color_expected\", [({}, True), ({\"NO_COLOR\": \"1\"}, False)])\n def test_color_tty(tmpdir, env, color_expected):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('#error test\\nx=1;\\n')\n exitcode, stdout, stderr = cppcheck([test_file], env=env, tty=True)\n \n assert exitcode == 0, stdout if stdout else stderr\n assert stderr\n> assert (__ANSI_BOLD in stderr) == color_expected\nE AssertionError: assert ('\\x1b[1m' in '/tmp/pytest-of-root/pytest-0/test_color_tty_env0_True_2/test.c:1:2: error: #error test [preprocessorErrorDirective]\\n#error test\\n ^\\n') == True\n\ntests/other_test.py:117: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_progress2')\n\n def test_progress(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n int main(int argc)\n {\n }\n \"\"\")\n \n args = ['--report-progress=0', '--enable=all', '--inconclusive', '-j1', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: unrecognized command line option: \"--report-progress=0\".\nE \nE assert 1 == 0\n\ntests/other_test.py:158: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_progress_j2')\n\n def test_progress_j(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n int main(int argc)\n {\n }\n \"\"\")\n \n args = ['--report-progress=0', '--enable=all', '--inconclusive', '-j2', '--disable=unusedFunction', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: unrecognized command line option: \"--report-progress=0\".\nE \nE assert 1 == 0\n\ntests/other_test.py:191: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_py_2')\n\n def test_execute_addon_failure_py_auto(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f();\n \"\"\")\n \n args = ['--addon=naming', test_file]\n \n # provide empty PATH environment variable so python is not found and execution of addon fails\n env = {'PATH': ''}\n _, _, stderr = cppcheck(args, env)\n> assert stderr == '{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to auto detect python [internalError]\\n\\n^\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_execute_addon_failure_py_2/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to auto detect python [internalError]\nE - \nE - ^\n\ntests/other_test.py:208: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_py_5')\n\n def test_execute_addon_failure_py_notexist(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f();\n \"\"\")\n \n # specify non-existent python executable so execution of addon fails\n args = ['--addon=naming', '--addon-python=python5.x', test_file]\n \n _, _, stderr = cppcheck(args)\n ec = 1 if os.name == 'nt' else 127\n> assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'naming' - exitcode is {} [internalError]\\n\\n^\\n\".format(test_file, ec)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_execute_addon_failure_py_5/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'naming' - exitcode is 127 [internalError]\nE - \nE - ^\n\ntests/other_test.py:223: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso2')\n\n def test_execute_addon_failure_json_notexist(tmpdir):\n # specify non-existent python executable so execution of addon fails\n addon_json = os.path.join(tmpdir, 'addon.json')\n with open(addon_json, 'wt') as f:\n f.write(json.dumps({'executable': 'notexist'}))\n \n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f();\n \"\"\")\n \n args = [\n '--addon={}'.format(addon_json),\n test_file\n ]\n \n _, _, stderr = cppcheck(args)\n ec = 1 if os.name == 'nt' else 127\n> assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is {} [internalError]\\n\\n^\\n\".format(test_file, ec)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso2/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is 127 [internalError]\nE - \nE - ^\n\ntests/other_test.py:245: AssertionError/workspace/eval/tests/other_test.py:248: Windows specific issuetmpdir = local('/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso5')\n\n def test_execute_addon_failure_json_ctu_notexist(tmpdir):\n # specify non-existent python executable so execution of addon fails\n addon_json = os.path.join(tmpdir, 'addon.json')\n with open(addon_json, 'wt') as f:\n f.write(json.dumps({\n 'executable': 'notexist',\n 'ctu': True\n }))\n \n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f(); \"\"\")\n \n args = [\n '--template=simple',\n '--addon={}'.format(addon_json),\n test_file\n ]\n \n _, _, stderr = cppcheck(args)\n ec = 1 if os.name == 'nt' else 127\n> assert stderr.splitlines() == [\n \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is {} [internalError]\".format(test_file, ec),\n \":0:0: error: Bailing out from analysis: Whole program analysis failed: Failed to execute addon 'addon.json' - exitcode is {} [internalError]\".format(ec)\n ]\nE assert [] == ['/tmp/pytest...ternalError]']\nE \nE Right contains 2 more items, first extra item: \"/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso5/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is 127 [internalError]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso5/test.cpp:0:0: '...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n\ntests/other_test.py:299: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_execute_addon_file02')\n\n def test_execute_addon_file0(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('void foo() {}\\n')\n \n args = ['--xml', '--addon=misra', '--enable=style', test_file]\n \n _, _, stderr = cppcheck(args)\n> assert 'misra-c2012-8.2' in stderr\nE assert 'misra-c2012-8.2' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"2\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n </errors>\\n</results>\\n'\n\ntests/other_test.py:313: AssertionError/workspace/eval/tests/other_test.py:318: unconditional skiptmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_ctu_exitcode2')\n\n def test_addon_ctu_exitcode(tmpdir):\n \"\"\" #12440 - Misra ctu violations found => exit code should be non-zero \"\"\"\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"typedef enum { BLOCK = 0x80U, } E;\"\"\")\n args = ['--addon=misra', '--enable=style', '--error-exitcode=1', test_file]\n exitcode, _, stderr = cppcheck(args)\n> assert '2.3' in stderr, stderr\nE AssertionError: \nE assert '2.3' in ''\n\ntests/other_test.py:345: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_misra2')\n\n def test_addon_misra(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n typedef int MISRA_5_6_VIOLATION;\n \"\"\")\n \n args = ['--addon=misra', '--enable=all', '--disable=unusedFunction', '-j1', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:2:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]\\ntypedef int MISRA_5_6_VIOLATION;\\n^\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...OLATION;\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_misra2/test.cpp:2:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]\nE - typedef int MISRA_5_6_VIOLATION;\nE - ^\n\ntests/other_test.py:365: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_y20382')\n\n def test_addon_y2038(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n # TODO: trigger warning\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n extern void f()\n {\n time_t t = std::time(nullptr);\n (void)t;\n }\n \"\"\")\n \n args = ['--addon=y2038', '--enable=all', '--disable=unusedFunction', '--template=simple', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:4:21: warning: time is Y2038-unsafe [y2038-unsafe-call]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nsafe-call]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_y20382/test.cpp:4:21: warning: time is Y2038-unsafe [y2038-unsafe-call]\n\ntests/other_test.py:388: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_threadsafety2')\n\n def test_addon_threadsafety(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n extern const char* f()\n {\n return strerror(1);\n }\n \"\"\")\n \n args = ['--addon=threadsafety', '--enable=all', '--disable=unusedFunction', '--template=simple', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:4:12: warning: strerror is MT-unsafe [threadsafety-unsafe-call]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nsafe-call]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_threadsafety2/test.cpp:4:12: warning: strerror is MT-unsafe [threadsafety-unsafe-call]\n\ntests/other_test.py:409: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_naming2')\n\n def test_addon_naming(tmpdir):\n # the addon does nothing without a config\n addon_file = os.path.join(tmpdir, 'naming1.json')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n {\n \"script\": \"addons/naming.py\",\n \"args\": [\n \"--var=[_a-z].*\"\n ]\n }\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n int Var;\n \"\"\")\n \n args = ['--addon={}'.format(addon_file), '--enable=all', '--disable=unusedFunction', '--template=simple', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:2:1: style: Variable Var violates naming convention [naming-varname]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...ng-varname]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_naming2/test.cpp:2:1: style: Variable Var violates naming convention [naming-varname]\n\ntests/other_test.py:439: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_namingng2')\n\n def test_addon_namingng(tmpdir):\n addon_file = os.path.join(tmpdir, 'namingng.json')\n addon_config_file = os.path.join(tmpdir, 'namingng.config.json')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n {\n \"script\": \"addons/namingng.py\",\n \"args\": [\n \"--configfile=%s\"\n ]\n }\n \"\"\"%(addon_config_file).replace('\\\\','\\\\\\\\'))\n \n with open(addon_config_file, 'wt') as f:\n f.write(\"\"\"\n {\n \"RE_FILE\": [\n \"[^/]*[a-z][a-z0-9_]*[a-z0-9]\\\\.c\\\\Z\"\n ],\n \"RE_CLASS_NAME\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"RE_NAMESPACE\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"RE_VARNAME\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"RE_PUBLIC_MEMBER_VARIABLE\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"RE_PRIVATE_MEMBER_VARIABLE\": {\n \".*_tmp\\\\Z\":[true,\"illegal suffix _tmp\"],\n \"priv_.*\\\\Z\":[false,\"required prefix priv_ missing\"]\n },\n \"RE_GLOBAL_VARNAME\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"RE_FUNCTIONNAME\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"include_guard\": {\n \"input\": \"basename\",\n \"prefix\": \"_\",\n \"suffix\": \"\",\n \"case\": \"upper\",\n \"max_linenr\": 5,\n \"RE_HEADERFILE\": \".*\\\\.h\\\\Z\",\n \"required\": true\n },\n \"var_prefixes\": {\"uint32_t\": \"ui32\"},\n \"function_prefixes\": {\"uint16_t\": \"ui16\",\n \"uint32_t\": \"ui32\"},\n \"skip_one_char_variables\": false\n }\n \"\"\".replace('\\\\','\\\\\\\\'))\n \n test_unguarded_include_file_basename = 'test_unguarded.h'\n test_unguarded_include_file = os.path.join(tmpdir, test_unguarded_include_file_basename)\n with open(test_unguarded_include_file, 'wt') as f:\n f.write(\"\"\"\n void InvalidFunctionUnguarded();\n \"\"\")\n \n test_include_file_basename = '_test.h'\n test_include_file = os.path.join(tmpdir, test_include_file_basename)\n with open(test_include_file, 'wt') as f:\n f.write(\"\"\"\n #ifndef TEST_H\n #define TEST_H\n \n void InvalidFunction();\n extern int _invalid_extern_global;\n \n #include \"{}\"\n \n #endif\n \"\"\".format(test_unguarded_include_file))\n \n test_file_basename = 'test_.cpp'\n test_file = os.path.join(tmpdir, test_file_basename)\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n #include \"%s\"\n \n void invalid_function_();\n void _invalid_function();\n void valid_function1();\n void valid_function2(int _invalid_arg);\n void valid_function3(int invalid_arg_);\n void valid_function4(int valid_arg32);\n void valid_function5(uint32_t invalid_arg32);\n void valid_function6(uint32_t ui32_valid_arg);\n uint16_t invalid_function7(int valid_arg);\n uint16_t ui16_valid_function8(int valid_arg);\n \n int _invalid_global;\n static int _invalid_static_global;\n \n class _clz {\n public:\n _clz() : _invalid_public(0), _invalid_private(0), priv_good(0), priv_bad_tmp(0) { }\n int _invalid_public;\n private:\n char _invalid_private;\n int priv_good;\n int priv_bad_tmp;\n };\n \n namespace _invalid_namespace { }\n \"\"\"%(test_include_file_basename))\n \n args = ['--addon='+addon_file, '--verbose', '--enable=all', '--disable=unusedFunction', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = __remove_verbose_log(stdout.splitlines())\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n lines = [line for line in stderr.splitlines() if line != '']\n expect = [\n '{}:0:0: style: File name {} violates naming convention [namingng-namingConvention]'.format(test_include_file,test_include_file_basename),\n '^',\n '{}:2:9: style: include guard naming violation; TEST_H != _TEST_H [namingng-includeGuardName]'.format(test_include_file),\n '#ifndef TEST_H',\n ' ^',\n '{}:5:6: style: Function InvalidFunction violates naming convention [namingng-namingConvention]'.format(test_include_file),\n 'void InvalidFunction();',\n ' ^',\n '{}:6:12: style: Global variable _invalid_extern_global violates naming convention [namingng-namingConvention]'.format(test_include_file),\n 'extern int _invalid_extern_global;',\n ' ^',\n \n '{}:0:0: style: File name {} violates naming convention [namingng-namingConvention]'.format(test_unguarded_include_file,test_unguarded_include_file_basename),\n '^',\n '{}:0:0: style: Missing include guard [namingng-includeGuardMissing]'.format(test_unguarded_include_file),\n '^',\n '{}:2:6: style: Function InvalidFunctionUnguarded violates naming convention [namingng-namingConvention]'.format(test_unguarded_include_file),\n 'void InvalidFunctionUnguarded();',\n ' ^',\n \n '{}:0:0: style: File name {} violates naming convention [namingng-namingConvention]'.format(test_file,test_file_basename),\n '^',\n '{}:7:26: style: Variable _invalid_arg violates naming convention [namingng-namingConvention]'.format(test_file),\n 'void valid_function2(int _invalid_arg);',\n ' ^',\n '{}:8:26: style: Variable invalid_arg_ violates naming convention [namingng-namingConvention]'.format(test_file),\n 'void valid_function3(int invalid_arg_);',\n ' ^',\n '{}:10:31: style: Variable invalid_arg32 violates naming convention [namingng-namingConvention]'.format(test_file),\n 'void valid_function5(uint32_t invalid_arg32);',\n ' ^',\n '{}:4:6: style: Function invalid_function_ violates naming convention [namingng-namingConvention]'.format(test_file),\n 'void invalid_function_();',\n ' ^',\n '{}:5:6: style: Function _invalid_function violates naming convention [namingng-namingConvention]'.format(test_file),\n 'void _invalid_function();',\n ' ^',\n '{}:12:10: style: Function invalid_function7 violates naming convention [namingng-namingConvention]'.format(test_file),\n 'uint16_t invalid_function7(int valid_arg);',\n ' ^',\n '{}:15:5: style: Global variable _invalid_global violates naming convention [namingng-namingConvention]'.format(test_file),\n 'int _invalid_global;',\n ' ^',\n '{}:16:12: style: Global variable _invalid_static_global violates naming convention [namingng-namingConvention]'.format(test_file),\n 'static int _invalid_static_global;',\n ' ^',\n '{}:20:5: style: Class Constructor _clz violates naming convention [namingng-namingConvention]'.format(test_file),\n ' _clz() : _invalid_public(0), _invalid_private(0), priv_good(0), priv_bad_tmp(0) { }',\n ' ^',\n '{}:21:9: style: Public member variable _invalid_public violates naming convention [namingng-namingConvention]'.format(test_file),\n ' int _invalid_public;',\n ' ^',\n '{}:23:10: style: Private member variable _invalid_private violates naming convention: required prefix priv_ missing [namingng-namingConvention]'.format(test_file),\n ' char _invalid_private;',\n ' ^',\n '{}:25:9: style: Private member variable priv_bad_tmp violates naming convention: illegal suffix _tmp [namingng-namingConvention]'.format(test_file),\n ' int priv_bad_tmp;',\n ' ^',\n '{}:28:11: style: Namespace _invalid_namespace violates naming convention [namingng-namingConvention]'.format(test_file),\n 'namespace _invalid_namespace { }',\n ' ^',\n ]\n # test sorted lines; the order of messages may vary and is not of importance\n lines.sort()\n expect.sort()\n> assert lines == expect\nE AssertionError: assert [' ^', '#incl...singInclude]'] == [' ... ^', ...]\nE \nE At index 0 diff: ' ^' != ' ^'\nE Right contains 56 more items, first extra item: ' ^'\nE \nE Full diff:\nE [\nE - ' ^',...\nE \nE ...Full output truncated (108 lines hidden), use '-vv' to show\n\ntests/other_test.py:617: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_namingng_config2')\n\n def test_addon_namingng_config(tmpdir):\n addon_file = os.path.join(tmpdir, 'namingng.json')\n addon_config_file = os.path.join(tmpdir, 'namingng.config.json')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n {\n \"script\": \"addons/namingng.py\",\n \"args\": [\n \"--configfile=%s\"\n ]\n }\n \"\"\"%(addon_config_file).replace('\\\\','\\\\\\\\'))\n \n with open(addon_config_file, 'wt') as f:\n f.write(\"\"\"\n {\n \"RE_FILE\": \"[^/]*[a-z][a-z0-9_]*[a-z0-9]\\\\.c\\\\Z\",\n \"RE_NAMESPACE\": false,\n \"RE_VARNAME\": [\"+bad pattern\",\"[a-z]_good_pattern\\\\Z\",\"(parentheses?\"],\n \"RE_PRIVATE_MEMBER_VARIABLE\": \"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\",\n \"RE_PUBLIC_MEMBER_VARIABLE\": {\n \"tmp_.*\\\\Z\":[true,\"illegal prefix tmp_\"],\n \"bad_.*\\\\Z\":true,\n \"public_.*\\\\Z\":[false],\n \"pub_.*\\\\Z\":[0,\"required prefix pub_ missing\"]\n },\n \"RE_GLOBAL_VARNAME\": \"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\",\n \"RE_FUNCTIONNAME\": \"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\",\n \"RE_CLASS_NAME\": \"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\",\n \"_comment1\": \"these should all be arrays, or null, or not set\",\n \n \"include_guard\": true,\n \"var_prefixes\": [\"bad\"],\n \"function_prefixes\": false,\n \"_comment2\": \"these should all be dict\",\n \n \"skip_one_char_variables\": \"false\",\n \"_comment3\": \"this should be bool\",\n \n \"RE_VAR_NAME\": \"typo\"\n }\n \"\"\".replace('\\\\','\\\\\\\\'))\n \n test_file_basename = 'test.c'\n test_file = os.path.join(tmpdir, test_file_basename)\n with open(test_file, 'a'):\n # only create the file\n pass\n \n args = ['--addon='+addon_file, '--verbose', '--enable=all', '-j1', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n \n lines = __remove_verbose_log(stdout.splitlines())\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n lines = stderr.splitlines()\n # ignore the first line, stating that the addon failed to run properly\n> lines.pop(0)\nE IndexError: pop from empty list\n\ntests/other_test.py:681: IndexErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_findcasts2')\n\n def test_addon_findcasts(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n extern void f(char c)\n {\n int i = (int)c;\n (void)i;\n }\n \"\"\")\n \n args = ['--addon=findcasts', '--enable=all', '--disable=unusedFunction', '--template=simple', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:4:21: information: found a cast [findcasts-cast]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...casts-cast]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_findcasts2/test.cpp:4:21: information: found a cast [findcasts-cast]\n\ntests/other_test.py:724: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_misc2')\n\n def test_addon_misc(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n extern void f()\n {\n char char* [] = {\"a\" \"b\"}\n }\n \"\"\")\n \n args = ['--addon=misc', '--enable=all', '--disable=unusedFunction', '--template=simple', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:4:26: style: String concatenation in array initialization, missing comma? [misc-stringConcatInArrayInit]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nArrayInit]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_misc2/test.cpp:4:26: style: String concatenation in array initialization, missing comma? [misc-stringConcatInArrayInit]\n\ntests/other_test.py:745: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_invalid_addon_json2')\n\n def test_invalid_addon_json(tmpdir):\n addon_file = os.path.join(tmpdir, 'addon1.json')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:761: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_invalid_addon_py2')\n\n def test_invalid_addon_py(tmpdir):\n addon_file = os.path.join(tmpdir, 'addon1.py')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n raise Exception()\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n typedef int MISRA_5_6_VIOLATION;\n \"\"\")\n \n args = ['--addon={}'.format(addon_file), '--enable=all', '--disable=unusedFunction', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0 # TODO: needs to be 1\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1 [internalError]\\n\\n^\\n\".format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_invalid_addon_py2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1 [internalError]\nE - \nE - ^\n\ntests/other_test.py:790: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_invalid_addon_py_verbose2')\n\n def test_invalid_addon_py_verbose(tmpdir):\n addon_file = os.path.join(tmpdir, 'addon1.py')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n raise Exception()\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n typedef int MISRA_5_6_VIOLATION;\n \"\"\")\n \n args = ['--addon={}'.format(addon_file), '--enable=all', '--disable=unusedFunction', '--verbose', '-j1', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0 # TODO: needs to be 1\n lines = __remove_verbose_log(stdout.splitlines())\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n \"\"\"\n /tmp/pytest-of-user/pytest-11/test_invalid_addon_py_20/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: python3 /home/user/CLionProjects/cppcheck/addons/runaddon.py /tmp/pytest-of-user/pytest-11/test_invalid_addon_py_20/addon1.py --cli /tmp/pytest-of-user/pytest-11/test_invalid_addon_py_20/file.cpp.24762.dump\n Output:\n Traceback (most recent call last):\n File \"/home/user/CLionProjects/cppcheck/addons/runaddon.py\", line 8, in <module>\n runpy.run_path(addon, run_name='__main__')\n File \"<frozen runpy>\", line 291, in run_path\n File \"<frozen runpy>\", line 98, in _run_module_code\n File \"<frozen runpy>\", line 88, in _run_code\n File \"/tmp/pytest-of-user/pytest-11/test_invalid_addon_py_20/addon1.py\", line 2, in <module>\n raise Exception()\n Exceptio [internalError]\n \"\"\"\n # /tmp/pytest-of-user/pytest-10/test_invalid_addon_py_20/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 256.: python3 /home/user/CLionProjects/cppcheck/addons/runaddon.py /tmp/pytest-of-user/pytest-10/test_invalid_addon_py_20/addon1.py --cli /tmp/pytest-of-user/pytest-10/test_invalid_addon_py_20/file.cpp.24637.dump\n> assert stderr.startswith(\"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \".format(test_file))\nE assert False\nE + where False = <built-in method startswith of str object at 0x7f2ec2e98030>(\"/tmp/pytest-of-root/pytest-0/test_invalid_addon_py_verbose2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \")\nE + where <built-in method startswith of str object at 0x7f2ec2e98030> = ''.startswith\nE + and \"/tmp/pytest-of-root/pytest-0/test_invalid_addon_py_verbose2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \" = <built-in method format of str object at 0x7f2ec0d259a0>('/tmp/pytest-of-root/pytest-0/test_invalid_addon_py_verbose2/file.cpp')\nE + where <built-in method format of str object at 0x7f2ec0d259a0> = \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \".format\n\ntests/other_test.py:829: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_result2')\n\n def test_addon_result(tmpdir):\n addon_file = os.path.join(tmpdir, 'addon1.py')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n print(\"Checking ...\")\n print(\"\")\n print('{\"file\": \"test.cpp\", \"linenr\": 1, \"column\": 1, \"severity\": \"style\", \"message\": \"msg\", \"addon\": \"addon1\", \"errorId\": \"id\", \"extra\": \"\"}')\n print('{\"loc\": [{\"file\": \"test.cpp\", \"linenr\": 1, \"column\": 1, \"info\": \"\"}], \"severity\": \"style\", \"message\": \"msg\", \"addon\": \"addon1\", \"errorId\": \"id\", \"extra\": \"\"}')\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n typedef int MISRA_5_6_VIOLATION;\n \"\"\")\n \n args = ['--addon={}'.format(addon_file), '--enable=all', '--disable=unusedFunction', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0 # TODO: needs to be 1\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == 'test.cpp:1:1: style: msg [addon1-id]\\n\\n^\\n'\nE AssertionError: assert '' == 'test.cpp:1:1...n1-id]\\n\\n^\\n'\nE \nE - test.cpp:1:1: style: msg [addon1-id]\nE - \nE - ^\n\ntests/other_test.py:858: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_function_include2')\n\n def test_unused_function_include(tmpdir):\n> __test_unused_function_include(tmpdir, [])\n\ntests/other_test.py:896: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_function_include2')\nextra_args = []\n\n def __test_unused_function_include(tmpdir, extra_args):\n test_cpp_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_cpp_file, 'wt') as f:\n f.write(\"\"\"\n #include \"test.h\"\n \"\"\")\n \n test_h_file = os.path.join(tmpdir, 'test.h')\n with open(test_h_file, 'wt') as f:\n f.write(\"\"\"\n class A {\n public:\n void f() {}\n // cppcheck-suppress unusedFunction\n void f2() {}\n };\n \"\"\")\n \n args = [\n '--enable=unusedFunction',\n '--inline-suppr',\n '--template=simple',\n '-j1',\n test_cpp_file\n ]\n \n args += extra_args\n \n _, _, stderr = cppcheck(args)\n> assert stderr == \"{}:4:26: style: The function 'f' is never used. [unusedFunction]\\n\".format(test_h_file)\nE AssertionError: assert '' == '/tmp/pytest-...edFunction]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_unused_function_include2/test.h:4:26: style: The function 'f' is never used. [unusedFunction]\n\ntests/other_test.py:892: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_showtime_top5_file2')\n\n def test_showtime_top5_file(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n int main(int argc)\n {\n }\n \"\"\")\n \n args = ['--showtime=top5_file', '--quiet', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0 # TODO: needs to be 1\n lines = stdout.splitlines()\n> assert len(lines) == 7\nE assert 0 == 7\nE + where 0 = len([])\n\ntests/other_test.py:914: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_missing_addon2')\n\n def test_missing_addon(tmpdir):\n args = ['--addon=misra3', '--addon=misra', '--addon=misra2', 'file.c']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 1\n lines = stdout.splitlines()\n lines.sort()\n> assert lines == [\n 'Did not find addon misra2.py',\n 'Did not find addon misra3.py'\n ]\nE AssertionError: assert ['Did not fin...on misra3.py'] == ['Did not fin...on misra3.py']\nE \nE At index 0 diff: 'Did not find addon misra3.py' != 'Did not find addon misra2.py'\nE Right contains one more item: 'Did not find addon misra3.py'\nE \nE Full diff:\nE [\nE - 'Did not find addon misra2.py',\nE 'Did not find addon misra3.py',\nE ]\n\ntests/other_test.py:933: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_file_order2')\n\n def test_file_order(tmpdir):\n test_file_a = os.path.join(tmpdir, 'a.c')\n with open(test_file_a, 'wt'):\n pass\n test_file_b = os.path.join(tmpdir, 'b.c')\n with open(test_file_b, 'wt'):\n pass\n test_file_c = os.path.join(tmpdir, 'c.c')\n with open(test_file_c, 'wt'):\n pass\n test_file_d = os.path.join(tmpdir, 'd.c')\n with open(test_file_d, 'wt'):\n pass\n \n args = [test_file_c, test_file_d, test_file_b, test_file_a, '-j1']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n 'Checking {} ...'.format(test_file_c),\n '1/4 files checked 25% done',\n 'Checking {} ...'.format(test_file_d),\n '2/4 files checked 50% done',\n 'Checking {} ...'.format(test_file_b),\n '3/4 files checked 75% done',\n 'Checking {} ...'.format(test_file_a),\n '4/4 files checked 100% done'\n ]\nE AssertionError: assert ['Checking /t...0% done', ...] == ['Checking /t...5% done', ...]\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/test_file_order2/a.c ...' != 'Checking /tmp/pytest-of-root/pytest-0/test_file_order2/c.c ...'\nE \nE Full diff:\nE [\nE + 'Checking /tmp/pytest-of-root/pytest-0/test_file_order2/a.c ...',\nE + '1/4 files checked 0% done',...\nE \nE ...Full output truncated (16 lines hidden), use '-vv' to show\n\ntests/other_test.py:1017: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_markup2')\n\n def test_markup(tmpdir):\n test_file_1 = os.path.join(tmpdir, 'test_1.qml')\n with open(test_file_1, 'wt'):\n pass\n test_file_2 = os.path.join(tmpdir, 'test_2.cpp')\n with open(test_file_2, 'wt'):\n pass\n test_file_3 = os.path.join(tmpdir, 'test_3.qml')\n with open(test_file_3, 'wt'):\n pass\n test_file_4 = os.path.join(tmpdir, 'test_4.cpp')\n with open(test_file_4, 'wt'):\n pass\n \n args = ['--library=qt', test_file_1, test_file_2, test_file_3, test_file_4, '-j1']\n out_lines = [\n 'Checking {} ...'.format(test_file_2),\n '1/4 files checked 25% done',\n 'Checking {} ...'.format(test_file_4),\n '2/4 files checked 50% done',\n 'Checking {} ...'.format(test_file_1),\n '3/4 files checked 75% done',\n 'Checking {} ...'.format(test_file_3),\n '4/4 files checked 100% done'\n ]\n \n> assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\n\ntests/other_test.py:1056: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nargs = ['--library=qt', '/tmp/pytest-of-root/pytest-0/test_markup2/test_1.qml', '/tmp/pytest-of-root/pytest-0/test_markup2/te... '/tmp/pytest-of-root/pytest-0/test_markup2/test_3.qml', '/tmp/pytest-of-root/pytest-0/test_markup2/test_4.cpp', '-j1']\nec_exp = 0\nout_exp = ['Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_2.cpp ...', '1/4 files checked 25% done', 'Checking /tmp/pyt...cked 50% done', 'Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_1.qml ...', '3/4 files checked 75% done', ...]\nerr_exp = [], env = None, cwd = None\n\n def assert_cppcheck(args, ec_exp=None, out_exp=None, err_exp=None, env=None, cwd=None):\n exitcode, stdout, stderr = cppcheck(args, env=env, cwd=cwd)\n if ec_exp is not None:\n assert exitcode == ec_exp, stdout\n if out_exp is not None:\n out_lines = stdout.splitlines()\n> assert out_lines == out_exp, out_lines\nE AssertionError: ['Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_1.qml ...', '1/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_2.cpp ...', '2/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_3.qml ...', '3/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_4.cpp ...', '4/4 files checked 0% done']\n\ntests/testutils.py:170: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_markup_j2')\n\n def test_markup_j(tmpdir):\n test_file_1 = os.path.join(tmpdir, 'test_1.qml')\n with open(test_file_1, 'wt'):\n pass\n test_file_2 = os.path.join(tmpdir, 'test_2.cpp')\n with open(test_file_2, 'wt'):\n pass\n test_file_3 = os.path.join(tmpdir, 'test_3.qml')\n with open(test_file_3, 'wt'):\n pass\n test_file_4 = os.path.join(tmpdir, 'test_4.cpp')\n with open(test_file_4, 'wt'):\n pass\n \n args = ['--library=qt', '-j2', test_file_1, test_file_2, test_file_3, test_file_4]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n \n> assert sorted(lines) == [\n '1/4 files checked 25% done',\n '2/4 files checked 50% done',\n '3/4 files checked 75% done',\n '4/4 files checked 100% done',\n 'Checking {} ...'.format(test_file_1),\n 'Checking {} ...'.format(test_file_2),\n 'Checking {} ...'.format(test_file_3),\n 'Checking {} ...'.format(test_file_4)\n ]\nE AssertionError: assert ['1/4 files c...cpp ...', ...] == ['1/4 files c...cpp ...', ...]\nE \nE At index 0 diff: '1/4 files checked 0% done' != '1/4 files checked 25% done'\nE \nE Full diff:\nE [\nE - '1/4 files checked 25% done',\nE ? ^^...\nE \nE ...Full output truncated (17 lines hidden), use '-vv' to show\n\ntests/other_test.py:1079: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_valueflow_debug2')\n\n def test_valueflow_debug(tmpdir):\n test_file_cpp = os.path.join(tmpdir, 'test_1.cpp')\n with open(test_file_cpp, 'wt') as f:\n f.write(\"\"\"\n #include \"test.h\"\n \n void f()\n {\n int i = 0;\n }\n \"\"\"\n )\n test_file_h = os.path.join(tmpdir, 'test.h')\n with open(test_file_h, 'wt') as f:\n f.write(\"\"\"\n #include \"test2.h\"\n inline void f1()\n {\n int i = 0;\n }\n \"\"\"\n )\n test_file_h_2 = os.path.join(tmpdir, 'test2.h')\n with open(test_file_h_2, 'wt') as f:\n f.write(\"\"\"\n inline void f2()\n {\n int i = 0;\n }\n \"\"\"\n )\n \n args = ['--debug', test_file_cpp]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n if sys.platform == \"win32\":\n stdout = stdout.replace('/', '\\\\')\n assert f'Checking {test_file_cpp} ...' in stdout\n stdout = stdout.replace(f'Checking {test_file_cpp} ...\\n', '').strip()\n> assert stdout == '''##file {}\n 2: void f2 ( )\n 3: {{\n 4: int i@var1 ; i@var1 = 0 ;\n 5: }}\n \n ##file {}\n \n 1:\n 2:\n 3: void f1 ( )\n 4: {{\n 5: int i@var2 ; i@var2 = 0 ;\n 6: }}\n \n ##file {}\n \n 1:\n 2:\n 3:\n 4: void f ( )\n 5: {{\n 6: int i@var3 ; i@var3 = 0 ;\n 7: }}\n \n \n \n ##Value flow\n File {}\n Line 4\n = always 0\n 0 always 0\n File {}\n Line 5\n = always 0\n 0 always 0\n File {}\n Line 6\n = always 0\n 0 always 0'''.format(test_file_h_2, test_file_h, test_file_cpp,\n test_file_h_2, test_file_h, test_file_cpp)\nE AssertionError: assert '##file /tmp/...i = 0 ;\\n7: }' == '##file /tmp/...n 0 always 0'\nE \nE - ##file /tmp/pytest-of-root/pytest-0/test_valueflow_debug2/test2.h\nE ? ^ ^\nE + ##file /tmp/pytest-of-root/pytest-0/test_valueflow_debug2/test_1.cpp\nE ? ^^ ^^^\nE 2: void f2 ( )\nE 3: {...\nE \nE ...Full output truncated (45 lines hidden), use '-vv' to show\n\ntests/other_test.py:1132: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_file_duplicate_22')\n\n def test_file_duplicate_2(tmpdir):\n test_file_a = os.path.join(tmpdir, 'a.c')\n with open(test_file_a, 'wt'):\n pass\n test_file_b = os.path.join(tmpdir, 'b.c')\n with open(test_file_b, 'wt'):\n pass\n test_file_c = os.path.join(tmpdir, 'c.c')\n with open(test_file_c, 'wt'):\n pass\n \n args = [test_file_c, test_file_a, test_file_b, str(tmpdir), test_file_b, test_file_c, test_file_a, str(tmpdir), '-j1']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n 'Checking {} ...'.format(test_file_c),\n '1/3 files checked 33% done',\n 'Checking {} ...'.format(test_file_a),\n '2/3 files checked 66% done',\n 'Checking {} ...'.format(test_file_b),\n '3/3 files checked 100% done'\n ]\nE AssertionError: assert ['Checking /t...cked 0% done'] == ['Checking /t...ed 100% done']\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_22/a.c ...' != 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_22/c.c ...'\nE \nE Full diff:\nE [\nE + 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_22/a.c ...',\nE + '1/3 files checked 0% done',...\nE \nE ...Full output truncated (11 lines hidden), use '-vv' to show\n\ntests/other_test.py:1208: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_file_duplicate_32')\n\n def test_file_duplicate_3(tmpdir): # #12834\n test_file_a = os.path.join(tmpdir, 'a.c')\n with open(test_file_a, 'wt'):\n pass\n \n # multiple ways to specify the same file\n in_file_a = 'a.c'\n in_file_b = os.path.join('.', 'a.c')\n in_file_c = os.path.join('dummy', '..', 'a.c')\n in_file_d = os.path.join(tmpdir, 'a.c')\n in_file_e = os.path.join(tmpdir, '.', 'a.c')\n in_file_f = os.path.join(tmpdir, 'dummy', '..', 'a.c')\n \n args = [in_file_a, in_file_b, in_file_c, in_file_d, in_file_e, in_file_f, str(tmpdir)]\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n 'Checking {} ...'.format('a.c')\n ]\nE AssertionError: assert ['Checking /t...cked 0% done'] == ['Checking a.c ...']\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_32/a.c ...' != 'Checking a.c ...'\nE Left contains 3 more items, first extra item: '1/2 files checked 0% done'\nE \nE Full diff:\nE [\nE + 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_32/a.c ...',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:1237: AssertionError/workspace/eval/tests/other_test.py:1243: requires Windowstmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_no_obj2')\n\n def test_addon_json_invalid_no_obj(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps([]), \"JSON is not an object.\")\n\ntests/other_test.py:1324: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_no_obj2')\naddon_json = '[]', expected = 'JSON is not an object.'\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_args_12')\n\n def test_addon_json_invalid_args_1(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'args':0}), \"'args' must be an array.\")\n\ntests/other_test.py:1328: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_args_12')\naddon_json = '{\"args\": 0}', expected = \"'args' must be an array.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_args_22')\n\n def test_addon_json_invalid_args_2(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'args':[0]}), \"'args' entry is not a string.\")\n\ntests/other_test.py:1332: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_args_22')\naddon_json = '{\"args\": [0]}', expected = \"'args' entry is not a string.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_ctu2')\n\n def test_addon_json_invalid_ctu(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'ctu':0}), \"'ctu' must be a boolean.\")\n\ntests/other_test.py:1336: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_ctu2')\naddon_json = '{\"ctu\": 0}', expected = \"'ctu' must be a boolean.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_python2')\n\n def test_addon_json_invalid_python(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'python':0}), \"'python' must be a string.\")\n\ntests/other_test.py:1340: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_python2')\naddon_json = '{\"python\": 0}', expected = \"'python' must be a string.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_execut2')\n\n def test_addon_json_invalid_executable(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'executable':0}), \"'executable' must be a string.\")\n\ntests/other_test.py:1344: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_execut2')\naddon_json = '{\"executable\": 0}', expected = \"'executable' must be a string.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_script2')\n\n def test_addon_json_invalid_script_1(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'Script':''}), \"'script' is missing.\")\n\ntests/other_test.py:1348: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_script2')\naddon_json = '{\"Script\": \"\"}', expected = \"'script' is missing.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_script5')\n\n def test_addon_json_invalid_script_2(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'script':0}), \"'script' must be a string.\")\n\ntests/other_test.py:1352: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_script5')\naddon_json = '{\"script\": 0}', expected = \"'script' must be a string.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule_file_define_multiple2')\n\n def test_rule_file_define_multiple(tmpdir):\n rule_file = os.path.join(tmpdir, 'rule_file.xml')\n with open(rule_file, 'wt') as f:\n f.write(\"\"\"\n <rules>\n <rule>\n <tokenlist>define</tokenlist>\n <pattern>DEF_1</pattern>\n <message>\n <severity>error</severity>\n <id>ruleId1</id>\n </message>\n </rule>\n <rule>\n <tokenlist>define</tokenlist>\n <pattern>DEF_2</pattern>\n <message>\n <severity>error</severity>\n <id>ruleId2</id>\n <summary>define2</summary>\n </message>\n </rule>\n </rules>\"\"\")\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n void f() { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['--template=simple', '--rule-file={}'.format(rule_file), '-DDEF_3', test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule-file cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1401: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule_file_define2')\n\n def test_rule_file_define(tmpdir):\n rule_file = os.path.join(tmpdir, 'rule_file.xml')\n with open(rule_file, 'wt') as f:\n f.write(\"\"\"\n <rule>\n <tokenlist>define</tokenlist>\n <pattern>DEF_.</pattern>\n </rule>\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n void f() { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['--template=simple', '--rule-file={}'.format(rule_file), '-DDEF_3', test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule-file cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1435: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule_file_normal2')\n\n def test_rule_file_normal(tmpdir):\n rule_file = os.path.join(tmpdir, 'rule_file.xml')\n with open(rule_file, 'wt') as f:\n f.write(\"\"\"\n <rule>\n <pattern>int</pattern>\n </rule>\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n typedef int i32;\n void f(i32) { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['--template=simple', '--rule-file={}'.format(rule_file), test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule-file cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1468: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule_file_raw2')\n\n def test_rule_file_raw(tmpdir):\n rule_file = os.path.join(tmpdir, 'rule_file.xml')\n with open(rule_file, 'wt') as f:\n f.write(\"\"\"\n <rule>\n <tokenlist>raw</tokenlist>\n <pattern>i32</pattern>\n </rule>\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n typedef int i32;\n void f(i32) { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['--template=simple', '--rule-file={}'.format(rule_file), test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule-file cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1500: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule2')\n\n def test_rule(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n void f() { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['--template=simple', '--rule=f', test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1523: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule_multiple_files2')\n\n def test_rule_multiple_files(tmpdir):\n stderr_exp = []\n for i in range(10):\n test_file = os.path.join(tmpdir, f'test_{i}.c')\n stderr_exp.append(\"{}:4:0: style: found 'f' [rule]\".format(test_file))\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n void f() { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['-q', '--template=simple', '--rule=f', str(tmpdir)])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1548: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_filelist2')\n\n def test_filelist(tmpdir):\n list_dir = os.path.join(tmpdir, 'list-dir')\n os.mkdir(list_dir)\n \n with open(os.path.join(list_dir, 'aaa.c'), 'wt'):\n pass\n with open(os.path.join(list_dir, 'zzz.c'), 'wt'):\n pass\n with open(os.path.join(list_dir, 'valueflow.cpp'), 'wt'):\n pass\n with open(os.path.join(list_dir, 'vfvalue.cpp'), 'wt'):\n pass\n with open(os.path.join(list_dir, 'vf_enumvalue.cpp'), 'wt'):\n pass\n with open(os.path.join(list_dir, 'vf_analyze.h'), 'wt'):\n pass\n \n sub_dir_1 = os.path.join(list_dir, 'valueflow')\n os.mkdir(sub_dir_1)\n with open(os.path.join(sub_dir_1, 'file.cpp'), 'wt'):\n pass\n with open(os.path.join(sub_dir_1, 'file.c'), 'wt'):\n pass\n with open(os.path.join(sub_dir_1, 'file.h'), 'wt'):\n pass\n \n sub_dir_2 = os.path.join(list_dir, 'vfvalue')\n os.mkdir(sub_dir_2)\n with open(os.path.join(sub_dir_2, 'file.cpp'), 'wt'):\n pass\n with open(os.path.join(sub_dir_2, 'file.c'), 'wt'):\n pass\n with open(os.path.join(sub_dir_2, 'file.h'), 'wt'):\n pass\n \n sub_dir_3 = os.path.join(list_dir, 'vf_enumvalue')\n os.mkdir(sub_dir_3)\n with open(os.path.join(sub_dir_3, 'file.cpp'), 'wt'):\n pass\n with open(os.path.join(sub_dir_3, 'file.c'), 'wt'):\n pass\n with open(os.path.join(sub_dir_3, 'file.h'), 'wt'):\n pass\n \n # TODO: -rp is not applied to \"Checking\" messages\n #exitcode, stdout, stderr = cppcheck(['-j1', '-rp', list_dir])\n exitcode, stdout, stderr = cppcheck(['-j1', '.'], cwd=list_dir)\n assert exitcode == 0, stdout if stdout else stderr\n if sys.platform == \"win32\":\n stdout = stdout.replace('\\\\', '/')\n lines = stdout.splitlines()\n expected = [\n 'Checking aaa.c ...',\n 'Checking valueflow.cpp ...',\n 'Checking valueflow/file.c ...',\n 'Checking valueflow/file.cpp ...',\n 'Checking vf_enumvalue.cpp ...',\n 'Checking vf_enumvalue/file.c ...',\n 'Checking vf_enumvalue/file.cpp ...',\n 'Checking vfvalue.cpp ...',\n 'Checking vfvalue/file.c ...',\n 'Checking vfvalue/file.cpp ...',\n 'Checking zzz.c ...'\n ]\n assert len(expected), len(lines)\n for i in range(1, len(expected)+1):\n> lines.remove('{}/{} files checked {}% done'.format(i, len(expected), int(100 * i // len(expected))))\nE ValueError: list.remove(x): x not in list\n\ntests/other_test.py:1622: ValueErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_cpp_probe2')\n\n def test_cpp_probe(tmpdir):\n test_file = os.path.join(tmpdir, 'test.h')\n with open(test_file, 'wt') as f:\n f.writelines([\n 'class A {};'\n ])\n \n args = ['-q', '--template=simple', '--cpp-header-probe', '--verbose', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == []\nE AssertionError: assert ['Defines:', ...tform:native'] == []\nE \nE Left contains 4 more items, first extra item: 'Defines:'\nE \nE Full diff:\nE - []\nE + [\nE + 'Defines:',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:1660: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_config_invalid5')\n\n def test_config_invalid(tmpdir):\n # cppcheck.cfg needs to be next to executable\n exe = shutil.copy2(__lookup_cppcheck_exe(), tmpdir)\n if sys.platform == 'win32':\n shutil.copy2(os.path.join(os.path.dirname(__lookup_cppcheck_exe()), 'cppcheck-core.dll'), tmpdir)\n shutil.copytree(os.path.join(os.path.dirname(__lookup_cppcheck_exe()), 'cfg'), os.path.join(tmpdir, 'cfg'))\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n config_file = os.path.join(tmpdir, 'cppcheck.cfg')\n with open(config_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex([test_file], cwd=tmpdir, cppcheck_exe=exe)\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_config_invalid5/test.c ...\nE \nE assert 0 == 1\n\ntests/other_test.py:1697: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkers_report_misra_jso2')\n\n def test_checkers_report_misra_json(tmpdir):\n \"\"\"check that misra checkers are reported properly when --addon=misra.json is used\"\"\"\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('x=1;')\n misra_json = os.path.join(tmpdir, 'misra.json')\n with open(misra_json, 'wt') as f:\n f.write('{\"script\":\"misra.py\"}')\n exitcode, stdout, stderr = cppcheck('--enable=style --addon=misra.json --xml-version=3 test.c'.split(), cwd=tmpdir)\n assert exitcode == 0, stdout if stdout else stderr\n> assert '<checker id=\"Misra C 2012: 8.1\"/>' in stderr\nE assert '<checker id=\"Misra C 2012: 8.1\"/>' in '<?xml version=\"1.0\" encoding=\"UTF-8\"?>\\n<results version=\"3\">\\n <cppcheck version=\"2.19 dev\"/>\\n <errors>\\n </errors>\\n\\n <critical-errors/>\\n <checkers-report>\\n <checker id=\"Check64BitPortability::pointerassignment\"/>\\n <checker id=\"CheckAssert::assertWithSideEffects\"/>\\n <checker id=\"CheckAutoVariables::assignFunctionArg\"/>\\n <checker id=\"CheckAutoVariables::autoVariables\"/>\\n <checker id=\"CheckAutoVariables::checkVarLifetime\"/>\\n <checker id=\"CheckBool::checkAssignBoolToPointer\"/>\\n <checker id=\"CheckBool::checkBitwiseOnBoolean\"/>\\n <checker id=\"CheckBool::checkComparisonOfBoolExpressionWithInt\"/>\\n <checker id=\"CheckBool::checkIncrementBoolean\"/>\\n <checker id=\"CheckBool::pointerArithBool\"/>\\n <checker id=\"CheckBool::returnValueOfFunctionReturningBool\"/>\\n <checker id=\"CheckBufferOverrun::analyseWholeProgram\"/>\\n <checker id=\"CheckBufferOverrun::argumentSize\"/>\\n <checker id=\"CheckBufferOverrun::arrayIndex\"/>\\n <checker id=\"CheckBufferOverrun::arrayIndexThenCheck\"/>\\n <checker id=\"CheckBufferOverrun::bufferOverflow\"/>\\n <checker id=\"CheckBuff...hecker id=\"CheckSizeof::sizeofsizeof\"/>\\n <checker id=\"CheckString::checkAlwaysTrueOrFalseStringCompare\"/>\\n <checker id=\"CheckString::checkIncorrectStringCompare\"/>\\n <checker id=\"CheckString::checkSuspiciousStringCompare\"/>\\n <checker id=\"CheckString::overlappingStrcmp\"/>\\n <checker id=\"CheckString::sprintfOverlappingData\"/>\\n <checker id=\"CheckString::strPlusChar\"/>\\n <checker id=\"CheckString::stringLiteralWrite\"/>\\n <checker id=\"CheckType::checkFloatToIntegerOverflow\"/>\\n <checker id=\"CheckType::checkIntegerOverflow\"/>\\n <checker id=\"CheckType::checkLongCast\"/>\\n <checker id=\"CheckType::checkSignConversion\"/>\\n <checker id=\"CheckType::checkTooBigBitwiseShift\"/>\\n <checker id=\"CheckUninitVar::analyseWholeProgram\"/>\\n <checker id=\"CheckUninitVar::check\"/>\\n <checker id=\"CheckUninitVar::valueFlowUninit\"/>\\n <checker id=\"CheckUnusedVar::checkFunctionVariableUsage\"/>\\n <checker id=\"CheckUnusedVar::checkStructMemberUsage\"/>\\n <checker id=\"CheckVaarg::va_list_usage\"/>\\n <checker id=\"CheckVaarg::va_start_argument\"/>\\n </checkers-report>\\n</results>\\n'\n\ntests/other_test.py:1747: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_file_relative_back2')\n\n def test_ignore_file_relative_backslash(tmpdir):\n> __test_ignore_file(tmpdir, 'src\\\\test.cpp')\n\ntests/other_test.py:1806: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_file_relative_back2')\nign = 'src\\\\test.cpp', append = False, inject_path = False\n\n def __test_ignore_file(tmpdir, ign, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths are ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n args = [\n '--debug-ignore',\n test_file\n ]\n \n if inject_path:\n ign = ign.replace('$path', str(test_file))\n \n if append:\n args += ['-i{}'.format(ign)]\n else:\n args = ['-i{}'.format(ign)] + args\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_ignore_file_relative_back2/src/test.cpp ...\nE \nE assert 0 == 1\n\ntests/other_test.py:1777: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_file_relative_wild3')\n\n def test_ignore_file_relative_wildcard_backslash(tmpdir):\n> __test_ignore_file(tmpdir, 'src\\\\test.c*')\n\ntests/other_test.py:1814: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_file_relative_wild3')\nign = 'src\\\\test.c*', append = False, inject_path = False\n\n def __test_ignore_file(tmpdir, ign, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths are ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n args = [\n '--debug-ignore',\n test_file\n ]\n \n if inject_path:\n ign = ign.replace('$path', str(test_file))\n \n if append:\n args += ['-i{}'.format(ign)]\n else:\n args = ['-i{}'.format(ign)] + args\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_ignore_file_relative_wild3/src/test.cpp ...\nE \nE assert 0 == 1\n\ntests/other_test.py:1777: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_path_relative_back2')\n\n def test_ignore_path_relative_backslash(tmpdir):\n> __test_ignore_file(tmpdir, 'src\\\\')\n\ntests/other_test.py:1822: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_path_relative_back2')\nign = 'src\\\\', append = False, inject_path = False\n\n def __test_ignore_file(tmpdir, ign, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths are ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n args = [\n '--debug-ignore',\n test_file\n ]\n \n if inject_path:\n ign = ign.replace('$path', str(test_file))\n \n if append:\n args += ['-i{}'.format(ign)]\n else:\n args = ['-i{}'.format(ign)] + args\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_ignore_path_relative_back2/src/test.cpp ...\nE \nE assert 0 == 1\n\ntests/other_test.py:1777: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_path_relative_wild3')\n\n def test_ignore_path_relative_wildcard_backslash(tmpdir):\n> __test_ignore_file(tmpdir, 'src*\\\\')\n\ntests/other_test.py:1830: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_path_relative_wild3')\nign = 'src*\\\\', append = False, inject_path = False\n\n def __test_ignore_file(tmpdir, ign, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths are ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n args = [\n '--debug-ignore',\n test_file\n ]\n \n if inject_path:\n ign = ign.replace('$path', str(test_file))\n \n if append:\n args += ['-i{}'.format(ign)]\n else:\n args = ['-i{}'.format(ign)] + args\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_ignore_path_relative_wild3/src/test.cpp ...\nE \nE assert 0 == 1\n\ntests/other_test.py:1777: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file2')\n\n def test_ignore_project_file(tmpdir):\n> __test_ignore_project(tmpdir, 'test.cpp')\n\ntests/other_test.py:1887: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file2')\nign_proj = 'test.cpp', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_p2')\n\n def test_ignore_project_file_cli_prepend(tmpdir):\n> __test_ignore_project(tmpdir, ign_proj='test2.cpp', ign_cli='test.cpp')\n\ntests/other_test.py:1891: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_p2')\nign_proj = 'test2.cpp', ign_cli = 'test.cpp', append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_p2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_p2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_a2')\n\n def test_ignore_project_file_cli_append(tmpdir):\n> __test_ignore_project(tmpdir, ign_proj='test2.cpp', ign_cli='test.cpp', append_cli=True)\n\ntests/other_test.py:1895: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_a2')\nign_proj = 'test2.cpp', ign_cli = 'test.cpp', append_cli = True\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_a2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_a2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc2')\n\n def test_ignore_project_file_wildcard_back(tmpdir):\n> __test_ignore_project(tmpdir, 'test.c*')\n\ntests/other_test.py:1899: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc2')\nign_proj = 'test.c*', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc5')\n\n def test_ignore_project_file_wildcard_front(tmpdir):\n> __test_ignore_project(tmpdir, '*test.cpp')\n\ntests/other_test.py:1903: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc5')\nign_proj = '*test.cpp', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_place2')\n\n def test_ignore_project_file_placeholder(tmpdir):\n> __test_ignore_project(tmpdir, 't?st.cpp')\n\ntests/other_test.py:1907: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_place2')\nign_proj = 't?st.cpp', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_place2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_place2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat2')\n\n def test_ignore_project_file_relative(tmpdir):\n> __test_ignore_project(tmpdir, 'src/test.cpp')\n\ntests/other_test.py:1911: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat2')\nign_proj = 'src/test.cpp', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat5')\n\n def test_ignore_project_file_relative_backslash(tmpdir):\n> __test_ignore_project(tmpdir, 'src\\\\test.cpp')\n\ntests/other_test.py:1915: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat5')\nign_proj = 'src\\\\test.cpp', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat2')\n\n def test_ignore_project_path_relative(tmpdir):\n> __test_ignore_project(tmpdir, 'src/')\n\ntests/other_test.py:1919: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat2')\nign_proj = 'src/', ign_cli = None, append_cli = False, inject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat5')\n\n def test_ignore_project_path_relative_backslash(tmpdir):\n> __test_ignore_project(tmpdir, 'src\\\\')\n\ntests/other_test.py:1923: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat5')\nign_proj = 'src\\\\', ign_cli = None, append_cli = False, inject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_abspath2')\n\n def test_ignore_project_abspath(tmpdir):\n> __test_ignore_project(tmpdir, '$path', inject_path_proj=True)\n\ntests/other_test.py:1927: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_abspath2')\nign_proj = '/tmp/pytest-of-root/pytest-0/test_ignore_project_abspath2/src/test.cpp'\nign_cli = None, append_cli = False, inject_path_proj = True\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_abspath2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_abspath2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file2')\n\n def test_ignore_project_2_file(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-itest.cpp'])\n\ntests/other_test.py:1975: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file2')\nextra_args = ['-itest.cpp'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_app2')\n\n def test_ignore_project_2_file_append(tmpdir):\n # make sure it also matches when specified after project\n> __test_ignore_project_2(tmpdir, ['-itest.cpp'], append=True)\n\ntests/other_test.py:1980: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_app2')\nextra_args = ['-itest.cpp'], append = True, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_app2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_app2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil2')\n\n def test_ignore_project_2_file_wildcard_back(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-itest.c*'])\n\ntests/other_test.py:1984: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil2')\nextra_args = ['-itest.c*'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil5')\n\n def test_ignore_project_2_file_wildcard_front(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-i*test.cpp'])\n\ntests/other_test.py:1988: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil5')\nextra_args = ['-i*test.cpp'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_pla2')\n\n def test_ignore_project_2_file_placeholder(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-it?st.cpp'])\n\ntests/other_test.py:1992: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_pla2')\nextra_args = ['-it?st.cpp'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_pla2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_pla2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel2')\n\n def test_ignore_project_2_file_relative(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc/test.cpp'])\n\ntests/other_test.py:1996: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel2')\nextra_args = ['-isrc/test.cpp'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel5')\n\n def test_ignore_project_2_file_relative_backslash(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc\\\\test.cpp'])\n\ntests/other_test.py:2000: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel5')\nextra_args = ['-isrc\\\\test.cpp'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel8')\n\n def test_ignore_project_2_file_relative_wildcard(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc/test.c*'])\n\ntests/other_test.py:2004: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel8')\nextra_args = ['-isrc/test.c*'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel8/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel8/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel11')\n\n def test_ignore_project_2_file_relative_wildcard_backslash(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc\\\\test.c*'])\n\ntests/other_test.py:2008: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel11')\nextra_args = ['-isrc\\\\test.c*'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel11/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel11/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel2')\n\n def test_ignore_project_2_path_relative(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc/'])\n\ntests/other_test.py:2012: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel2')\nextra_args = ['-isrc/'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel5')\n\n def test_ignore_project_2_path_relative_backslash(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc\\\\'])\n\ntests/other_test.py:2016: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel5')\nextra_args = ['-isrc\\\\'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel8')\n\n def test_ignore_project_2_path_relative_wildcard(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc*/'])\n\ntests/other_test.py:2020: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel8')\nextra_args = ['-isrc*/'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel8/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel8/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel11')\n\n def test_ignore_project_2_path_relative_wildcard_backslash(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc*\\\\'])\n\ntests/other_test.py:2024: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel11')\nextra_args = ['-isrc*\\\\'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel11/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel11/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2')\n\n def test_ignore_project_2_abspath(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-i$path'], inject_path=True)\n\ntests/other_test.py:2028: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2')\nextra_args = ['-i/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2/src/test.cpp']\nappend = False, inject_path = True\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_builddir_hash_check_level2')\n\n def test_builddir_hash_check_level(tmp_path): # #13376\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f(bool b)\n {\n for (int i = 0; i < 2; ++i)\n {\n if (i == 0) {}\n if (b) continue;\n }\n }\n \"\"\")\n \n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n \n args = [ # // #14029\n '--enable=warning', # to execute the code which generates the normalCheckLevelMaxBranches message\n '--cppcheck-build-dir={}'.format(build_dir),\n '--template=simple',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stderr == ''\n \n args = [\n '--enable=warning', # to execute the code which generates the normalCheckLevelMaxBranches message\n '--enable=information', # to show the normalCheckLevelMaxBranches message\n '--cppcheck-build-dir={}'.format(build_dir),\n '--template=simple',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n> assert stderr == '{}:0:0: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...axBranches]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_builddir_hash_check_level2/test.c:0:0: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches]\n\ntests/other_test.py:2084: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_def_undef2')\n\n def test_def_undef(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f()\n {\n #ifndef DEF_1\n (void)(*((int*)0));\n #endif\n }\n \"\"\")\n \n args = [\n '--template=simple',\n '-DDEF_1',\n '-UDEF_1',\n str(test_file)\n ]\n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0\n assert stdout.splitlines() == [\n 'Checking {} ...'.format(test_file),\n 'Checking {}: DEF_1=1...'.format(test_file) # TODO: should not print DEF_1 - see #13335\n ]\n> assert stderr.splitlines() == [\n '{}:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...nullPointer]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_def_undef2/test.c:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_def_undef2/test.c:5:14: error: Null '\nE - 'pointer dereference: (int*)0 [nullPointer]',\nE - ]\n\ntests/other_test.py:2127: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_undef2')\n\n def test_undef(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f()\n {\n #ifndef DEF_1\n (void)(*((int*)0));\n #endif\n }\n \"\"\")\n \n args = [\n '--template=simple',\n '-UDEF_1',\n str(test_file)\n ]\n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0\n assert stdout.splitlines() == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr.splitlines() == [\n '{}:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...nullPointer]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_undef2/test.c:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_undef2/test.c:5:14: error: Null pointer '\nE - 'dereference: (int*)0 [nullPointer]',\nE - ]\n\ntests/other_test.py:2218: AssertionError[XPASS(strict)] [XPASS(strict)] tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_duplicate_suppression2')\n\n def test_duplicate_suppression(tmp_path):\n test_file = tmp_path / 'file.cpp'\n with open(test_file, 'wt'):\n pass\n \n args = [\n '-q',\n '--suppress=uninitvar',\n '--suppress=uninitvar',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1\n\ntests/other_test.py:2355: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_duplicate_suppressions_li2')\n\n def test_duplicate_suppressions_list(tmp_path):\n suppr_file = tmp_path / 'suppressions'\n with open(suppr_file, 'wt') as f:\n f.write('''\n uninitvar\n uninitvar\n ''')\n \n test_file = tmp_path / 'file.cpp'\n with open(test_file, 'wt'):\n pass\n \n args = [\n '-q',\n '--suppressions-list={}'.format(suppr_file),\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1\n\ntests/other_test.py:2381: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_duplicate_suppressions_mi2')\n\n def test_duplicate_suppressions_mixed(tmp_path):\n suppr_file = tmp_path / 'suppressions'\n with open(suppr_file, 'wt') as f:\n f.write('uninitvar')\n \n test_file = tmp_path / 'file.cpp'\n with open(test_file, 'wt'):\n pass\n \n args = [\n '-q',\n '--suppress=uninitvar',\n '--suppressions-list={}'.format(suppr_file),\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1\n\ntests/other_test.py:2405: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_xml_output2')\n\n def test_xml_output(tmp_path): # #13391 / #13485\n test_file = tmp_path / 'test.cpp'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f(const void* p)\n {\n if(p) {}\n (void)*p; // REMARK: boom\n }\n \"\"\")\n \n _, version_str, _ = cppcheck(['--version'])\n version_str = version_str.replace('Cppcheck ', '').strip()\n \n args = [\n '-q',\n '--enable=style',\n '--xml',\n str(test_file)\n ]\n exitcode_1, stdout_1, stderr_1 = cppcheck(args)\n assert exitcode_1 == 0, stdout_1\n assert stdout_1 == ''\n test_file_exp = str(test_file).replace('\\\\', '/')\n> assert (stderr_1 ==\n '''<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n <results version=\"2\">\n <cppcheck version=\"{}\"/>\n <errors>\n <error id=\"nullPointerRedundantCheck\" severity=\"warning\" msg=\"Either the condition &apos;p&apos; is redundant or there is possible null pointer dereference: p.\" verbose=\"Either the condition &apos;p&apos; is redundant or there is possible null pointer dereference: p.\" cwe=\"476\" file0=\"{}\" remark=\"boom\">\n <location file=\"{}\" line=\"5\" column=\"12\" info=\"Null pointer dereference\"/>\n <location file=\"{}\" line=\"4\" column=\"8\" info=\"Assuming that condition &apos;p&apos; is not redundant\"/>\n <symbol>p</symbol>\n </error>\n </errors>\n </results>\n '''.format(version_str, test_file_exp, test_file_exp, test_file_exp))\nE assert '<?xml versio...n</results>\\n' == '<?xml versio...n</results>\\n'\nE \nE <?xml version=\"1.0\" encoding=\"UTF-8\"?>\nE <results version=\"2\">\nE <cppcheck version=\"2.19 dev\"/>\nE <errors>\nE - <error id=\"nullPointerRedundantCheck\" severity=\"warning\" msg=\"Either the condition &apos;p&apos; is redundant or there is possible null pointer dereference: p.\" verbose=\"Either the condition &apos;p&apos; is redundant or there is possible null pointer dereference: p.\" cwe=\"476\" file0=\"/tmp/pytest-of-root/pytest-0/test_xml_output2/test.cpp\" remark=\"boom\">\nE - <location file=\"/tmp/pytest-of-root/pytest-0/test_xml_output2/test.cpp\" line=\"5\" column=\"12\" info=\"Null pointer dereference\"/>...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n\ntests/other_test.py:2436: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_internal_error_loc_int2')\n\n def test_internal_error_loc_int(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\n \"\"\"\n void f() {\n int i = 0x10000000000000000;\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n str(test_file)\n ]\n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n '{}:3:13: error: Internal Error. MathLib::toBigUNumber: out_of_range: 0x10000000000000000 [internalError]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...ternalError]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_internal_error_loc_int2/test.c:3:13: error: Internal Error. MathLib::toBigUNumber: out_of_range: 0x10000000000000000 [internalError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_internal_error_loc_int2/test.c:3:13: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2504: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline2')\n\n def test_addon_suppr_inline(tmp_path):\n> __test_addon_suppr(tmp_path, ['--inline-suppr', '-j1'])\n\ntests/other_test.py:2538: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline2')\nextra_args = ['--inline-suppr', '-j1']\n\n def __test_addon_suppr(tmp_path, extra_args):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n // cppcheck-suppress misra-c2012-2.3\n typedef int MISRA_5_6_VIOLATION;\n typedef int MISRA_5_6_VIOLATION_1;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--enable=style',\n '--addon=misra',\n str(test_file)\n ]\n \n args += extra_args\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout == ''\n> assert stderr.splitlines() == [\n '{}:4:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]'.format(test_file),\n ]\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline2/test.c:4:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline2/test.c:4:1: style: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2531: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline_j2')\n\n def test_addon_suppr_inline_j(tmp_path):\n> __test_addon_suppr(tmp_path, ['--inline-suppr', '-j2'])\n\ntests/other_test.py:2542: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline_j2')\nextra_args = ['--inline-suppr', '-j2']\n\n def __test_addon_suppr(tmp_path, extra_args):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n // cppcheck-suppress misra-c2012-2.3\n typedef int MISRA_5_6_VIOLATION;\n typedef int MISRA_5_6_VIOLATION_1;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--enable=style',\n '--addon=misra',\n str(test_file)\n ]\n \n args += extra_args\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout == ''\n> assert stderr.splitlines() == [\n '{}:4:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]'.format(test_file),\n ]\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline_j2/test.c:4:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline_j2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2531: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_line2')\n\n def test_addon_suppr_cli_line(tmp_path):\n> __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:*:3'])\n\ntests/other_test.py:2546: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_line2')\nextra_args = ['--suppress=misra-c2012-2.3:*:3']\n\n def __test_addon_suppr(tmp_path, extra_args):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n // cppcheck-suppress misra-c2012-2.3\n typedef int MISRA_5_6_VIOLATION;\n typedef int MISRA_5_6_VIOLATION_1;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--enable=style',\n '--addon=misra',\n str(test_file)\n ]\n \n args += extra_args\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout == ''\n> assert stderr.splitlines() == [\n '{}:4:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]'.format(test_file),\n ]\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_line2/test.c:4:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_line2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2531: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_file_line2')\n\n def test_addon_suppr_cli_file_line(tmp_path):\n> __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:test.c:3'])\n\ntests/other_test.py:2550: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_file_line2')\nextra_args = ['--suppress=misra-c2012-2.3:test.c:3']\n\n def __test_addon_suppr(tmp_path, extra_args):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n // cppcheck-suppress misra-c2012-2.3\n typedef int MISRA_5_6_VIOLATION;\n typedef int MISRA_5_6_VIOLATION_1;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--enable=style',\n '--addon=misra',\n str(test_file)\n ]\n \n args += extra_args\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout == ''\n> assert stderr.splitlines() == [\n '{}:4:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]'.format(test_file),\n ]\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_file_line2/test.c:4:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_file_line2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2531: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_absfile_l2')\n\n def test_addon_suppr_cli_absfile_line(tmp_path):\n test_file = tmp_path / 'test.c'\n> __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:{}:3'.format(test_file)])\n\ntests/other_test.py:2555: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_absfile_l2')\nextra_args = ['--suppress=misra-c2012-2.3:/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_absfile_l2/test.c:3']\n\n def __test_addon_suppr(tmp_path, extra_args):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n // cppcheck-suppress misra-c2012-2.3\n typedef int MISRA_5_6_VIOLATION;\n typedef int MISRA_5_6_VIOLATION_1;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--enable=style',\n '--addon=misra',\n str(test_file)\n ]\n \n args += extra_args\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout == ''\n> assert stderr.splitlines() == [\n '{}:4:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]'.format(test_file),\n ]\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_absfile_l2/test.c:4:1: style: misra violation (use --rule-texts=<file> to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_absfile_l2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2531: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_ctu_path_builddir2')\n\n def test_ctu_path_builddir(tmp_path): # #11883\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n \n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f(int *p) { *p = 3; }\n int main() {\n int *p = 0;\n f(p);\n }\n \"\"\")\n \n args = [\n '-q',\n '--enable=style',\n '--suppress=nullPointer', # we only care about the CTU findings\n '--cppcheck-build-dir={}'.format(build_dir),\n str(test_file)\n ]\n \n # the CTU path was not properly read leading to missing location information\n stderr_exp = [\n '{}:2:19: error: Null pointer dereference: p [ctunullpointer]'.format(test_file),\n 'void f(int *p) { *p = 3; }',\n ' ^',\n \"{}:4:14: note: Assignment 'p=0', assigned value is 0\".format(test_file),\n ' int *p = 0;',\n ' ^',\n '{}:5:2: note: Calling function f, 1st argument is null'.format(test_file),\n 'f(p);',\n ' ^',\n '{}:2:19: note: Dereferencing argument p that is null'.format(test_file),\n 'void f(int *p) { *p = 3; }',\n ' ^'\n ]\n \n exitcode_1, stdout_1, stderr_1 = cppcheck(args)\n assert exitcode_1 == 0, stdout_1\n assert stdout_1 == ''\n> assert stderr_1.splitlines() == stderr_exp\nE AssertionError: assert [] == ['/tmp/pytest... ^', ...]\nE \nE Right contains 12 more items, first extra item: '/tmp/pytest-of-root/pytest-0/test_ctu_path_builddir2/test.c:2:19: error: Null pointer dereference: p [ctunullpointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_ctu_path_builddir2/test.c:2:19: error: '...\nE \nE ...Full output truncated (16 lines hidden), use '-vv' to show\n\ntests/other_test.py:2599: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug2')\n\n def test_debug(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') != -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f2ec04ed6e0>('##Value flow')\nE + where <built-in method find of str object at 0x7f2ec04ed6e0> = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find\n\ntests/other_test.py:2661: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_xml2')\n\n def test_debug_xml(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug',\n '--xml',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n \n assert stderr\n assert ElementTree.fromstring(stderr) is not None\n \n assert stdout.find('##file ') != -1 # also exists in CDATA\n assert stdout.find('##Value flow') == -1\n assert stdout.find('### Symbol database ###') == -1\n assert stdout.find('##AST') == -1\n assert stdout.find('### Template Simplifier pass ') == -1\n \n> debug_xml = ElementTree.fromstring(stdout)\n\ntests/other_test.py:2697: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_xml2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'\nparser = <xml.etree.ElementTree.XMLParser object at 0x7f2ec07425f0>\n\n def XML(text, parser=None):\n \"\"\"Parse XML document from string constant.\n \n This function can be used to embed \"XML Literals\" in Python code.\n \n *text* is a string containing XML data, *parser* is an\n optional parser instance, defaulting to the standard XMLParser.\n \n Returns an Element instance.\n \n \"\"\"\n if not parser:\n parser = XMLParser(target=TreeBuilder())\n> parser.feed(text)\nE xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 3, column 1\n\n/usr/lib/python3.10/xml/etree/ElementTree.py:1342: ParseErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_verbose2')\n\n def test_debug_verbose(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug',\n '--verbose',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') != -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f2ec035d7d0>('##Value flow')\nE + where <built-in method find of str object at 0x7f2ec035d7d0> = 'Defines:\\nUndefines:\\nIncludes:\\nPlatform:native\\n\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_verbose2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find\n\ntests/other_test.py:2730: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_verbose_xml2')\n\n def test_debug_verbose_xml(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug',\n '--verbose',\n '--xml',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n \n assert stderr\n assert ElementTree.fromstring(stderr) is not None\n \n assert stdout.find('##file ') != -1 # also exists in CDATA\n assert stdout.find('##Value flow') == -1\n assert stdout.find('### Symbol database ###') == -1\n assert stdout.find('##AST') == -1\n assert stdout.find('### Template Simplifier pass ') == -1\n \n> debug_xml = ElementTree.fromstring(stdout)\n\ntests/other_test.py:2767: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'Defines:\\nUndefines:\\nIncludes:\\nPlatform:native\\n\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_verbose_xml2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'\nparser = <xml.etree.ElementTree.XMLParser object at 0x7f2ec0741240>\n\n def XML(text, parser=None):\n \"\"\"Parse XML document from string constant.\n \n This function can be used to embed \"XML Literals\" in Python code.\n \n *text* is a string containing XML data, *parser* is an\n optional parser instance, defaulting to the standard XMLParser.\n \n Returns an Element instance.\n \n \"\"\"\n if not parser:\n parser = XMLParser(target=TreeBuilder())\n> parser.feed(text)\nE xml.etree.ElementTree.ParseError: syntax error: line 1, column 0\n\n/usr/lib/python3.10/xml/etree/ElementTree.py:1342: ParseErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template2')\n\n def test_debug_template(tmp_path):\n> __test_debug_template(tmp_path, verbose=False)\n\ntests/other_test.py:2834: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template2')\nverbose = False, debug = False\n\n def __test_debug_template(tmp_path, verbose=False, debug=False):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"template<class T> class TemplCl;\n void f()\n {\n (void)(*((int*)nullptr));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-template',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n if debug:\n args += ['--debug']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n if debug:\n assert stdout.find('##file ') != -1\n else:\n assert stdout.find('##file ') == -1\n if debug:\n assert stdout.find('##Value flow') != -1\n else:\n assert stdout.find('##Value flow') == -1\n if debug and verbose:\n assert stdout.find('### Symbol database ###') != -1\n else:\n assert stdout.find('### Symbol database ###') == -1\n if debug and verbose:\n assert stdout.find('##AST') != -1\n else:\n assert stdout.find('##AST') == -1\n if debug:\n assert stdout.count('### Template Simplifier pass ') == 2\n else:\n> assert stdout.count('### Template Simplifier pass ') == 1\nE AssertionError: assert 0 == 1\nE + where 0 = <built-in method count of str object at 0x7f2ec2e98030>('### Template Simplifier pass ')\nE + where <built-in method count of str object at 0x7f2ec2e98030> = ''.count\n\ntests/other_test.py:2826: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template_verbose_no2')\n\n def test_debug_template_verbose_nodiff(tmp_path):\n # make sure --verbose does not change the output\n> assert __test_debug_template(tmp_path, verbose=False) == __test_debug_template(tmp_path, verbose=True)\n\ntests/other_test.py:2839: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template_verbose_no2')\nverbose = False, debug = False\n\n def __test_debug_template(tmp_path, verbose=False, debug=False):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"template<class T> class TemplCl;\n void f()\n {\n (void)(*((int*)nullptr));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-template',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n if debug:\n args += ['--debug']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n if debug:\n assert stdout.find('##file ') != -1\n else:\n assert stdout.find('##file ') == -1\n if debug:\n assert stdout.find('##Value flow') != -1\n else:\n assert stdout.find('##Value flow') == -1\n if debug and verbose:\n assert stdout.find('### Symbol database ###') != -1\n else:\n assert stdout.find('### Symbol database ###') == -1\n if debug and verbose:\n assert stdout.find('##AST') != -1\n else:\n assert stdout.find('##AST') == -1\n if debug:\n assert stdout.count('### Template Simplifier pass ') == 2\n else:\n> assert stdout.count('### Template Simplifier pass ') == 1\nE AssertionError: assert 0 == 1\nE + where 0 = <built-in method count of str object at 0x7f2ec2e98030>('### Template Simplifier pass ')\nE + where <built-in method count of str object at 0x7f2ec2e98030> = ''.count\n\ntests/other_test.py:2826: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template_debug2')\n\n def test_debug_template_debug(tmp_path):\n> __test_debug_template(tmp_path, debug=True)\n\ntests/other_test.py:2843: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template_debug2')\nverbose = False, debug = True\n\n def __test_debug_template(tmp_path, verbose=False, debug=False):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"template<class T> class TemplCl;\n void f()\n {\n (void)(*((int*)nullptr));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-template',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n if debug:\n args += ['--debug']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n if debug:\n assert stdout.find('##file ') != -1\n else:\n assert stdout.find('##file ') == -1\n if debug:\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f2ec03d54d0>('##Value flow')\nE + where <built-in method find of str object at 0x7f2ec03d54d0> = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_template_debug2/test.cpp\\n1: template < class T > class TemplCl ;\\n2: void f ( )\\n3: {\\n4: ( void ) ( * ( ( int * ) nullptr ) ) ;\\n5: }\\n'.find\n\ntests/other_test.py:2812: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow_data2')\n\n def test_debug_valueflow_data(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"int f()\n {\n double d = 1.0 / 0.5;\n return d;\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug-valueflow',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n \n # check sections in output\n assert stdout.find('##file ') == -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f2ec2e98030>('##Value flow')\nE + where <built-in method find of str object at 0x7f2ec2e98030> = ''.find\n\ntests/other_test.py:2900: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow_data_xml2')\n\n def test_debug_valueflow_data_xml(tmp_path): # #13606\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"double f()\n {\n double d = 0.0000001;\n return d;\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug-valueflow',\n '--xml',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n \n assert stderr\n assert ElementTree.fromstring(stderr) is not None\n \n # check sections in output\n assert stdout.find('##file ') == -1\n assert stdout.find('##Value flow') == -1\n assert stdout.find('### Symbol database ###') == -1\n assert stdout.find('##AST') == -1\n assert stdout.find('### Template Simplifier pass ') == -1\n \n # check XML nodes in output\n> debug_xml = ElementTree.fromstring(stdout)\n\ntests/other_test.py:2953: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = '', parser = <xml.etree.ElementTree.XMLParser object at 0x7f2ec0b2a830>\n\n def XML(text, parser=None):\n \"\"\"Parse XML document from string constant.\n \n This function can be used to embed \"XML Literals\" in Python code.\n \n *text* is a string containing XML data, *parser* is an\n optional parser instance, defaulting to the standard XMLParser.\n \n Returns an Element instance.\n \n \"\"\"\n if not parser:\n parser = XMLParser(target=TreeBuilder())\n parser.feed(text)\n> return parser.close()\nE xml.etree.ElementTree.ParseError: no element found: line 1, column 0\n\n/usr/lib/python3.10/xml/etree/ElementTree.py:1343: ParseErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_check_headers2')\n\n def test_check_headers(tmp_path):\n test_file_h = tmp_path / 'test.h'\n with open(test_file_h, 'wt') as f:\n f.write(\n \"\"\"\n inline void hdr()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n test_file_c = tmp_path / 'test.c'\n with open(test_file_c, 'wt') as f:\n f.write(\n \"\"\"\n #include \"test.h\"\n \n void f() {}\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--no-check-headers',\n str(test_file_c)\n ]\n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-check-headers\".\nE \nE assert 1 == 0\n\ntests/other_test.py:3026: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_unique_error2')\n\n def test_unique_error(tmp_path): # #6366\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\n \"\"\"void f()\n {\n const long m[9] = {};\n long a=m[9], b=m[9];\n (void)a;\n (void)b;\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n str(test_file)\n ]\n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n \"{}:4:13: error: Array 'm[9]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds]\".format(test_file),\n \"{}:4:21: error: Array 'm[9]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds]\".format(test_file)\n ]\nE assert [] == ['/tmp/pytest...OutOfBounds]']\nE \nE Right contains 2 more items, first extra item: \"/tmp/pytest-of-root/pytest-0/test_unique_error2/test.c:4:13: error: Array 'm[9]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_unique_error2/test.c:4:13: error: Array '...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/other_test.py:3052: AssertionError/workspace/eval/tests/other_test.py:3240: clang-tidy is not available/workspace/eval/tests/other_test.py:3246: clang-tidy is not available/workspace/eval/tests/other_test.py:3251: clang-tidy is not availabletmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_unmatched_wildca2')\n\n def test_suppress_unmatched_wildcard(tmp_path): # #13660\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n # need to run in the temporary folder because the path of the suppression has to match\n args = [\n '-q',\n '--template=simple',\n '--enable=information',\n '--suppress=nullPointer:test*.c', # checked and matched\n '--suppress=id:test*.c', # checked and unmatched\n '--suppress=id2:test*.c', # checked and unmatched\n '--suppress=id2:tes?.c', # checked and unmatched\n '--suppress=*:test*.c', # checked and unmatched\n '--suppress=id:test*.cpp', # unchecked\n '--suppress=id2:test?.cpp', # unchecked\n 'test.c'\n ]\n exitcode, stdout, stderr = cppcheck(args, cwd=tmp_path)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n # TODO: invalid locations - see #13659\n> assert stderr.splitlines() == [\n 'test*.c:-1:0: information: Unmatched suppression: id [unmatchedSuppression]',\n 'test*.c:-1:0: information: Unmatched suppression: id2 [unmatchedSuppression]',\n 'tes?.c:-1:0: information: Unmatched suppression: id2 [unmatchedSuppression]'\n ]\nE AssertionError: assert ['test*.c:-1:...ession]', ...] == ['test*.c:-1:...Suppression]']\nE \nE At index 0 diff: 'test*.c:-1:0: information: Unmatched suppression: nullPointer [unmatchedSuppression]' != 'test*.c:-1:0: information: Unmatched suppression: id [unmatchedSuppression]'\nE Left contains 4 more items, first extra item: 'tes?.c:-1:0: information: Unmatched suppression: id2 [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'test*.c:-1:0: information: Unmatched suppression: nullPointer '...\nE \nE ...Full output truncated (14 lines hidden), use '-vv' to show\n\ntests/other_test.py:3317: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_preprocess_enforced_cpp2')\n\n def test_preprocess_enforced_cpp(tmp_path): # #10989\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\n \"\"\"#ifdef __cplusplus\n #error \"err\"\n #endif\"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--language=c++',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n '{}:2:2: error: #error \"err\" [preprocessorErrorDirective]'.format(test_file)\n ]\nE assert ['/tmp/pytest...orDirective]'] == ['/tmp/pytest...orDirective]']\nE \nE At index 0 diff: '/tmp/pytest-of-root/pytest-0/test_preprocess_enforced_cpp2/test.c:2:2: error: #error\"err\" [preprocessorErrorDirective]' != '/tmp/pytest-of-root/pytest-0/test_preprocess_enforced_cpp2/test.c:2:2: error: #error \"err\" [preprocessorErrorDirective]'\nE \nE Full diff:\nE [\nE '/tmp/pytest-of-root/pytest-0/test_preprocess_enforced_cpp2/test.c:2:2: '\nE - 'error: #error \"err\" [preprocessorErrorDirective]',...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:3393: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_normal2')\n\n def test_debug_normal(tmp_path):\n> __test_debug_normal(tmp_path, False)\n\ntests/other_test.py:3467: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_normal2')\nverbose = False\n\n def __test_debug_normal(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-normal',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') != -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f2ec04568c0>('##Value flow')\nE + where <built-in method find of str object at 0x7f2ec04568c0> = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_normal2/test.c\\n1: void f ( )\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find\n\ntests/other_test.py:3450: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_simplified2')\n\n def test_debug_simplified(tmp_path):\n> __test_debug_simplified(tmp_path, False)\n\ntests/other_test.py:3511: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_simplified2')\nverbose = False\n\n def __test_debug_simplified(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-simplified',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n> assert stdout.find('##file ') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f2ec2e98030>('##file ')\nE + where <built-in method find of str object at 0x7f2ec2e98030> = ''.find\n\ntests/other_test.py:3499: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_simplified_verbose_2')\n\n def test_debug_simplified_verbose_nodiff(tmp_path):\n # make sure --verbose does not change the output\n> assert __test_debug_simplified(tmp_path, False) == __test_debug_simplified(tmp_path, True)\n\ntests/other_test.py:3516: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_simplified_verbose_2')\nverbose = False\n\n def __test_debug_simplified(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-simplified',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n> assert stdout.find('##file ') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f2ec2e98030>('##file ')\nE + where <built-in method find of str object at 0x7f2ec2e98030> = ''.find\n\ntests/other_test.py:3499: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_symdb2')\n\n def test_debug_symdb(tmp_path):\n> __test_debug_symdb(tmp_path, False)\n\ntests/other_test.py:3554: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_symdb2')\nverbose = False\n\n def __test_debug_symdb(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-symdb',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') == -1\n assert stdout.find('##Value flow') == -1\n> assert stdout.find('### Symbol database ###') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f2ec2e98030>('### Symbol database ###')\nE + where <built-in method find of str object at 0x7f2ec2e98030> = ''.find\n\ntests/other_test.py:3544: AssertionError/workspace/eval/tests/other_test.py:3557: unconditional skiptmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_ast2')\n\n def test_debug_ast(tmp_path):\n> __test_debug_ast(tmp_path, False)\n\ntests/other_test.py:3598: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_ast2')\nverbose = False\n\n def __test_debug_ast(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-ast',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') == -1\n assert stdout.find('##Value flow') == -1\n assert stdout.find('### Symbol database ###') == -1\n> assert stdout.find('##AST') != -1\nE assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x56484d84d120>('##AST')\nE + where <built-in method find of str object at 0x56484d84d120> = \"1:1 'void' varId=0 type=12 scope=0\\n1:6 'f' varId=0 type=14 scope=0\\n1:7 '(' varId=0 type=9 scope=0\\n1:8 ')' varId=0 type=9 scope=0\\n2:1 '{' varId=0 type=9 scope=0\\n3:5 '(' varId=0 type=9 op1='*' scope=5\\n3:6 'void' varId=0 type=12 scope=5\\n3:10 ')' varId=0 type=9 scope=5\\n3:11 '(' varId=0 type=9 scope=5\\n3:12 '*' varId=0 type=8 parent='(' op1='(' scope=5\\n3:13 '(' varId=0 type=9 scope=5\\n3:14 '(' varId=0 type=9 parent='*' op1='0' scope=5 val=0K\\n3:15 'int' varId=0 type=12 scope=5\\n3:18 '*' varId=0 type=8 scope=5\\n3:19 ')' varId=0 type=9 scope=5\\n3:20 '0' varId=0 type=3 parent='(' scope=5 val=0K\\n3:21 ')' varId=0 type=9 scope=5\\n3:22 ')' varId=0 type=9 scope=5\\n3:23 ';' varId=0 type=8 scope=5\\n4:1 '}' varId=0 type=9 scope=0\\n\\n\".find\n\ntests/other_test.py:3589: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_ast_verbose_nodiff2')\n\n def test_debug_ast_verbose_nodiff(tmp_path):\n # make sure --verbose does not change the output\n> assert __test_debug_ast(tmp_path, False) == __test_debug_ast(tmp_path, True)\n\ntests/other_test.py:3603: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_ast_verbose_nodiff2')\nverbose = False\n\n def __test_debug_ast(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-ast',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') == -1\n assert stdout.find('##Value flow') == -1\n assert stdout.find('### Symbol database ###') == -1\n> assert stdout.find('##AST') != -1\nE assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x56484d788690>('##AST')\nE + where <built-in method find of str object at 0x56484d788690> = \"1:1 'void' varId=0 type=12 scope=0\\n1:6 'f' varId=0 type=14 scope=0\\n1:7 '(' varId=0 type=9 scope=0\\n1:8 ')' varId=0 type=9 scope=0\\n2:1 '{' varId=0 type=9 scope=0\\n3:5 '(' varId=0 type=9 op1='*' scope=5\\n3:6 'void' varId=0 type=12 scope=5\\n3:10 ')' varId=0 type=9 scope=5\\n3:11 '(' varId=0 type=9 scope=5\\n3:12 '*' varId=0 type=8 parent='(' op1='(' scope=5\\n3:13 '(' varId=0 type=9 scope=5\\n3:14 '(' varId=0 type=9 parent='*' op1='0' scope=5 val=0K\\n3:15 'int' varId=0 type=12 scope=5\\n3:18 '*' varId=0 type=8 scope=5\\n3:19 ')' varId=0 type=9 scope=5\\n3:20 '0' varId=0 type=3 parent='(' scope=5 val=0K\\n3:21 ')' varId=0 type=9 scope=5\\n3:22 ')' varId=0 type=9 scope=5\\n3:23 ';' varId=0 type=8 scope=5\\n4:1 '}' varId=0 type=9 scope=0\\n\\n\".find\n\ntests/other_test.py:3589: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow2')\n\n def test_debug_valueflow(tmp_path):\n> __test_debug_valueflow(tmp_path, False)\n\ntests/other_test.py:3641: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow2')\nverbose = False\n\n def __test_debug_valueflow(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-valueflow',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') == -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f2ec2e98030>('##Value flow')\nE + where <built-in method find of str object at 0x7f2ec2e98030> = ''.find\n\ntests/other_test.py:3630: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow_verbose_n2')\n\n def test_debug_valueflow_verbose_nodiff(tmp_path):\n # make sure --verbose does not change the output\n> assert __test_debug_valueflow(tmp_path, False) == __test_debug_valueflow(tmp_path, True)\n\ntests/other_test.py:3646: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow_verbose_n2')\nverbose = False\n\n def __test_debug_valueflow(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-valueflow',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') == -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f2ec2e98030>('##Value flow')\nE + where <built-in method find of str object at 0x7f2ec2e98030> = ''.find\n\ntests/other_test.py:3630: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_syntaxerror_c2')\n\n def test_debug_syntaxerror_c(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"\n template<class T> class TemplCl;\n void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-normal',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') != -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = <built-in method find of str object at 0x7f2ec035fbb0>('##Value flow')\nE + where <built-in method find of str object at 0x7f2ec035fbb0> = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_syntaxerror_c2/test.c\\n2: template < class T > class TemplCl ;\\n3: void f ( )\\n4: {\\n5: ( void ) ( * ( ( int * ) 0 ) ) ;\\n6: }\\n'.find\n\ntests/other_test.py:3671: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_ast_max_depth2')\n\n def test_ast_max_depth(tmp_path):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"\n #define PTR1 (* (* (* (*\n #define PTR2 PTR1 PTR1 PTR1 PTR1\n #define PTR3 PTR2 PTR2 PTR2 PTR2\n #define PTR4 PTR3 PTR3 PTR3 PTR3\n \n #define RBR1 ) ) ) )\n #define RBR2 RBR1 RBR1 RBR1 RBR1\n #define RBR3 RBR2 RBR2 RBR2 RBR2\n #define RBR4 RBR3 RBR3 RBR3 RBR3\n \n int PTR4 q4_var RBR4 = 0;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n '{}:12:5: error: maximum AST depth exceeded [internalAstError]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...nalAstError]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_ast_max_depth2/test.cpp:12:5: error: maximum AST depth exceeded [internalAstError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_ast_max_depth2/test.cpp:12:5: error: '\nE - 'maximum AST depth exceeded [internalAstError]',\nE - ]\n\ntests/other_test.py:3707: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_misra_disabled_unmatched2')\n\n def test_misra_disabled_unmatched(tmp_path): #14232\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\"):\n pass\n \n args = [\n '-q',\n '--template=simple',\n '--enable=warning,information',\n '--suppress=misra-c2012-20.5',\n '--suppress=uninitvar',\n str(test_file)\n ]\n \n ret, stdout, stderr = cppcheck(args)\n> assert stderr.splitlines() == [\n 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n ]\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['nofile:0:0:...Suppression]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: misra-c2012-20.5 [unmatchedSuppression]' != 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: misra-c2012-20.5 '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3728: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_premium_disabled_unmatche2')\n\n def test_premium_disabled_unmatched(tmp_path): #13663\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\"):\n pass\n \n args = [\n '-q',\n '--template=simple',\n '--enable=warning,information',\n '--suppress=premium-misra-cpp-2023-12.2.1',\n '--suppress=uninitvar',\n str(test_file)\n ]\n \n ret, stdout, stderr = cppcheck(args)\n> assert stderr.splitlines() == [\n 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n ]\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['nofile:0:0:...Suppression]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: premium-misra-cpp-2023-12.2.1 [unmatchedSuppression]' != 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3751: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_unmatched_file2')\n\n def test_unmatched_file(tmp_path): # #14248 / #14249\n lib_path = tmp_path / 'lib'\n os.makedirs(lib_path)\n \n test_file = lib_path / 'test.c'\n with open(test_file, \"w\"):\n pass\n \n suppr_txt = tmp_path / 'suppr.txt'\n with open(suppr_txt, \"w\") as f:\n f.write('''\n error:lib/test.c\n error2:lib\\\\test.c\n ''')\n \n suppr_xml = tmp_path / 'suppr.xml'\n with open(suppr_xml, \"w\") as f:\n f.write('''\n <suppressions>\n <suppress>\n <id>error3</id>\n <fileName>lib/test.c</fileName>\n </suppress>\n <suppress>\n <id>error4</id>\n <fileName>lib\\\\test.c</fileName>\n </suppress>\n </suppressions>\n ''')\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information',\n f'--suppressions-list={suppr_txt}',\n f'--suppress-xml={suppr_xml}',\n '--suppress=error5:lib/test.c',\n '--suppress=error6:lib\\\\test.c',\n str(test_file)\n ]\n \n lib_file = 'lib' + os.path.sep + 'test.c'\n \n ret, stdout, stderr = cppcheck(args)\n assert stdout == ''\n> assert stderr.splitlines() == [\n f'{lib_file}:-1:0: information: Unmatched suppression: error [unmatchedSuppression]',\n f'{lib_file}:-1:0: information: Unmatched suppression: error2 [unmatchedSuppression]',\n f'{lib_file}:-1:0: information: Unmatched suppression: error3 [unmatchedSuppression]',\n f'{lib_file}:-1:0: information: Unmatched suppression: error4 [unmatchedSuppression]',\n f'{lib_file}:-1:0: information: Unmatched suppression: error5 [unmatchedSuppression]',\n f'{lib_file}:-1:0: information: Unmatched suppression: error6 [unmatchedSuppression]'\n ]\nE AssertionError: assert [] == ['lib/test.c:...Suppression]']\nE \nE Right contains 6 more items, first extra item: 'lib/test.c:-1:0: information: Unmatched suppression: error [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'lib/test.c:-1:0: information: Unmatched suppression: error '...\nE \nE ...Full output truncated (12 lines hidden), use '-vv' to show\n\ntests/other_test.py:3803: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_simplecpp_unhandled_char2')\n\n def test_simplecpp_unhandled_char(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\", encoding='utf-8') as f:\n f.write(\n \"\"\"\n int \u4f60=0;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--emit-duplicates',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n '{}:2:5: error: The code contains unhandled character(s) (character code=228). Neither unicode nor extended ascii is supported. [unhandledChar]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...handledChar]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_simplecpp_unhandled_char2/test.c:2:5: error: The code contains unhandled character(s) (character code=228). Neither unicode nor extended ascii is supported. [unhandledChar]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_simplecpp_unhandled_char2/test.c:2:5: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:3852: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_simplecpp_include_nested_2')\n\n def test_simplecpp_include_nested_too_deeply(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write('#include \"test.h\"')\n \n test_h = tmp_path / 'test.h'\n with open(test_h, \"w\") as f:\n f.write('#include \"test_0.h\"')\n \n for i in range(400):\n test_h = tmp_path / f'test_{i}.h'\n with open(test_h, \"w\") as f:\n f.write('#include \"test_{}.h\"'.format(i+1))\n \n args = [\n '-q',\n '--template=simple',\n '--emit-duplicates',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n test_h = tmp_path / 'test_398.h'\n> assert stderr.splitlines() == [\n # TODO: should only report the error once\n '{}:1:2: error: #include nested too deeply [includeNestedTooDeeply]'.format(test_h),\n '{}:1:2: error: #include nested too deeply [includeNestedTooDeeply]'.format(test_h)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...edTooDeeply]']\nE \nE Right contains 2 more items, first extra item: '/tmp/pytest-of-root/pytest-0/test_simplecpp_include_nested_2/test_398.h:1:2: error: #include nested too deeply [includeNestedTooDeeply]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_simplecpp_include_nested_2/test_398.h:1:2: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3882: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_simplecpp_syntax_error2')\n\n def test_simplecpp_syntax_error(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write('#include \"\"')\n \n args = [\n '-q',\n '--template=simple',\n '--emit-duplicates',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n # TODO: should only report the error once\n '{}:1:2: error: No header in #include [syntaxError]'.format(test_file),\n '{}:1:2: error: No header in #include [syntaxError]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...syntaxError]']\nE \nE Right contains 2 more items, first extra item: '/tmp/pytest-of-root/pytest-0/test_simplecpp_syntax_error2/test.c:1:2: error: No header in #include [syntaxError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_simplecpp_syntax_error2/test.c:1:2: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3904: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_max_configs_None_20_True_2')\nmax_configs = 12, number_of_configs = 20, check_config = True\nexpected_warn = True\n\n @pytest.mark.parametrize('max_configs,number_of_configs,check_config,expected_warn', [\n # max configs = default, max configs < number of configs => warn\n (None, 20, False, True),\n (None, 20, True, True),\n \n # max configs != default, max configs < number of configs => warn if --check-config\n (6, 20, False, False),\n (6, 20, True, True),\n \n # max configs >= number of configs => no warning\n (20, 20, False, False),\n (20, 20, False, False)\n ])\n def test_max_configs(tmp_path, max_configs, number_of_configs, check_config, expected_warn):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n for i in range(1,number_of_configs):\n dir = 'if' if i == 1 else 'elif'\n f.write(f'#{dir} defined(X{i})\\nx = {i};\\n')\n f.write('#endif\\n')\n \n args = ['--enable=information', '--template=simple', str(test_file)]\n \n if max_configs is None:\n max_configs = 12 # default value\n else:\n args = [f'--max-configs={max_configs}'] + args\n \n if check_config:\n args = ['--check-config'] + args\n \n # default max configs is set to 12, warn if code contains more configurations than that\n _, _, stderr = cppcheck(args)\n if not expected_warn:\n assert stderr.splitlines() == []\n else:\n> assert stderr.splitlines() == [\n '{}:0:0: information: Too many #ifdef configurations - cppcheck only checks {} of {} configurations. Use --force to check all configurations. [toomanyconfigs]'\n .format(test_file, max_configs, number_of_configs)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...manyconfigs]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_max_configs_None_20_True_2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_max_configs_None_20_True_2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3947: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_False_Fa2')\nmax_configs = 6, number_of_configs = 20, check_config = False\nexpected_warn = False\n\n @pytest.mark.parametrize('max_configs,number_of_configs,check_config,expected_warn', [\n # max configs = default, max configs < number of configs => warn\n (None, 20, False, True),\n (None, 20, True, True),\n \n # max configs != default, max configs < number of configs => warn if --check-config\n (6, 20, False, False),\n (6, 20, True, True),\n \n # max configs >= number of configs => no warning\n (20, 20, False, False),\n (20, 20, False, False)\n ])\n def test_max_configs(tmp_path, max_configs, number_of_configs, check_config, expected_warn):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n for i in range(1,number_of_configs):\n dir = 'if' if i == 1 else 'elif'\n f.write(f'#{dir} defined(X{i})\\nx = {i};\\n')\n f.write('#endif\\n')\n \n args = ['--enable=information', '--template=simple', str(test_file)]\n \n if max_configs is None:\n max_configs = 12 # default value\n else:\n args = [f'--max-configs={max_configs}'] + args\n \n if check_config:\n args = ['--check-config'] + args\n \n # default max configs is set to 12, warn if code contains more configurations than that\n _, _, stderr = cppcheck(args)\n if not expected_warn:\n> assert stderr.splitlines() == []\nE AssertionError: assert ['/tmp/pytest...manyconfigs]'] == []\nE \nE Left contains one more item: '/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_False_Fa2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 6 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE - []\nE + [\nE + '/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_False_Fa2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3945: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_True_Tru2')\nmax_configs = 6, number_of_configs = 20, check_config = True\nexpected_warn = True\n\n @pytest.mark.parametrize('max_configs,number_of_configs,check_config,expected_warn', [\n # max configs = default, max configs < number of configs => warn\n (None, 20, False, True),\n (None, 20, True, True),\n \n # max configs != default, max configs < number of configs => warn if --check-config\n (6, 20, False, False),\n (6, 20, True, True),\n \n # max configs >= number of configs => no warning\n (20, 20, False, False),\n (20, 20, False, False)\n ])\n def test_max_configs(tmp_path, max_configs, number_of_configs, check_config, expected_warn):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n for i in range(1,number_of_configs):\n dir = 'if' if i == 1 else 'elif'\n f.write(f'#{dir} defined(X{i})\\nx = {i};\\n')\n f.write('#endif\\n')\n \n args = ['--enable=information', '--template=simple', str(test_file)]\n \n if max_configs is None:\n max_configs = 12 # default value\n else:\n args = [f'--max-configs={max_configs}'] + args\n \n if check_config:\n args = ['--check-config'] + args\n \n # default max configs is set to 12, warn if code contains more configurations than that\n _, _, stderr = cppcheck(args)\n if not expected_warn:\n assert stderr.splitlines() == []\n else:\n> assert stderr.splitlines() == [\n '{}:0:0: information: Too many #ifdef configurations - cppcheck only checks {} of {} configurations. Use --force to check all configurations. [toomanyconfigs]'\n .format(test_file, max_configs, number_of_configs)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...manyconfigs]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_True_Tru2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 6 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_True_Tru2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3947: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_no_valid_configuration2')\n\n def test_no_valid_configuration(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"#include \"\"\n #ifdef DEF_1\n #include \"\"\n #endif\n \"\"\")\n \n args = [\n '--template=simple',\n '--emit-duplicates',\n '--enable=information',\n '--suppress=checkersReport',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n> assert stdout.splitlines() == [\n 'Checking {} ...'.format(test_file)\n ]\nE AssertionError: assert ['Checking /t...F_1=DEF_1...'] == ['Checking /t...2/test.c ...']\nE \nE Left contains one more item: 'Checking /tmp/pytest-of-root/pytest-0/test_no_valid_configuration2/test.c: DEF_1=DEF_1...'\nE \nE Full diff:\nE [\nE 'Checking /tmp/pytest-of-root/pytest-0/test_no_valid_configuration2/test.c '\nE '...',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3973: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_no_valid_configuration_ch2')\n\n def test_no_valid_configuration_check_config(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"#include \"\"\n #ifdef DEF_1\n #include \"\"\n #endif\n \"\"\")\n \n args = [\n '--template=simple',\n '--emit-duplicates',\n '--enable=information',\n '--suppress=checkersReport',\n '--check-config',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == [\n 'Checking {} ...'.format(test_file)\n ]\n # TODO: this lacks context about the configuration which encounters these errors\n # TODO: add message when a configuration is dropped\n> assert stderr.splitlines() == [\n '{}:1:2: error: No header in #include [syntaxError]'.format(test_file),\n '{}:1:2: error: No header in #include [syntaxError]'.format(test_file)\n ]\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['/tmp/pytest...syntaxError]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: checkersReport [unmatchedSuppression]' != '/tmp/pytest-of-root/pytest-0/test_no_valid_configuration_ch2/test.c:1:2: error: No header in #include [syntaxError]'\nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_no_valid_configuration_ch2/test.c:1:2: error: No header in #include [syntaxError]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: checkersReport '...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/other_test.py:4013: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl2')\n\n def test_active_unusedfunction_only(tmp_path):\n> __test_active_checkers(tmp_path, 1, 186, use_unusedfunction_only=True)\n\ntests/other_test.py:4065: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl2')\nactive_cnt = 1, total_cnt = 186, use_misra = False\nuse_unusedfunction_only = True, checkers_exp = None\n\n def __test_active_checkers(tmp_path, active_cnt, total_cnt, use_misra=False, use_unusedfunction_only=False, checkers_exp=None):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'w') as f:\n f.write('int i;')\n \n build_dir = None\n if checkers_exp is not None:\n build_dir = tmp_path / 'b1'\n os.makedirs(build_dir)\n \n args = [\n '-q',\n '--enable=information',\n '-j1',\n str(test_file)\n ]\n \n if use_misra:\n args += ['--addon=misra']\n if build_dir:\n args += ['--cppcheck-build-dir={}'.format(build_dir)]\n else:\n args += ['--no-cppcheck-build-dir']\n \n env = {}\n if use_unusedfunction_only:\n env = {'UNUSEDFUNCTION_ONLY': '1'}\n args += ['--enable=unusedFunction']\n exitcode, stdout, stderr, _ = cppcheck_ex(args, remove_checkers_report=False, env=env)\n> assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\nE \nE assert 1 == 0\n\ntests/other_test.py:4048: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl5')\n\n def test_active_unusedfunction_only_builddir(tmp_path):\n checkers_exp = [\n 'CheckUnusedFunctions::check'\n ]\n> __test_active_checkers(tmp_path, 1, 186, use_unusedfunction_only=True, checkers_exp=checkers_exp)\n\ntests/other_test.py:4072: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl5')\nactive_cnt = 1, total_cnt = 186, use_misra = False\nuse_unusedfunction_only = True, checkers_exp = ['CheckUnusedFunctions::check']\n\n def __test_active_checkers(tmp_path, active_cnt, total_cnt, use_misra=False, use_unusedfunction_only=False, checkers_exp=None):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'w') as f:\n f.write('int i;')\n \n build_dir = None\n if checkers_exp is not None:\n build_dir = tmp_path / 'b1'\n os.makedirs(build_dir)\n \n args = [\n '-q',\n '--enable=information',\n '-j1',\n str(test_file)\n ]\n \n if use_misra:\n args += ['--addon=misra']\n if build_dir:\n args += ['--cppcheck-build-dir={}'.format(build_dir)]\n else:\n args += ['--no-cppcheck-build-dir']\n \n env = {}\n if use_unusedfunction_only:\n env = {'UNUSEDFUNCTION_ONLY': '1'}\n args += ['--enable=unusedFunction']\n exitcode, stdout, stderr, _ = cppcheck_ex(args, remove_checkers_report=False, env=env)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n f'nofile:0:0: information: Active checkers: {active_cnt}/{total_cnt} (use --checkers-report=<filename> to see details) [checkersReport]',\n '' # TODO: get rid of extra newline\n ]\nE AssertionError: assert ['nofile:0:0:...sReport]', ''] == ['nofile:0:0:...sReport]', '']\nE \nE At index 0 diff: 'nofile:0:0: information: Active checkers: 41/186 (use --checkers-report=<filename> to see details) [checkersReport]' != 'nofile:0:0: information: Active checkers: 1/186 (use --checkers-report=<filename> to see details) [checkersReport]'\nE \nE Full diff:\nE [\nE - 'nofile:0:0: information: Active checkers: 1/186 (use '\nE + 'nofile:0:0: information: Active checkers: 41/186 (use '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:4050: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl8')\n\n def test_active_unusedfunction_only_misra(tmp_path):\n> __test_active_checkers(tmp_path, 1, 386, use_unusedfunction_only=True, use_misra=True)\n\ntests/other_test.py:4076: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl8')\nactive_cnt = 1, total_cnt = 386, use_misra = True\nuse_unusedfunction_only = True, checkers_exp = None\n\n def __test_active_checkers(tmp_path, active_cnt, total_cnt, use_misra=False, use_unusedfunction_only=False, checkers_exp=None):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'w') as f:\n f.write('int i;')\n \n build_dir = None\n if checkers_exp is not None:\n build_dir = tmp_path / 'b1'\n os.makedirs(build_dir)\n \n args = [\n '-q',\n '--enable=information',\n '-j1',\n str(test_file)\n ]\n \n if use_misra:\n args += ['--addon=misra']\n if build_dir:\n args += ['--cppcheck-build-dir={}'.format(build_dir)]\n else:\n args += ['--no-cppcheck-build-dir']\n \n env = {}\n if use_unusedfunction_only:\n env = {'UNUSEDFUNCTION_ONLY': '1'}\n args += ['--enable=unusedFunction']\n exitcode, stdout, stderr, _ = cppcheck_ex(args, remove_checkers_report=False, env=env)\n> assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\nE \nE assert 1 == 0\n\ntests/other_test.py:4048: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl11')\n\n def test_active_unusedfunction_only_misra_builddir(tmp_path):\n checkers_exp = [\n 'CheckUnusedFunctions::check'\n ]\n> __test_active_checkers(tmp_path, 1, 386, use_unusedfunction_only=True, use_misra=True, checkers_exp=checkers_exp)\n\ntests/other_test.py:4083: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl11')\nactive_cnt = 1, total_cnt = 386, use_misra = True\nuse_unusedfunction_only = True, checkers_exp = ['CheckUnusedFunctions::check']\n\n def __test_active_checkers(tmp_path, active_cnt, total_cnt, use_misra=False, use_unusedfunction_only=False, checkers_exp=None):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'w') as f:\n f.write('int i;')\n \n build_dir = None\n if checkers_exp is not None:\n build_dir = tmp_path / 'b1'\n os.makedirs(build_dir)\n \n args = [\n '-q',\n '--enable=information',\n '-j1',\n str(test_file)\n ]\n \n if use_misra:\n args += ['--addon=misra']\n if build_dir:\n args += ['--cppcheck-build-dir={}'.format(build_dir)]\n else:\n args += ['--no-cppcheck-build-dir']\n \n env = {}\n if use_unusedfunction_only:\n env = {'UNUSEDFUNCTION_ONLY': '1'}\n args += ['--enable=unusedFunction']\n exitcode, stdout, stderr, _ = cppcheck_ex(args, remove_checkers_report=False, env=env)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n f'nofile:0:0: information: Active checkers: {active_cnt}/{total_cnt} (use --checkers-report=<filename> to see details) [checkersReport]',\n '' # TODO: get rid of extra newline\n ]\nE AssertionError: assert ['nofile:0:0:...sReport]', ''] == ['nofile:0:0:...sReport]', '']\nE \nE At index 0 diff: 'nofile:0:0: information: Active checkers: 41/186 (use --checkers-report=<filename> to see details) [checkersReport]' != 'nofile:0:0: information: Active checkers: 1/386 (use --checkers-report=<filename> to see details) [checkersReport]'\nE \nE Full diff:\nE [\nE - 'nofile:0:0: information: Active checkers: 1/386 (use '\nE ? ^...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n\ntests/other_test.py:4050: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_analyzerinfo2')\n\n def test_analyzerinfo(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n build_dir = tmp_path / 'b1'\n os.makedirs(build_dir)\n \n test_a1_file = build_dir / 'test.a1'\n \n args = [\n '-q',\n '--debug-analyzerinfo',\n '--template=simple',\n '--cppcheck-build-dir={}'.format(build_dir),\n '--enable=all',\n str(test_file)\n ]\n \n stderr_exp = [\n '{}:3:14: error: Null pointer dereference: (int*)0 [nullPointer]'.format(test_file),\n \"{}:1:6: style: The function 'f' is never used. [unusedFunction]\".format(test_file)\n ]\n \n def run_and_assert_cppcheck(stdout_exp):\n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == stdout_exp\n assert stderr.splitlines() == stderr_exp\n \n test_a1_file_s = str(test_a1_file).replace('\\\\', '/')\n \n # no cached results\n> run_and_assert_cppcheck([\n \"no cached result '{}' found\".format(test_a1_file_s)\n ])\n\ntests/other_test.py:4124: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nstdout_exp = [\"no cached result '/tmp/pytest-of-root/pytest-0/test_analyzerinfo2/b1/test.a1' found\"]\n\n def run_and_assert_cppcheck(stdout_exp):\n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--debug-analyzerinfo\".\nE \nE assert 1 == 0\n\ntests/other_test.py:4117: AssertionErrordef test_file_filter():\n ret, stdout, _ = cppcheck(['proj2/','--file-filter=proj2/a/*'], cwd=__script_dir)\n file1 = os.path.join('proj2', 'a', 'a.c')\n file2 = os.path.join('proj2', 'b', 'b.c')\n assert ret == 0, stdout\n assert stdout.find('Checking %s ...' % file1) >= 0\n ret, stdout, _ = cppcheck(['proj2/','--file-filter=proj2/b*'], cwd=__script_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find any files matching the filter:proj2/b*\nE \nE assert 1 == 0\n\ntests/proj2_test.py:36: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_local_path2')\n\n def test_local_path(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=compile_commands.json'], cwd=proj_dir)\n file1 = os.path.join('a', 'a.c')\n file2 = os.path.join('b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:46: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_local_path_force2')\n\n def test_local_path_force(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=compile_commands.json', '--force'], cwd=proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:55: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_local_path_maxconfigs2')\n\n def test_local_path_maxconfigs(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=compile_commands.json', '--max-configs=2'], cwd=proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:63: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_relative_path2')\n\n def test_relative_path(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=proj2/' + __COMPILE_COMMANDS_JSON], cwd=tmp_path)\n file1 = os.path.join('proj2', 'a', 'a.c')\n file2 = os.path.join('proj2', 'b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:73: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_absolute_path2')\n\n def test_absolute_path(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=' + os.path.join(proj_dir, __COMPILE_COMMANDS_JSON)], cwd=tmp_path)\n file1 = os.path.join(proj_dir, 'a', 'a.c')\n file2 = os.path.join(proj_dir, 'b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_absolute_path2/proj2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:84: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_compile2')\n\n def test_gui_project_loads_compile_commands_1(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=proj2/proj2.cppcheck'], cwd=tmp_path)\n file1 = os.path.join('proj2', 'a', 'a.c')\n file2 = os.path.join('proj2', 'b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/proj2.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:95: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_compile5')\n\n def test_gui_project_loads_compile_commands_2(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n exclude_path_1 = 'proj2/b'\n create_gui_project_file(os.path.join(proj_dir, 'test.cppcheck'),\n import_project='compile_commands.json',\n exclude_paths=[exclude_path_1])\n ret, stdout, _ = cppcheck(['--project=' + os.path.join('proj2','test.cppcheck')], cwd=tmp_path)\n file1 = os.path.join('proj2', 'a', 'a.c')\n file2 = os.path.join('proj2', 'b', 'b.c') # Excluded by test.cppcheck\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:110: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_relativ2')\n\n def test_gui_project_loads_relative_vs_solution(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n create_gui_project_file(os.path.join(tmp_path, 'test.cppcheck'), import_project='proj2/proj2.sln')\n ret, stdout, _ = cppcheck(['--project=test.cppcheck'], cwd=tmp_path)\n file1 = os.path.join('proj2', 'a', 'a.c')\n file2 = os.path.join('proj2', 'b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:122: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_absolut2')\n\n def test_gui_project_loads_absolute_vs_solution(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n create_gui_project_file(os.path.join(tmp_path, 'test.cppcheck'), import_project=os.path.join(proj_dir, 'proj2.sln'))\n ret, stdout, _ = cppcheck(['--project=test.cppcheck'], cwd=tmp_path)\n file1 = os.path.join(proj_dir, 'a', 'a.c')\n file2 = os.path.join(proj_dir, 'b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:139: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_relativ5')\n\n def test_gui_project_loads_relative_vs_solution_2(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n create_gui_project_file(os.path.join(tmp_path, 'test.cppcheck'), root_path='proj2', import_project='proj2/proj2.sln')\n ret, stdout, stderr = cppcheck(['--project=test.cppcheck'], cwd=tmp_path)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:154: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_relativ8')\n\n def test_gui_project_loads_relative_vs_solution_with_exclude(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n create_gui_project_file(os.path.join(tmp_path, 'test.cppcheck'), root_path='proj2', import_project='proj2/proj2.sln', exclude_paths=['b'])\n ret, stdout, stderr = cppcheck(['--project=test.cppcheck'], cwd=tmp_path)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:162: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_absolut5')\n\n def test_gui_project_loads_absolute_vs_solution_2(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n create_gui_project_file(os.path.join(tmp_path, 'test.cppcheck'),\n root_path=str(proj_dir),\n import_project=os.path.join(proj_dir, 'proj2.sln'))\n ret, stdout, stderr = cppcheck(['--project=test.cppcheck'], cwd=tmp_path)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:172: AssertionErrordef test_samples():\n failures = {}\n \n samples_dir = os.path.join(__root_dir, 'samples')\n> for entry in os.listdir(samples_dir):\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/samples'\n\ntests/samples_test.py:14: FileNotFoundErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_safety_suppress_syntax_er2')\n\n def test_safety_suppress_syntax_error_implicitly(tmpdir):\n ret, stdout, stderr = cppcheck(['-q', '--safety', '--suppress=*', 'proj-suppress-syntaxError', '-j1'], remove_checkers_report=False, cwd=__script_dir)\n> assert ret == 1, stdout\nE AssertionError: \nE assert 0 == 1\n\ntests/suppress_syntaxError_test.py:22: AssertionErrordef test_safety_suppress_syntax_error_explicitly():\n ret, stdout, stderr = cppcheck(['-q', '--safety', '--suppress=syntaxError', 'proj-suppress-syntaxError', '-j1'], remove_checkers_report=False, cwd=__script_dir)\n> assert ret == 1, stdout\nE AssertionError: \nE assert 0 == 1\n\ntests/suppress_syntaxError_test.py:29: AssertionErrordef test_unused_functions():\n> __test_unused_functions(['-j1', '--no-cppcheck-build-dir'])\n\ntests/unused_function_test.py:53: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_unused_functions(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n __project_dir\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...-build-dir\".'] == []\nE \nE Left contains one more item: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".'\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: unrecognized command line option: '\nE + '\"--no-cppcheck-build-dir\".',\nE + ]\n\ntests/unused_function_test.py:45: AssertionErrordef test_unused_functions_j():\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '-j2',\n '--no-cppcheck-build-dir',\n __project_dir\n ]\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == [\n \"cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.\"\n ]\nE assert ['cppcheck: e...-build-dir\".'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".' != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:67: AssertionErrordef test_unused_functions_project():\n> __test_unused_functions_project(['-j1', '--no-cppcheck-build-dir'])\n\ntests/unused_function_test.py:112: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_unused_functions_project(extra_args):\n project_file = os.path.join(__project_dir, 'unusedFunction.cppcheck')\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(project_file),\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:104: AssertionErrordef test_unused_functions_project_j():\n project_file = os.path.join(__project_dir, 'unusedFunction.cppcheck')\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(project_file),\n '-j2',\n '--no-cppcheck-build-dir'\n ]\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == [\n \"cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.\"\n ]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\" != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:127: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_project_2')\n\n def test_unused_functions_project_builddir(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_unused_functions_project(['-j1', '--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/unused_function_test.py:137: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_unused_functions_project_2/b1']\n\n def __test_unused_functions_project(extra_args):\n project_file = os.path.join(__project_dir, 'unusedFunction.cppcheck')\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(project_file),\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:104: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_project_5')\n\n def test_unused_functions_project_builddir_j_thread(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_unused_functions_project(['-j2', '--cppcheck-build-dir={}'.format(build_dir), '--executor=thread'])\n\ntests/unused_function_test.py:143: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_unused_functions_project_5/b1', '--executor=thread']\n\n def __test_unused_functions_project(extra_args):\n project_file = os.path.join(__project_dir, 'unusedFunction.cppcheck')\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(project_file),\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:104: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_project_8')\n\n @pytest.mark.skipif(sys.platform == 'win32', reason='ProcessExecutor not available on Windows')\n def test_unused_functions_project_builddir_j_process(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_unused_functions_project(['-j2', '--cppcheck-build-dir={}'.format(build_dir), '--executor=process'])\n\ntests/unused_function_test.py:150: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_unused_functions_project_8/b1', '--executor=process']\n\n def __test_unused_functions_project(extra_args):\n project_file = os.path.join(__project_dir, 'unusedFunction.cppcheck')\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(project_file),\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:104: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb2')\n\n def test_unused_functions_compdb(tmpdir):\n> __test_unused_functions_compdb(tmpdir, ['-j1', '--no-cppcheck-build-dir'])\n\ntests/unused_function_test.py:172: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb2')\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_unused_functions_compdb(tmpdir, extra_args):\n compdb_file = __create_compdb(tmpdir, __project_dir)\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(compdb_file)\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb2/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:164: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_j2')\n\n def test_unused_functions_compdb_j(tmpdir):\n compdb_file = __create_compdb(tmpdir, __project_dir)\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(compdb_file),\n '-j2',\n '--no-cppcheck-build-dir'\n ]\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == [\n \"cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.\"\n ]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_j2/compile_commands.json'. Project files are not supported.\" != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:187: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b2')\n\n def test_unused_functions_compdb_buildir_j_thread(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_unused_functions_compdb(tmpdir, ['-j2', '--cppcheck-build-dir={}'.format(build_dir), '--executor=thread'])\n\ntests/unused_function_test.py:197: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b2')\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b2/b1', '--executor=thread']\n\n def __test_unused_functions_compdb(tmpdir, extra_args):\n compdb_file = __create_compdb(tmpdir, __project_dir)\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(compdb_file)\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b2/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:164: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b5')\n\n @pytest.mark.skipif(sys.platform == 'win32', reason='ProcessExecutor not available on Windows')\n def test_unused_functions_compdb_builddir_j_process(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_unused_functions_compdb(tmpdir, ['-j2', '--cppcheck-build-dir={}'.format(build_dir), '--executor=process'])\n\ntests/unused_function_test.py:204: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b5')\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b5/b1', '--executor=process']\n\n def __test_unused_functions_compdb(tmpdir, extra_args):\n compdb_file = __create_compdb(tmpdir, __project_dir)\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(compdb_file)\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b5/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:164: AssertionErrordef test_addon_suppress_inline():\n args = [\n '-q',\n '--addon=misra',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/whole1.c',\n 'whole-program/whole2.c'\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['whole-progr...Suppression]'] == []\nE \nE Left contains 3 more items, first extra item: 'whole-program/whole1.c:3:0: information: Unmatched suppression: misra-c2012-8.4 [unmatchedSuppression]'\nE \nE Full diff:\nE - []\nE + [\nE + 'whole-program/whole1.c:3:0: information: Unmatched suppression: '...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:46: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_suppress_inline_pro2')\n\n def test_addon_suppress_inline_project(tmpdir):\n compile_db = __create_compile_commands(tmpdir, [\n os.path.join(__script_dir, 'whole-program', 'whole1.c'),\n os.path.join(__script_dir, 'whole-program', 'whole2.c')\n ])\n \n args = [\n '-q',\n '--addon=misra',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_addon_suppress_inline_pro2/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:69: AssertionErrordef test_suppress_inline():\n> __test_suppress_inline(['-j1', '--no-cppcheck-build-dir'])\n\ntests/whole_program_test.py:95: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_suppress_inline(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE assert 'cppcheck: er...build-dir\".\\n' == ''\nE \nE + cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\n\ntests/whole_program_test.py:90: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir2')\n\n def test_suppress_inline_builddir(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\n\ntests/whole_program_test.py:106: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir2/b1', '-j1']\n\n def __test_suppress_inline(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['whole-progr...Suppression]'] == []\nE \nE Left contains one more item: 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: ctuOneDefinitionRuleViolation [unmatchedSuppression]'\nE \nE Full diff:\nE - []\nE + [\nE + 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: '\nE + 'ctuOneDefinitionRuleViolation [unmatchedSuppression]',\nE + ]\n\ntests/whole_program_test.py:89: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir_2')\n\n def test_suppress_inline_builddir_cached(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\n\ntests/whole_program_test.py:112: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir_2/b1', '-j1']\n\n def __test_suppress_inline(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['whole-progr...Suppression]'] == []\nE \nE Left contains one more item: 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: ctuOneDefinitionRuleViolation [unmatchedSuppression]'\nE \nE Full diff:\nE - []\nE + [\nE + 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: '\nE + 'ctuOneDefinitionRuleViolation [unmatchedSuppression]',\nE + ]\n\ntests/whole_program_test.py:89: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir_5')\n\n def test_suppress_inline_builddir_j(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\n\ntests/whole_program_test.py:119: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir_5/b1', '-j2']\n\n def __test_suppress_inline(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['whole-progr...Suppression]'] == []\nE \nE Left contains one more item: 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: ctuOneDefinitionRuleViolation [unmatchedSuppression]'\nE \nE Full diff:\nE - []\nE + [\nE + 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: '\nE + 'ctuOneDefinitionRuleViolation [unmatchedSuppression]',\nE + ]\n\ntests/whole_program_test.py:89: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_inline_suppr_builddir_j_c5')\n\n def test_inline_suppr_builddir_j_cached(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\n\ntests/whole_program_test.py:125: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_inline_suppr_builddir_j_c5/b1', '-j2']\n\n def __test_suppress_inline(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['whole-progr...Suppression]'] == []\nE \nE Left contains one more item: 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: ctuOneDefinitionRuleViolation [unmatchedSuppression]'\nE \nE Full diff:\nE - []\nE + [\nE + 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: '\nE + 'ctuOneDefinitionRuleViolation [unmatchedSuppression]',\nE + ]\n\ntests/whole_program_test.py:89: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project2')\n\n def test_suppress_inline_project(tmp_path):\n> __test_suppress_inline_project(tmp_path, ['-j1', '--no-cppcheck-build-dir'])\n\ntests/whole_program_test.py:156: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project2')\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_suppress_inline_project(tmp_path, extra_args):\n compile_db = __create_compile_commands(str(tmp_path), [\n os.path.join(__script_dir, 'whole-program', 'odr1.cpp'),\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project2/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:150: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b2')\n\n def test_suppress_inline_project_builddir(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\n\ntests/whole_program_test.py:167: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b2')\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b2/b1', '-j1']\n\n def __test_suppress_inline_project(tmp_path, extra_args):\n compile_db = __create_compile_commands(str(tmp_path), [\n os.path.join(__script_dir, 'whole-program', 'odr1.cpp'),\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b2/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:150: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b5')\n\n def test_suppress_inline_project_builddir_cached(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\n\ntests/whole_program_test.py:173: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b5')\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b5/b1', '-j1']\n\n def __test_suppress_inline_project(tmp_path, extra_args):\n compile_db = __create_compile_commands(str(tmp_path), [\n os.path.join(__script_dir, 'whole-program', 'odr1.cpp'),\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b5/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:150: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b8')\n\n def test_suppress_inline_project_builddir_j(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\n\ntests/whole_program_test.py:180: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b8')\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b8/b1', '-j2']\n\n def __test_suppress_inline_project(tmp_path, extra_args):\n compile_db = __create_compile_commands(str(tmp_path), [\n os.path.join(__script_dir, 'whole-program', 'odr1.cpp'),\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b8/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:150: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b11')\n\n def test_suppress_inline_project_builddir_j_cached(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\n\ntests/whole_program_test.py:186: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b11')\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b11/b1', '-j2']\n\n def __test_suppress_inline_project(tmp_path, extra_args):\n compile_db = __create_compile_commands(str(tmp_path), [\n os.path.join(__script_dir, 'whole-program', 'odr1.cpp'),\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b11/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:150: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_rerun_False_2')\nbuilddir = False\n\n @pytest.mark.parametrize(\"builddir\", (False,True))\n def test_addon_rerun(tmp_path, builddir):\n \"\"\"Rerun analysis and ensure that misra CTU works; with and without build dir\"\"\"\n args = [\n '--addon=misra',\n '--enable=style',\n '--template={id}',\n 'whole-program']\n # do not use the injection because the directory needs to survive runs\n if builddir:\n args.append('--cppcheck-build-dir=' + str(tmp_path))\n else:\n args.append('--no-cppcheck-build-dir')\n _, _, stderr = cppcheck(args, cwd=__script_dir)\n> assert 'misra-c2012-5.8' in stderr\nE AssertionError: assert 'misra-c2012-5.8' in ''\n\ntests/whole_program_test.py:204: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_rerun_True_2')\nbuilddir = True\n\n @pytest.mark.parametrize(\"builddir\", (False,True))\n def test_addon_rerun(tmp_path, builddir):\n \"\"\"Rerun analysis and ensure that misra CTU works; with and without build dir\"\"\"\n args = [\n '--addon=misra',\n '--enable=style',\n '--template={id}',\n 'whole-program']\n # do not use the injection because the directory needs to survive runs\n if builddir:\n args.append('--cppcheck-build-dir=' + str(tmp_path))\n else:\n args.append('--no-cppcheck-build-dir')\n _, _, stderr = cppcheck(args, cwd=__script_dir)\n> assert 'misra-c2012-5.8' in stderr\nE AssertionError: assert 'misra-c2012-5.8' in ''\n\ntests/whole_program_test.py:204: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_builddir_use_ctuinf2')\n\n def test_addon_builddir_use_ctuinfo(tmp_path):\n \"\"\"Test that ctu-info files are used when builddir is used\"\"\"\n args = [\n '--cppcheck-build-dir=' + str(tmp_path),\n '--addon=misra',\n '--enable=style',\n '--template={id}',\n 'whole-program']\n _, _, stderr = cppcheck(args, cwd=__script_dir)\n> assert 'misra-c2012-5.8' in stderr\nE AssertionError: assert 'misra-c2012-5.8' in ''\n\ntests/whole_program_test.py:217: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_no_artifacts_False_2')\nbuilddir = False\n\n @pytest.mark.parametrize(\"builddir\", (False,True))\n def test_addon_no_artifacts(tmp_path, builddir):\n \"\"\"Test that there are no artifacts left after analysis\"\"\"\n shutil.copyfile(os.path.join(__script_dir, 'whole-program', 'whole1.c'), tmp_path / 'whole1.c')\n shutil.copyfile(os.path.join(__script_dir, 'whole-program', 'whole2.c'), tmp_path / 'whole2.c')\n build_dir = str(tmp_path / 'b1')\n os.mkdir(build_dir)\n args = [\n '--addon=misra',\n '--enable=style',\n '--template={id}',\n str(tmp_path)]\n if builddir:\n args.append('--cppcheck-build-dir=' + build_dir)\n _, _, stderr = cppcheck(args, cwd=__script_dir)\n> assert 'misra-c2012-5.8' in stderr\nE AssertionError: assert 'misra-c2012-5.8' in ''\n\ntests/whole_program_test.py:241: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_no_artifacts_True_2')\nbuilddir = True\n\n @pytest.mark.parametrize(\"builddir\", (False,True))\n def test_addon_no_artifacts(tmp_path, builddir):\n \"\"\"Test that there are no artifacts left after analysis\"\"\"\n shutil.copyfile(os.path.join(__script_dir, 'whole-program', 'whole1.c'), tmp_path / 'whole1.c')\n shutil.copyfile(os.path.join(__script_dir, 'whole-program', 'whole2.c'), tmp_path / 'whole2.c')\n build_dir = str(tmp_path / 'b1')\n os.mkdir(build_dir)\n args = [\n '--addon=misra',\n '--enable=style',\n '--template={id}',\n str(tmp_path)]\n if builddir:\n args.append('--cppcheck-build-dir=' + build_dir)\n _, _, stderr = cppcheck(args, cwd=__script_dir)\n> assert 'misra-c2012-5.8' in stderr\nE AssertionError: assert 'misra-c2012-5.8' in ''\n\ntests/whole_program_test.py:241: AssertionErrordef test_checkclass():\n> __test_checkclass(['-j1'])\n\ntests/whole_program_test.py:273: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1']\n\n def __test_checkclass(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp',\n 'whole-program/odr3.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"whole-program{}odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(os.path.sep)\n ]\nE assert [] == ['whole-progr...leViolation]']\nE \nE Right contains one more item: \"whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - 'whole-program/odr1.cpp:6:1: error: The one definition rule is violated, '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:265: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_builddir2')\n\n def test_checkclass_builddir(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_checkclass(['--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/whole_program_test.py:284: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_checkclass_builddir2/b1']\n\n def __test_checkclass(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp',\n 'whole-program/odr3.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"whole-program{}odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(os.path.sep)\n ]\nE assert [] == ['whole-progr...leViolation]']\nE \nE Right contains one more item: \"whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - 'whole-program/odr1.cpp:6:1: error: The one definition rule is violated, '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:265: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_builddir_j2')\n\n def test_checkclass_builddir_j(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_checkclass(['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/whole_program_test.py:290: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_checkclass_builddir_j2/b1']\n\n def __test_checkclass(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp',\n 'whole-program/odr3.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"whole-program{}odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(os.path.sep)\n ]\nE assert [] == ['whole-progr...leViolation]']\nE \nE Right contains one more item: \"whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - 'whole-program/odr1.cpp:6:1: error: The one definition rule is violated, '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:265: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project2')\n\n def test_checkclass_project(tmpdir):\n> __test_checkclass_project(tmpdir, ['-j1'])\n\ntests/whole_program_test.py:321: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project2')\nextra_args = ['-j1']\n\n def __test_checkclass_project(tmpdir, extra_args):\n odr_file_1 = os.path.join(__script_dir, 'whole-program', 'odr1.cpp')\n \n compile_db = __create_compile_commands(tmpdir, [\n odr_file_1,\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"{}:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(odr_file_1)\n ]\nE assert [] == ['/workspace/...leViolation]']\nE \nE Right contains one more item: \"/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:313: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd2')\n\n def test_checkclass_project_builddir(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_checkclass_project(tmpdir, ['-j1', '--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/whole_program_test.py:332: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd2')\nextra_args = ['-j1', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd2/b1']\n\n def __test_checkclass_project(tmpdir, extra_args):\n odr_file_1 = os.path.join(__script_dir, 'whole-program', 'odr1.cpp')\n \n compile_db = __create_compile_commands(tmpdir, [\n odr_file_1,\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"{}:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(odr_file_1)\n ]\nE assert [] == ['/workspace/...leViolation]']\nE \nE Right contains one more item: \"/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:313: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd5')\n\n def test_checkclass_project_builddir_j(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_checkclass_project(tmpdir, ['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/whole_program_test.py:338: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd5')\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd5/b1']\n\n def __test_checkclass_project(tmpdir, extra_args):\n odr_file_1 = os.path.join(__script_dir, 'whole-program', 'odr1.cpp')\n \n compile_db = __create_compile_commands(tmpdir, [\n odr_file_1,\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"{}:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(odr_file_1)\n ]\nE assert [] == ['/workspace/...leViolation]']\nE \nE Right contains one more item: \"/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:313: AssertionErrordef test_ctu_odr_config():\n args = [\n '-q',\n '-j1',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n 'whole-program/odr_cfg1.cpp',\n 'whole-program/odr_cfg2.cpp'\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"whole-program{}odr_cfg1.cpp:2:1: error: The one definition rule is violated, different classes/structs have the same name 'S' [ctuOneDefinitionRuleViolation]\".format(os.path.sep)\n ]\nE assert [] == ['whole-progr...leViolation]']\nE \nE Right contains one more item: \"whole-program/odr_cfg1.cpp:2:1: error: The one definition rule is violated, different classes/structs have the same name 'S' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - 'whole-program/odr_cfg1.cpp:2:1: error: The one definition rule is '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:353: AssertionErrordef test_nullpointer_file0():\n> __test_nullpointer_file0(['-j1'])\n\ntests/whole_program_test.py:382: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1']\n\n def __test_nullpointer_file0(extra_args):\n args = [\n '-q',\n '--xml',\n '--error-exitcode=1',\n 'whole-program/nullpointer1.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n results = ET.fromstring(stderr)\n file0 = ''\n for e in results.findall('errors/error[@id=\"ctunullpointer\"]'):\n file0 = e.attrib['file0']\n \n> assert ret == 1, stdout if stdout else stderr\nE AssertionError: <?xml version=\"1.0\" encoding=\"UTF-8\"?>\nE <results version=\"2\">\nE <cppcheck version=\"2.19 dev\"/>\nE <errors>\nE </errors>\nE </results>\nE \nE assert 0 == 1\n\ntests/whole_program_test.py:376: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_nullpointer_file0_builddi2')\n\n def test_nullpointer_file0_builddir_j(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_nullpointer_file0(['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/whole_program_test.py:393: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_nullpointer_file0_builddi2/b1']\n\n def __test_nullpointer_file0(extra_args):\n args = [\n '-q',\n '--xml',\n '--error-exitcode=1',\n 'whole-program/nullpointer1.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n results = ET.fromstring(stderr)\n file0 = ''\n for e in results.findall('errors/error[@id=\"ctunullpointer\"]'):\n file0 = e.attrib['file0']\n \n> assert ret == 1, stdout if stdout else stderr\nE AssertionError: <?xml version=\"1.0\" encoding=\"UTF-8\"?>\nE <results version=\"2\">\nE <cppcheck version=\"2.19 dev\"/>\nE <errors>\nE </errors>\nE </results>\nE \nE assert 0 == 1\n\ntests/whole_program_test.py:376: AssertionErrortmpdir = local('/tmp/pytest-of-root/pytest-0/test_nullpointer_out_of_memory2')\nsingle_file = False\n\n @pytest.mark.parametrize(\"single_file\", [\n False,\n pytest.param(True, marks=pytest.mark.xfail(strict=True)),\n ])\n def test_nullpointer_out_of_memory(tmpdir, single_file):\n \"\"\"Ensure that there are not duplicate warnings related to memory/resource allocation failures\n https://trac.cppcheck.net/ticket/13521\n \"\"\"\n code1 = 'void f(int* p) { *p = 0; }\\n'\n code2 = 'int main() { int* p = malloc(10); f(p); return 0; }\\n'\n if single_file:\n with open(tmpdir / 'test.c', 'wt') as f:\n f.write(code1 + code2)\n else:\n with open(tmpdir / 'header.h', 'wt') as f:\n f.write('void f(int* p);\\n')\n with open(tmpdir / 'test1.c', 'wt') as f:\n f.write('#include \"header.h\"\\n' + code1)\n with open(tmpdir / 'test2.c', 'wt') as f:\n f.write('#include \"header.h\"\\n' + code2)\n args = [\n '--cppcheck-build-dir=.',\n '--enable=style',\n '.']\n _, _, stderr = cppcheck(args, cwd=tmpdir)\n results = []\n for line in stderr.splitlines():\n if line.endswith(']'):\n results.append(line[line.find('['):])\n \n if single_file:\n # the bug is found and reported using normal valueflow analysis\n # ctu finding is not reported\n assert results == ['[nullPointerOutOfMemory]']\n else:\n # the bug is found using ctu analysis\n> assert results == ['[ctunullpointerOutOfMemory]']\nE AssertionError: assert [] == ['[ctunullpoi...OutOfMemory]']\nE \nE Right contains one more item: '[ctunullpointerOutOfMemory]'\nE \nE Full diff:\nE + []\nE - [\nE - '[ctunullpointerOutOfMemory]',\nE - ]\n\ntests/whole_program_test.py:432: AssertionError", "returncode": 0, "exception_info": "", "branch": "b9729b57ee68"}, {"step": "restore_executable", "command": "rm -f ./executable && mv /opt/programbench-stashed-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.04216753000036988, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum ./executable", "wall_time": 0.04605914600051619, "output": "0003df32077cb123ab829f29b59141e37fecd31af40e535ce315d12dd7fbfaea ./executable\n", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.03783354200004396, "output": "", "returncode": 0, "exception_info": ""}, {"step": "patch_timeout_method", "command": "test -f eval/run.sh && sed -i 's/--timeout-method=thread/--timeout-method=signal/g' eval/run.sh || true", "wall_time": 0.03844798899990565, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "export PYTEST_ADDOPTS=\"$PYTEST_ADDOPTS --reruns=2 --reruns-delay=1\" && chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 2.6915956599996207, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0\nrootdir: /workspace\nplugins: timeout-2.4.0, rerunfailures-16.7, libtmux-0.58.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: signal\ntimeout func_only: False\ncreated: 10/10 workers\n10 workers [20 items]\n\n.................... [100%]\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n============================== 20 passed in 0.57s ==============================\npytest exit code: 0\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\n", "returncode": 0, "exception_info": ""}, {"step": "results_read", "command": "docker cp 13759311682c0c3ef9ab8e62cc489f068f923f8c1a2b52e8b44aafa29acce421:/workspace/eval/results.xml /tmp/tmpu6o6d53u.xml", "wall_time": 0.013147765999747207, "output": "", "returncode": 0, "exception_info": "", "branch": "b8be5cc4b78a"}, {"step": "restore_executable", "command": "rm -f ./executable && mv /opt/programbench-stashed-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.14780008399975486, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum ./executable", "wall_time": 0.04985718599982647, "output": "0003df32077cb123ab829f29b59141e37fecd31af40e535ce315d12dd7fbfaea ./executable\n", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.04201849800028867, "output": "", "returncode": 0, "exception_info": ""}, {"step": "patch_timeout_method", "command": "test -f eval/run.sh && sed -i 's/--timeout-method=thread/--timeout-method=signal/g' eval/run.sh || true", "wall_time": 0.042036065000502276, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "export PYTEST_ADDOPTS=\"$PYTEST_ADDOPTS --reruns=2 --reruns-delay=1\" && chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 2.6522838560003947, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, rerunfailures-16.7, libtmux-0.58.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: signal\ntimeout func_only: False\ncreated: 10/10 workers\n10 workers [9 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_xml_output.py::test_xml_output_goes_to_stderr \neval/tests/test_basic_io.py::test_enable_all_emits_findings_to_stderr_and_progress_to_stdout \neval/tests/test_basic_io.py::test_checks_file_prints_progress_to_stdout \neval/tests/test_help_and_version.py::test_version_prints_version_prefix \neval/tests/test_basic_io.py::test_no_input_reports_error \neval/tests/test_help_and_version.py::test_help_mentions_cppcheck_and_syntax \neval/tests/test_basic_io.py::test_dash_is_not_stdin_marker \neval/tests/test_basic_io.py::test_nonexistent_path_reports_error \neval/tests/test_basic_io.py::test_quiet_suppresses_progress_but_not_diagnostics \n[gw7] [ 11%] PASSED eval/tests/test_help_and_version.py::test_version_prints_version_prefix \n[gw6] [ 22%] PASSED eval/tests/test_help_and_version.py::test_help_mentions_cppcheck_and_syntax \n[gw4] [ 33%] PASSED eval/tests/test_basic_io.py::test_no_input_reports_error \n[gw3] [ 44%] PASSED eval/tests/test_basic_io.py::test_dash_is_not_stdin_marker \n[gw5] [ 55%] PASSED eval/tests/test_basic_io.py::test_nonexistent_path_reports_error \n[gw1] [ 66%] PASSED eval/tests/test_basic_io.py::test_enable_all_emits_findings_to_stderr_and_progress_to_stdout \n[gw8] [ 77%] PASSED eval/tests/test_xml_output.py::test_xml_output_goes_to_stderr \n[gw0] [ 88%] PASSED eval/tests/test_basic_io.py::test_checks_file_prints_progress_to_stdout \n[gw2] [100%] PASSED eval/tests/test_basic_io.py::test_quiet_suppresses_progress_but_not_diagnostics \n\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n============================== 9 passed in 0.53s ===============================\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\n", "returncode": 0, "exception_info": ""}, {"step": "results_read", "command": "docker cp e6ff9f6fb446dbbda440d3fb6968b08e5bde0a67f484e1aa45f25e844a484df7:/workspace/eval/results.xml /tmp/tmpzion0v6f.xml", "wall_time": 0.012398730000313662, "output": "", "returncode": 0, "exception_info": "", "branch": "39358c9593e6"}, {"step": "restore_executable", "command": "rm -f ./executable && mv /opt/programbench-stashed-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.04458868199981225, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum ./executable", "wall_time": 0.04966647200035368, "output": "0003df32077cb123ab829f29b59141e37fecd31af40e535ce315d12dd7fbfaea ./executable\n", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.041230490999623726, "output": "", "returncode": 0, "exception_info": ""}, {"step": "patch_timeout_method", "command": "test -f eval/run.sh && sed -i 's/--timeout-method=thread/--timeout-method=signal/g' eval/run.sh || true", "wall_time": 0.04080695599986939, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "export PYTEST_ADDOPTS=\"$PYTEST_ADDOPTS --reruns=2 --reruns-delay=1\" && chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 1.554836057999637, "output": "Installing pytest dependencies...\n\nRunning subcommand dispatch and routing tests...\n================================================\n\n============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, rerunfailures-16.7, libtmux-0.58.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: signal\ntimeout func_only: False\ncreated: 10/10 workers\n10 workers [23 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_subcommand_dispatch.py::TestNoSubcommands::test_no_arguments_shows_help \neval/tests/test_subcommand_dispatch.py::TestNoSubcommands::test_version_flag_works \neval/tests/test_subcommand_dispatch.py::TestErrorMessages::test_invalid_flag_error_pattern \neval/tests/test_subcommand_dispatch.py::TestTraditionalFlagInterface::test_errorlist_flag \neval/tests/test_subcommand_dispatch.py::TestNoGlobalVsLocalFlags::test_no_subcommand_specific_help_exists \neval/tests/test_subcommand_dispatch.py::TestNoSubcommandHelp::test_help_shows_options_not_commands \neval/tests/test_subcommand_dispatch.py::TestTraditionalFlagInterface::test_double_dash_flags \n[gw9] [ 4%] PASSED eval/tests/test_subcommand_dispatch.py::TestErrorMessages::test_invalid_flag_error_pattern \neval/tests/test_subcommand_dispatch.py::TestNoSubcommands::test_help_subcommand_treated_as_path \n[gw1] [ 8%] PASSED eval/tests/test_subcommand_dispatch.py::TestNoSubcommands::test_version_flag_works \n[gw0] [ 13%] PASSED eval/tests/test_subcommand_dispatch.py::TestNoSubcommands::test_no_arguments_shows_help \neval/tests/test_subcommand_dispatch.py::TestArgumentParsing::test_unknown_flag_error \n[gw8] [ 17%] PASSED eval/tests/test_subcommand_dispatch.py::TestNoGlobalVsLocalFlags::test_no_subcommand_specific_help_exists \n[gw7] [ 21%] PASSED eval/tests/test_subcommand_dispatch.py::TestArgumentParsing::test_unknown_flag_error \n[gw3] [ 26%] PASSED eval/tests/test_subcommand_dispatch.py::TestTraditionalFlagInterface::test_double_dash_flags \n[gw5] [ 30%] PASSED eval/tests/test_subcommand_dispatch.py::TestNoSubcommandHelp::test_help_shows_options_not_commands \n[gw4] [ 34%] PASSED eval/tests/test_subcommand_dispatch.py::TestTraditionalFlagInterface::test_errorlist_flag \neval/tests/test_subcommand_dispatch.py::TestArgumentParsing::test_multiple_flags_without_subcommand \n[gw2] [ 39%] PASSED eval/tests/test_subcommand_dispatch.py::TestNoSubcommands::test_help_subcommand_treated_as_path \n[gw6] [ 43%] PASSED eval/tests/test_subcommand_dispatch.py::TestArgumentParsing::test_multiple_flags_without_subcommand \neval/tests/test_subcommand_dispatch.py::TestExamplesInHelp::test_help_contains_usage_examples \neval/tests/test_subcommand_dispatch.py::TestTraditionalFlagInterface::test_flags_come_before_paths \neval/tests/test_subcommand_dispatch.py::TestNoSubcommandHelp::test_syntax_shows_single_command_form \neval/tests/test_subcommand_dispatch.py::TestNoSubcommandHelp::test_no_subcommand_list_in_help \neval/tests/test_subcommand_dispatch.py::TestNoSubcommands::test_help_flag_works \neval/tests/test_subcommand_dispatch.py::TestNoSubcommands::test_unknown_word_treated_as_path_not_subcommand \neval/tests/test_subcommand_dispatch.py::TestTraditionalFlagInterface::test_single_dash_flags \neval/tests/test_subcommand_dispatch.py::TestNoGlobalVsLocalFlags::test_all_flags_available_always \n[gw5] [ 47%] PASSED eval/tests/test_subcommand_dispatch.py::TestNoSubcommandHelp::test_syntax_shows_single_command_form \n[gw2] [ 52%] PASSED eval/tests/test_subcommand_dispatch.py::TestTraditionalFlagInterface::test_flags_come_before_paths \n[gw9] [ 56%] PASSED eval/tests/test_subcommand_dispatch.py::TestExamplesInHelp::test_help_contains_usage_examples \n[gw0] [ 60%] PASSED eval/tests/test_subcommand_dispatch.py::TestNoSubcommands::test_help_flag_works \n[gw4] [ 65%] PASSED eval/tests/test_subcommand_dispatch.py::TestNoSubcommandHelp::test_no_subcommand_list_in_help \n[gw3] [ 69%] PASSED eval/tests/test_subcommand_dispatch.py::TestTraditionalFlagInterface::test_single_dash_flags \n[gw7] [ 73%] PASSED eval/tests/test_subcommand_dispatch.py::TestNoGlobalVsLocalFlags::test_all_flags_available_always \neval/tests/test_subcommand_dispatch.py::TestErrorMessages::test_file_not_found_error_pattern \n[gw1] [ 78%] PASSED eval/tests/test_subcommand_dispatch.py::TestNoSubcommands::test_unknown_word_treated_as_path_not_subcommand \n[gw8] [ 82%] PASSED eval/tests/test_subcommand_dispatch.py::TestErrorMessages::test_file_not_found_error_pattern \neval/tests/test_subcommand_dispatch.py::TestArgumentParsing::test_flag_with_value \n[gw6] [ 86%] PASSED eval/tests/test_subcommand_dispatch.py::TestArgumentParsing::test_flag_with_value \neval/tests/test_subcommand_dispatch.py::TestExamplesInHelp::test_examples_use_flags_not_subcommands \neval/tests/test_subcommand_dispatch.py::TestCommandStructure::test_main_syntax_is_simple \neval/tests/test_subcommand_dispatch.py::TestCommandStructure::test_no_command_aliases \n[gw0] [ 91%] PASSED eval/tests/test_subcommand_dispatch.py::TestCommandStructure::test_main_syntax_is_simple \n[gw1] [ 95%] PASSED eval/tests/test_subcommand_dispatch.py::TestExamplesInHelp::test_examples_use_flags_not_subcommands \n[gw8] [100%] PASSED eval/tests/test_subcommand_dispatch.py::TestCommandStructure::test_no_command_aliases \n\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n============================== 23 passed in 0.61s ==============================\n\n================================================\nTest execution complete.\nResults saved to eval/results.xml\n\n\u2713 Results file created successfully\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\n", "returncode": 0, "exception_info": ""}, {"step": "results_read", "command": "docker cp a2b9ae22992f38454cc72015165426feb2e34428a094263fbffdc94743409abf:/workspace/eval/results.xml /tmp/tmp1b6c8ipy.xml", "wall_time": 0.013702346000172838, "output": "", "returncode": 0, "exception_info": "", "branch": "0f05dce28023"}, {"step": "restore_executable", "command": "rm -f ./executable && mv /opt/programbench-stashed-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.04644100200039247, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum ./executable", "wall_time": 0.050357731000076456, "output": "0003df32077cb123ab829f29b59141e37fecd31af40e535ce315d12dd7fbfaea ./executable\n", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.04170774900012475, "output": "", "returncode": 0, "exception_info": ""}, {"step": "patch_timeout_method", "command": "test -f eval/run.sh && sed -i 's/--timeout-method=thread/--timeout-method=signal/g' eval/run.sh || true", "wall_time": 0.04249816599985934, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "export PYTEST_ADDOPTS=\"$PYTEST_ADDOPTS --reruns=2 --reruns-delay=1\" && chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 5.486059345000285, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, rerunfailures-16.7, libtmux-0.58.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: signal\ntimeout func_only: False\ncreated: 10/10 workers\n10 workers [1 item]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_smoke_help.py::test_ext_help_smoke \n[gw0] [100%] PASSED eval/tests/test_smoke_help.py::test_ext_help_smoke \n\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n============================== 1 passed in 0.51s ===============================\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\n", "returncode": 0, "exception_info": ""}, {"step": "results_read", "command": "docker cp 0b434fb3147c9a3a8c04b6acb5caff5d873e2cfe8c4f54c1cb171c8b33091261:/workspace/eval/results.xml /tmp/tmpi8lc2log.xml", "wall_time": 0.013674154000000271, "output": "", "returncode": 0, "exception_info": "", "branch": "48df755926d7"}, {"step": "restore_executable", "command": "rm -f ./executable && mv /opt/programbench-stashed-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.044038121000085084, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum ./executable", "wall_time": 0.049655781999717874, "output": "0003df32077cb123ab829f29b59141e37fecd31af40e535ce315d12dd7fbfaea ./executable\n", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.03941571499944985, "output": "", "returncode": 0, "exception_info": ""}, {"step": "patch_timeout_method", "command": "test -f eval/run.sh && sed -i 's/--timeout-method=thread/--timeout-method=signal/g' eval/run.sh || true", "wall_time": 0.041142459999718994, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "export PYTEST_ADDOPTS=\"$PYTEST_ADDOPTS --reruns=2 --reruns-delay=1\" && chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 12.249158349000027, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, rerunfailures-16.7, libtmux-0.58.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: signal\ntimeout func_only: False\ncollecting ... collected 8 items\n\neval/tests/test_config_and_env.py::test_cppcheck_cfg_missing_is_ok PASSED [ 12%]\neval/tests/test_config_and_env.py::test_cppcheck_cfg_next_to_executable_overrides_product_name RERUN [ 25%]\neval/tests/test_config_and_env.py::test_cppcheck_cfg_next_to_executable_overrides_product_name RERUN [ 25%]\neval/tests/test_config_and_env.py::test_cppcheck_cfg_next_to_executable_overrides_product_name FAILED [ 25%]\neval/tests/test_config_and_env.py::test_debug_lookup_config_reports_search_paths RERUN [ 37%]\neval/tests/test_config_and_env.py::test_debug_lookup_config_reports_search_paths RERUN [ 37%]\neval/tests/test_config_and_env.py::test_debug_lookup_config_reports_search_paths FAILED [ 37%]\neval/tests/test_config_and_env.py::test_malformed_cppcheck_cfg_fails RERUN [ 50%]\neval/tests/test_config_and_env.py::test_malformed_cppcheck_cfg_fails RERUN [ 50%]\neval/tests/test_config_and_env.py::test_malformed_cppcheck_cfg_fails FAILED [ 50%]\neval/tests/test_config_and_env.py::test_cppcheck_cfg_type_error_fails RERUN [ 62%]\neval/tests/test_config_and_env.py::test_cppcheck_cfg_type_error_fails RERUN [ 62%]\neval/tests/test_config_and_env.py::test_cppcheck_cfg_type_error_fails FAILED [ 62%]\neval/tests/test_config_and_env.py::test_env_no_color_disables_ansi_colors PASSED [ 75%]\neval/tests/test_config_and_env.py::test_env_clicolor_force_enables_ansi_colors_even_without_tty RERUN [ 87%]\neval/tests/test_config_and_env.py::test_env_clicolor_force_enables_ansi_colors_even_without_tty RERUN [ 87%]\neval/tests/test_config_and_env.py::test_env_clicolor_force_enables_ansi_colors_even_without_tty FAILED [ 87%]\neval/tests/test_config_and_env.py::test_no_color_takes_precedence_over_clicolor_force PASSED [100%]\n\n=================================== FAILURES ===================================\n_________ test_cppcheck_cfg_next_to_executable_overrides_product_name __________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_cppcheck_cfg_next_to_exec2')\n\n def test_cppcheck_cfg_next_to_executable_overrides_product_name(tmp_path):\n exedir = Path(EXECUTABLE).parent\n with ensure_no_cppcheck_cfg(exedir):\n with temp_cppcheck_cfg(exedir, json.dumps({\"productName\": \"MyProduct 9.9\"})):\n r = run(\"--version\", cwd=tmp_path)\n assert r.returncode == 0\n> assert r.stdout.strip() == b\"MyProduct 9.9\"\nE AssertionError: assert b'Cppcheck 2.19 dev' == b'MyProduct 9.9'\nE \nE At index 0 diff: b'C' != b'M'\nE \nE Full diff:\nE - (b'MyProduct 9.9')\nE + (b'Cppcheck 2.19 dev')\n\neval/tests/test_config_and_env.py:67: AssertionError\n________________ test_debug_lookup_config_reports_search_paths _________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_lookup_config_repor2')\n\n def test_debug_lookup_config_reports_search_paths(tmp_path):\n exedir = Path(EXECUTABLE).parent\n with ensure_no_cppcheck_cfg(exedir):\n r = run(\"--debug-lookup=config\", \"--version\", cwd=tmp_path)\n assert r.returncode == 0\n out = r.stdout.decode(\"utf-8\", errors=\"replace\")\n> assert \"looking for\" in out\nE AssertionError: assert 'looking for' in 'Cppcheck 2.19 dev\\n'\n\neval/tests/test_config_and_env.py:76: AssertionError\n______________________ test_malformed_cppcheck_cfg_fails _______________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_malformed_cppcheck_cfg_fa2')\n\n def test_malformed_cppcheck_cfg_fails(tmp_path):\n exedir = Path(EXECUTABLE).parent\n with ensure_no_cppcheck_cfg(exedir):\n with temp_cppcheck_cfg(exedir, \"not json\"):\n r = run(\"--version\", cwd=tmp_path)\n> assert r.returncode == 1\nE AssertionError: assert 0 == 1\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--version'], returncode=0, stdout=b'Cppcheck 2.19 dev\\n', stderr=b'').returncode\n\neval/tests/test_config_and_env.py:85: AssertionError\n______________________ test_cppcheck_cfg_type_error_fails ______________________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_cppcheck_cfg_type_error_f2')\n\n def test_cppcheck_cfg_type_error_fails(tmp_path):\n exedir = Path(EXECUTABLE).parent\n with ensure_no_cppcheck_cfg(exedir):\n with temp_cppcheck_cfg(exedir, json.dumps({\"productName\": 123})):\n r = run(\"--version\", cwd=tmp_path)\n> assert r.returncode == 1\nE AssertionError: assert 0 == 1\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--version'], returncode=0, stdout=b'Cppcheck 2.19 dev\\n', stderr=b'').returncode\n\neval/tests/test_config_and_env.py:94: AssertionError\n_________ test_env_clicolor_force_enables_ansi_colors_even_without_tty _________\n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_env_clicolor_force_enable2')\n\n def test_env_clicolor_force_enables_ansi_colors_even_without_tty(tmp_path):\n exedir = Path(EXECUTABLE).parent\n with ensure_no_cppcheck_cfg(exedir):\n src = tmp_path / \"a.c\"\n src.write_text(\"int main(){int x;return 0;}\\n\")\n r = run(\"--enable=style\", str(src), env={\"CLICOLOR_FORCE\": \"1\"}, cwd=tmp_path)\n combined = r.stdout + r.stderr\n> assert b\"\\x1b[\" in combined\nE AssertionError: assert b'\\x1b[' in b'Checking /tmp/pytest-of-root/pytest-0/test_env_clicolor_force_enable2/a.c ...\\n/tmp/pytest-of-root/pytest-0/test_env_clicolor_force_enable2/a.c:1:16: style: Unused variable: x [unusedVariable]\\nint main(){int x;return 0;}\\n ^\\n'\n\neval/tests/test_config_and_env.py:115: AssertionError\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n=========================== short test summary info ============================\nFAILED eval/tests/test_config_and_env.py::test_cppcheck_cfg_next_to_executable_overrides_product_name\nFAILED eval/tests/test_config_and_env.py::test_debug_lookup_config_reports_search_paths\nFAILED eval/tests/test_config_and_env.py::test_malformed_cppcheck_cfg_fails\nFAILED eval/tests/test_config_and_env.py::test_cppcheck_cfg_type_error_fails\nFAILED eval/tests/test_config_and_env.py::test_env_clicolor_force_enables_ansi_colors_even_without_tty\n==================== 5 failed, 3 passed, 10 rerun in 10.17s ====================\n(pytest exit code was 1)\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\n", "returncode": 0, "exception_info": ""}, {"step": "results_read", "command": "docker cp 2647643441c97982743999dd69a8fbe932944bcdc44915ea6859ad710e3fecbc:/workspace/eval/results.xml /tmp/tmpselernzc.xml", "wall_time": 0.012234096000611316, "output": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_cppcheck_cfg_next_to_exec2')\n\n def test_cppcheck_cfg_next_to_executable_overrides_product_name(tmp_path):\n exedir = Path(EXECUTABLE).parent\n with ensure_no_cppcheck_cfg(exedir):\n with temp_cppcheck_cfg(exedir, json.dumps({\"productName\": \"MyProduct 9.9\"})):\n r = run(\"--version\", cwd=tmp_path)\n assert r.returncode == 0\n> assert r.stdout.strip() == b\"MyProduct 9.9\"\nE AssertionError: assert b'Cppcheck 2.19 dev' == b'MyProduct 9.9'\nE \nE At index 0 diff: b'C' != b'M'\nE \nE Full diff:\nE - (b'MyProduct 9.9')\nE + (b'Cppcheck 2.19 dev')\n\neval/tests/test_config_and_env.py:67: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_lookup_config_repor2')\n\n def test_debug_lookup_config_reports_search_paths(tmp_path):\n exedir = Path(EXECUTABLE).parent\n with ensure_no_cppcheck_cfg(exedir):\n r = run(\"--debug-lookup=config\", \"--version\", cwd=tmp_path)\n assert r.returncode == 0\n out = r.stdout.decode(\"utf-8\", errors=\"replace\")\n> assert \"looking for\" in out\nE AssertionError: assert 'looking for' in 'Cppcheck 2.19 dev\\n'\n\neval/tests/test_config_and_env.py:76: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_malformed_cppcheck_cfg_fa2')\n\n def test_malformed_cppcheck_cfg_fails(tmp_path):\n exedir = Path(EXECUTABLE).parent\n with ensure_no_cppcheck_cfg(exedir):\n with temp_cppcheck_cfg(exedir, \"not json\"):\n r = run(\"--version\", cwd=tmp_path)\n> assert r.returncode == 1\nE AssertionError: assert 0 == 1\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--version'], returncode=0, stdout=b'Cppcheck 2.19 dev\\n', stderr=b'').returncode\n\neval/tests/test_config_and_env.py:85: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_cppcheck_cfg_type_error_f2')\n\n def test_cppcheck_cfg_type_error_fails(tmp_path):\n exedir = Path(EXECUTABLE).parent\n with ensure_no_cppcheck_cfg(exedir):\n with temp_cppcheck_cfg(exedir, json.dumps({\"productName\": 123})):\n r = run(\"--version\", cwd=tmp_path)\n> assert r.returncode == 1\nE AssertionError: assert 0 == 1\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--version'], returncode=0, stdout=b'Cppcheck 2.19 dev\\n', stderr=b'').returncode\n\neval/tests/test_config_and_env.py:94: AssertionErrortmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_env_clicolor_force_enable2')\n\n def test_env_clicolor_force_enables_ansi_colors_even_without_tty(tmp_path):\n exedir = Path(EXECUTABLE).parent\n with ensure_no_cppcheck_cfg(exedir):\n src = tmp_path / \"a.c\"\n src.write_text(\"int main(){int x;return 0;}\\n\")\n r = run(\"--enable=style\", str(src), env={\"CLICOLOR_FORCE\": \"1\"}, cwd=tmp_path)\n combined = r.stdout + r.stderr\n> assert b\"\\x1b[\" in combined\nE AssertionError: assert b'\\x1b[' in b'Checking /tmp/pytest-of-root/pytest-0/test_env_clicolor_force_enable2/a.c ...\\n/tmp/pytest-of-root/pytest-0/test_env_clicolor_force_enable2/a.c:1:16: style: Unused variable: x [unusedVariable]\\nint main(){int x;return 0;}\\n ^\\n'\n\neval/tests/test_config_and_env.py:115: AssertionError", "returncode": 0, "exception_info": "", "branch": "f889f70b446b"}, {"step": "restore_executable", "command": "rm -f ./executable && mv /opt/programbench-stashed-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.1475718819992835, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum ./executable", "wall_time": 0.04780629400011094, "output": "0003df32077cb123ab829f29b59141e37fecd31af40e535ce315d12dd7fbfaea ./executable\n", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.04105648499989911, "output": "", "returncode": 0, "exception_info": ""}, {"step": "patch_timeout_method", "command": "test -f eval/run.sh && sed -i 's/--timeout-method=thread/--timeout-method=signal/g' eval/run.sh || true", "wall_time": 0.04028614600065339, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "export PYTEST_ADDOPTS=\"$PYTEST_ADDOPTS --reruns=2 --reruns-delay=1\" && chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 3.9591648250006983, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, rerunfailures-16.7, libtmux-0.58.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: signal\ntimeout func_only: False\ncreated: 10/10 workers\n10 workers [29 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_help_usage.py::test_help_documents_common_flags[-D] \neval/tests/test_help_usage.py::test_help_goes_to_stdout_not_stderr \neval/tests/test_help_usage.py::test_help_has_options_section \neval/tests/test_help_usage.py::test_help_has_title_line \neval/tests/test_help_usage.py::test_help_mentions_manual_url \neval/tests/test_help_usage.py::test_help_documents_common_flags[-h, --help] \neval/tests/test_help_usage.py::test_help_documents_common_flags[--file-list=] \n[gw1] [ 3%] PASSED eval/tests/test_help_usage.py::test_help_goes_to_stdout_not_stderr \neval/tests/test_help_usage.py::test_help_documents_common_flags[--disable=] \n[gw9] [ 6%] PASSED eval/tests/test_help_usage.py::test_help_documents_common_flags[-D] \neval/tests/test_help_baseline.py::test_help_stdout_matches_baseline_exact \n[gw0] [ 10%] PASSED eval/tests/test_help_baseline.py::test_help_stdout_matches_baseline_exact \n[gw8] [ 13%] PASSED eval/tests/test_help_usage.py::test_help_documents_common_flags[--file-list=] \n[gw7] [ 17%] PASSED eval/tests/test_help_usage.py::test_help_documents_common_flags[--disable=] \n[gw2] [ 20%] PASSED eval/tests/test_help_usage.py::test_help_has_title_line \n[gw5] [ 24%] PASSED eval/tests/test_help_usage.py::test_help_documents_common_flags[-h, --help] \n[gw3] [ 27%] PASSED eval/tests/test_help_usage.py::test_help_has_options_section \neval/tests/test_help_usage.py::test_help_documents_common_flags[--xml] \n[gw4] [ 31%] PASSED eval/tests/test_help_usage.py::test_help_mentions_manual_url \n[gw6] [ 34%] PASSED eval/tests/test_help_usage.py::test_help_documents_common_flags[--xml] \neval/tests/test_help_usage.py::test_help_documents_common_flags[--error-exitcode=] \neval/tests/test_help_usage.py::test_help_has_example_usage_section \neval/tests/test_help_usage.py::test_help_documents_common_flags[-I ] \neval/tests/test_help_usage.py::test_help_documents_common_flags[-U] \neval/tests/test_help_usage.py::test_dash_h_matches_dash_dash_help_exactly \n[gw3] [ 37%] PASSED eval/tests/test_help_usage.py::test_help_has_example_usage_section \n[gw8] [ 41%] PASSED eval/tests/test_help_usage.py::test_help_documents_common_flags[-I ] \n[gw7] [ 44%] PASSED eval/tests/test_help_usage.py::test_help_documents_common_flags[--error-exitcode=] \n[gw9] [ 48%] PASSED eval/tests/test_help_usage.py::test_help_documents_common_flags[-U] \neval/tests/test_help_usage.py::test_help_has_syntax_section \n[gw2] [ 51%] PASSED eval/tests/test_help_usage.py::test_help_has_syntax_section \neval/tests/test_help_usage.py::test_help_exit_code_zero \n[gw1] [ 55%] PASSED eval/tests/test_help_usage.py::test_dash_h_matches_dash_dash_help_exactly \n[gw0] [ 58%] PASSED eval/tests/test_help_usage.py::test_help_exit_code_zero \neval/tests/test_help_usage.py::test_help_ends_with_newline \neval/tests/test_help_usage.py::test_help_documents_common_flags[--version] \n[gw5] [ 62%] PASSED eval/tests/test_help_usage.py::test_help_documents_common_flags[--version] \n[gw4] [ 65%] PASSED eval/tests/test_help_usage.py::test_help_ends_with_newline \neval/tests/test_help_usage.py::test_help_documents_common_flags[--enable=] \n[gw6] [ 68%] PASSED eval/tests/test_help_usage.py::test_help_documents_common_flags[--enable=] \neval/tests/test_help_usage.py::test_help_has_expected_example_snippet \neval/tests/test_help_usage.py::test_help_documents_common_flags[--inconclusive] \neval/tests/test_help_usage.py::test_help_documents_common_flags[--library=] \neval/tests/test_help_usage.py::test_help_documents_common_flags[--quiet] \n[gw3] [ 72%] PASSED eval/tests/test_help_usage.py::test_help_has_expected_example_snippet \n[gw7] [ 75%] PASSED eval/tests/test_help_usage.py::test_help_documents_common_flags[--library=] \neval/tests/test_help_usage.py::test_help_documents_common_flags[-v, --verbose] \n[gw9] [ 79%] PASSED eval/tests/test_help_usage.py::test_help_documents_common_flags[-v, --verbose] \neval/tests/test_help_usage.py::test_help_documents_common_flags[-f, --force] \n[gw1] [ 82%] PASSED eval/tests/test_help_usage.py::test_help_documents_common_flags[-f, --force] \n[gw8] [ 86%] PASSED eval/tests/test_help_usage.py::test_help_documents_common_flags[--inconclusive] \n[gw0] [ 89%] PASSED eval/tests/test_help_usage.py::test_help_documents_common_flags[--quiet] \neval/tests/test_help_usage.py::test_help_includes_severity_bullets_under_enable \n[gw2] [ 93%] PASSED eval/tests/test_help_usage.py::test_help_includes_severity_bullets_under_enable \neval/tests/test_help_usage.py::test_help_combined_with_unknown_flag_still_prints_help_and_exits_zero \neval/tests/test_help_usage.py::test_help_has_third_party_libraries_section \n[gw4] [ 96%] PASSED eval/tests/test_help_usage.py::test_help_has_third_party_libraries_section \n[gw5] [100%] PASSED eval/tests/test_help_usage.py::test_help_combined_with_unknown_flag_still_prints_help_and_exits_zero \n\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n============================== 29 passed in 0.64s ==============================\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\n", "returncode": 0, "exception_info": ""}, {"step": "results_read", "command": "docker cp 91f945929be3c2935b8ca6293ad88a6683d51b70a3e6abea1c35c0e2d7bf8db2:/workspace/eval/results.xml /tmp/tmp767fs99m.xml", "wall_time": 0.011714594999830297, "output": "", "returncode": 0, "exception_info": "", "branch": "9c41bb984bb2"}, {"step": "restore_executable", "command": "rm -f ./executable && mv /opt/programbench-stashed-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.044569075999788765, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum ./executable", "wall_time": 0.05110745000001771, "output": "0003df32077cb123ab829f29b59141e37fecd31af40e535ce315d12dd7fbfaea ./executable\n", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.04057988800013845, "output": "", "returncode": 0, "exception_info": ""}, {"step": "patch_timeout_method", "command": "test -f eval/run.sh && sed -i 's/--timeout-method=thread/--timeout-method=signal/g' eval/run.sh || true", "wall_time": 0.04172489500069787, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "export PYTEST_ADDOPTS=\"$PYTEST_ADDOPTS --reruns=2 --reruns-delay=1\" && chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 1.5292243359999702, "output": "pytest_exit_code=1\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\nTraceback (most recent call last):\n File \"/usr/local/bin/pytest\", line 8, in \n sys.exit(_console_main())\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/config/__init__.py\", line 253, in _console_main\n code = _main(prog=_get_prog_name(sys.argv))\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/config/__init__.py\", line 223, in _main\n config = _prepareconfig(new_args, plugins, prog=prog)\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/config/__init__.py\", line 410, in _prepareconfig\n config: Config = pluginmanager.hook.pytest_cmdline_parse(\n File \"/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py\", line 512, in __call__\n return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)\n File \"/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py\", line 120, in _hookexec\n return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\n File \"/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py\", line 167, in _multicall\n raise exception\n File \"/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py\", line 139, in _multicall\n teardown.throw(exception)\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/helpconfig.py\", line 124, in pytest_cmdline_parse\n config = yield\n File \"/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py\", line 121, in _multicall\n res = hook_impl.function(*args)\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/config/__init__.py\", line 1232, in pytest_cmdline_parse\n self.parse(args)\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/config/__init__.py\", line 1583, in parse\n self.pluginmanager.load_setuptools_entrypoints(\"pytest11\")\n File \"/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py\", line 416, in load_setuptools_entrypoints\n plugin = ep.load()\n File \"/usr/lib/python3.10/importlib/metadata/__init__.py\", line 171, in load\n module = import_module(match.group('module'))\n File \"/usr/lib/python3.10/importlib/__init__.py\", line 126, in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n File \"\", line 1050, in _gcd_import\n File \"\", line 1027, in _find_and_load\n File \"\", line 1006, in _find_and_load_unlocked\n File \"\", line 688, in _load_unlocked\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/assertion/rewrite.py\", line 188, in exec_module\n exec(co, module.__dict__)\n File \"/usr/local/lib/python3.10/dist-packages/libtmux/pytest_plugin.py\", line 87, in \n def zshrc(user_path: pathlib.Path) -> pathlib.Path:\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/mark/structures.py\", line 415, in __call__\n store_mark(unwrapped_func, self.mark)\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/mark/structures.py\", line 491, in store_mark\n fail(\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/outcomes.py\", line 162, in __call__\n raise Failed(msg=reason, pytrace=pytrace)\nFailed: Marks cannot be applied to fixtures.\nSee docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function\n", "returncode": 0, "exception_info": ""}, {"step": "results_read", "command": "docker cp 8d71a80c23a23e28c04ef8c07bea2b92219eac418360835f6d5f4eae6648e82b:/workspace/eval/results.xml /tmp/tmpvk5hi729.xml", "wall_time": 0.010872716999983822, "output": "Error response from daemon: Could not find the file /workspace/eval/results.xml in container 8d71a80c23a23e28c04ef8c07bea2b92219eac418360835f6d5f4eae6648e82b", "returncode": 1, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && mv /opt/programbench-stashed-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.04340868200051773, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum ./executable", "wall_time": 0.04981205999956728, "output": "0003df32077cb123ab829f29b59141e37fecd31af40e535ce315d12dd7fbfaea ./executable\n", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.04072430299947882, "output": "", "returncode": 0, "exception_info": ""}, {"step": "patch_timeout_method", "command": "test -f eval/run.sh && sed -i 's/--timeout-method=thread/--timeout-method=signal/g' eval/run.sh || true", "wall_time": 0.041165561000525486, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "export PYTEST_ADDOPTS=\"$PYTEST_ADDOPTS --reruns=2 --reruns-delay=1\" && chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 1.2910982849998618, "output": "pytest_exit_code=1\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\nTraceback (most recent call last):\n File \"/usr/local/bin/pytest\", line 8, in \n sys.exit(_console_main())\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/config/__init__.py\", line 253, in _console_main\n code = _main(prog=_get_prog_name(sys.argv))\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/config/__init__.py\", line 223, in _main\n config = _prepareconfig(new_args, plugins, prog=prog)\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/config/__init__.py\", line 410, in _prepareconfig\n config: Config = pluginmanager.hook.pytest_cmdline_parse(\n File \"/usr/local/lib/python3.10/dist-packages/pluggy/_hooks.py\", line 512, in __call__\n return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)\n File \"/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py\", line 120, in _hookexec\n return self._inner_hookexec(hook_name, methods, kwargs, firstresult)\n File \"/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py\", line 167, in _multicall\n raise exception\n File \"/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py\", line 139, in _multicall\n teardown.throw(exception)\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/helpconfig.py\", line 124, in pytest_cmdline_parse\n config = yield\n File \"/usr/local/lib/python3.10/dist-packages/pluggy/_callers.py\", line 121, in _multicall\n res = hook_impl.function(*args)\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/config/__init__.py\", line 1232, in pytest_cmdline_parse\n self.parse(args)\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/config/__init__.py\", line 1583, in parse\n self.pluginmanager.load_setuptools_entrypoints(\"pytest11\")\n File \"/usr/local/lib/python3.10/dist-packages/pluggy/_manager.py\", line 416, in load_setuptools_entrypoints\n plugin = ep.load()\n File \"/usr/lib/python3.10/importlib/metadata/__init__.py\", line 171, in load\n module = import_module(match.group('module'))\n File \"/usr/lib/python3.10/importlib/__init__.py\", line 126, in import_module\n return _bootstrap._gcd_import(name[level:], package, level)\n File \"\", line 1050, in _gcd_import\n File \"\", line 1027, in _find_and_load\n File \"\", line 1006, in _find_and_load_unlocked\n File \"\", line 688, in _load_unlocked\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/assertion/rewrite.py\", line 188, in exec_module\n exec(co, module.__dict__)\n File \"/usr/local/lib/python3.10/dist-packages/libtmux/pytest_plugin.py\", line 87, in \n def zshrc(user_path: pathlib.Path) -> pathlib.Path:\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/mark/structures.py\", line 415, in __call__\n store_mark(unwrapped_func, self.mark)\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/mark/structures.py\", line 491, in store_mark\n fail(\n File \"/usr/local/lib/python3.10/dist-packages/_pytest/outcomes.py\", line 162, in __call__\n raise Failed(msg=reason, pytrace=pytrace)\nFailed: Marks cannot be applied to fixtures.\nSee docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function\n", "returncode": 0, "exception_info": ""}, {"step": "results_read", "command": "docker cp 15520053cf616b3fa72246954c37ea88c60527ab24adad2755274b446d50801c:/workspace/eval/results.xml /tmp/tmppx0gahpq.xml", "wall_time": 0.011834617000204162, "output": "Error response from daemon: Could not find the file /workspace/eval/results.xml in container 15520053cf616b3fa72246954c37ea88c60527ab24adad2755274b446d50801c", "returncode": 1, "exception_info": ""}, {"step": "restore_executable", "command": "rm -f ./executable && mv /opt/programbench-stashed-executable-do-not-modify ./executable && chmod +x ./executable", "wall_time": 0.04449491699961072, "output": "", "returncode": 0, "exception_info": ""}, {"step": "verify_executable_hash", "command": "sha256sum ./executable", "wall_time": 0.04941265499928704, "output": "0003df32077cb123ab829f29b59141e37fecd31af40e535ce315d12dd7fbfaea ./executable\n", "returncode": 0, "exception_info": ""}, {"step": "clean_stale_results", "command": "rm -f eval/results.xml results.xml", "wall_time": 0.03996338500019192, "output": "", "returncode": 0, "exception_info": ""}, {"step": "patch_timeout_method", "command": "test -f eval/run.sh && sed -i 's/--timeout-method=thread/--timeout-method=signal/g' eval/run.sh || true", "wall_time": 0.04286089200013521, "output": "", "returncode": 0, "exception_info": ""}, {"step": "run_tests", "command": "export PYTEST_ADDOPTS=\"$PYTEST_ADDOPTS --reruns=2 --reruns-delay=1\" && chmod +x ./eval/run.sh && ./eval/run.sh", "wall_time": 3.943902445000276, "output": "============================= test session starts ==============================\nplatform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0 -- /usr/bin/python3\ncachedir: .pytest_cache\nrootdir: /workspace\nplugins: timeout-2.4.0, rerunfailures-16.7, libtmux-0.58.0, dependency-0.6.1, xdist-3.8.0\ntimeout: 5.0s\ntimeout method: signal\ntimeout func_only: False\ncreated: 10/10 workers\n10 workers [16 items]\n\nscheduling tests via LoadScheduling\n\neval/tests/test_cppcheck_cli.py::test_help_contains_syntax_and_exit_code \neval/tests/test_cppcheck_cli.py::test_version_output_and_exit_code \neval/tests/test_cppcheck_cli.py::test_unknown_option_is_error_and_exit_code_1 \neval/tests/test_cppcheck_cli.py::test_error_exit_code_is_used_when_findings_exist \neval/tests/test_cppcheck_cli.py::test_quiet_suppresses_progress_but_keeps_diagnostics \neval/tests/test_cppcheck_cli.py::test_xml_output_is_well_formed_and_contains_error \n[gw0] [ 6%] PASSED eval/tests/test_cppcheck_cli.py::test_version_output_and_exit_code \neval/tests/test_cppcheck_cli.py::test_no_input_files_is_error_and_exit_code_1 \n[gw3] [ 12%] PASSED eval/tests/test_cppcheck_cli.py::test_no_input_files_is_error_and_exit_code_1 \n[gw1] [ 18%] PASSED eval/tests/test_cppcheck_cli.py::test_help_contains_syntax_and_exit_code \neval/tests/test_cppcheck_cli.py::test_enable_all_includes_more_findings \n[gw2] [ 25%] PASSED eval/tests/test_cppcheck_cli.py::test_unknown_option_is_error_and_exit_code_1 \neval/tests/test_cppcheck_cli.py::test_template_exact_format_single_issue \neval/tests/test_cppcheck_cli.py::test_default_run_prints_progress_on_stdout \n[gw8] [ 31%] PASSED eval/tests/test_cppcheck_cli.py::test_error_exit_code_is_used_when_findings_exist \n[gw5] [ 37%] PASSED eval/tests/test_cppcheck_cli.py::test_quiet_suppresses_progress_but_keeps_diagnostics \n[gw9] [ 43%] PASSED eval/tests/test_cppcheck_cli.py::test_xml_output_is_well_formed_and_contains_error \n[gw7] [ 50%] PASSED eval/tests/test_cppcheck_cli.py::test_enable_all_includes_more_findings \n[gw6] [ 56%] PASSED eval/tests/test_cppcheck_cli.py::test_template_exact_format_single_issue \n[gw4] [ 62%] PASSED eval/tests/test_cppcheck_cli.py::test_default_run_prints_progress_on_stdout \neval/tests/test_cppcheck_cli.py::test_cppcheck_build_dir_must_exist \neval/tests/test_cppcheck_cli.py::test_empty_file_no_crash \neval/tests/test_cppcheck_cli.py::test_unicode_path_supported \neval/tests/test_cppcheck_cli.py::test_xml_quiet_has_no_stdout \neval/tests/test_cppcheck_cli.py::test_cppcheck_build_dir_existing_works \neval/tests/test_cppcheck_cli.py::test_checkers_report_creates_file_and_contains_sections \n[gw2] [ 68%] PASSED eval/tests/test_cppcheck_cli.py::test_cppcheck_build_dir_must_exist \n[gw5] [ 75%] PASSED eval/tests/test_cppcheck_cli.py::test_empty_file_no_crash \n[gw3] [ 81%] PASSED eval/tests/test_cppcheck_cli.py::test_cppcheck_build_dir_existing_works \n[gw0] [ 87%] PASSED eval/tests/test_cppcheck_cli.py::test_xml_quiet_has_no_stdout \n[gw1] [ 93%] PASSED eval/tests/test_cppcheck_cli.py::test_checkers_report_creates_file_and_contains_sections \n[gw4] [100%] PASSED eval/tests/test_cppcheck_cli.py::test_unicode_path_supported \n\n--------------- generated xml file: /workspace/eval/results.xml ----------------\n============================== 16 passed in 0.59s ==============================\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv\nWARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.\n", "returncode": 0, "exception_info": ""}, {"step": "results_read", "command": "docker cp 4f0be4105f581c66e3a41cd410a58b1eff4434664d27fd8750d67ffe3bf56485:/workspace/eval/results.xml /tmp/tmpmcs6i42v.xml", "wall_time": 0.013286051999784831, "output": "", "returncode": 0, "exception_info": "", "branch": "1d7e34d37f1f"}], "failures": {"920f2c41e995/eval.tests.test_advanced_features.test_project_file": {"message": "assert 1 == 0\n + where 1 = CompletedProcess(args=['/workspace/executable', '--project=/tmp/tmpaa3idn6_/compile_commands.json'], returncode=1, stdout=b\"cppcheck: error: failed to load project '/tmp/tmpaa3idn6_/compile_commands.json'. Project files are not supported.\\n\", stderr=b'').returncode", "text": "def test_project_file():\n \"\"\"Test --project option with compile_commands.json.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"int main() { return 0; }\")\n compile_commands = [\n {\n \"directory\": tf.tempdir,\n \"command\": f\"gcc -c {test_file}\",\n \"file\": str(test_file)\n }\n ]\n project_file = tf.create(\"compile_commands.json\",\n json.dumps(compile_commands, indent=2))\n result = run(\"--project=\" + str(project_file))\n> assert result.returncode == 0\nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '--project=/tmp/tmpaa3idn6_/compile_commands.json'], returncode=1, stdout=b\"cppcheck: error: failed to load project '/tmp/tmpaa3idn6_/compile_commands.json'. Project files are not supported.\\n\", stderr=b'').returncode\n\neval/tests/test_advanced_features.py:84: AssertionError"}, "920f2c41e995/eval.tests.test_additional_coverage.test_cppcheck_build_dir": {"message": "AssertionError: assert 0 > 0\n + where 0 = len([])\n + where [] = list()\n + where = iterdir()\n + where iterdir = PosixPath('/tmp/tmp8qrzwcm0/builddir').iterdir", "text": "def test_cppcheck_build_dir():\n \"\"\"Test --cppcheck-build-dir option.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"int main() { return 0; }\")\n builddir = Path(tf.tempdir) / \"builddir\"\n builddir.mkdir()\n result = run(\"--cppcheck-build-dir=\" + str(builddir), str(test_file))\n assert result.returncode == 0\n assert b\"Checking\" in result.stdout\n # Build dir should have some files\n> assert len(list(builddir.iterdir())) > 0\nE AssertionError: assert 0 > 0\nE + where 0 = len([])\nE + where [] = list()\nE + where = iterdir()\nE + where iterdir = PosixPath('/tmp/tmp8qrzwcm0/builddir').iterdir\n\neval/tests/test_additional_coverage.py:144: AssertionError"}, "920f2c41e995/eval.tests.test_error_detection.test_detect_memory_leak": {"message": "AssertionError: assert (b'memleak' in b'' or b'leak' in b'')\n + where b'' = CompletedProcess(args=['./executable', '/tmp/tmp107e1_m2/test.c'], returncode=0, stdout=b'Checking /tmp/tmp107e1_m2/test.c ...\\n', stderr=b'').stderr\n + and b'' = ()\n + where = b''.lower\n + where b'' = CompletedProcess(args=['./executable', '/tmp/tmp107e1_m2/test.c'], returncode=0, stdout=b'Checking /tmp/tmp107e1_m2/test.c ...\\n', stderr=b'').stderr", "text": "def test_detect_memory_leak():\n \"\"\"Test detection of memory leak.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"\"\"\n #include \n int main() {\n int *p = malloc(10 * sizeof(int));\n return 0;\n }\n \"\"\")\n result = run(str(test_file))\n assert result.returncode == 0\n> assert b\"memleak\" in result.stderr or b\"leak\" in result.stderr.lower()\nE AssertionError: assert (b'memleak' in b'' or b'leak' in b'')\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmp107e1_m2/test.c'], returncode=0, stdout=b'Checking /tmp/tmp107e1_m2/test.c ...\\n', stderr=b'').stderr\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmp107e1_m2/test.c'], returncode=0, stdout=b'Checking /tmp/tmp107e1_m2/test.c ...\\n', stderr=b'').stderr\n\neval/tests/test_error_detection.py:76: AssertionError"}, "920f2c41e995/eval.tests.test_error_detection.test_detect_double_free": {"message": "AssertionError: assert (b'double' in b'' or b'free' in b'' or b'Checking' in b'')\n + where b'' = ()\n + where = b''.lower\n + where b'' = CompletedProcess(args=['./executable', '/tmp/tmp1d1rl2tz/test.c'], returncode=0, stdout=b'Checking /tmp/tmp1d1rl2tz/test.c ...\\n', stderr=b'').stderr\n + and b'' = ()\n + where = b''.lower\n + where b'' = CompletedProcess(args=['./executable', '/tmp/tmp1d1rl2tz/test.c'], returncode=0, stdout=b'Checking /tmp/tmp1d1rl2tz/test.c ...\\n', stderr=b'').stderr\n + and b'' = CompletedProcess(args=['./executable', '/tmp/tmp1d1rl2tz/test.c'], returncode=0, stdout=b'Checking /tmp/tmp1d1rl2tz/test.c ...\\n', stderr=b'').stderr", "text": "def test_detect_double_free():\n \"\"\"Test detection of double free.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"\"\"\n #include \n int main() {\n int *p = malloc(sizeof(int));\n free(p);\n free(p);\n return 0;\n }\n \"\"\")\n result = run(str(test_file))\n assert result.returncode == 0\n> assert b\"double\" in result.stderr.lower() or b\"free\" in result.stderr.lower() or b\"Checking\" in result.stderr\nE AssertionError: assert (b'double' in b'' or b'free' in b'' or b'Checking' in b'')\nE + where b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmp1d1rl2tz/test.c'], returncode=0, stdout=b'Checking /tmp/tmp1d1rl2tz/test.c ...\\n', stderr=b'').stderr\nE + and b'' = ()\nE + where = b''.lower\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmp1d1rl2tz/test.c'], returncode=0, stdout=b'Checking /tmp/tmp1d1rl2tz/test.c ...\\n', stderr=b'').stderr\nE + and b'' = CompletedProcess(args=['./executable', '/tmp/tmp1d1rl2tz/test.c'], returncode=0, stdout=b'Checking /tmp/tmp1d1rl2tz/test.c ...\\n', stderr=b'').stderr\n\neval/tests/test_error_detection.py:134: AssertionError"}, "920f2c41e995/eval.tests.test_error_detection.test_syntax_error_handling": {"message": "AssertionError: assert 0 > 0\n + where 0 = len(b'')\n + where b'' = CompletedProcess(args=['./executable', '/tmp/tmpu42ovoeh/test.c'], returncode=0, stdout=b'Checking /tmp/tmpu42ovoeh/test.c ...\\n', stderr=b'').stderr", "text": "def test_syntax_error_handling():\n \"\"\"Test handling of syntax errors.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"\"\"\n int main() {\n int x = ; // syntax error\n return 0;\n }\n \"\"\")\n result = run(str(test_file))\n # Should complete even with syntax errors\n assert result.returncode in [0, 1]\n> assert len(result.stderr) > 0\nE AssertionError: assert 0 > 0\nE + where 0 = len(b'')\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmpu42ovoeh/test.c'], returncode=0, stdout=b'Checking /tmp/tmpu42ovoeh/test.c ...\\n', stderr=b'').stderr\n\neval/tests/test_error_detection.py:165: AssertionError"}, "920f2c41e995/eval.tests.test_suppressions.test_exitcode_suppressions": {"message": "AssertionError: assert 5 == 0\n + where 5 = CompletedProcess(args=['./executable', '--error-exitcode=5', '--exitcode-suppressions=/tmp/tmp6uzy74f5/exitcode-suppr.txt', '/tmp/tmp6uzy74f5/test.c'], returncode=5, stdout=b'Checking /tmp/tmp6uzy74f5/test.c ...\\n', stderr=b'/tmp/tmp6uzy74f5/test.c:4:12: error: Uninitialized variable: x [uninitvar]\\n return x;\\n ^\\n').returncode", "text": "def test_exitcode_suppressions():\n \"\"\"Test --exitcode-suppressions to prevent exit code change.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"\"\"\n int main() {\n int x;\n return x;\n }\n \"\"\")\n suppressions = tf.create(\"exitcode-suppr.txt\", \"uninitvar\\n\")\n result = run(\"--error-exitcode=5\", \"--exitcode-suppressions=\" + str(suppressions),\n str(test_file))\n # Even with error, exit code should be 0 due to exitcode-suppression\n> assert result.returncode == 0\nE AssertionError: assert 5 == 0\nE + where 5 = CompletedProcess(args=['./executable', '--error-exitcode=5', '--exitcode-suppressions=/tmp/tmp6uzy74f5/exitcode-suppr.txt', '/tmp/tmp6uzy74f5/test.c'], returncode=5, stdout=b'Checking /tmp/tmp6uzy74f5/test.c ...\\n', stderr=b'/tmp/tmp6uzy74f5/test.c:4:12: error: Uninitialized variable: x [uninitvar]\\n return x;\\n ^\\n').returncode\n\neval/tests/test_suppressions.py:118: AssertionError"}, "920f2c41e995/eval.tests.test_error_detection.test_detect_use_after_free": {"message": "AssertionError: assert 0 > 0\n + where 0 = len(b'')\n + where b'' = CompletedProcess(args=['./executable', '/tmp/tmph1xg0o3r/test.c'], returncode=0, stdout=b'Checking /tmp/tmph1xg0o3r/test.c ...\\n', stderr=b'').stderr", "text": "def test_detect_use_after_free():\n \"\"\"Test detection of use after free.\"\"\"\n with TempFiles() as tf:\n test_file = tf.create(\"test.c\", \"\"\"\n #include \n int main() {\n int *p = malloc(sizeof(int));\n free(p);\n *p = 5;\n return 0;\n }\n \"\"\")\n result = run(str(test_file))\n assert result.returncode == 0\n> assert len(result.stderr) > 0\nE AssertionError: assert 0 > 0\nE + where 0 = len(b'')\nE + where b'' = CompletedProcess(args=['./executable', '/tmp/tmph1xg0o3r/test.c'], returncode=0, stdout=b'Checking /tmp/tmph1xg0o3r/test.c ...\\n', stderr=b'').stderr\n\neval/tests/test_error_detection.py:150: AssertionError"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_open_fd_leak": {"message": "gold-env-limitation: requires posix.cfg library not available in eval environment", "text": "/workspace/eval/tests/test_checkmemoryleak_gaps.py:380: gold-env-limitation: requires posix.cfg library not available in eval environment"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_pipe_popen_leak": {"message": "gold-env-limitation: requires posix.cfg library not available in eval environment", "text": "/workspace/eval/tests/test_checkmemoryleak_gaps.py:402: gold-env-limitation: requires posix.cfg library not available in eval environment"}, "1040f6b8a219/tests.test_checkassert_gaps.test_assignment_in_assert": {"message": "AssertionError: assert 'assignmentInAssert' in ''", "text": "tests/test_checkassert_gaps.py:27: in test_assignment_in_assert\n assert 'assignmentInAssert' in stderr\nE AssertionError: assert 'assignmentInAssert' in ''"}, "1040f6b8a219/tests.test_checkclass_gaps_round2.test_struct_without_constructor_messaging": {"message": "assert 'noConstructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/struct_no_constructor.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/struct_no_constructor.cpp:4:9: style: struct member 'Config::value' is never used. [unusedStructMember]\\n int value;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/struct_no_constructor.cpp:5:9: style: struct member 'Config::size' is never used. [unusedStructMember]\\n int size;\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps_round2.py:326: in test_struct_without_constructor_messaging\n assert 'noConstructor' in output\nE assert 'noConstructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/struct_no_constructor.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/struct_no_constructor.cpp:4:9: style: struct member 'Config::value' is never used. [unusedStructMember]\\n int value;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/struct_no_constructor.cpp:5:9: style: struct member 'Config::size' is never used. [unusedStructMember]\\n int size;\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_all_log_function_variants": {"message": "AssertionError: assert 0 == 6\n + where 0 = ('invalidFunctionArg')\n + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/multiple_log_variants.c ...\\n'.count\n + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/multiple_log_variants.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/multiple_log_variants.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/multiple_log_variants.c ...\\n', stderr='').combined_output", "text": "tests/test_checkfunctions_gaps.py:341: in test_all_log_function_variants\n assert result.combined_output.count('invalidFunctionArg') == 6\nE AssertionError: assert 0 == 6\nE + where 0 = ('invalidFunctionArg')\nE + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/multiple_log_variants.c ...\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/multiple_log_variants.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/multiple_log_variants.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/multiple_log_variants.c ...\\n', stderr='').combined_output"}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_three_dimensional_array_overflow": {"message": "AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 3, got: [\"/tmp/tmpof45ri_n/test.c:3:14: error: Array 'arr[1][2][2][3][4]' accessed at index arr[1][2][1][2][5], which is out of bounds. [arrayIndexOutOfBounds]\", ' arr[1][2][5] = 1; // Third dimension out of bounds', ' ^', \"/tmp/tmpof45ri_n/test.c:3:18: style: Variable 'arr[1][2][5]' is assigned a value that is never used. [unreadVariable]\", ' arr[1][2][5] = 1; // Third dimension out of bounds', ' ^', \"/tmp/tmpof45ri_n/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:556: in test_three_dimensional_array_overflow\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexOutOfBounds error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 3, got: [\"/tmp/tmpof45ri_n/test.c:3:14: error: Array 'arr[1][2][2][3][4]' accessed at index arr[1][2][1][2][5], which is out of bounds. [arrayIndexOutOfBounds]\", ' arr[1][2][5] = 1; // Third dimension out of bounds', ' ^', \"/tmp/tmpof45ri_n/test.c:3:18: style: Variable 'arr[1][2][5]' is assigned a value that is never used. [unreadVariable]\", ' arr[1][2][5] = 1; // Third dimension out of bounds', ' ^', \"/tmp/tmpof45ri_n/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_fgetpos_on_closed_file": {"message": "assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'", "text": "tests/test_checkio_gaps_round2.py:606: in test_fgetpos_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'"}, "1040f6b8a219/tests.test_checkother_part2.test_overlapping_write_union": {"message": "assert 'overlappingWriteUnion' in \"/tmp/tmp1fhhk1sktest.c:7:6: style: The function 'test_overlap' is never used. [unusedFunction]\\nvoid test_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"/tmp/tmp1fhhk1sktest.c:7:6: style: The function 'test_overlap' is never used. [unusedFunction]\\nvoid test_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmp1fhhk1sktest.c'], returncode=0, stdout='Checking /tmp/tmp1fhhk1sktest.c ...\\n', stderr=\"/tmp/tmp1fhhk1sktest.c:7:6: style: The function 'test_overlap' is never used. [unusedFunction]\\nvoid test_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr", "text": "tests/test_checkother_part2.py:73: in test_overlapping_write_union\n assert 'overlappingWriteUnion' in result.stderr\nE assert 'overlappingWriteUnion' in \"/tmp/tmp1fhhk1sktest.c:7:6: style: The function 'test_overlap' is never used. [unusedFunction]\\nvoid test_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmp1fhhk1sktest.c:7:6: style: The function 'test_overlap' is never used. [unusedFunction]\\nvoid test_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmp1fhhk1sktest.c'], returncode=0, stdout='Checking /tmp/tmp1fhhk1sktest.c ...\\n', stderr=\"/tmp/tmp1fhhk1sktest.c:7:6: style: The function 'test_overlap' is never used. [unusedFunction]\\nvoid test_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_L_modifier_double_not_long_double": {"message": "assert \"%Lf in format string (no. 1) requires 'long double'\" in ''", "text": "tests/test_checkio_round3.py:484: in test_printf_L_modifier_double_not_long_double\n assert \"%Lf in format string (no. 1) requires 'long double'\" in stderr\nE assert \"%Lf in format string (no. 1) requires 'long double'\" in ''"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_fread_on_write_only_file": {"message": "AssertionError: assert '[readWriteOnlyFile]' in ''", "text": "tests/test_checkio_gaps_round2.py:50: in test_fread_on_write_only_file\n assert \"[readWriteOnlyFile]\" in stderr\nE AssertionError: assert '[readWriteOnlyFile]' in ''"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_nested_pointer_levels": {"message": "assert 'returnDanglingLifetime' in \"Checking /tmp/tmp_lbx9wgx/test.c ...\\n/tmp/tmp_lbx9wgx/test.c:2:11: style: The function 'nestedFunc' is never used. [unusedFunction]\\n int** nestedFunc() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:655: in test_nested_pointer_levels\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmp_lbx9wgx/test.c ...\\n/tmp/tmp_lbx9wgx/test.c:2:11: style: The function 'nestedFunc' is never used. [unusedFunction]\\n int** nestedFunc() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_malloc_reassignment_leak": {"message": "AssertionError: assert 'memleak' in ''", "text": "tests/test_checkmemoryleak_gaps.py:474: in test_malloc_reassignment_leak\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''"}, "1040f6b8a219/tests.test_checkassert_gaps.test_increment_operator_in_assert": {"message": "AssertionError: assert 'assignmentInAssert' in ''", "text": "tests/test_checkassert_gaps.py:48: in test_increment_operator_in_assert\n assert 'assignmentInAssert' in stderr\nE AssertionError: assert 'assignmentInAssert' in ''"}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_math_with_evaluated_expressions": {"message": "assert 'sqrt(y - 5.0)' in \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:4:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: note: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'.\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n\"\n + where \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:4:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: note: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'.\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:4:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: note: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'.\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n\").combined_output", "text": "tests/test_checkfunctions_gaps.py:366: in test_math_with_evaluated_expressions\n assert 'sqrt(y - 5.0)' in result.combined_output\nE assert 'sqrt(y - 5.0)' in \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:4:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: note: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'.\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:4:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: note: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'.\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:4:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_expressions.c:8:23: note: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'.\\n double r1 = log(x - 10); // x-10 = -5\\n ^\\n\").combined_output"}, "1040f6b8a219/tests.test_checkclass_gaps.test_missing_copy_constructor_with_dynamic_memory": {"message": "AssertionError: assert 'noCopyConstructor' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/missing_copy_ctor.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'", "text": "tests/test_checkclass_gaps.py:37: in test_missing_copy_constructor_with_dynamic_memory\n assert 'noCopyConstructor' in output\nE AssertionError: assert 'noCopyConstructor' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/missing_copy_ctor.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'"}, "1040f6b8a219/tests.test_checkother_part2.test_overlapping_write_memcpy_same_buffer": {"message": "assert 0 >= 2\n + where 0 = ('overlappingWriteFunction')\n + where = \"/tmp/tmpjon3j3r8test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjon3j3r8test.c:4:6: style: The function 'test_memcpy_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:9:6: style: The function 'test_memcpy_offset_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_offset_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:14:6: style: The function 'test_memcpy_no_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_no_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\".count\n + where \"/tmp/tmpjon3j3r8test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjon3j3r8test.c:4:6: style: The function 'test_memcpy_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:9:6: style: The function 'test_memcpy_offset_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_offset_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:14:6: style: The function 'test_memcpy_no_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_no_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmpjon3j3r8test.c'], returncode=0, stdout='Checking /tmp/tmpjon3j3r8test.c ...\\n', stderr=\"/tmp/tmpjon3j3r8test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjon3j3r8test.c:4:6: style: The function 'test_memcpy_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:9:6: style: The function 'test_memcpy_offset_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_offset_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:14:6: style: The function 'test_memcpy_no_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_no_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr", "text": "tests/test_checkother_part2.py:104: in test_overlapping_write_memcpy_same_buffer\n assert result.stderr.count('overlappingWriteFunction') >= 2\nE assert 0 >= 2\nE + where 0 = ('overlappingWriteFunction')\nE + where = \"/tmp/tmpjon3j3r8test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjon3j3r8test.c:4:6: style: The function 'test_memcpy_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:9:6: style: The function 'test_memcpy_offset_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_offset_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:14:6: style: The function 'test_memcpy_no_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_no_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\".count\nE + where \"/tmp/tmpjon3j3r8test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjon3j3r8test.c:4:6: style: The function 'test_memcpy_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:9:6: style: The function 'test_memcpy_offset_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_offset_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:14:6: style: The function 'test_memcpy_no_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_no_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmpjon3j3r8test.c'], returncode=0, stdout='Checking /tmp/tmpjon3j3r8test.c ...\\n', stderr=\"/tmp/tmpjon3j3r8test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjon3j3r8test.c:4:6: style: The function 'test_memcpy_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:9:6: style: The function 'test_memcpy_offset_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_offset_overlap() {\\n ^\\n/tmp/tmpjon3j3r8test.c:14:6: style: The function 'test_memcpy_no_overlap' is never used. [unusedFunction]\\nvoid test_memcpy_no_overlap() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_L_modifier_float_not_long_double": {"message": "assert \"%Lf in format string (no. 1) requires 'long double'\" in ''", "text": "tests/test_checkio_round3.py:497: in test_printf_L_modifier_float_not_long_double\n assert \"%Lf in format string (no. 1) requires 'long double'\" in stderr\nE assert \"%Lf in format string (no. 1) requires 'long double'\" in ''"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_fwrite_on_read_only_file": {"message": "AssertionError: assert '[writeReadOnlyFile]' in ''", "text": "tests/test_checkio_gaps_round2.py:61: in test_fwrite_on_read_only_file\n assert \"[writeReadOnlyFile]\" in stderr\nE AssertionError: assert '[writeReadOnlyFile]' in ''"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_fsetpos_on_closed_file": {"message": "assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'", "text": "tests/test_checkio_gaps_round2.py:617: in test_fsetpos_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_array_decay_assignment": {"message": "assert 'returnDanglingLifetime' in \"Checking /tmp/tmpqro42r9k/test.c ...\\n/tmp/tmpqro42r9k/test.c:2:10: style: The function 'arrayDecay' is never used. [unusedFunction]\\n int* arrayDecay() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:678: in test_array_decay_assignment\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmpqro42r9k/test.c ...\\n/tmp/tmpqro42r9k/test.c:2:10: style: The function 'arrayDecay' is never used. [unusedFunction]\\n int* arrayDecay() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkcondition_gaps.test_assignif_zero_result_or_check": {"message": "assert 'badBitmaskCheck' in \"/tmp/tmpdwukzbrq/test.c:5:15: style: Condition 'y|2' is always true [knownConditionTrueFalse]\\n if (y | 2) {\\n ^\\n/tmp/tmpdwukzbrq/test.c:4:15: note: Assignment 'y=8&4', assigned value is 0\\n y = 8 & 4;\\n ^\\n/tmp/tmpdwukzbrq/test.c:5:15: note: Condition 'y|2' is always true\\n if (y | 2) {\\n ^\\n\"", "text": "tests/test_checkcondition_gaps.py:65: in test_assignif_zero_result_or_check\n assert 'badBitmaskCheck' in stderr\nE assert 'badBitmaskCheck' in \"/tmp/tmpdwukzbrq/test.c:5:15: style: Condition 'y|2' is always true [knownConditionTrueFalse]\\n if (y | 2) {\\n ^\\n/tmp/tmpdwukzbrq/test.c:4:15: note: Assignment 'y=8&4', assigned value is 0\\n y = 8 & 4;\\n ^\\n/tmp/tmpdwukzbrq/test.c:5:15: note: Condition 'y|2' is always true\\n if (y | 2) {\\n ^\\n\""}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_realloc_without_checking_null": {"message": "AssertionError: assert 'memleakOnRealloc' in ''", "text": "tests/test_checkmemoryleak_gaps.py:493: in test_realloc_without_checking_null\n assert 'memleakOnRealloc' in stderr\nE AssertionError: assert 'memleakOnRealloc' in ''"}, "1040f6b8a219/tests.test_checkassert_gaps.test_decrement_operator_in_assert": {"message": "AssertionError: assert 'assignmentInAssert' in ''", "text": "tests/test_checkassert_gaps.py:69: in test_decrement_operator_in_assert\n assert 'assignmentInAssert' in stderr\nE AssertionError: assert 'assignmentInAssert' in ''"}, "1040f6b8a219/tests.test_checkclass_gaps.test_self_assignment_in_operator_equals": {"message": "assert 'operatorEqToSelf' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/self_assignment.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/self_assignment.cpp:1:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass String {\\n^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps.py:50: in test_self_assignment_in_operator_equals\n assert 'operatorEqToSelf' in output\nE assert 'operatorEqToSelf' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/self_assignment.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/self_assignment.cpp:1:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass String {\\n^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_memset_multiple_buffer_types": {"message": "AssertionError: assert 0 == 2\n + where 0 = ('memsetValueOutOfRange')\n + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:10:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf, 5, 0); // char array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:11:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 10, 0); // wchar_t array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:12:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(ibuf, 0, 0); // int array (still valid memset target)\\n ^\\n'.count\n + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:10:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf, 5, 0); // char array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:11:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 10, 0); // wchar_t array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:12:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(ibuf, 0, 0); // int array (still valid memset target)\\n ^\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c ...\\n', stderr='/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:10:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf, 5, 0); // char array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:11:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 10, 0); // wchar_t array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:12:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(ibuf, 0, 0); // int array (still valid memset target)\\n ^\\n').combined_output", "text": "tests/test_checkfunctions_gaps.py:385: in test_memset_multiple_buffer_types\n assert result.combined_output.count('memsetValueOutOfRange') == 2\nE AssertionError: assert 0 == 2\nE + where 0 = ('memsetValueOutOfRange')\nE + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:10:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf, 5, 0); // char array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:11:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 10, 0); // wchar_t array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:12:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(ibuf, 0, 0); // int array (still valid memset target)\\n ^\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:10:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf, 5, 0); // char array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:11:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 10, 0); // wchar_t array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:12:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(ibuf, 0, 0); // int array (still valid memset target)\\n ^\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c ...\\n', stderr='/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:10:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf, 5, 0); // char array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:11:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 10, 0); // wchar_t array\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_various_buffers.c:12:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(ibuf, 0, 0); // int array (still valid memset target)\\n ^\\n').combined_output"}, "1040f6b8a219/tests.test_checkother_part2.test_invalid_free_with_offset": {"message": "assert 'invalidFree' in \"/tmp/tmpxjv7thl_test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxjv7thl_test.c:4:6: style: The function 'test_free_offset' is never used. [unusedFunction]\\nvoid test_free_offset() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"/tmp/tmpxjv7thl_test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxjv7thl_test.c:4:6: style: The function 'test_free_offset' is never used. [unusedFunction]\\nvoid test_free_offset() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmpxjv7thl_test.c'], returncode=0, stdout='Checking /tmp/tmpxjv7thl_test.c ...\\n', stderr=\"/tmp/tmpxjv7thl_test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxjv7thl_test.c:4:6: style: The function 'test_free_offset' is never used. [unusedFunction]\\nvoid test_free_offset() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr", "text": "tests/test_checkother_part2.py:123: in test_invalid_free_with_offset\n assert 'invalidFree' in result.stderr\nE assert 'invalidFree' in \"/tmp/tmpxjv7thl_test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxjv7thl_test.c:4:6: style: The function 'test_free_offset' is never used. [unusedFunction]\\nvoid test_free_offset() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmpxjv7thl_test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxjv7thl_test.c:4:6: style: The function 'test_free_offset' is never used. [unusedFunction]\\nvoid test_free_offset() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmpxjv7thl_test.c'], returncode=0, stdout='Checking /tmp/tmpxjv7thl_test.c ...\\n', stderr=\"/tmp/tmpxjv7thl_test.c:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxjv7thl_test.c:4:6: style: The function 'test_free_offset' is never used. [unusedFunction]\\nvoid test_free_offset() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_L_modifier_e_format_wrong_type": {"message": "assert \"%Le in format string (no. 1) requires 'long double'\" in ''", "text": "tests/test_checkio_round3.py:510: in test_printf_L_modifier_e_format_wrong_type\n assert \"%Le in format string (no. 1) requires 'long double'\" in stderr\nE assert \"%Le in format string (no. 1) requires 'long double'\" in ''"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_fread_on_closed_file": {"message": "AssertionError: assert '[useClosedFile]' in ''", "text": "tests/test_checkio_gaps_round2.py:72: in test_fread_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE AssertionError: assert '[useClosedFile]' in ''"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_assign_local_to_global_pointer": {"message": "assert 'danglingLifetime' in \"Checking /tmp/tmpmw0ivwzn/test.c ...\\n/tmp/tmpmw0ivwzn/test.c:3:10: style: The function 'setGlobalPtr' is never used. [unusedFunction]\\n void setGlobalPtr() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:700: in test_assign_local_to_global_pointer\n assert 'danglingLifetime' in combined\nE assert 'danglingLifetime' in \"Checking /tmp/tmpmw0ivwzn/test.c ...\\n/tmp/tmpmw0ivwzn/test.c:3:10: style: The function 'setGlobalPtr' is never used. [unusedFunction]\\n void setGlobalPtr() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_struct_member_allocation_leak": {"message": "AssertionError: assert 'memleak' in ''", "text": "tests/test_checkmemoryleak_gaps.py:513: in test_struct_member_allocation_leak\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_printf_percent_n_no_pointer": {"message": "assert \"%n in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:8:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*d\", 42); // Error: missing width argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:16:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%.*f\", 3.14159); // Error: missing precision argument, type mismatch\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:24:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 10, 3.14159); // Error: missing precision argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:28:5: error: printf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 3.14159); // Error: missing width and precision\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:33:5: error: scanf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d %d\", &x); // OK: first int is suppressed, second goes to x\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:37:5: error: scanf format string requires 2 parameters but only 0 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d\"); // OK: suppression assignment, no target needed\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:42:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // Error: %n needs pointer, got int\\n ^\\n'", "text": "tests/test_checkio_gaps_round2.py:676: in test_printf_percent_n_no_pointer\n assert \"%n in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%n in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:8:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*d\", 42); // Error: missing width argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:16:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%.*f\", 3.14159); // Error: missing precision argument, type mismatch\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:24:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 10, 3.14159); // Error: missing precision argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:28:5: error: printf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 3.14159); // Error: missing width and precision\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:33:5: error: scanf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d %d\", &x); // OK: first int is suppressed, second goes to x\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:37:5: error: scanf format string requires 2 parameters but only 0 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d\"); // OK: suppression assignment, no target needed\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:42:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // Error: %n needs pointer, got int\\n ^\\n'"}, "1040f6b8a219/tests.test_checkcondition_gaps.test_redundant_condition_overlapping_ranges": {"message": "assert \"condition 'y < 5' is redundant\" in \"/tmp/tmpsfilqdze/test.c:4:19: style: redundant condition: y < 10. 'y < 5 || y < 10' is equivalent to 'y < 10' [redundantcondition]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:4:13: error: uninitialized variable: y [uninitvar]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:3:13: style: variable 'y' is not assigned a value. [unassignedvariable]\\n int y;\\n ^\\n\"\n + where \"/tmp/tmpsfilqdze/test.c:4:19: style: redundant condition: y < 10. 'y < 5 || y < 10' is equivalent to 'y < 10' [redundantcondition]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:4:13: error: uninitialized variable: y [uninitvar]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:3:13: style: variable 'y' is not assigned a value. [unassignedvariable]\\n int y;\\n ^\\n\" = ()\n + where = \"/tmp/tmpsfilqdze/test.c:4:19: style: Redundant condition: y < 10. 'y < 5 || y < 10' is equivalent to 'y < 10' [redundantCondition]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:4:13: error: Uninitialized variable: y [uninitvar]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:3:13: style: Variable 'y' is not assigned a value. [unassignedVariable]\\n int y;\\n ^\\n\".lower", "text": "tests/test_checkcondition_gaps.py:169: in test_redundant_condition_overlapping_ranges\n assert \"condition 'y < 5' is redundant\" in stderr.lower()\nE assert \"condition 'y < 5' is redundant\" in \"/tmp/tmpsfilqdze/test.c:4:19: style: redundant condition: y < 10. 'y < 5 || y < 10' is equivalent to 'y < 10' [redundantcondition]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:4:13: error: uninitialized variable: y [uninitvar]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:3:13: style: variable 'y' is not assigned a value. [unassignedvariable]\\n int y;\\n ^\\n\"\nE + where \"/tmp/tmpsfilqdze/test.c:4:19: style: redundant condition: y < 10. 'y < 5 || y < 10' is equivalent to 'y < 10' [redundantcondition]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:4:13: error: uninitialized variable: y [uninitvar]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:3:13: style: variable 'y' is not assigned a value. [unassignedvariable]\\n int y;\\n ^\\n\" = ()\nE + where = \"/tmp/tmpsfilqdze/test.c:4:19: style: Redundant condition: y < 10. 'y < 5 || y < 10' is equivalent to 'y < 10' [redundantCondition]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:4:13: error: Uninitialized variable: y [uninitvar]\\n if (y < 5 || y < 10) {\\n ^\\n/tmp/tmpsfilqdze/test.c:3:13: style: Variable 'y' is not assigned a value. [unassignedVariable]\\n int y;\\n ^\\n\".lower"}, "1040f6b8a219/tests.test_checkassert_gaps.test_compound_assignment_in_assert": {"message": "AssertionError: assert 'assignmentInAssert' in ''", "text": "tests/test_checkassert_gaps.py:90: in test_compound_assignment_in_assert\n assert 'assignmentInAssert' in stderr\nE AssertionError: assert 'assignmentInAssert' in ''"}, "1040f6b8a219/tests.test_checkclass_gaps.test_missing_virtual_destructor_in_base_class": {"message": "assert 'virtualDestructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/missing_virtual_dtor.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_virtual_dtor.cpp:5:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_virtual_dtor.cpp:16:6: style: The function 'usage' is never used. [unusedFunction]\\nvoid usage() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps.py:60: in test_missing_virtual_destructor_in_base_class\n assert 'virtualDestructor' in output\nE assert 'virtualDestructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/missing_virtual_dtor.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_virtual_dtor.cpp:5:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_virtual_dtor.cpp:16:6: style: The function 'usage' is never used. [unusedFunction]\\nvoid usage() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkother_part2.test_duplicate_expression_ternary": {"message": "assert 'duplicateExpressionTernary' in \"/tmp/tmph96_j_whtest.c:2:5: style: The function 'test_duplicate_ternary' is never used. [unusedFunction]\\nint test_duplicate_ternary(int x) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"/tmp/tmph96_j_whtest.c:2:5: style: The function 'test_duplicate_ternary' is never used. [unusedFunction]\\nint test_duplicate_ternary(int x) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmph96_j_whtest.c'], returncode=0, stdout='Checking /tmp/tmph96_j_whtest.c ...\\n', stderr=\"/tmp/tmph96_j_whtest.c:2:5: style: The function 'test_duplicate_ternary' is never used. [unusedFunction]\\nint test_duplicate_ternary(int x) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr", "text": "tests/test_checkother_part2.py:139: in test_duplicate_expression_ternary\n assert 'duplicateExpressionTernary' in result.stderr\nE assert 'duplicateExpressionTernary' in \"/tmp/tmph96_j_whtest.c:2:5: style: The function 'test_duplicate_ternary' is never used. [unusedFunction]\\nint test_duplicate_ternary(int x) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmph96_j_whtest.c:2:5: style: The function 'test_duplicate_ternary' is never used. [unusedFunction]\\nint test_duplicate_ternary(int x) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmph96_j_whtest.c'], returncode=0, stdout='Checking /tmp/tmph96_j_whtest.c ...\\n', stderr=\"/tmp/tmph96_j_whtest.c:2:5: style: The function 'test_duplicate_ternary' is never used. [unusedFunction]\\nint test_duplicate_ternary(int x) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr"}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_math_errors_in_loops": {"message": "AssertionError: assert 'log(-i - 1)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_in_loops.c ...\\n'\n + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_in_loops.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_in_loops.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_in_loops.c ...\\n', stderr='').combined_output", "text": "tests/test_checkfunctions_gaps.py:404: in test_math_errors_in_loops\n assert 'log(-i - 1)' in result.combined_output\nE AssertionError: assert 'log(-i - 1)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_in_loops.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_in_loops.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_in_loops.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_in_loops.c ...\\n', stderr='').combined_output"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_L_modifier_g_format_wrong_type": {"message": "assert \"%Lg in format string (no. 1) requires 'long double'\" in ''", "text": "tests/test_checkio_round3.py:523: in test_printf_L_modifier_g_format_wrong_type\n assert \"%Lg in format string (no. 1) requires 'long double'\" in stderr\nE assert \"%Lg in format string (no. 1) requires 'long double'\" in ''"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_fwrite_on_closed_file": {"message": "AssertionError: assert '[useClosedFile]' in ''", "text": "tests/test_checkio_gaps_round2.py:83: in test_fwrite_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE AssertionError: assert '[useClosedFile]' in ''"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_assign_local_to_struct_member_pointer": {"message": "assert 'autoVariables' in \"Checking /tmp/tmpa1rqgasf/test.cpp ...\\n/tmp/tmpa1rqgasf/test.cpp:5:10: style: The function 'setMemberPtr' is never used. [unusedFunction]\\n void setMemberPtr(Container* c) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:724: in test_assign_local_to_struct_member_pointer\n assert 'autoVariables' in combined\nE assert 'autoVariables' in \"Checking /tmp/tmpa1rqgasf/test.cpp ...\\n/tmp/tmpa1rqgasf/test.cpp:5:10: style: The function 'setMemberPtr' is never used. [unusedFunction]\\n void setMemberPtr(Container* c) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_struct_pointer_member_leak_on_return": {"message": "AssertionError: assert 'memleak' in ''", "text": "tests/test_checkmemoryleak_gaps.py:538: in test_struct_pointer_member_leak_on_return\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_scanf_percent_n_with_wrong_preceding_type": {"message": "assert \"%d in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:8:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*d\", 42); // Error: missing width argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:16:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%.*f\", 3.14159); // Error: missing precision argument, type mismatch\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:24:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 10, 3.14159); // Error: missing precision argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:28:5: error: printf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 3.14159); // Error: missing width and precision\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:33:5: error: scanf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d %d\", &x); // OK: first int is suppressed, second goes to x\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:37:5: error: scanf format string requires 2 parameters but only 0 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d\"); // OK: suppression assignment, no target needed\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:42:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // Error: %n needs pointer, got int\\n ^\\n'", "text": "tests/test_checkio_gaps_round2.py:689: in test_scanf_percent_n_with_wrong_preceding_type\n assert \"%d in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:8:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*d\", 42); // Error: missing width argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:16:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%.*f\", 3.14159); // Error: missing precision argument, type mismatch\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:24:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 10, 3.14159); // Error: missing precision argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:28:5: error: printf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 3.14159); // Error: missing width and precision\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:33:5: error: scanf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d %d\", &x); // OK: first int is suppressed, second goes to x\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:37:5: error: scanf format string requires 2 parameters but only 0 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d\"); // OK: suppression assignment, no target needed\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:42:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // Error: %n needs pointer, got int\\n ^\\n'"}, "1040f6b8a219/tests.test_checkcondition_gaps.test_modulo_always_true_unsigned": {"message": "AssertionError: assert 'moduloAlwaysTrueFalse' in '/tmp/tmptrt5fjvj/test.c:4:13: error: Uninitialized variable: x [uninitvar]\\n if (x % 4 < 4) {\\n ^\\n'", "text": "tests/test_checkcondition_gaps.py:188: in test_modulo_always_true_unsigned\n assert 'moduloAlwaysTrueFalse' in stderr\nE AssertionError: assert 'moduloAlwaysTrueFalse' in '/tmp/tmptrt5fjvj/test.c:4:13: error: Uninitialized variable: x [uninitvar]\\n if (x % 4 < 4) {\\n ^\\n'"}, "1040f6b8a219/tests.test_checkother_part2.test_misused_scoped_object_lock_guard": {"message": "assert 'unusedScopedObject' in \"/tmp/tmpxujwirgftest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxujwirgftest.cpp:4:6: style: The function 'test_temporary_mutex' is never used. [unusedFunction]\\nvoid test_temporary_mutex() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"/tmp/tmpxujwirgftest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxujwirgftest.cpp:4:6: style: The function 'test_temporary_mutex' is never used. [unusedFunction]\\nvoid test_temporary_mutex() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmpxujwirgftest.cpp'], returncode=0, stdout='Checking /tmp/tmpxujwirgftest.cpp ...\\n', stderr=\"/tmp/tmpxujwirgftest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxujwirgftest.cpp:4:6: style: The function 'test_temporary_mutex' is never used. [unusedFunction]\\nvoid test_temporary_mutex() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr", "text": "tests/test_checkother_part2.py:158: in test_misused_scoped_object_lock_guard\n assert 'unusedScopedObject' in result.stderr\nE assert 'unusedScopedObject' in \"/tmp/tmpxujwirgftest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxujwirgftest.cpp:4:6: style: The function 'test_temporary_mutex' is never used. [unusedFunction]\\nvoid test_temporary_mutex() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmpxujwirgftest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxujwirgftest.cpp:4:6: style: The function 'test_temporary_mutex' is never used. [unusedFunction]\\nvoid test_temporary_mutex() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmpxujwirgftest.cpp'], returncode=0, stdout='Checking /tmp/tmpxujwirgftest.cpp ...\\n', stderr=\"/tmp/tmpxujwirgftest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxujwirgftest.cpp:4:6: style: The function 'test_temporary_mutex' is never used. [unusedFunction]\\nvoid test_temporary_mutex() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr"}, "1040f6b8a219/tests.test_checkassert_gaps.test_function_modifies_global_variable": {"message": "AssertionError: assert 'assertWithSideEffect' in ''", "text": "tests/test_checkassert_gaps.py:144: in test_function_modifies_global_variable\n assert 'assertWithSideEffect' in stderr\nE AssertionError: assert 'assertWithSideEffect' in ''"}, "1040f6b8a219/tests.test_checkio_round3.test_fseek_on_append_mode_file": {"message": "AssertionError: assert 'Repositioning operation performed on a file opened in append mode has no effect' in ''", "text": "tests/test_checkio_round3.py:536: in test_fseek_on_append_mode_file\n assert \"Repositioning operation performed on a file opened in append mode has no effect\" in stderr\nE AssertionError: assert 'Repositioning operation performed on a file opened in append mode has no effect' in ''"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_printf_j_modifier_int": {"message": "assert \"%jd in format string (no. 1) requires 'intmax_t'\" in ''", "text": "tests/test_checkio_gaps_round2.py:94: in test_printf_j_modifier_int\n assert \"%jd in format string (no. 1) requires 'intmax_t'\" in stderr\nE assert \"%jd in format string (no. 1) requires 'intmax_t'\" in ''"}, "1040f6b8a219/tests.test_checkclass_gaps.test_duplicate_inherited_member_warning": {"message": "assert 'duplInheritedMember' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/duplicate_inherited.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/duplicate_inherited.cpp:4:9: style: class member 'Base::value' is never used. [unusedStructMember]\\n int value;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/duplicate_inherited.cpp:3:10: style: The function 'process' is never used. [unusedFunction]\\n void process() {}\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps.py:94: in test_duplicate_inherited_member_warning\n assert 'duplInheritedMember' in output\nE assert 'duplInheritedMember' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/duplicate_inherited.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/duplicate_inherited.cpp:4:9: style: class member 'Base::value' is never used. [unusedStructMember]\\n int value;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/duplicate_inherited.cpp:3:10: style: The function 'process' is never used. [unusedFunction]\\n void process() {}\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkbool_gaps.test_bitwise_on_boolean_and": {"message": "assert \"Did you mean '&&'?\" in \"Checking /workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp ...\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:5:11: style: Condition 'a&b' is always false [knownConditionTrueFalse]\\n if (a & b) { // Should trigger bitwiseOnBoolean\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:5:11: note: Condition 'a&b' is always false\\n if (a & b) { // Should trigger bitwiseOnBoolean\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:9:11: style: Condition 'a|b' is always true [knownConditionTrueFalse]\\n if (a | b) { // Should trigger bitwiseOnBoolean\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:9:11: note: Condition 'a|b' is always true\\n if (a | b) { // Should trigger bitwiseOnBoolean\\n ^\\n\"", "text": "tests/test_checkbool_gaps.py:61: in test_bitwise_on_boolean_and\n assert \"Did you mean '&&'?\" in output\nE assert \"Did you mean '&&'?\" in \"Checking /workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp ...\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:5:11: style: Condition 'a&b' is always false [knownConditionTrueFalse]\\n if (a & b) { // Should trigger bitwiseOnBoolean\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:5:11: note: Condition 'a&b' is always false\\n if (a & b) { // Should trigger bitwiseOnBoolean\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:9:11: style: Condition 'a|b' is always true [knownConditionTrueFalse]\\n if (a | b) { // Should trigger bitwiseOnBoolean\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/bitwise_on_bool.cpp:9:11: note: Condition 'a|b' is always true\\n if (a | b) { // Should trigger bitwiseOnBoolean\\n ^\\n\""}, "1040f6b8a219/tests.test_checkio_gaps.test_printf_type_mismatch_string_int": {"message": "assert \"%d in format string (no. 1) requires 'int' but the argument type is 'char *'\" in ''", "text": "tests/test_checkio_gaps.py:61: in test_printf_type_mismatch_string_int\n assert \"%d in format string (no. 1) requires 'int' but the argument type is 'char *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int' but the argument type is 'char *'\" in ''"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_unused_allocation_return_value": {"message": "AssertionError: assert 'leakReturnValNotUsed' in '/tmp/tmppi9ns7al/test.c:3:9: warning: Return value of function malloc() is not used. [ignoredReturnValue]\\n malloc(100);\\n ^\\n'", "text": "tests/test_checkmemoryleak_gaps.py:555: in test_unused_allocation_return_value\n assert 'leakReturnValNotUsed' in stderr\nE AssertionError: assert 'leakReturnValNotUsed' in '/tmp/tmppi9ns7al/test.c:3:9: warning: Return value of function malloc() is not used. [ignoredReturnValue]\\n malloc(100);\\n ^\\n'"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_scanf_field_width_overflow": {"message": "assert 'Width 20 given in format string (no. 1) is larger than destination buffer' in '/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:8:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*d\", 42); // Error: missing width argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:16:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%.*f\", 3.14159); // Error: missing precision argument, type mismatch\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:24:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 10, 3.14159); // Error: missing precision argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:28:5: error: printf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 3.14159); // Error: missing width and precision\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:33:5: error: scanf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d %d\", &x); // OK: first int is suppressed, second goes to x\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:37:5: error: scanf format string requires 2 parameters but only 0 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d\"); // OK: suppression assignment, no target needed\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:42:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // Error: %n needs pointer, got int\\n ^\\n'", "text": "tests/test_checkio_gaps_round2.py:702: in test_scanf_field_width_overflow\n assert \"Width 20 given in format string (no. 1) is larger than destination buffer\" in stderr\nE assert 'Width 20 given in format string (no. 1) is larger than destination buffer' in '/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:8:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*d\", 42); // Error: missing width argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:16:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%.*f\", 3.14159); // Error: missing precision argument, type mismatch\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:24:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 10, 3.14159); // Error: missing precision argument\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:28:5: error: printf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*.*f\", 3.14159); // Error: missing width and precision\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:33:5: error: scanf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d %d\", &x); // OK: first int is suppressed, second goes to x\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:37:5: error: scanf format string requires 2 parameters but only 0 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%*d\"); // OK: suppression assignment, no target needed\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps_round2/format_asterisk_and_posix.c:42:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // Error: %n needs pointer, got int\\n ^\\n'"}, "1040f6b8a219/tests.test_checkcondition_gaps.test_modulo_always_false_unsigned": {"message": "AssertionError: assert 'moduloAlwaysTrueFalse' in '/tmp/tmps33rfy9x/test.c:4:13: error: Uninitialized variable: x [uninitvar]\\n if (x % 8 > 10) {\\n ^\\n'", "text": "tests/test_checkcondition_gaps.py:209: in test_modulo_always_false_unsigned\n assert 'moduloAlwaysTrueFalse' in stderr\nE AssertionError: assert 'moduloAlwaysTrueFalse' in '/tmp/tmps33rfy9x/test.c:4:13: error: Uninitialized variable: x [uninitvar]\\n if (x % 8 > 10) {\\n ^\\n'"}, "1040f6b8a219/tests.test_checkassert_gaps.test_nonconst_member_function_no_body": {"message": "AssertionError: assert 'assertWithSideEffect' in ''", "text": "tests/test_checkassert_gaps.py:172: in test_nonconst_member_function_no_body\n assert 'assertWithSideEffect' in stderr\nE AssertionError: assert 'assertWithSideEffect' in ''"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_complex_format_multiple_errors": {"message": "assert \"%d in format string (no. 4) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'", "text": "tests/test_checkio_round3.py:549: in test_printf_complex_format_multiple_errors\n assert \"%d in format string (no. 4) requires 'int'\" in stderr\nE assert \"%d in format string (no. 4) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_printf_ju_modifier_int": {"message": "assert \"%ju in format string (no. 1) requires 'uintmax_t'\" in ''", "text": "tests/test_checkio_gaps_round2.py:107: in test_printf_ju_modifier_int\n assert \"%ju in format string (no. 1) requires 'uintmax_t'\" in stderr\nE assert \"%ju in format string (no. 1) requires 'uintmax_t'\" in ''"}, "1040f6b8a219/tests.test_checkother_part2.test_pointer_less_than_zero": {"message": "assert 'pointerLessThanZero' in \"/tmp/tmphdfsc4s3test.c:2:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\n/tmp/tmphdfsc4s3test.c:2:6: style: The function 'test_pointer_less_than_zero' is never used. [unusedFunction]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"/tmp/tmphdfsc4s3test.c:2:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\n/tmp/tmphdfsc4s3test.c:2:6: style: The function 'test_pointer_less_than_zero' is never used. [unusedFunction]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmphdfsc4s3test.c'], returncode=0, stdout='Checking /tmp/tmphdfsc4s3test.c ...\\n', stderr=\"/tmp/tmphdfsc4s3test.c:2:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\n/tmp/tmphdfsc4s3test.c:2:6: style: The function 'test_pointer_less_than_zero' is never used. [unusedFunction]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr", "text": "tests/test_checkother_part2.py:212: in test_pointer_less_than_zero\n assert 'pointerLessThanZero' in result.stderr\nE assert 'pointerLessThanZero' in \"/tmp/tmphdfsc4s3test.c:2:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\n/tmp/tmphdfsc4s3test.c:2:6: style: The function 'test_pointer_less_than_zero' is never used. [unusedFunction]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmphdfsc4s3test.c:2:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\n/tmp/tmphdfsc4s3test.c:2:6: style: The function 'test_pointer_less_than_zero' is never used. [unusedFunction]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmphdfsc4s3test.c'], returncode=0, stdout='Checking /tmp/tmphdfsc4s3test.c ...\\n', stderr=\"/tmp/tmphdfsc4s3test.c:2:39: style: Parameter 'p' can be declared as pointer to const [constParameterPointer]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\n/tmp/tmphdfsc4s3test.c:2:6: style: The function 'test_pointer_less_than_zero' is never used. [unusedFunction]\\nvoid test_pointer_less_than_zero(int *p) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr"}, "1040f6b8a219/tests.test_checkbool_gaps.test_comparison_bool_with_int": {"message": "assert 'compareBoolExpressionWithInt' in \"Checking /workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp ...\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:8:11: warning: Comparison of a boolean value using relational operator (<, >, <= or >=). [comparisonOfBoolWithInvalidComparator]\\n if (b == 2) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:4:12: style: Condition '!b==4' is always false [knownConditionTrueFalse]\\n if (!b == 4) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:2:14: note: Assignment 'b=true', assigned value is 1\\n bool b = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:4:12: note: Condition '!b==4' is always false\\n if (!b == 4) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:8:11: style: Condition 'b==2' is always false [knownConditionTrueFalse]\\n if (b == 2) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:2:14: note: Assignment 'b=true', assigned value is 1\\n bool b = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:8:11: note: Condition 'b==2' is always false\\n if (b == 2) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:12:11: style: Condition 'b<0' is always false [knownConditionTrueFalse]\\n if (b < 0) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:2:14: note: Assignment 'b=true', assigned value is 1\\n bool b = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:12:11: note: Condition 'b<0' is always false\\n if (b < 0) { // Should trigger comparisonOfBoolWithInt\\n ^\\n\"", "text": "tests/test_checkbool_gaps.py:78: in test_comparison_bool_with_int\n assert 'compareBoolExpressionWithInt' in output\nE assert 'compareBoolExpressionWithInt' in \"Checking /workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp ...\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:8:11: warning: Comparison of a boolean value using relational operator (<, >, <= or >=). [comparisonOfBoolWithInvalidComparator]\\n if (b == 2) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:4:12: style: Condition '!b==4' is always false [knownConditionTrueFalse]\\n if (!b == 4) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:2:14: note: Assignment 'b=true', assigned value is 1\\n bool b = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:4:12: note: Condition '!b==4' is always false\\n if (!b == 4) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:8:11: style: Condition 'b==2' is always false [knownConditionTrueFalse]\\n if (b == 2) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:2:14: note: Assignment 'b=true', assigned value is 1\\n bool b = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:8:11: note: Condition 'b==2' is always false\\n if (b == 2) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:12:11: style: Condition 'b<0' is always false [knownConditionTrueFalse]\\n if (b < 0) { // Should trigger comparisonOfBoolWithInt\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:2:14: note: Assignment 'b=true', assigned value is 1\\n bool b = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_int.cpp:12:11: note: Condition 'b<0' is always false\\n if (b < 0) { // Should trigger comparisonOfBoolWithInt\\n ^\\n\""}, "1040f6b8a219/tests.test_checkclass_gaps.test_virtual_function_call_in_constructor": {"message": "AssertionError: assert 'virtualCallInConstructor' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/virtual_in_ctor.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'", "text": "tests/test_checkclass_gaps.py:117: in test_virtual_function_call_in_constructor\n assert 'virtualCallInConstructor' in output\nE AssertionError: assert 'virtualCallInConstructor' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/virtual_in_ctor.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'"}, "1040f6b8a219/tests.test_checkio_gaps.test_printf_type_mismatch_int_string": {"message": "assert \"%s in format string (no. 1) requires 'char *' but the argument type is 'signed int'\" in ''", "text": "tests/test_checkio_gaps.py:73: in test_printf_type_mismatch_int_string\n assert \"%s in format string (no. 1) requires 'char *' but the argument type is 'signed int'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *' but the argument type is 'signed int'\" in ''"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_fclose_wrong_variable": {"message": "AssertionError: assert 'doubleFree' in ''", "text": "tests/test_checkmemoryleak_gaps.py:577: in test_fclose_wrong_variable\n assert 'doubleFree' in stderr\nE AssertionError: assert 'doubleFree' in ''"}, "1040f6b8a219/tests.test_checkcondition_gaps.test_invalid_overflow_check_signed": {"message": "AssertionError: assert 'invalidTestForOverflow' in '/tmp/tmp4qos3_vy/test.c:4:13: error: Uninitialized variable: y [uninitvar]\\n if (y + 1 < y) {\\n ^\\n'", "text": "tests/test_checkcondition_gaps.py:229: in test_invalid_overflow_check_signed\n assert 'invalidTestForOverflow' in stderr\nE AssertionError: assert 'invalidTestForOverflow' in '/tmp/tmp4qos3_vy/test.c:4:13: error: Uninitialized variable: y [uninitvar]\\n if (y + 1 < y) {\\n ^\\n'"}, "1040f6b8a219/tests.test_checkio_round3.test_wprintf_type_mismatch_int_wchar_ptr": {"message": "assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:9:5: error: wprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:10:5: error: wprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d\", x, x); // Too many args\\n ^\\n'", "text": "tests/test_checkio_round3.py:51: in test_wprintf_type_mismatch_int_wchar_ptr\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:9:5: error: wprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:10:5: error: wprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d\", x, x); // Too many args\\n ^\\n'"}, "1040f6b8a219/tests.test_checkassert_gaps.test_function_modifies_reference_parameter": {"message": "AssertionError: assert 'assertWithSideEffect' in ''", "text": "tests/test_checkassert_gaps.py:200: in test_function_modifies_reference_parameter\n assert 'assertWithSideEffect' in stderr\nE AssertionError: assert 'assertWithSideEffect' in ''"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_printf_zu_modifier_int": {"message": "assert \"%zu in format string (no. 1) requires 'size_t'\" in ''", "text": "tests/test_checkio_gaps_round2.py:120: in test_printf_zu_modifier_int\n assert \"%zu in format string (no. 1) requires 'size_t'\" in stderr\nE assert \"%zu in format string (no. 1) requires 'size_t'\" in ''"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_complex_format_first_arg_wrong_type": {"message": "assert \"%s in format string (no. 1) requires 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'", "text": "tests/test_checkio_round3.py:561: in test_printf_complex_format_first_arg_wrong_type\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'"}, "1040f6b8a219/tests.test_checkclass_gaps.test_copy_constructor_without_assignment_operator": {"message": "AssertionError: assert 'noOperatorEq' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/copy_ctor_combined.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'", "text": "tests/test_checkclass_gaps.py:129: in test_copy_constructor_without_assignment_operator\n assert 'noOperatorEq' in output\nE AssertionError: assert 'noOperatorEq' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/copy_ctor_combined.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'"}, "1040f6b8a219/tests.test_checkbool_gaps.test_assign_bool_to_float": {"message": "assert 'Boolean value assigned to floating point variable' in \"Checking /workspace/eval/test_resources/test_checkbool/assign_bool_to_float.cpp ...\\n/workspace/eval/test_resources/test_checkbool/assign_bool_to_float.cpp:4:7: style: Variable 'f' is assigned a value that is never used. [unreadVariable]\\n f = b; // Should trigger assignBoolToFloat\\n ^\\n/workspace/eval/test_resources/test_checkbool/assign_bool_to_float.cpp:7:7: style: Variable 'd' is assigned a value that is never used. [unreadVariable]\\n d = b; // Should trigger assignBoolToFloat\\n ^\\n\"", "text": "tests/test_checkbool_gaps.py:116: in test_assign_bool_to_float\n assert 'Boolean value assigned to floating point variable' in output\nE assert 'Boolean value assigned to floating point variable' in \"Checking /workspace/eval/test_resources/test_checkbool/assign_bool_to_float.cpp ...\\n/workspace/eval/test_resources/test_checkbool/assign_bool_to_float.cpp:4:7: style: Variable 'f' is assigned a value that is never used. [unreadVariable]\\n f = b; // Should trigger assignBoolToFloat\\n ^\\n/workspace/eval/test_resources/test_checkbool/assign_bool_to_float.cpp:7:7: style: Variable 'd' is assigned a value that is never used. [unreadVariable]\\n d = b; // Should trigger assignBoolToFloat\\n ^\\n\""}, "1040f6b8a219/tests.test_checkio_gaps.test_printf_type_mismatch_float_int": {"message": "assert \"%d in format string (no. 1) requires 'int' but the argument type is 'float'\" in ''", "text": "tests/test_checkio_gaps.py:85: in test_printf_type_mismatch_float_int\n assert \"%d in format string (no. 1) requires 'int' but the argument type is 'float'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int' but the argument type is 'float'\" in ''"}, "1040f6b8a219/tests.test_checkother_part2.test_redundant_assignment_same_value": {"message": "assert 'redundantAssignment' in \"/tmp/tmp5z64qc2ptest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp5z64qc2ptest.cpp:4:6: style: The function 'test_redundant_copy' is never used. [unusedFunction]\\nvoid test_redundant_copy(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"/tmp/tmp5z64qc2ptest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp5z64qc2ptest.cpp:4:6: style: The function 'test_redundant_copy' is never used. [unusedFunction]\\nvoid test_redundant_copy(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmp5z64qc2ptest.cpp'], returncode=0, stdout='Checking /tmp/tmp5z64qc2ptest.cpp ...\\n', stderr=\"/tmp/tmp5z64qc2ptest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp5z64qc2ptest.cpp:4:6: style: The function 'test_redundant_copy' is never used. [unusedFunction]\\nvoid test_redundant_copy(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr", "text": "tests/test_checkother_part2.py:264: in test_redundant_assignment_same_value\n assert 'redundantAssignment' in result.stderr\nE assert 'redundantAssignment' in \"/tmp/tmp5z64qc2ptest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp5z64qc2ptest.cpp:4:6: style: The function 'test_redundant_copy' is never used. [unusedFunction]\\nvoid test_redundant_copy(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmp5z64qc2ptest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp5z64qc2ptest.cpp:4:6: style: The function 'test_redundant_copy' is never used. [unusedFunction]\\nvoid test_redundant_copy(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmp5z64qc2ptest.cpp'], returncode=0, stdout='Checking /tmp/tmp5z64qc2ptest.cpp ...\\n', stderr=\"/tmp/tmp5z64qc2ptest.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp5z64qc2ptest.cpp:4:6: style: The function 'test_redundant_copy' is never used. [unusedFunction]\\nvoid test_redundant_copy(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_malloc_cast_leak": {"message": "AssertionError: assert 'memleak' in ''", "text": "tests/test_checkmemoryleak_gaps.py:596: in test_malloc_cast_leak\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''"}, "1040f6b8a219/tests.test_checkcondition_gaps.test_unsigned_less_than_zero": {"message": "assert 'unsignedLessThanZero' in \"/tmp/tmp8davcxzu/test.c:4:13: error: Uninitialized variable: x [uninitvar]\\n if (x + 1 < 0) {\\n ^\\n/tmp/tmp8davcxzu/test.c:3:22: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n unsigned int x;\\n ^\\n\"", "text": "tests/test_checkcondition_gaps.py:249: in test_unsigned_less_than_zero\n assert 'unsignedLessThanZero' in stderr\nE assert 'unsignedLessThanZero' in \"/tmp/tmp8davcxzu/test.c:4:13: error: Uninitialized variable: x [uninitvar]\\n if (x + 1 < 0) {\\n ^\\n/tmp/tmp8davcxzu/test.c:3:22: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n unsigned int x;\\n ^\\n\""}, "1040f6b8a219/tests.test_checkio_round3.test_wprintf_type_mismatch_wchar_ptr_int": {"message": "assert \"%s in format string (no. 1) requires 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:9:5: error: wprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:10:5: error: wprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d\", x, x); // Too many args\\n ^\\n'", "text": "tests/test_checkio_round3.py:64: in test_wprintf_type_mismatch_wchar_ptr_int\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:9:5: error: wprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:10:5: error: wprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d\", x, x); // Too many args\\n ^\\n'"}, "1040f6b8a219/tests.test_checkassert_gaps.test_function_modifies_pointer_parameter": {"message": "AssertionError: assert 'assertWithSideEffect' in ''", "text": "tests/test_checkassert_gaps.py:226: in test_function_modifies_pointer_parameter\n assert 'assertWithSideEffect' in stderr\nE AssertionError: assert 'assertWithSideEffect' in ''"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_printf_zd_modifier_int": {"message": "assert \"%zd in format string (no. 1) requires 'ssize_t'\" in ''", "text": "tests/test_checkio_gaps_round2.py:133: in test_printf_zd_modifier_int\n assert \"%zd in format string (no. 1) requires 'ssize_t'\" in stderr\nE assert \"%zd in format string (no. 1) requires 'ssize_t'\" in ''"}, "1040f6b8a219/tests.test_checkclass_gaps.test_missing_override_specifier": {"message": "assert 'missingOverride' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/missing_override.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_override.cpp:8:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass Circle : public Shape {\\n^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_override.cpp:3:18: style: The function 'draw' is never used. [unusedFunction]\\n virtual void draw() {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_override.cpp:4:20: style: The function 'area' is never used. [unusedFunction]\\n virtual double area() { return 0.0; }\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps.py:141: in test_missing_override_specifier\n assert 'missingOverride' in output\nE assert 'missingOverride' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/missing_override.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_override.cpp:8:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass Circle : public Shape {\\n^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_override.cpp:3:18: style: The function 'draw' is never used. [unusedFunction]\\n virtual void draw() {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_override.cpp:4:20: style: The function 'area' is never used. [unusedFunction]\\n virtual double area() { return 0.0; }\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkio_round3.test_printf_width_with_wrong_type": {"message": "assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'", "text": "tests/test_checkio_round3.py:584: in test_printf_width_with_wrong_type\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'"}, "1040f6b8a219/tests.test_checkbool_gaps.test_pointer_arith_bool": {"message": "AssertionError: assert 'pointerArithBool' in 'Checking /workspace/eval/test_resources/test_checkbool/pointer_arith_bool.cpp ...\\n'", "text": "tests/test_checkbool_gaps.py:130: in test_pointer_arith_bool\n assert 'pointerArithBool' in output\nE AssertionError: assert 'pointerArithBool' in 'Checking /workspace/eval/test_resources/test_checkbool/pointer_arith_bool.cpp ...\\n'"}, "1040f6b8a219/tests.test_checkio_gaps.test_printf_type_mismatch_pointer_int": {"message": "assert \"%d in format string (no. 1) requires 'int' but the argument type is 'signed int *'\" in ''", "text": "tests/test_checkio_gaps.py:97: in test_printf_type_mismatch_pointer_int\n assert \"%d in format string (no. 1) requires 'int' but the argument type is 'signed int *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int' but the argument type is 'signed int *'\" in ''"}, "1040f6b8a219/tests.test_checkother_part2.test_access_of_moved_variable": {"message": "assert 'accessMoved' in \"/tmp/tmpznro5096test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:5:5: style: The function 'test_use_after_move' is never used. [unusedFunction]\\nint test_use_after_move(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"/tmp/tmpznro5096test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:5:5: style: The function 'test_use_after_move' is never used. [unusedFunction]\\nint test_use_after_move(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--inconclusive', '--std=c++11', '/tmp/tmpznro5096test.cpp'], returncode=0, stdout='Checking /tmp/tmpznro5096test.cpp ...\\n', stderr=\"/tmp/tmpznro5096test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:5:5: style: The function 'test_use_after_move' is never used. [unusedFunction]\\nint test_use_after_move(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr", "text": "tests/test_checkother_part2.py:284: in test_access_of_moved_variable\n assert 'accessMoved' in result.stderr\nE assert 'accessMoved' in \"/tmp/tmpznro5096test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:5:5: style: The function 'test_use_after_move' is never used. [unusedFunction]\\nint test_use_after_move(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmpznro5096test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:5:5: style: The function 'test_use_after_move' is never used. [unusedFunction]\\nint test_use_after_move(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--inconclusive', '--std=c++11', '/tmp/tmpznro5096test.cpp'], returncode=0, stdout='Checking /tmp/tmpznro5096test.cpp ...\\n', stderr=\"/tmp/tmpznro5096test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpznro5096test.cpp:5:5: style: The function 'test_use_after_move' is never used. [unusedFunction]\\nint test_use_after_move(std::string s) {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_allocation_in_function_argument_leak": {"message": "AssertionError: assert 'leakNoVarFunctionCall' in ''", "text": "tests/test_checkmemoryleak_gaps.py:636: in test_allocation_in_function_argument_leak\n assert 'leakNoVarFunctionCall' in stderr\nE AssertionError: assert 'leakNoVarFunctionCall' in ''"}, "1040f6b8a219/tests.test_checkcondition_gaps.test_pointer_arithmetic_result_not_null": {"message": "AssertionError: assert 'pointerArithBool' in ''", "text": "tests/test_checkcondition_gaps.py:269: in test_pointer_arithmetic_result_not_null\n assert 'pointerArithBool' in stderr\nE AssertionError: assert 'pointerArithBool' in ''"}, "1040f6b8a219/tests.test_checkio_round3.test_wprintf_type_mismatch_float_int": {"message": "assert \"%f in format string (no. 1) requires 'double'\" in '/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:9:5: error: wprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:10:5: error: wprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d\", x, x); // Too many args\\n ^\\n'", "text": "tests/test_checkio_round3.py:77: in test_wprintf_type_mismatch_float_int\n assert \"%f in format string (no. 1) requires 'double'\" in stderr\nE assert \"%f in format string (no. 1) requires 'double'\" in '/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:9:5: error: wprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/wprintf_errors.c:10:5: error: wprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n wprintf(L\"%d\", x, x); // Too many args\\n ^\\n'"}, "1040f6b8a219/tests.test_checkassert_gaps.test_multiple_assignments_in_assert": {"message": "AssertionError: assert 0 >= 2\n + where 0 = ('assignmentInAssert')\n + where = ''.count", "text": "tests/test_checkassert_gaps.py:272: in test_multiple_assignments_in_assert\n assert stderr.count('assignmentInAssert') >= 2\nE AssertionError: assert 0 >= 2\nE + where 0 = ('assignmentInAssert')\nE + where = ''.count"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_printf_td_modifier_int": {"message": "assert \"%td in format string (no. 1) requires 'ptrdiff_t'\" in ''", "text": "tests/test_checkio_gaps_round2.py:146: in test_printf_td_modifier_int\n assert \"%td in format string (no. 1) requires 'ptrdiff_t'\" in stderr\nE assert \"%td in format string (no. 1) requires 'ptrdiff_t'\" in ''"}, "1040f6b8a219/tests.test_checkclass_gaps.test_suspicious_this_pointer_subtraction": {"message": "assert 'thisSubtraction' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/this_subtraction.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/this_subtraction.cpp:6:9: style: The function 'distance' is never used. [unusedFunction]\\n int distance(Node* other) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps.py:153: in test_suspicious_this_pointer_subtraction\n assert 'thisSubtraction' in output\nE assert 'thisSubtraction' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/this_subtraction.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/this_subtraction.cpp:6:9: style: The function 'distance' is never used. [unusedFunction]\\n int distance(Node* other) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkio_round3.test_printf_precision_with_wrong_type": {"message": "assert \"%f in format string (no. 1) requires 'double'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'", "text": "tests/test_checkio_round3.py:596: in test_printf_precision_with_wrong_type\n assert \"%f in format string (no. 1) requires 'double'\" in stderr\nE assert \"%f in format string (no. 1) requires 'double'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'"}, "1040f6b8a219/tests.test_checkbool_gaps.test_return_value_bool": {"message": "AssertionError: assert 'returnNonBoolInBooleanFunction' in 'Checking /workspace/eval/test_resources/test_checkbool/return_value_bool.cpp ...\\n'", "text": "tests/test_checkbool_gaps.py:148: in test_return_value_bool\n assert 'returnNonBoolInBooleanFunction' in output\nE AssertionError: assert 'returnNonBoolInBooleanFunction' in 'Checking /workspace/eval/test_resources/test_checkbool/return_value_bool.cpp ...\\n'"}, "1040f6b8a219/tests.test_checkio_gaps.test_printf_type_mismatch_unsigned_signed": {"message": "assert \"%d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'\" in ''", "text": "tests/test_checkio_gaps.py:109: in test_printf_type_mismatch_unsigned_signed\n assert \"%d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int' but the argument type is 'unsigned int'\" in ''"}, "1040f6b8a219/tests.test_checkother_part2.test_shadow_variable_global": {"message": "assert 'shadowVariable' in \"/tmp/tmp1no0l9p3test.c:4:6: style: The function 'test_shadow_global' is never used. [unusedFunction]\\nvoid test_shadow_global() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"/tmp/tmp1no0l9p3test.c:4:6: style: The function 'test_shadow_global' is never used. [unusedFunction]\\nvoid test_shadow_global() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--check-level=exhaustive', '/tmp/tmp1no0l9p3test.c'], returncode=0, stdout='Checking /tmp/tmp1no0l9p3test.c ...\\n', stderr=\"/tmp/tmp1no0l9p3test.c:4:6: style: The function 'test_shadow_global' is never used. [unusedFunction]\\nvoid test_shadow_global() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr", "text": "tests/test_checkother_part2.py:322: in test_shadow_variable_global\n assert 'shadowVariable' in result.stderr\nE assert 'shadowVariable' in \"/tmp/tmp1no0l9p3test.c:4:6: style: The function 'test_shadow_global' is never used. [unusedFunction]\\nvoid test_shadow_global() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmp1no0l9p3test.c:4:6: style: The function 'test_shadow_global' is never used. [unusedFunction]\\nvoid test_shadow_global() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--check-level=exhaustive', '/tmp/tmp1no0l9p3test.c'], returncode=0, stdout='Checking /tmp/tmp1no0l9p3test.c ...\\n', stderr=\"/tmp/tmp1no0l9p3test.c:4:6: style: The function 'test_shadow_global' is never used. [unusedFunction]\\nvoid test_shadow_global() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_multiple_allocations_one_freed": {"message": "AssertionError: assert 'memleak' in ''", "text": "tests/test_checkmemoryleak_gaps.py:658: in test_multiple_allocations_one_freed\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''"}, "1040f6b8a219/tests.test_checkcondition_gaps.test_pointer_arithmetic_not_equal_zero": {"message": "AssertionError: assert 'knownConditionTrueFalse' in ''", "text": "tests/test_checkcondition_gaps.py:293: in test_pointer_arithmetic_not_equal_zero\n assert 'knownConditionTrueFalse' in stderr\nE AssertionError: assert 'knownConditionTrueFalse' in ''"}, "1040f6b8a219/tests.test_checkio_round3.test_wscanf_type_mismatch_wchar_ptr_int_ptr": {"message": "assert '%ls in format string (no. 1) requires a' in '/workspace/eval/test_resources/test_checkio_round3/wscanf_errors.c:10:5: error: wscanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wscanf(L\"%d %d\", &x); // Too few args\\n ^\\n'", "text": "tests/test_checkio_round3.py:102: in test_wscanf_type_mismatch_wchar_ptr_int_ptr\n assert \"%ls in format string (no. 1) requires a\" in stderr\nE assert '%ls in format string (no. 1) requires a' in '/workspace/eval/test_resources/test_checkio_round3/wscanf_errors.c:10:5: error: wscanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wscanf(L\"%d %d\", &x); // Too few args\\n ^\\n'"}, "1040f6b8a219/tests.test_checkassert_gaps.test_assignment_to_outer_scope_variable": {"message": "AssertionError: assert 0 >= 2\n + where 0 = ('assignmentInAssert')\n + where = ''.count", "text": "tests/test_checkassert_gaps.py:298: in test_assignment_to_outer_scope_variable\n assert stderr.count('assignmentInAssert') >= 2\nE AssertionError: assert 0 >= 2\nE + where 0 = ('assignmentInAssert')\nE + where = ''.count"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_printf_tu_modifier_int": {"message": "assert \"%tu in format string (no. 1) requires 'unsigned ptrdiff_t'\" in ''", "text": "tests/test_checkio_gaps_round2.py:159: in test_printf_tu_modifier_int\n assert \"%tu in format string (no. 1) requires 'unsigned ptrdiff_t'\" in stderr\nE assert \"%tu in format string (no. 1) requires 'unsigned ptrdiff_t'\" in ''"}, "1040f6b8a219/tests.test_checkclass_gaps.test_member_variable_self_initialization": {"message": "assert 'selfInitialization' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/self_initialization.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/self_initialization.cpp:3:5: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Config(int val) : value(value) {} // Self-initialization!\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps.py:165: in test_member_variable_self_initialization\n assert 'selfInitialization' in output\nE assert 'selfInitialization' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/self_initialization.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/self_initialization.cpp:3:5: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Config(int val) : value(value) {} // Self-initialization!\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkio_round3.test_printf_width_and_precision_with_wrong_type": {"message": "assert \"%f in format string (no. 1) requires 'double'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'", "text": "tests/test_checkio_round3.py:608: in test_printf_width_and_precision_with_wrong_type\n assert \"%f in format string (no. 1) requires 'double'\" in stderr\nE assert \"%f in format string (no. 1) requires 'double'\" in '/workspace/eval/test_resources/test_checkio_round3/printf_complex_formats.c:12:5: error: printf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n printf(\"%d %d %d\\\\n\", x, y); // Missing third argument\\n ^\\n'"}, "1040f6b8a219/tests.test_checkbool_gaps.test_comparison_func_returning_bool": {"message": "AssertionError: assert 'comparisonOfFuncReturningBoolError' in 'Checking /workspace/eval/test_resources/test_checkbool/comparison_func_bool.cpp ...\\n'", "text": "tests/test_checkbool_gaps.py:165: in test_comparison_func_returning_bool\n assert 'comparisonOfFuncReturningBoolError' in output\nE AssertionError: assert 'comparisonOfFuncReturningBoolError' in 'Checking /workspace/eval/test_resources/test_checkbool/comparison_func_bool.cpp ...\\n'"}, "1040f6b8a219/tests.test_checkio_gaps.test_scanf_wrong_type": {"message": "assert \"%s in format string (no. 1) requires a 'char *' but the argument type is 'signed int *'\" in '/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:5:5: error: scanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d\", &a); // Need 2 pointers, only 1 given\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:15:17: error: Uninitialized variable: a [uninitvar]\\n scanf(\"%d\", a); // Missing &, should be &a\\n ^\\n'", "text": "tests/test_checkio_gaps.py:133: in test_scanf_wrong_type\n assert \"%s in format string (no. 1) requires a 'char *' but the argument type is 'signed int *'\" in stderr\nE assert \"%s in format string (no. 1) requires a 'char *' but the argument type is 'signed int *'\" in '/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:5:5: error: scanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d\", &a); // Need 2 pointers, only 1 given\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:15:17: error: Uninitialized variable: a [uninitvar]\\n scanf(\"%d\", a); // Missing &, should be &a\\n ^\\n'"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_conditional_double_alloc_leak": {"message": "AssertionError: assert 'memleak' in ''", "text": "tests/test_checkmemoryleak_gaps.py:679: in test_conditional_double_alloc_leak\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''"}, "1040f6b8a219/tests.test_checkother_part2.test_unknown_evaluation_order_increment": {"message": "assert 'unknownEvaluationOrder' in \"/tmp/tmppvjv5v0ttest.c:2:5: style: The function 'test_eval_order' is never used. [unusedFunction]\\nint test_eval_order() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"/tmp/tmppvjv5v0ttest.c:2:5: style: The function 'test_eval_order' is never used. [unusedFunction]\\nint test_eval_order() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmppvjv5v0ttest.c'], returncode=0, stdout='Checking /tmp/tmppvjv5v0ttest.c ...\\n', stderr=\"/tmp/tmppvjv5v0ttest.c:2:5: style: The function 'test_eval_order' is never used. [unusedFunction]\\nint test_eval_order() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr", "text": "tests/test_checkother_part2.py:358: in test_unknown_evaluation_order_increment\n assert 'unknownEvaluationOrder' in result.stderr\nE assert 'unknownEvaluationOrder' in \"/tmp/tmppvjv5v0ttest.c:2:5: style: The function 'test_eval_order' is never used. [unusedFunction]\\nint test_eval_order() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmppvjv5v0ttest.c:2:5: style: The function 'test_eval_order' is never used. [unusedFunction]\\nint test_eval_order() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmppvjv5v0ttest.c'], returncode=0, stdout='Checking /tmp/tmppvjv5v0ttest.c ...\\n', stderr=\"/tmp/tmppvjv5v0ttest.c:2:5: style: The function 'test_eval_order' is never used. [unusedFunction]\\nint test_eval_order() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr"}, "1040f6b8a219/tests.test_checkcondition_gaps.test_opposite_inner_condition_simple": {"message": "AssertionError: assert 'oppositeInnerCondition' in ''", "text": "tests/test_checkcondition_gaps.py:314: in test_opposite_inner_condition_simple\n assert 'oppositeInnerCondition' in stderr\nE AssertionError: assert 'oppositeInnerCondition' in ''"}, "1040f6b8a219/tests.test_checkio_round3.test_wscanf_missing_address_operator": {"message": "assert \"%d in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_round3/wscanf_errors.c:10:5: error: wscanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wscanf(L\"%d %d\", &x); // Too few args\\n ^\\n'", "text": "tests/test_checkio_round3.py:115: in test_wscanf_missing_address_operator\n assert \"%d in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_round3/wscanf_errors.c:10:5: error: wscanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wscanf(L\"%d %d\", &x); // Too few args\\n ^\\n'"}, "1040f6b8a219/tests.test_checkclass_gaps.test_initializer_list_order_mismatch": {"message": "AssertionError: assert 'initializerList' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/init_list_order2.cpp ...\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'", "text": "tests/test_checkclass_gaps.py:176: in test_initializer_list_order_mismatch\n assert 'initializerList' in output\nE AssertionError: assert 'initializerList' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/init_list_order2.cpp ...\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_printf_I64d_modifier_int": {"message": "assert \"%I64d in format string (no. 1) requires '__int64'\" in ''", "text": "tests/test_checkio_gaps_round2.py:172: in test_printf_I64d_modifier_int\n assert \"%I64d in format string (no. 1) requires '__int64'\" in stderr\nE assert \"%I64d in format string (no. 1) requires '__int64'\" in ''"}, "1040f6b8a219/tests.test_checkbool_gaps.test_comparison_bool_with_bool": {"message": "assert 'comparisonOfBoolWithBoolError' in \"Checking /workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp ...\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:5:11: style: Condition 'a=b' is always true [knownConditionTrueFalse]\\n if (a >= b) { // Should trigger comparisonOfBoolWithBool\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:9:11: note: Condition 'a>=b' is always true\\n if (a >= b) { // Should trigger comparisonOfBoolWithBool\\n ^\\n\"", "text": "tests/test_checkbool_gaps.py:181: in test_comparison_bool_with_bool\n assert 'comparisonOfBoolWithBoolError' in output\nE assert 'comparisonOfBoolWithBoolError' in \"Checking /workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp ...\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:5:11: style: Condition 'a=b' is always true [knownConditionTrueFalse]\\n if (a >= b) { // Should trigger comparisonOfBoolWithBool\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/comparison_bool_bool.cpp:9:11: note: Condition 'a>=b' is always true\\n if (a >= b) { // Should trigger comparisonOfBoolWithBool\\n ^\\n\""}, "1040f6b8a219/tests.test_checkio_round3.test_scanf_complex_format_last_arg_wrong_type": {"message": "assert \"%d in format string (no. 4) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_round3/scanf_complex_formats.c:11:5: error: scanf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d %d\", &x, &y); // Missing third argument\\n ^\\n'", "text": "tests/test_checkio_round3.py:620: in test_scanf_complex_format_last_arg_wrong_type\n assert \"%d in format string (no. 4) requires 'int *'\" in stderr\nE assert \"%d in format string (no. 4) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_round3/scanf_complex_formats.c:11:5: error: scanf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d %d\", &x, &y); // Missing third argument\\n ^\\n'"}, "1040f6b8a219/tests.test_checkassert_gaps.test_function_with_return_modifies_global": {"message": "AssertionError: assert 0 >= 2\n + where 0 = ('assertWithSideEffect')\n + where = ''.count", "text": "tests/test_checkassert_gaps.py:371: in test_function_with_return_modifies_global\n assert stderr.count('assertWithSideEffect') >= 2\nE AssertionError: assert 0 >= 2\nE + where 0 = ('assertWithSideEffect')\nE + where = ''.count"}, "1040f6b8a219/tests.test_checkio_gaps.test_scanf_missing_address_operator": {"message": "assert \"%d in format string (no. 1) requires 'int *' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:5:5: error: scanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d\", &a); // Need 2 pointers, only 1 given\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:15:17: error: Uninitialized variable: a [uninitvar]\\n scanf(\"%d\", a); // Missing &, should be &a\\n ^\\n'", "text": "tests/test_checkio_gaps.py:145: in test_scanf_missing_address_operator\n assert \"%d in format string (no. 1) requires 'int *' but the argument type is 'signed int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int *' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:5:5: error: scanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d\", &a); // Need 2 pointers, only 1 given\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:15:17: error: Uninitialized variable: a [uninitvar]\\n scanf(\"%d\", a); // Missing &, should be &a\\n ^\\n'"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_member_allocated_twice_leak": {"message": "AssertionError: assert 'publicAllocationError' in ''", "text": "tests/test_checkmemoryleak_gaps.py:700: in test_member_allocated_twice_leak\n assert 'publicAllocationError' in stderr\nE AssertionError: assert 'publicAllocationError' in ''"}, "1040f6b8a219/tests.test_checkother_part2.test_unknown_evaluation_order_array_index": {"message": "assert 'unknownEvaluationOrder' in \"/tmp/tmp2agkconitest.c:2:6: style: The function 'test_eval_order2' is never used. [unusedFunction]\\nvoid test_eval_order2(int arr[]) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"/tmp/tmp2agkconitest.c:2:6: style: The function 'test_eval_order2' is never used. [unusedFunction]\\nvoid test_eval_order2(int arr[]) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmp2agkconitest.c'], returncode=0, stdout='Checking /tmp/tmp2agkconitest.c ...\\n', stderr=\"/tmp/tmp2agkconitest.c:2:6: style: The function 'test_eval_order2' is never used. [unusedFunction]\\nvoid test_eval_order2(int arr[]) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr", "text": "tests/test_checkother_part2.py:375: in test_unknown_evaluation_order_array_index\n assert 'unknownEvaluationOrder' in result.stderr\nE assert 'unknownEvaluationOrder' in \"/tmp/tmp2agkconitest.c:2:6: style: The function 'test_eval_order2' is never used. [unusedFunction]\\nvoid test_eval_order2(int arr[]) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"/tmp/tmp2agkconitest.c:2:6: style: The function 'test_eval_order2' is never used. [unusedFunction]\\nvoid test_eval_order2(int arr[]) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/tmp/tmp2agkconitest.c'], returncode=0, stdout='Checking /tmp/tmp2agkconitest.c ...\\n', stderr=\"/tmp/tmp2agkconitest.c:2:6: style: The function 'test_eval_order2' is never used. [unusedFunction]\\nvoid test_eval_order2(int arr[]) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").stderr"}, "1040f6b8a219/tests.test_checkcondition_gaps.test_opposite_inner_with_compound_outer": {"message": "AssertionError: assert 'oppositeInnerCondition' in ''", "text": "tests/test_checkcondition_gaps.py:379: in test_opposite_inner_with_compound_outer\n assert 'oppositeInnerCondition' in stderr\nE AssertionError: assert 'oppositeInnerCondition' in ''"}, "1040f6b8a219/tests.test_checkio_round3.test_wscanf_width_too_large": {"message": "assert 'Width 30 given in format string (no. 1) is larger than destination buffer' in '/workspace/eval/test_resources/test_checkio_round3/wscanf_errors.c:10:5: error: wscanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wscanf(L\"%d %d\", &x); // Too few args\\n ^\\n'", "text": "tests/test_checkio_round3.py:128: in test_wscanf_width_too_large\n assert \"Width 30 given in format string (no. 1) is larger than destination buffer\" in stderr\nE assert 'Width 30 given in format string (no. 1) is larger than destination buffer' in '/workspace/eval/test_resources/test_checkio_round3/wscanf_errors.c:10:5: error: wscanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n wscanf(L\"%d %d\", &x); // Too few args\\n ^\\n'"}, "1040f6b8a219/tests.test_checkclass_gaps.test_complex_class_hierarchy_multiple_issues": {"message": "assert \"Class 'Resource' does not have a copy constructor\" in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/complex_hierarchy.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/complex_hierarchy.cpp:15:5: warning: Member variable 'FileResource::fd' is not initialized in the constructor. [uninitMemberVar]\\n FileResource(const char* name) : filename(name) {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/complex_hierarchy.cpp:15:5: style: Class 'FileResource' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n FileResource(const char* name) : filename(name) {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/complex_hierarchy.cpp:24:5: style: Class 'NetworkResource' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n NetworkResource(int p) : port(p) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps.py:189: in test_complex_class_hierarchy_multiple_issues\n assert \"Class 'Resource' does not have a copy constructor\" in output\nE assert \"Class 'Resource' does not have a copy constructor\" in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/complex_hierarchy.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/complex_hierarchy.cpp:15:5: warning: Member variable 'FileResource::fd' is not initialized in the constructor. [uninitMemberVar]\\n FileResource(const char* name) : filename(name) {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/complex_hierarchy.cpp:15:5: style: Class 'FileResource' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n FileResource(const char* name) : filename(name) {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/complex_hierarchy.cpp:24:5: style: Class 'NetworkResource' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n NetworkResource(int p) : port(p) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_printf_I64u_modifier_int": {"message": "assert \"%I64u in format string (no. 1) requires 'unsigned __int64'\" in ''", "text": "tests/test_checkio_gaps_round2.py:185: in test_printf_I64u_modifier_int\n assert \"%I64u in format string (no. 1) requires 'unsigned __int64'\" in stderr\nE assert \"%I64u in format string (no. 1) requires 'unsigned __int64'\" in ''"}, "1040f6b8a219/tests.test_checkbool_gaps.test_comparison_bool_with_invalid_comparator": {"message": "AssertionError: assert 'comparisonOfBoolWithInvalidComparator' in 'Checking /workspace/eval/test_resources/test_checkbool/comparison_bool_invalid.cpp ...\\n'", "text": "tests/test_checkbool_gaps.py:198: in test_comparison_bool_with_invalid_comparator\n assert 'comparisonOfBoolWithInvalidComparator' in output\nE AssertionError: assert 'comparisonOfBoolWithInvalidComparator' in 'Checking /workspace/eval/test_resources/test_checkbool/comparison_bool_invalid.cpp ...\\n'"}, "1040f6b8a219/tests.test_checkio_round3.test_scanf_complex_format_first_arg_wrong_type": {"message": "assert \"%s in format string (no. 1) requires a 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/scanf_complex_formats.c:11:5: error: scanf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d %d\", &x, &y); // Missing third argument\\n ^\\n'", "text": "tests/test_checkio_round3.py:632: in test_scanf_complex_format_first_arg_wrong_type\n assert \"%s in format string (no. 1) requires a 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires a 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/scanf_complex_formats.c:11:5: error: scanf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d %d\", &x, &y); // Missing third argument\\n ^\\n'"}, "1040f6b8a219/tests.test_checkassert_gaps.test_postincrement_vs_preincrement": {"message": "AssertionError: assert 0 >= 2\n + where 0 = ('assignmentInAssert')\n + where = ''.count", "text": "tests/test_checkassert_gaps.py:416: in test_postincrement_vs_preincrement\n assert stderr.count('assignmentInAssert') >= 2\nE AssertionError: assert 0 >= 2\nE + where 0 = ('assignmentInAssert')\nE + where = ''.count"}, "1040f6b8a219/tests.test_checkio_gaps.test_scanf_width_too_large": {"message": "assert 'Width 20 given in format string (no. 1) is larger than destination buffer' in '/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:5:5: error: scanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d\", &a); // Need 2 pointers, only 1 given\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:15:17: error: Uninitialized variable: a [uninitvar]\\n scanf(\"%d\", a); // Missing &, should be &a\\n ^\\n'", "text": "tests/test_checkio_gaps.py:157: in test_scanf_width_too_large\n assert \"Width 20 given in format string (no. 1) is larger than destination buffer\" in stderr\nE assert 'Width 20 given in format string (no. 1) is larger than destination buffer' in '/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:5:5: error: scanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d\", &a); // Need 2 pointers, only 1 given\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:15:17: error: Uninitialized variable: a [uninitvar]\\n scanf(\"%d\", a); // Missing &, should be &a\\n ^\\n'"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_free_then_return_value": {"message": "AssertionError: assert 'deallocret' in ''", "text": "tests/test_checkmemoryleak_gaps.py:739: in test_free_then_return_value\n assert 'deallocret' in stderr\nE AssertionError: assert 'deallocret' in ''"}, "1040f6b8a219/tests.test_checkcondition_gaps.test_opposite_inner_second_conjunct": {"message": "AssertionError: assert 'oppositeInnerCondition' in ''", "text": "tests/test_checkcondition_gaps.py:398: in test_opposite_inner_second_conjunct\n assert 'oppositeInnerCondition' in stderr\nE AssertionError: assert 'oppositeInnerCondition' in ''"}, "1040f6b8a219/tests.test_checkio_round3.test_fwprintf_type_mismatch_int_wchar_ptr": {"message": "assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:11:5: error: fwprintf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d %d %d\", x, x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:12:5: error: fwprintf format string requires 1 parameter but 3 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d\", x, x, x); // Too many args\\n ^\\n'", "text": "tests/test_checkio_round3.py:165: in test_fwprintf_type_mismatch_int_wchar_ptr\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:11:5: error: fwprintf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d %d %d\", x, x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:12:5: error: fwprintf format string requires 1 parameter but 3 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d\", x, x, x); // Too many args\\n ^\\n'"}, "1040f6b8a219/tests.test_checksizeof_gaps.test_sizeof_sizeof": {"message": "assert \"Calling 'sizeof' on 'sizeof'\" in \"/tmp/tmpxs2kxgac/test.c:3:13: warning: Calling sizeof for 'sizeof'. [sizeofsizeof]\\n int x = sizeof sizeof(int);\\n ^\\n\"", "text": "tests/test_checksizeof_gaps.py:109: in test_sizeof_sizeof\n assert \"Calling 'sizeof' on 'sizeof'\" in stderr\nE assert \"Calling 'sizeof' on 'sizeof'\" in \"/tmp/tmpxs2kxgac/test.c:3:13: warning: Calling sizeof for 'sizeof'. [sizeofsizeof]\\n int x = sizeof sizeof(int);\\n ^\\n\""}, "1040f6b8a219/tests.test_checkclass_gaps.test_pure_virtual_function_call_in_constructor": {"message": "AssertionError: assert 'pureVirtualCall' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/pure_virtual_in_ctor.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'", "text": "tests/test_checkclass_gaps.py:209: in test_pure_virtual_function_call_in_constructor\n assert 'pureVirtualCall' in output\nE AssertionError: assert 'pureVirtualCall' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/pure_virtual_in_ctor.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_printf_I32d_modifier_short": {"message": "assert \"%I32d in format string (no. 1) requires '__int32'\" in ''", "text": "tests/test_checkio_gaps_round2.py:198: in test_printf_I32d_modifier_short\n assert \"%I32d in format string (no. 1) requires '__int32'\" in stderr\nE assert \"%I32d in format string (no. 1) requires '__int32'\" in ''"}, "1040f6b8a219/tests.test_checkbool_gaps.test_comparison_two_funcs_returning_bool": {"message": "AssertionError: assert 'comparisonOfTwoFuncsReturningBoolError' in 'Checking /workspace/eval/test_resources/test_checkbool/comparison_two_funcs_bool.cpp ...\\n'", "text": "tests/test_checkbool_gaps.py:216: in test_comparison_two_funcs_returning_bool\n assert 'comparisonOfTwoFuncsReturningBoolError' in output\nE AssertionError: assert 'comparisonOfTwoFuncsReturningBoolError' in 'Checking /workspace/eval/test_resources/test_checkbool/comparison_two_funcs_bool.cpp ...\\n'"}, "1040f6b8a219/tests.test_checkassert_gaps.test_bitwise_assignment_operators": {"message": "AssertionError: assert 'assignmentInAssert' in ''", "text": "tests/test_checkassert_gaps.py:440: in test_bitwise_assignment_operators\n assert 'assignmentInAssert' in stderr\nE AssertionError: assert 'assignmentInAssert' in ''"}, "1040f6b8a219/tests.test_checkio_round3.test_scanf_width_with_wrong_type": {"message": "assert \"%d in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_round3/scanf_complex_formats.c:11:5: error: scanf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d %d\", &x, &y); // Missing third argument\\n ^\\n'", "text": "tests/test_checkio_round3.py:655: in test_scanf_width_with_wrong_type\n assert \"%d in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_round3/scanf_complex_formats.c:11:5: error: scanf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d %d\", &x, &y); // Missing third argument\\n ^\\n'"}, "1040f6b8a219/tests.test_checkio_gaps.test_scanf_no_width_specifier": {"message": "assert 'scanf() without field width limits can crash with huge input data' in '/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:5:5: error: scanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d\", &a); // Need 2 pointers, only 1 given\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:15:17: error: Uninitialized variable: a [uninitvar]\\n scanf(\"%d\", a); // Missing &, should be &a\\n ^\\n'", "text": "tests/test_checkio_gaps.py:170: in test_scanf_no_width_specifier\n assert \"scanf() without field width limits can crash with huge input data\" in stderr\nE assert 'scanf() without field width limits can crash with huge input data' in '/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:5:5: error: scanf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n scanf(\"%d %d\", &a); // Need 2 pointers, only 1 given\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/scanf_errors.c:15:17: error: Uninitialized variable: a [uninitvar]\\n scanf(\"%d\", a); // Missing &, should be &a\\n ^\\n'"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_leaked_on_exception_constructor": {"message": "AssertionError: assert 'unsafeClassCanLeak' in ''", "text": "tests/test_checkmemoryleak_gaps.py:762: in test_leaked_on_exception_constructor\n assert 'unsafeClassCanLeak' in stderr\nE AssertionError: assert 'unsafeClassCanLeak' in ''"}, "1040f6b8a219/tests.test_checkcondition_gaps.test_mismatchingbitand_error": {"message": "assert \"Condition '(x&2)==0' is always false\" in \"/tmp/tmpcb27dd11/test.c:5:21: style: Condition 'x&2==0' is always false [knownConditionTrueFalse]\\n if ((x & 2) == 0) {\\n ^\\n/tmp/tmpcb27dd11/test.c:4:15: note: Assignment 'x=1|2', assigned value is 3\\n x = 1 | 2;\\n ^\\n/tmp/tmpcb27dd11/test.c:5:21: note: Condition 'x&2==0' is always false\\n if ((x & 2) == 0) {\\n ^\\n\"", "text": "tests/test_checkcondition_gaps.py:443: in test_mismatchingbitand_error\n assert \"Condition '(x&2)==0' is always false\" in stderr\nE assert \"Condition '(x&2)==0' is always false\" in \"/tmp/tmpcb27dd11/test.c:5:21: style: Condition 'x&2==0' is always false [knownConditionTrueFalse]\\n if ((x & 2) == 0) {\\n ^\\n/tmp/tmpcb27dd11/test.c:4:15: note: Assignment 'x=1|2', assigned value is 3\\n x = 1 | 2;\\n ^\\n/tmp/tmpcb27dd11/test.c:5:21: note: Condition 'x&2==0' is always false\\n if ((x & 2) == 0) {\\n ^\\n\""}, "1040f6b8a219/tests.test_checkio_round3.test_fwprintf_type_mismatch_wchar_ptr_int": {"message": "assert \"%s in format string (no. 1) requires 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:11:5: error: fwprintf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d %d %d\", x, x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:12:5: error: fwprintf format string requires 1 parameter but 3 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d\", x, x, x); // Too many args\\n ^\\n'", "text": "tests/test_checkio_round3.py:178: in test_fwprintf_type_mismatch_wchar_ptr_int\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:11:5: error: fwprintf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d %d %d\", x, x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:12:5: error: fwprintf format string requires 1 parameter but 3 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d\", x, x, x); // Too many args\\n ^\\n'"}, "1040f6b8a219/tests.test_checksizeof_gaps.test_sizeof_pointer_malloc": {"message": "AssertionError: assert 'pointerSize' in ''", "text": "tests/test_checksizeof_gaps.py:195: in test_sizeof_pointer_malloc\n assert 'pointerSize' in stderr\nE AssertionError: assert 'pointerSize' in ''"}, "1040f6b8a219/tests.test_checkclass_gaps.test_useless_override_identical_to_base": {"message": "assert 'uselessOverride' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/useless_override.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/useless_override.cpp:3:17: style: The function 'compute' is never used. [unusedFunction]\\n virtual int compute(int x) {\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/useless_override.cpp:6:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps.py:221: in test_useless_override_identical_to_base\n assert 'uselessOverride' in output\nE assert 'uselessOverride' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/useless_override.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/useless_override.cpp:3:17: style: The function 'compute' is never used. [unusedFunction]\\n virtual int compute(int x) {\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/useless_override.cpp:6:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkbool_gaps.test_complex_bool_expressions": {"message": "assert 0 >= 3\n + where 0 = ('bitwiseOnBoolean')\n + where = \"Checking /workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp ...\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:7:12: style: Condition 'a&b' is always false [knownConditionTrueFalse]\\n if ((a & b) || (a | b)) {\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:7:12: note: Condition 'a&b' is always false\\n if ((a & b) || (a | b)) {\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:7:23: style: Condition 'a|b' is always true [knownConditionTrueFalse]\\n if ((a & b) || (a | b)) {\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:7:23: note: Condition 'a|b' is always true\\n if ((a & b) || (a | b)) {\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:12:16: style: Variable 'result' is assigned a value that is never used. [unreadVariable]\\n int result = a + b * 2;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:22:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n bool c = (a & b) | (b & a);\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:1:6: style: The function 'test_complex_expressions' is never used. [unusedFunction]\\nvoid test_complex_expressions() {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\".count", "text": "tests/test_checkbool_gaps.py:234: in test_complex_bool_expressions\n assert output.count('bitwiseOnBoolean') >= 3\nE assert 0 >= 3\nE + where 0 = ('bitwiseOnBoolean')\nE + where = \"Checking /workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp ...\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:7:12: style: Condition 'a&b' is always false [knownConditionTrueFalse]\\n if ((a & b) || (a | b)) {\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:7:12: note: Condition 'a&b' is always false\\n if ((a & b) || (a | b)) {\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:7:23: style: Condition 'a|b' is always true [knownConditionTrueFalse]\\n if ((a & b) || (a | b)) {\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:2:14: note: Assignment 'a=true', assigned value is 1\\n bool a = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:3:14: note: Assignment 'b=false', assigned value is 0\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:7:23: note: Condition 'a|b' is always true\\n if ((a & b) || (a | b)) {\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:12:16: style: Variable 'result' is assigned a value that is never used. [unreadVariable]\\n int result = a + b * 2;\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:22:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n bool c = (a & b) | (b & a);\\n ^\\n/workspace/eval/test_resources/test_checkbool/complex_bool_expr.cpp:1:6: style: The function 'test_complex_expressions' is never used. [unusedFunction]\\nvoid test_complex_expressions() {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\".count"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_printf_I32d_modifier_long": {"message": "assert \"%I32d in format string (no. 1) requires '__int32'\" in ''", "text": "tests/test_checkio_gaps_round2.py:211: in test_printf_I32d_modifier_long\n assert \"%I32d in format string (no. 1) requires '__int32'\" in stderr\nE assert \"%I32d in format string (no. 1) requires '__int32'\" in ''"}, "1040f6b8a219/tests.test_checkio_gaps.test_cout_cerr_misuse_cout_to_cout": {"message": "assert \"Invalid usage of output stream: '<< std::cout'\" in ''", "text": "tests/test_checkio_gaps.py:181: in test_cout_cerr_misuse_cout_to_cout\n assert \"Invalid usage of output stream: '<< std::cout'\" in stderr\nE assert \"Invalid usage of output stream: '<< std::cout'\" in ''"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_return_reference_to_local_variable": {"message": "assert 'returnReference' in \"Checking /tmp/tmpzdth279m/test.cpp ...\\n/tmp/tmpzdth279m/test.cpp:2:10: style: The function 'returnLocalRef' is never used. [unusedFunction]\\n int& returnLocalRef() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:49: in test_return_reference_to_local_variable\n assert 'returnReference' in combined\nE assert 'returnReference' in \"Checking /tmp/tmpzdth279m/test.cpp ...\\n/tmp/tmpzdth279m/test.cpp:2:10: style: The function 'returnLocalRef' is never used. [unusedFunction]\\n int& returnLocalRef() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkother_gaps.test_cast_int_to_char_getchar": {"message": "AssertionError: assert 'checkCastIntToCharAndBack' in 'Checking /tmp/tmpv5jogp9dtest.c ...\\n'", "text": "tests/test_checkother_gaps.py:83: in test_cast_int_to_char_getchar\n assert 'checkCastIntToCharAndBack' in output\nE AssertionError: assert 'checkCastIntToCharAndBack' in 'Checking /tmp/tmpv5jogp9dtest.c ...\\n'"}, "1040f6b8a219/tests.test_checkio_round3.test_sprintf_type_mismatch_int_string": {"message": "assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:9:5: error: sprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:10:5: error: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d\", x, x); // Too many args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:15:5: error: snprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:16:5: error: snprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d\", x, x); // Too many args\\n ^\\n'", "text": "tests/test_checkio_round3.py:688: in test_sprintf_type_mismatch_int_string\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:9:5: error: sprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:10:5: error: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d\", x, x); // Too many args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:15:5: error: snprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:16:5: error: snprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d\", x, x); // Too many args\\n ^\\n'"}, "1040f6b8a219/tests.test_checkcondition_gaps.test_badbitmask_or_with_zero_operand": {"message": "assert 'badBitmaskCheck' in \"/tmp/tmpajatu650/test.c:4:15: style: Condition 'x|0' is always true [knownConditionTrueFalse]\\n if (x | 0) {\\n ^\\n/tmp/tmpajatu650/test.c:3:17: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/tmp/tmpajatu650/test.c:4:15: note: Condition 'x|0' is always true\\n if (x | 0) {\\n ^\\n\"", "text": "tests/test_checkcondition_gaps.py:462: in test_badbitmask_or_with_zero_operand\n assert 'badBitmaskCheck' in stderr\nE assert 'badBitmaskCheck' in \"/tmp/tmpajatu650/test.c:4:15: style: Condition 'x|0' is always true [knownConditionTrueFalse]\\n if (x | 0) {\\n ^\\n/tmp/tmpajatu650/test.c:3:17: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/tmp/tmpajatu650/test.c:4:15: note: Condition 'x|0' is always true\\n if (x | 0) {\\n ^\\n\""}, "1040f6b8a219/tests.test_checkio_round3.test_fwprintf_type_mismatch_float_int": {"message": "assert \"%f in format string (no. 1) requires 'double'\" in '/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:11:5: error: fwprintf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d %d %d\", x, x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:12:5: error: fwprintf format string requires 1 parameter but 3 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d\", x, x, x); // Too many args\\n ^\\n'", "text": "tests/test_checkio_round3.py:190: in test_fwprintf_type_mismatch_float_int\n assert \"%f in format string (no. 1) requires 'double'\" in stderr\nE assert \"%f in format string (no. 1) requires 'double'\" in '/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:11:5: error: fwprintf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d %d %d\", x, x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:12:5: error: fwprintf format string requires 1 parameter but 3 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d\", x, x, x); // Too many args\\n ^\\n'"}, "1040f6b8a219/tests.test_checksizeof_gaps.test_sizeof_pointer_calloc": {"message": "AssertionError: assert 'pointerSize' in ''", "text": "tests/test_checksizeof_gaps.py:214: in test_sizeof_pointer_calloc\n assert 'pointerSize' in stderr\nE AssertionError: assert 'pointerSize' in ''"}, "1040f6b8a219/tests.test_checkclass_gaps.test_return_reference_to_local_variable": {"message": "assert 'returnReference' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/return_by_reference.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/return_by_reference.cpp:5:10: style: The function 'getValue' is never used. [unusedFunction]\\n int& getValue() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps.py:233: in test_return_reference_to_local_variable\n assert 'returnReference' in output\nE assert 'returnReference' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/return_by_reference.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/return_by_reference.cpp:5:10: style: The function 'getValue' is never used. [unusedFunction]\\n int& getValue() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkbool_gaps.test_c_code_bool_operations": {"message": "assert 'returnNonBoolInBooleanFunction' in \"Checking /workspace/eval/test_resources/test_checkbool/c_code_bool.c ...\\n/workspace/eval/test_resources/test_checkbool/c_code_bool.c:14:6: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean]\\n a++; /* Should trigger incrementboolean */\\n ^\\n/workspace/eval/test_resources/test_checkbool/c_code_bool.c:9:12: style: Variable 'b' is assigned a value that is never used. [unreadVariable]\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/c_code_bool.c:12:7: style: Variable 'f' is assigned a value that is never used. [unreadVariable]\\n f = a; /* Should trigger assignBoolToFloat in C++ but not in C */\\n ^\\n\"", "text": "tests/test_checkbool_gaps.py:252: in test_c_code_bool_operations\n assert 'returnNonBoolInBooleanFunction' in output\nE assert 'returnNonBoolInBooleanFunction' in \"Checking /workspace/eval/test_resources/test_checkbool/c_code_bool.c ...\\n/workspace/eval/test_resources/test_checkbool/c_code_bool.c:14:6: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean]\\n a++; /* Should trigger incrementboolean */\\n ^\\n/workspace/eval/test_resources/test_checkbool/c_code_bool.c:9:12: style: Variable 'b' is assigned a value that is never used. [unreadVariable]\\n bool b = false;\\n ^\\n/workspace/eval/test_resources/test_checkbool/c_code_bool.c:12:7: style: Variable 'f' is assigned a value that is never used. [unreadVariable]\\n f = a; /* Should trigger assignBoolToFloat in C++ but not in C */\\n ^\\n\""}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_printf_hhd_modifier_int": {"message": "assert \"%hhd in format string (no. 1) requires 'char'\" in ''", "text": "tests/test_checkio_gaps_round2.py:224: in test_printf_hhd_modifier_int\n assert \"%hhd in format string (no. 1) requires 'char'\" in stderr\nE assert \"%hhd in format string (no. 1) requires 'char'\" in ''"}, "1040f6b8a219/tests.test_checkio_gaps.test_cout_cerr_misuse_cerr_to_cout": {"message": "assert \"Invalid usage of output stream: '<< std::cerr'\" in ''", "text": "tests/test_checkio_gaps.py:193: in test_cout_cerr_misuse_cerr_to_cout\n assert \"Invalid usage of output stream: '<< std::cerr'\" in stderr\nE assert \"Invalid usage of output stream: '<< std::cerr'\" in ''"}, "1040f6b8a219/tests.test_checkother_gaps.test_cast_int_to_char_variations": {"message": "AssertionError: assert 0 == 3\n + where 0 = ('checkCastIntToCharAndBack')\n + where = 'Checking /tmp/tmpxmqo0hl7test.c ...\\n'.count", "text": "tests/test_checkother_gaps.py:131: in test_cast_int_to_char_variations\n assert output.count('checkCastIntToCharAndBack') == 3\nE AssertionError: assert 0 == 3\nE + where 0 = ('checkCastIntToCharAndBack')\nE + where = 'Checking /tmp/tmpxmqo0hl7test.c ...\\n'.count"}, "1040f6b8a219/tests.test_checkio_round3.test_sprintf_type_mismatch_string_int": {"message": "assert \"%s in format string (no. 1) requires 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:9:5: error: sprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:10:5: error: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d\", x, x); // Too many args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:15:5: error: snprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:16:5: error: snprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d\", x, x); // Too many args\\n ^\\n'", "text": "tests/test_checkio_round3.py:699: in test_sprintf_type_mismatch_string_int\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:9:5: error: sprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:10:5: error: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d\", x, x); // Too many args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:15:5: error: snprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:16:5: error: snprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d\", x, x); // Too many args\\n ^\\n'"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_lambda_capture_local_by_reference": {"message": "assert 'returnDanglingLifetime' in \"Checking /tmp/tmp14t9q3vj/test.cpp ...\\n/tmp/tmp14t9q3vj/test.cpp:2:6: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n #include \\n ^\\n/tmp/tmp14t9q3vj/test.cpp:3:26: style: The function 'captureLambda' is never used. [unusedFunction]\\n std::function captureLambda() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:115: in test_lambda_capture_local_by_reference\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmp14t9q3vj/test.cpp ...\\n/tmp/tmp14t9q3vj/test.cpp:2:6: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n #include \\n ^\\n/tmp/tmp14t9q3vj/test.cpp:3:26: style: The function 'captureLambda' is never used. [unusedFunction]\\n std::function captureLambda() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkcondition_gaps.test_bitwise_or_non_zero_always_true": {"message": "assert 'badBitmaskCheck' in \"/tmp/tmpx5kn5eph/test.c:4:15: style: Condition '5|x' is always true [knownConditionTrueFalse]\\n if (5 | x) {\\n ^\\n/tmp/tmpx5kn5eph/test.c:3:17: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/tmp/tmpx5kn5eph/test.c:4:15: note: Condition '5|x' is always true\\n if (5 | x) {\\n ^\\n\"", "text": "tests/test_checkcondition_gaps.py:508: in test_bitwise_or_non_zero_always_true\n assert 'badBitmaskCheck' in stderr\nE assert 'badBitmaskCheck' in \"/tmp/tmpx5kn5eph/test.c:4:15: style: Condition '5|x' is always true [knownConditionTrueFalse]\\n if (5 | x) {\\n ^\\n/tmp/tmpx5kn5eph/test.c:3:17: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/tmp/tmpx5kn5eph/test.c:4:15: note: Condition '5|x' is always true\\n if (5 | x) {\\n ^\\n\""}, "1040f6b8a219/tests.test_checkio_round3.test_fwprintf_type_mismatch_int_float": {"message": "assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:11:5: error: fwprintf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d %d %d\", x, x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:12:5: error: fwprintf format string requires 1 parameter but 3 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d\", x, x, x); // Too many args\\n ^\\n'", "text": "tests/test_checkio_round3.py:203: in test_fwprintf_type_mismatch_int_float\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:11:5: error: fwprintf format string requires 3 parameters but only 2 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d %d %d\", x, x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/fwprintf_errors.c:12:5: error: fwprintf format string requires 1 parameter but 3 are given. [wrongPrintfScanfArgNum]\\n fwprintf(fp, L\"%d\", x, x, x); // Too many args\\n ^\\n'"}, "1040f6b8a219/tests.test_checksizeof_gaps.test_sizeof_pointer_memset": {"message": "AssertionError: assert 'pointerSize' in '/tmp/tmpr45pwr2f/test.c:6:12: error: Uninitialized variable: ptr [uninitvar]\\n memset(ptr, 0, sizeof(ptr));\\n ^\\n'", "text": "tests/test_checksizeof_gaps.py:233: in test_sizeof_pointer_memset\n assert 'pointerSize' in stderr\nE AssertionError: assert 'pointerSize' in '/tmp/tmpr45pwr2f/test.c:6:12: error: Uninitialized variable: ptr [uninitvar]\\n memset(ptr, 0, sizeof(ptr));\\n ^\\n'"}, "1040f6b8a219/tests.test_checkclass_gaps.test_missing_constructor_with_private_members": {"message": "assert \"The class 'Configuration' does not declare a constructor although it has private member variables\" in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:1:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass Configuration {\\n^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:3:17: style: class member 'Configuration::configFile' is never used. [unusedStructMember]\\n const char* configFile;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:4:10: style: class member 'Configuration::settings' is never used. [unusedStructMember]\\n int* settings;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:5:10: style: class member 'Configuration::initialized' is never used. [unusedStructMember]\\n bool initialized;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:8:10: style: The function 'load' is never used. [unusedFunction]\\n void load() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps.py:245: in test_missing_constructor_with_private_members\n assert \"The class 'Configuration' does not declare a constructor although it has private member variables\" in output\nE assert \"The class 'Configuration' does not declare a constructor although it has private member variables\" in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:1:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass Configuration {\\n^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:3:17: style: class member 'Configuration::configFile' is never used. [unusedStructMember]\\n const char* configFile;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:4:10: style: class member 'Configuration::settings' is never used. [unusedStructMember]\\n int* settings;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:5:10: style: class member 'Configuration::initialized' is never used. [unusedStructMember]\\n bool initialized;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps/missing_constructor.cpp:8:10: style: The function 'load' is never used. [unusedFunction]\\n void load() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkbool_gaps.test_underscore_bool_type": {"message": "assert 'returnNonBoolInBooleanFunction' in \"Checking /workspace/eval/test_resources/test_checkbool/underscore_bool.cpp ...\\n/workspace/eval/test_resources/test_checkbool/underscore_bool.cpp:17:9: error: Boolean value assigned to pointer. [assignBoolToPointer]\\n ptr = x; // Should trigger assignBoolToPointer\\n ^\\n/workspace/eval/test_resources/test_checkbool/underscore_bool.cpp:4:6: style: Incrementing a variable of type 'bool' with postfix operator++ is deprecated by the C++ Standard. You should assign it the value 'true' instead. [incrementboolean]\\n b++; // Should trigger incrementboolean\\n ^\\n/workspace/eval/test_resources/test_checkbool/underscore_bool.cpp:12:11: style: Condition 'x to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:135: in test_return_reference_to_temporary\n assert 'returnTempReference' in combined\nE assert 'returnTempReference' in \"Checking /tmp/tmpbz22wwbb/test.cpp ...\\n/tmp/tmpbz22wwbb/test.cpp:2:24: style: The function 'getTempString' is never used. [unusedFunction]\\n const std::string& getTempString() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkio_round3.test_snprintf_type_mismatch": {"message": "assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:9:5: error: sprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:10:5: error: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d\", x, x); // Too many args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:15:5: error: snprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:16:5: error: snprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d\", x, x); // Too many args\\n ^\\n'", "text": "tests/test_checkio_round3.py:733: in test_snprintf_type_mismatch\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in '/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:9:5: error: sprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:10:5: error: sprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n sprintf(buffer, \"%d\", x, x); // Too many args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:15:5: error: snprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d %d\", x); // Too few args\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sprintf_errors.c:16:5: error: snprintf format string requires 1 parameter but 2 are given. [wrongPrintfScanfArgNum]\\n snprintf(buffer, 100, \"%d\", x, x); // Too many args\\n ^\\n'"}, "1040f6b8a219/tests.test_checkcondition_gaps.test_modulo_with_equals_boundary": {"message": "AssertionError: assert 'moduloAlwaysTrueFalse' in '/tmp/tmpsnqpa2yz/test.c:4:13: error: Uninitialized variable: x [uninitvar]\\n if (x % 5 >= 5) {\\n ^\\n'", "text": "tests/test_checkcondition_gaps.py:527: in test_modulo_with_equals_boundary\n assert 'moduloAlwaysTrueFalse' in stderr\nE AssertionError: assert 'moduloAlwaysTrueFalse' in '/tmp/tmpsnqpa2yz/test.c:4:13: error: Uninitialized variable: x [uninitvar]\\n if (x % 5 >= 5) {\\n ^\\n'"}, "1040f6b8a219/tests.test_checkother_gaps.test_incomplete_statement_sizeof": {"message": "AssertionError: assert 'constStatement' in 'Checking /tmp/tmp7q0ma0kxtest.c ...\\n'", "text": "tests/test_checkother_gaps.py:284: in test_incomplete_statement_sizeof\n assert 'constStatement' in output\nE AssertionError: assert 'constStatement' in 'Checking /tmp/tmp7q0ma0kxtest.c ...\\n'"}, "1040f6b8a219/tests.test_checkio_round3.test_swprintf_wrong_arg_count_too_few": {"message": "AssertionError: assert 'swprintf format string requires 2 parameters but only 1 is given' in ''", "text": "tests/test_checkio_round3.py:216: in test_swprintf_wrong_arg_count_too_few\n assert \"swprintf format string requires 2 parameters but only 1 is given\" in stderr\nE AssertionError: assert 'swprintf format string requires 2 parameters but only 1 is given' in ''"}, "1040f6b8a219/tests.test_checksizeof_gaps.test_sizeof_pointer_memcpy": {"message": "AssertionError: assert 'pointerSize' in '/tmp/tmp_59lpoqm/test.c:6:12: error: Uninitialized variable: dst [uninitvar]\\n memcpy(dst, src, sizeof(dst));\\n ^\\n/tmp/tmp_59lpoqm/test.c:6:17: error: Uninitialized variable: src [uninitvar]\\n memcpy(dst, src, sizeof(dst));\\n ^\\n'", "text": "tests/test_checksizeof_gaps.py:252: in test_sizeof_pointer_memcpy\n assert 'pointerSize' in stderr\nE AssertionError: assert 'pointerSize' in '/tmp/tmp_59lpoqm/test.c:6:12: error: Uninitialized variable: dst [uninitvar]\\n memcpy(dst, src, sizeof(dst));\\n ^\\n/tmp/tmp_59lpoqm/test.c:6:17: error: Uninitialized variable: src [uninitvar]\\n memcpy(dst, src, sizeof(dst));\\n ^\\n'"}, "1040f6b8a219/tests.test_checkclass_gaps.test_shallow_copy_in_copy_constructor": {"message": "assert 'copyCtorPointerCopying' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/shallow_copy.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/shallow_copy.cpp:3:5: style: Class 'Array' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Array(int size) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps.py:255: in test_shallow_copy_in_copy_constructor\n assert 'copyCtorPointerCopying' in output\nE assert 'copyCtorPointerCopying' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps/shallow_copy.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps/shallow_copy.cpp:3:5: style: Class 'Array' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Array(int size) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkbool_gaps.test_edge_case_comparisons": {"message": "AssertionError: assert 'compareBoolExpressionWithInt' in 'Checking /workspace/eval/test_resources/test_checkbool/edge_case_comparisons.cpp ...\\n'", "text": "tests/test_checkbool_gaps.py:289: in test_edge_case_comparisons\n assert 'compareBoolExpressionWithInt' in output\nE AssertionError: assert 'compareBoolExpressionWithInt' in 'Checking /workspace/eval/test_resources/test_checkbool/edge_case_comparisons.cpp ...\\n'"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_printf_hhu_modifier_int": {"message": "assert \"%hhu in format string (no. 1) requires 'unsigned char'\" in ''", "text": "tests/test_checkio_gaps_round2.py:250: in test_printf_hhu_modifier_int\n assert \"%hhu in format string (no. 1) requires 'unsigned char'\" in stderr\nE assert \"%hhu in format string (no. 1) requires 'unsigned char'\" in ''"}, "1040f6b8a219/tests.test_checkio_gaps.test_cout_cerr_misuse_in_chain": {"message": "assert \"Invalid usage of output stream: '<< std::cout'\" in ''", "text": "tests/test_checkio_gaps.py:217: in test_cout_cerr_misuse_in_chain\n assert \"Invalid usage of output stream: '<< std::cout'\" in stderr\nE assert \"Invalid usage of output stream: '<< std::cout'\" in ''"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_deallocation_of_auto_variable": {"message": "assert 'autovarInvalidDeallocation' in \"Checking /tmp/tmpnetta_y6/test.c ...\\n/tmp/tmpnetta_y6/test.c:2:10: style: The function 'deallocLocal' is never used. [unusedFunction]\\n void deallocLocal() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:156: in test_deallocation_of_auto_variable\n assert 'autovarInvalidDeallocation' in combined\nE assert 'autovarInvalidDeallocation' in \"Checking /tmp/tmpnetta_y6/test.c ...\\n/tmp/tmpnetta_y6/test.c:2:10: style: The function 'deallocLocal' is never used. [unusedFunction]\\n void deallocLocal() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkcondition_gaps.test_nested_if_else_with_opposite_in_else": {"message": "AssertionError: assert 'knownConditionTrueFalse' in ''", "text": "tests/test_checkcondition_gaps.py:550: in test_nested_if_else_with_opposite_in_else\n assert 'knownConditionTrueFalse' in stderr\nE AssertionError: assert 'knownConditionTrueFalse' in ''"}, "1040f6b8a219/tests.test_checkother_gaps.test_char_bitop_sign_extension": {"message": "AssertionError: assert 'charBitOp' in 'Checking /tmp/tmplilne1pvtest.c ...\\n'", "text": "tests/test_checkother_gaps.py:311: in test_char_bitop_sign_extension\n assert 'charBitOp' in output\nE AssertionError: assert 'charBitOp' in 'Checking /tmp/tmplilne1pvtest.c ...\\n'"}, "1040f6b8a219/tests.test_checkio_round3.test_sscanf_type_mismatch_int": {"message": "assert \"%d in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:10:5: error: sscanf format string requires 4 parameters but only 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s %f %d\", &x, buf, &f); // Too few args (missing 4th)\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:11:5: error: sscanf format string requires 2 parameters but 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s\", &x, buf, &y); // Too many args\\n ^\\n'", "text": "tests/test_checkio_round3.py:767: in test_sscanf_type_mismatch_int\n assert \"%d in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int *'\" in '/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:10:5: error: sscanf format string requires 4 parameters but only 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s %f %d\", &x, buf, &f); // Too few args (missing 4th)\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:11:5: error: sscanf format string requires 2 parameters but 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s\", &x, buf, &y); // Too many args\\n ^\\n'"}, "1040f6b8a219/tests.test_checkio_round3.test_swprintf_wrong_arg_count_too_many": {"message": "AssertionError: assert 'swprintf format string requires 1 parameter but 2 are given' in ''", "text": "tests/test_checkio_round3.py:228: in test_swprintf_wrong_arg_count_too_many\n assert \"swprintf format string requires 1 parameter but 2 are given\" in stderr\nE AssertionError: assert 'swprintf format string requires 1 parameter but 2 are given' in ''"}, "1040f6b8a219/tests.test_checksizeof_gaps.test_sizeof_void": {"message": "AssertionError: assert 'sizeofVoid' in ''", "text": "tests/test_checksizeof_gaps.py:268: in test_sizeof_void\n assert 'sizeofVoid' in stderr\nE AssertionError: assert 'sizeofVoid' in ''"}, "1040f6b8a219/tests.test_checkclass_gaps.test_copy_constructor_and_destructor_without_assignment": {"message": "AssertionError: assert 'noOperatorEq' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/copy_ctor_and_eq.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'", "text": "tests/test_checkclass_gaps.py:266: in test_copy_constructor_and_destructor_without_assignment\n assert 'noOperatorEq' in output\nE AssertionError: assert 'noOperatorEq' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps/copy_ctor_and_eq.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'"}, "1040f6b8a219/tests.test_checkbool_gaps.test_pointer_arith_complex_conditions": {"message": "AssertionError: assert 0 >= 6\n + where 0 = ('pointerArithBool')\n + where = 'Checking /workspace/eval/test_resources/test_checkbool/pointer_arith_complex.cpp ...\\n/workspace/eval/test_resources/test_checkbool/pointer_arith_complex.cpp:4:18: error: Uninitialized variable: arr [uninitvar]\\n int* ptr2 = &arr[5];\\n ^\\n'.count", "text": "tests/test_checkbool_gaps.py:306: in test_pointer_arith_complex_conditions\n assert output.count('pointerArithBool') >= 6\nE AssertionError: assert 0 >= 6\nE + where 0 = ('pointerArithBool')\nE + where = 'Checking /workspace/eval/test_resources/test_checkbool/pointer_arith_complex.cpp ...\\n/workspace/eval/test_resources/test_checkbool/pointer_arith_complex.cpp:4:18: error: Uninitialized variable: arr [uninitvar]\\n int* ptr2 = &arr[5];\\n ^\\n'.count"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_printf_lld_modifier_int": {"message": "assert \"%lld in format string (no. 1) requires 'long long'\" in ''", "text": "tests/test_checkio_gaps_round2.py:263: in test_printf_lld_modifier_int\n assert \"%lld in format string (no. 1) requires 'long long'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long'\" in ''"}, "1040f6b8a219/tests.test_checkio_gaps.test_write_to_readonly_file": {"message": "AssertionError: assert 'Write operation on a file that was opened only for reading' in ''", "text": "tests/test_checkio_gaps.py:229: in test_write_to_readonly_file\n assert \"Write operation on a file that was opened only for reading\" in stderr\nE AssertionError: assert 'Write operation on a file that was opened only for reading' in ''"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_dangling_pointer_after_scope_exit": {"message": "assert 'invalidLifetime' in \"Checking /tmp/tmp060jkw7g/test.cpp ...\\n/tmp/tmp060jkw7g/test.cpp:2:10: style: The function 'useDanglingRef' is never used. [unusedFunction]\\n void useDanglingRef() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:221: in test_dangling_pointer_after_scope_exit\n assert 'invalidLifetime' in combined\nE assert 'invalidLifetime' in \"Checking /tmp/tmp060jkw7g/test.cpp ...\\n/tmp/tmp060jkw7g/test.cpp:2:10: style: The function 'useDanglingRef' is never used. [unusedFunction]\\n void useDanglingRef() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkcondition_gaps.test_signed_modulo_with_negative_range": {"message": "AssertionError: assert 'moduloAlwaysTrueFalse' in '/tmp/tmpgvak8wuh/test.c:4:13: error: Uninitialized variable: y [uninitvar]\\n if (y % 4 < 10) {\\n ^\\n'", "text": "tests/test_checkcondition_gaps.py:571: in test_signed_modulo_with_negative_range\n assert 'moduloAlwaysTrueFalse' in stderr\nE AssertionError: assert 'moduloAlwaysTrueFalse' in '/tmp/tmpgvak8wuh/test.c:4:13: error: Uninitialized variable: y [uninitvar]\\n if (y % 4 < 10) {\\n ^\\n'"}, "1040f6b8a219/tests.test_checkio_round3.test_sscanf_type_mismatch_string": {"message": "assert \"%s in format string (no. 1) requires a 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:10:5: error: sscanf format string requires 4 parameters but only 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s %f %d\", &x, buf, &f); // Too few args (missing 4th)\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:11:5: error: sscanf format string requires 2 parameters but 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s\", &x, buf, &y); // Too many args\\n ^\\n'", "text": "tests/test_checkio_round3.py:778: in test_sscanf_type_mismatch_string\n assert \"%s in format string (no. 1) requires a 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires a 'char *'\" in '/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:10:5: error: sscanf format string requires 4 parameters but only 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s %f %d\", &x, buf, &f); // Too few args (missing 4th)\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:11:5: error: sscanf format string requires 2 parameters but 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s\", &x, buf, &y); // Too many args\\n ^\\n'"}, "1040f6b8a219/tests.test_checkother_gaps.test_comparison_function_always_true_false": {"message": "AssertionError: assert 0 == 2\n + where 0 = ('comparisonFunctionIsAlwaysTrueOrFalse')\n + where = 'Checking /tmp/tmptg06bcsgtest.c ...\\n'.count", "text": "tests/test_checkother_gaps.py:407: in test_comparison_function_always_true_false\n assert output.count('comparisonFunctionIsAlwaysTrueOrFalse') == 2\nE AssertionError: assert 0 == 2\nE + where 0 = ('comparisonFunctionIsAlwaysTrueOrFalse')\nE + where = 'Checking /tmp/tmptg06bcsgtest.c ...\\n'.count"}, "1040f6b8a219/tests.test_checkio_round3.test_swprintf_type_mismatch_int_wchar_ptr": {"message": "assert \"%d in format string (no. 1) requires 'int'\" in ''", "text": "tests/test_checkio_round3.py:240: in test_swprintf_type_mismatch_int_wchar_ptr\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in ''"}, "1040f6b8a219/tests.test_checksizeof_gaps.test_sizeof_dereferenced_void_pointer": {"message": "AssertionError: assert 'sizeofDereferencedVoidPointer' in ''", "text": "tests/test_checksizeof_gaps.py:287: in test_sizeof_dereferenced_void_pointer\n assert 'sizeofDereferencedVoidPointer' in stderr\nE AssertionError: assert 'sizeofDereferencedVoidPointer' in ''"}, "1040f6b8a219/tests.test_checkbool_gaps.test_casts_and_function_calls": {"message": "assert 'comparisonOfTwoFuncsReturningBoolError' in \"Checking /workspace/eval/test_resources/test_checkbool/casts_and_functions.cpp ...\\n/workspace/eval/test_resources/test_checkbool/casts_and_functions.cpp:13:19: style: Condition '(bool)5>b' is always true [knownConditionTrueFalse]\\n if ((bool)(5) > b) { // Should trigger comparisonOfFuncReturningBoolError or similar\\n ^\\n/workspace/eval/test_resources/test_checkbool/casts_and_functions.cpp:10:14: note: Assignment 'b=true', assigned value is 1\\n bool b = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/casts_and_functions.cpp:13:19: note: Condition '(bool)5>b' is always true\\n if ((bool)(5) > b) { // Should trigger comparisonOfFuncReturningBoolError or similar\\n ^\\n\"", "text": "tests/test_checkbool_gaps.py:329: in test_casts_and_function_calls\n assert 'comparisonOfTwoFuncsReturningBoolError' in output\nE assert 'comparisonOfTwoFuncsReturningBoolError' in \"Checking /workspace/eval/test_resources/test_checkbool/casts_and_functions.cpp ...\\n/workspace/eval/test_resources/test_checkbool/casts_and_functions.cpp:13:19: style: Condition '(bool)5>b' is always true [knownConditionTrueFalse]\\n if ((bool)(5) > b) { // Should trigger comparisonOfFuncReturningBoolError or similar\\n ^\\n/workspace/eval/test_resources/test_checkbool/casts_and_functions.cpp:10:14: note: Assignment 'b=true', assigned value is 1\\n bool b = true;\\n ^\\n/workspace/eval/test_resources/test_checkbool/casts_and_functions.cpp:13:19: note: Condition '(bool)5>b' is always true\\n if ((bool)(5) > b) { // Should trigger comparisonOfFuncReturningBoolError or similar\\n ^\\n\""}, "1040f6b8a219/tests.test_checkclass_gaps_round2.test_operator_eq_missing_return_statement": {"message": "AssertionError: assert 'operatorEqMissingReturnStatement' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_no_return.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_no_return.cpp:12:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn]\\n }\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'", "text": "tests/test_checkclass_gaps_round2.py:44: in test_operator_eq_missing_return_statement\n assert 'operatorEqMissingReturnStatement' in output\nE AssertionError: assert 'operatorEqMissingReturnStatement' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_no_return.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_no_return.cpp:12:5: error: Found an exit path from function with non-void return type that has missing return statement [missingReturn]\\n }\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_printf_lld_modifier_long": {"message": "assert \"%lld in format string (no. 1) requires 'long long'\" in ''", "text": "tests/test_checkio_gaps_round2.py:276: in test_printf_lld_modifier_long\n assert \"%lld in format string (no. 1) requires 'long long'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long'\" in ''"}, "1040f6b8a219/tests.test_checkio_gaps.test_read_from_writeonly_file": {"message": "AssertionError: assert 'Read operation on a file that was opened only for writing' in ''", "text": "tests/test_checkio_gaps.py:241: in test_read_from_writeonly_file\n assert \"Read operation on a file that was opened only for writing\" in stderr\nE AssertionError: assert 'Read operation on a file that was opened only for writing' in ''"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_return_pointer_to_temporary_object_member": {"message": "assert 'returnDanglingLifetime' in \"Checking /tmp/tmp_fg4cwvj/test.cpp ...\\n/tmp/tmp_fg4cwvj/test.cpp:6:16: style: The function 'getTempValue' is never used. [unusedFunction]\\n const int* getTempValue() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:245: in test_return_pointer_to_temporary_object_member\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmp_fg4cwvj/test.cpp ...\\n/tmp/tmp_fg4cwvj/test.cpp:6:16: style: The function 'getTempValue' is never used. [unusedFunction]\\n const int* getTempValue() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkcondition_gaps.test_complex_nested_conditions_three_levels": {"message": "AssertionError: assert 'oppositeInnerCondition' in ''", "text": "tests/test_checkcondition_gaps.py:593: in test_complex_nested_conditions_three_levels\n assert 'oppositeInnerCondition' in stderr\nE AssertionError: assert 'oppositeInnerCondition' in ''"}, "1040f6b8a219/tests.test_checkio_round3.test_sscanf_width_too_large": {"message": "assert 'Width 30 given in format string (no. 1) is larger than destination buffer' in '/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:10:5: error: sscanf format string requires 4 parameters but only 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s %f %d\", &x, buf, &f); // Too few args (missing 4th)\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:11:5: error: sscanf format string requires 2 parameters but 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s\", &x, buf, &y); // Too many args\\n ^\\n'", "text": "tests/test_checkio_round3.py:790: in test_sscanf_width_too_large\n assert \"Width 30 given in format string (no. 1) is larger than destination buffer\" in stderr\nE assert 'Width 30 given in format string (no. 1) is larger than destination buffer' in '/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:10:5: error: sscanf format string requires 4 parameters but only 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s %f %d\", &x, buf, &f); // Too few args (missing 4th)\\n ^\\n/workspace/eval/test_resources/test_checkio_round3/sscanf_errors.c:11:5: error: sscanf format string requires 2 parameters but 3 are given. [wrongPrintfScanfArgNum]\\n sscanf(input, \"%d %s\", &x, buf, &y); // Too many args\\n ^\\n'"}, "1040f6b8a219/tests.test_checkio_round3.test_swprintf_type_mismatch_wchar_ptr_int": {"message": "assert \"%s in format string (no. 1) requires 'char *'\" in ''", "text": "tests/test_checkio_round3.py:252: in test_swprintf_type_mismatch_wchar_ptr_int\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in ''"}, "1040f6b8a219/tests.test_checkother_part1.test_int_to_pointer_cast_decimal": {"message": "AssertionError: assert 'intToPointerCast' in 'Checking /tmp/tmp5v1_xjittest.c ...\\n'", "text": "tests/test_checkother_part1.py:90: in test_int_to_pointer_cast_decimal\n assert 'intToPointerCast' in output\nE AssertionError: assert 'intToPointerCast' in 'Checking /tmp/tmp5v1_xjittest.c ...\\n'"}, "1040f6b8a219/tests.test_checksizeof_gaps.test_multiply_sizeof_error": {"message": "AssertionError: assert 'multiplySizeof' in ''", "text": "tests/test_checksizeof_gaps.py:304: in test_multiply_sizeof_error\n assert 'multiplySizeof' in stderr\nE AssertionError: assert 'multiplySizeof' in ''"}, "1040f6b8a219/tests.test_checkclass_gaps_round2.test_operator_eq_returns_wrong_reference": {"message": "AssertionError: assert 'operatorEqRetRefThis' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_returns_wrong_ref.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'", "text": "tests/test_checkclass_gaps_round2.py:56: in test_operator_eq_returns_wrong_reference\n assert 'operatorEqRetRefThis' in output\nE AssertionError: assert 'operatorEqRetRefThis' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_returns_wrong_ref.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_printf_Lf_modifier_double": {"message": "assert \"%Lf in format string (no. 1) requires 'long double'\" in ''", "text": "tests/test_checkio_gaps_round2.py:289: in test_printf_Lf_modifier_double\n assert \"%Lf in format string (no. 1) requires 'long double'\" in stderr\nE assert \"%Lf in format string (no. 1) requires 'long double'\" in ''"}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_strcpy_buffer_overrun": {"message": "AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmprcnrnd0h/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmprcnrnd0h/test.c:5:5: error: Buffer is accessed out of bounds: dest [bufferAccessOutOfBounds]', ' strcpy(dest, \"hello world\"); // Buffer overrun', ' ^', \"/tmp/tmprcnrnd0h/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:116: in test_strcpy_buffer_overrun\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmprcnrnd0h/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmprcnrnd0h/test.c:5:5: error: Buffer is accessed out of bounds: dest [bufferAccessOutOfBounds]', ' strcpy(dest, \"hello world\"); // Buffer overrun', ' ^', \"/tmp/tmprcnrnd0h/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps.test_use_closed_file": {"message": "AssertionError: assert 'Used file that is not opened' in ''", "text": "tests/test_checkio_gaps.py:253: in test_use_closed_file\n assert \"Used file that is not opened\" in stderr\nE AssertionError: assert 'Used file that is not opened' in ''"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_delete_auto_variable": {"message": "assert 'autovarInvalidDeallocation' in \"Checking /tmp/tmpmz5apz_b/test.cpp ...\\n/tmp/tmpmz5apz_b/test.cpp:2:10: style: The function 'deleteLocal' is never used. [unusedFunction]\\n void deleteLocal() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:266: in test_delete_auto_variable\n assert 'autovarInvalidDeallocation' in combined\nE assert 'autovarInvalidDeallocation' in \"Checking /tmp/tmpmz5apz_b/test.cpp ...\\n/tmp/tmpmz5apz_b/test.cpp:2:10: style: The function 'deleteLocal' is never used. [unusedFunction]\\n void deleteLocal() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_log_negative_argument": {"message": "assert 'log(-1.0)' in \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c:5:20: error: Invalid log() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double y = log(0);\\n ^\\n\"\n + where \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c:5:20: error: Invalid log() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double y = log(0);\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c:5:20: error: Invalid log() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double y = log(0);\\n ^\\n\").combined_output", "text": "tests/test_checkfunctions_gaps.py:41: in test_log_negative_argument\n assert 'log(-1.0)' in result.combined_output\nE assert 'log(-1.0)' in \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c:5:20: error: Invalid log() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double y = log(0);\\n ^\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c:5:20: error: Invalid log() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double y = log(0);\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkfunctions_gaps/math_log_negative.c:5:20: error: Invalid log() argument nr 1. The value is 0 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double y = log(0);\\n ^\\n\").combined_output"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_realloc_direct_assignment_leak": {"message": "AssertionError: assert 'memleakOnRealloc' in ''", "text": "tests/test_checkmemoryleak_gaps.py:40: in test_realloc_direct_assignment_leak\n assert 'memleakOnRealloc' in stderr\nE AssertionError: assert 'memleakOnRealloc' in ''"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_positional_param_missing_arg": {"message": "AssertionError: assert 'printf format string requires 2 parameters but only 1 is given' in ''", "text": "tests/test_checkio_round3.py:265: in test_printf_positional_param_missing_arg\n assert \"printf format string requires 2 parameters but only 1 is given\" in stderr\nE AssertionError: assert 'printf format string requires 2 parameters but only 1 is given' in ''"}, "1040f6b8a219/tests.test_checkother_part1.test_const_statement_string_and_numeric": {"message": "assert 'test.c:3:5: ...of =\\n ^' == 'test.c:3:5: ...nstant\\n ^'\n \n test.c:3:5: warning: Redundant code: Found a statement that begins with string constant. [constStatement]\n \"string constant\"; // incomplete statement\n ^\n test.c:4:5: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement]\n 42; // numeric constant\n - ^...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_checkother_part1.py:129: in test_const_statement_string_and_numeric\n assert normalize_output(output) == normalize_output(golden)\nE assert 'test.c:3:5: ...of =\\n ^' == 'test.c:3:5: ...nstant\\n ^'\nE \nE test.c:3:5: warning: Redundant code: Found a statement that begins with string constant. [constStatement]\nE \"string constant\"; // incomplete statement\nE ^\nE test.c:4:5: warning: Redundant code: Found a statement that begins with numeric constant. [constStatement]\nE 42; // numeric constant\nE - ^...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_checksizeof_gaps.test_arithmetic_on_void_pointer_addition": {"message": "AssertionError: assert 'arithOperationsOnVoidPointer' in '/tmp/tmphbhjnv0g/test.c:4:20: error: Uninitialized variable: ptr [uninitvar]\\n void *result = ptr + 1;\\n ^\\n'", "text": "tests/test_checksizeof_gaps.py:322: in test_arithmetic_on_void_pointer_addition\n assert 'arithOperationsOnVoidPointer' in stderr\nE AssertionError: assert 'arithOperationsOnVoidPointer' in '/tmp/tmphbhjnv0g/test.c:4:20: error: Uninitialized variable: ptr [uninitvar]\\n void *result = ptr + 1;\\n ^\\n'"}, "1040f6b8a219/tests.test_checkclass_gaps_round2.test_initializer_list_wrong_order": {"message": "assert 'initializerList' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/initialization_list_order.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/initialization_list_order.cpp:9:5: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Config(int size) : currentSize(maxSize), maxSize(size) {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps_round2.py:69: in test_initializer_list_wrong_order\n assert 'initializerList' in output\nE assert 'initializerList' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/initialization_list_order.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/initialization_list_order.cpp:9:5: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Config(int size) : currentSize(maxSize), maxSize(size) {\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_sprintf_buffer_overrun": {"message": "AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmpt16rz9jy/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', \"/tmp/tmpt16rz9jy/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:137: in test_sprintf_buffer_overrun\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmpt16rz9jy/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', \"/tmp/tmpt16rz9jy/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_scanf_jd_modifier_int": {"message": "assert \"%jd in format string (no. 1) requires 'intmax_t *'\" in ''", "text": "tests/test_checkio_gaps_round2.py:302: in test_scanf_jd_modifier_int\n assert \"%jd in format string (no. 1) requires 'intmax_t *'\" in stderr\nE assert \"%jd in format string (no. 1) requires 'intmax_t *'\" in ''"}, "1040f6b8a219/tests.test_checkio_gaps.test_io_without_positioning": {"message": "AssertionError: assert 'Read and write operations without a call to a positioning function' in ''", "text": "tests/test_checkio_gaps.py:265: in test_io_without_positioning\n assert \"Read and write operations without a call to a positioning function\" in stderr\nE AssertionError: assert 'Read and write operations without a call to a positioning function' in ''"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_delete_array_auto_variable": {"message": "assert 'autovarInvalidDeallocation' in \"Checking /tmp/tmpbgaphlto/test.cpp ...\\n/tmp/tmpbgaphlto/test.cpp:3:13: style: Variable 'arr' is not assigned a value. [unassignedVariable]\\n int arr[10];\\n ^\\n/tmp/tmpbgaphlto/test.cpp:2:10: style: The function 'deleteArrayLocal' is never used. [unusedFunction]\\n void deleteArrayLocal() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:287: in test_delete_array_auto_variable\n assert 'autovarInvalidDeallocation' in combined\nE assert 'autovarInvalidDeallocation' in \"Checking /tmp/tmpbgaphlto/test.cpp ...\\n/tmp/tmpbgaphlto/test.cpp:3:13: style: Variable 'arr' is not assigned a value. [unassignedVariable]\\n int arr[10];\\n ^\\n/tmp/tmpbgaphlto/test.cpp:2:10: style: The function 'deleteArrayLocal' is never used. [unusedFunction]\\n void deleteArrayLocal() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_atan2_both_zeros": {"message": "AssertionError: assert 'atan2(0.0, 0.0)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_atan2_zeros.c ...\\n'\n + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_atan2_zeros.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_atan2_zeros.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_atan2_zeros.c ...\\n', stderr='').combined_output", "text": "tests/test_checkfunctions_gaps.py:68: in test_atan2_both_zeros\n assert 'atan2(0.0, 0.0)' in result.combined_output\nE AssertionError: assert 'atan2(0.0, 0.0)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_atan2_zeros.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_atan2_zeros.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_atan2_zeros.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_atan2_zeros.c ...\\n', stderr='').combined_output"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_positional_param_out_of_range": {"message": "AssertionError: assert 'referencing parameter 3' in ''", "text": "tests/test_checkio_round3.py:277: in test_printf_positional_param_out_of_range\n assert \"referencing parameter 3\" in stderr\nE AssertionError: assert 'referencing parameter 3' in ''"}, "1040f6b8a219/tests.test_checkother_part1.test_nan_in_arithmetic_expression": {"message": "assert 'nanInArithmeticExpression' in \"Checking /tmp/tmp4k821f_3test.c ...\\n/tmp/tmp4k821f_3test.c:2:15: style: Variable 'd1' is assigned a value that is never used. [unreadVariable]\\n double d1 = 1.0 / 0.0 + 100.0; // NaN in arithmetic expression\\n ^\\n/tmp/tmp4k821f_3test.c:3:15: style: Variable 'd2' is assigned a value that is never used. [unreadVariable]\\n double d2 = 1.0 / 0.0 - 50.0; // NaN in arithmetic expression\\n ^\\n\"", "text": "tests/test_checkother_part1.py:180: in test_nan_in_arithmetic_expression\n assert 'nanInArithmeticExpression' in output\nE assert 'nanInArithmeticExpression' in \"Checking /tmp/tmp4k821f_3test.c ...\\n/tmp/tmp4k821f_3test.c:2:15: style: Variable 'd1' is assigned a value that is never used. [unreadVariable]\\n double d1 = 1.0 / 0.0 + 100.0; // NaN in arithmetic expression\\n ^\\n/tmp/tmp4k821f_3test.c:3:15: style: Variable 'd2' is assigned a value that is never used. [unreadVariable]\\n double d2 = 1.0 / 0.0 - 50.0; // NaN in arithmetic expression\\n ^\\n\""}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_malloc_delete_mismatch": {"message": "AssertionError: assert 'mismatchAllocDealloc' in ''", "text": "tests/test_checkmemoryleak_gaps.py:115: in test_malloc_delete_mismatch\n assert 'mismatchAllocDealloc' in stderr\nE AssertionError: assert 'mismatchAllocDealloc' in ''"}, "1040f6b8a219/tests.test_checksizeof_gaps.test_arithmetic_on_void_pointer_subtraction": {"message": "AssertionError: assert 'arithOperationsOnVoidPointer' in '/tmp/tmpnn6_36gm/test.c:4:20: error: Uninitialized variable: ptr [uninitvar]\\n void *result = ptr - 1;\\n ^\\n'", "text": "tests/test_checksizeof_gaps.py:340: in test_arithmetic_on_void_pointer_subtraction\n assert 'arithOperationsOnVoidPointer' in stderr\nE AssertionError: assert 'arithOperationsOnVoidPointer' in '/tmp/tmpnn6_36gm/test.c:4:20: error: Uninitialized variable: ptr [uninitvar]\\n void *result = ptr - 1;\\n ^\\n'"}, "1040f6b8a219/tests.test_checkclass_gaps_round2.test_self_initialization_in_initializer_list": {"message": "assert 'selfInitialization' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/self_initialization.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/self_initialization.cpp:9:5: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Config(int s) : size(size), capacity(s * 2) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps_round2.py:81: in test_self_initialization_in_initializer_list\n assert 'selfInitialization' in output\nE assert 'selfInitialization' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/self_initialization.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/self_initialization.cpp:9:5: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Config(int s) : size(size), capacity(s * 2) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_multidimensional_array_out_of_bounds": {"message": "AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 3, got: [\"/tmp/tmpw7lwro6u/test.c:3:11: error: Array 'arr[3][3][4]' accessed at index arr[3][3][0], which is out of bounds. [arrayIndexOutOfBounds]\", ' arr[3][0] = 1; // First dimension out of bounds', ' ^', \"/tmp/tmpw7lwro6u/test.c:3:15: style: Variable 'arr[3][0]' is assigned a value that is never used. [unreadVariable]\", ' arr[3][0] = 1; // First dimension out of bounds', ' ^', \"/tmp/tmpw7lwro6u/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:156: in test_multidimensional_array_out_of_bounds\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexOutOfBounds error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 3, got: [\"/tmp/tmpw7lwro6u/test.c:3:11: error: Array 'arr[3][3][4]' accessed at index arr[3][3][0], which is out of bounds. [arrayIndexOutOfBounds]\", ' arr[3][0] = 1; // First dimension out of bounds', ' ^', \"/tmp/tmpw7lwro6u/test.c:3:15: style: Variable 'arr[3][0]' is assigned a value that is never used. [unreadVariable]\", ' arr[3][0] = 1; // First dimension out of bounds', ' ^', \"/tmp/tmpw7lwro6u/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_scanf_ju_modifier_int": {"message": "assert \"%ju in format string (no. 1) requires 'uintmax_t *'\" in ''", "text": "tests/test_checkio_gaps_round2.py:315: in test_scanf_ju_modifier_int\n assert \"%ju in format string (no. 1) requires 'uintmax_t *'\" in stderr\nE assert \"%ju in format string (no. 1) requires 'uintmax_t *'\" in ''"}, "1040f6b8a219/tests.test_checkio_gaps.test_seek_on_append_mode": {"message": "AssertionError: assert 'Repositioning operation performed on a file opened in append mode has no effect' in ''", "text": "tests/test_checkio_gaps.py:277: in test_seek_on_append_mode\n assert \"Repositioning operation performed on a file opened in append mode has no effect\" in stderr\nE AssertionError: assert 'Repositioning operation performed on a file opened in append mode has no effect' in ''"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_nested_scope_dangling_pointer": {"message": "assert 'invalidLifetime' in \"Checking /tmp/tmpz1mo95gl/test.cpp ...\\n/tmp/tmpz1mo95gl/test.cpp:3:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n int* p;\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:8:18: error: Uninitialized variable: p [uninitvar]\\n int z = *p;\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:4:13: note: Assuming condition 'true' is false\\n if (true) {\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:8:18: note: Uninitialized variable: p\\n int z = *p;\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:8:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = *p;\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:2:10: style: The function 'nestedScope' is never used. [unusedFunction]\\n void nestedScope() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:312: in test_nested_scope_dangling_pointer\n assert 'invalidLifetime' in combined\nE assert 'invalidLifetime' in \"Checking /tmp/tmpz1mo95gl/test.cpp ...\\n/tmp/tmpz1mo95gl/test.cpp:3:14: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n int* p;\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:8:18: error: Uninitialized variable: p [uninitvar]\\n int z = *p;\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:4:13: note: Assuming condition 'true' is false\\n if (true) {\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:8:18: note: Uninitialized variable: p\\n int z = *p;\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:8:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = *p;\\n ^\\n/tmp/tmpz1mo95gl/test.cpp:2:10: style: The function 'nestedScope' is never used. [unusedFunction]\\n void nestedScope() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_fmod_zero_divisor": {"message": "AssertionError: assert 'fmod(10.5, 0.0)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_fmod_zero.c ...\\n'\n + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_fmod_zero.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_fmod_zero.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_fmod_zero.c ...\\n', stderr='').combined_output", "text": "tests/test_checkfunctions_gaps.py:87: in test_fmod_zero_divisor\n assert 'fmod(10.5, 0.0)' in result.combined_output\nE AssertionError: assert 'fmod(10.5, 0.0)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_fmod_zero.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_fmod_zero.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_fmod_zero.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_fmod_zero.c ...\\n', stderr='').combined_output"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_positional_param_type_mismatch": {"message": "assert \"%d in format string (no. 1) requires 'int'\" in ''", "text": "tests/test_checkio_round3.py:289: in test_printf_positional_param_type_mismatch\n assert \"%d in format string (no. 1) requires 'int'\" in stderr\nE assert \"%d in format string (no. 1) requires 'int'\" in ''"}, "1040f6b8a219/tests.test_checkother_part1.test_variadic_func_null_ub": {"message": "AssertionError: assert 'varFuncNullUB' in 'Checking /tmp/tmph_2w2blwtest.c ...\\n/tmp/tmph_2w2blwtest.c:6:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n'", "text": "tests/test_checkother_part1.py:226: in test_variadic_func_null_ub\n assert 'varFuncNullUB' in output\nE AssertionError: assert 'varFuncNullUB' in 'Checking /tmp/tmph_2w2blwtest.c ...\\n/tmp/tmph_2w2blwtest.c:6:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n'"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_new_free_mismatch": {"message": "AssertionError: assert 'mismatchAllocDealloc' in ''", "text": "tests/test_checkmemoryleak_gaps.py:131: in test_new_free_mismatch\n assert 'mismatchAllocDealloc' in stderr\nE AssertionError: assert 'mismatchAllocDealloc' in ''"}, "1040f6b8a219/tests.test_checksizeof_gaps.test_arithmetic_on_void_pointer_increment": {"message": "AssertionError: assert 'arithOperationsOnVoidPointer' in '/tmp/tmpd4u0izi7/test.c:4:5: error: Uninitialized variable: ptr [uninitvar]\\n ptr++;\\n ^\\n'", "text": "tests/test_checksizeof_gaps.py:357: in test_arithmetic_on_void_pointer_increment\n assert 'arithOperationsOnVoidPointer' in stderr\nE AssertionError: assert 'arithOperationsOnVoidPointer' in '/tmp/tmpd4u0izi7/test.c:4:5: error: Uninitialized variable: ptr [uninitvar]\\n ptr++;\\n ^\\n'"}, "1040f6b8a219/tests.test_checkclass_gaps_round2.test_virtual_function_call_in_constructor_indirect": {"message": "AssertionError: assert 'pureVirtualCall' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/virtual_call_in_ctor_indirect.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'", "text": "tests/test_checkclass_gaps_round2.py:93: in test_virtual_function_call_in_constructor_indirect\n assert 'pureVirtualCall' in output\nE AssertionError: assert 'pureVirtualCall' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/virtual_call_in_ctor_indirect.cpp ...\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_scanf_zu_modifier_int": {"message": "assert \"%zu in format string (no. 1) requires 'size_t *'\" in ''", "text": "tests/test_checkio_gaps_round2.py:328: in test_scanf_zu_modifier_int\n assert \"%zu in format string (no. 1) requires 'size_t *'\" in stderr\nE assert \"%zu in format string (no. 1) requires 'size_t *'\" in ''"}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_pointer_arithmetic_out_of_bounds": {"message": "AssertionError: Expected exactly one pointerOutOfBounds error at line 3, got: [\"/tmp/tmp7dakz82r/test.c:2:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\", ' int arr[10];', ' ^', \"/tmp/tmp7dakz82r/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:176: in test_pointer_arithmetic_out_of_bounds\n assert len(error_lines) == 1, f\"Expected exactly one pointerOutOfBounds error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one pointerOutOfBounds error at line 3, got: [\"/tmp/tmp7dakz82r/test.c:2:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\", ' int arr[10];', ' ^', \"/tmp/tmp7dakz82r/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps.test_format_specifier_unsigned_with_signed": {"message": "assert \"%u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'", "text": "tests/test_checkio_gaps.py:289: in test_format_specifier_unsigned_with_signed\n assert \"%u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'\" in stderr\nE assert \"%u in format string (no. 1) requires 'unsigned int' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_return_pointer_to_array_element": {"message": "assert 'returnDanglingLifetime' in \"Checking /tmp/tmpl8r5ur8i/test.c ...\\n/tmp/tmpl8r5ur8i/test.c:2:10: style: The function 'returnArrayElement' is never used. [unusedFunction]\\n int* returnArrayElement() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:333: in test_return_pointer_to_array_element\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmpl8r5ur8i/test.c ...\\n/tmp/tmpl8r5ur8i/test.c:2:10: style: The function 'returnArrayElement' is never used. [unusedFunction]\\n int* returnArrayElement() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_pow_zero_base_negative_exponent": {"message": "AssertionError: assert 'pow(0, -1)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_pow_zero_negative.c ...\\n'\n + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_pow_zero_negative.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_pow_zero_negative.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_pow_zero_negative.c ...\\n', stderr='').combined_output", "text": "tests/test_checkfunctions_gaps.py:108: in test_pow_zero_base_negative_exponent\n assert 'pow(0, -1)' in result.combined_output\nE AssertionError: assert 'pow(0, -1)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_pow_zero_negative.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_pow_zero_negative.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_pow_zero_negative.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_pow_zero_negative.c ...\\n', stderr='').combined_output"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_positional_param_string_type_mismatch": {"message": "assert \"%s in format string (no. 1) requires 'char *'\" in ''", "text": "tests/test_checkio_round3.py:302: in test_printf_positional_param_string_type_mismatch\n assert \"%s in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%s in format string (no. 1) requires 'char *'\" in ''"}, "1040f6b8a219/tests.test_checkother_part1.test_incomplete_array_fill": {"message": "AssertionError: assert 'incompleteArrayFill' in 'Checking /tmp/tmpjgx7r3y0test.c ...\\n'", "text": "tests/test_checkother_part1.py:258: in test_incomplete_array_fill\n assert 'incompleteArrayFill' in output\nE AssertionError: assert 'incompleteArrayFill' in 'Checking /tmp/tmpjgx7r3y0test.c ...\\n'"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_memory_leak_return_path": {"message": "AssertionError: assert 'memleak' in ''", "text": "tests/test_checkmemoryleak_gaps.py:151: in test_memory_leak_return_path\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''"}, "1040f6b8a219/tests.test_checksizeof_gaps.test_sizeof_pointer_memmove": {"message": "AssertionError: assert 'pointerSize' in '/tmp/tmp1iuwuhft/test.c:6:13: error: Uninitialized variable: dst [uninitvar]\\n memmove(dst, src, sizeof(src));\\n ^\\n/tmp/tmp1iuwuhft/test.c:6:18: error: Uninitialized variable: src [uninitvar]\\n memmove(dst, src, sizeof(src));\\n ^\\n'", "text": "tests/test_checksizeof_gaps.py:410: in test_sizeof_pointer_memmove\n assert 'pointerSize' in stderr\nE AssertionError: assert 'pointerSize' in '/tmp/tmp1iuwuhft/test.c:6:13: error: Uninitialized variable: dst [uninitvar]\\n memmove(dst, src, sizeof(src));\\n ^\\n/tmp/tmp1iuwuhft/test.c:6:18: error: Uninitialized variable: src [uninitvar]\\n memmove(dst, src, sizeof(src));\\n ^\\n'"}, "1040f6b8a219/tests.test_checkclass_gaps_round2.test_memset_on_class_with_reference_member": {"message": "assert 'memsetClassReference' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp:10:5: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Config(int& r) : ref(r), value(0) {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp:10:17: style: Parameter 'r' can be declared as reference to const [constParameterReference]\\n Config(int& r) : ref(r), value(0) {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp:12:10: style: The function 'reset' is never used. [unusedFunction]\\n void reset() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps_round2.py:105: in test_memset_on_class_with_reference_member\n assert 'memsetClassReference' in output\nE assert 'memsetClassReference' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp:10:5: style: Class 'Config' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Config(int& r) : ref(r), value(0) {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp:10:17: style: Parameter 'r' can be declared as reference to const [constParameterReference]\\n Config(int& r) : ref(r), value(0) {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_refs.cpp:12:10: style: The function 'reset' is never used. [unusedFunction]\\n void reset() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_array_index_then_check": {"message": "AssertionError: Expected exactly one arrayIndexThenCheck error at line 3, got: ['/tmp/tmp9u1r5tdr/test.c:3:9: error: Uninitialized variable: arr [uninitvar]', ' if (arr[i] && i < 10) { // Bad: accessing array before checking bounds', ' ^', \"/tmp/tmp9u1r5tdr/test.c:2:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\", ' int arr[10];', ' ^', \"/tmp/tmp9u1r5tdr/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(int i) {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:197: in test_array_index_then_check\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexThenCheck error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexThenCheck error at line 3, got: ['/tmp/tmp9u1r5tdr/test.c:3:9: error: Uninitialized variable: arr [uninitvar]', ' if (arr[i] && i < 10) { // Bad: accessing array before checking bounds', ' ^', \"/tmp/tmp9u1r5tdr/test.c:2:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\", ' int arr[10];', ' ^', \"/tmp/tmp9u1r5tdr/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(int i) {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_scanf_td_modifier_int": {"message": "assert \"%td in format string (no. 1) requires 'ptrdiff_t *'\" in ''", "text": "tests/test_checkio_gaps_round2.py:341: in test_scanf_td_modifier_int\n assert \"%td in format string (no. 1) requires 'ptrdiff_t *'\" in stderr\nE assert \"%td in format string (no. 1) requires 'ptrdiff_t *'\" in ''"}, "1040f6b8a219/tests.test_checkio_gaps.test_format_specifier_float_with_int": {"message": "assert \"%f in format string (no. 1) requires 'double' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'", "text": "tests/test_checkio_gaps.py:301: in test_format_specifier_float_with_int\n assert \"%f in format string (no. 1) requires 'double' but the argument type is 'signed int'\" in stderr\nE assert \"%f in format string (no. 1) requires 'double' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'"}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_log1p_invalid_argument": {"message": "AssertionError: assert 'log1p(-1)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log1p_invalid.c ...\\n'\n + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log1p_invalid.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_log1p_invalid.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log1p_invalid.c ...\\n', stderr='').combined_output", "text": "tests/test_checkfunctions_gaps.py:126: in test_log1p_invalid_argument\n assert 'log1p(-1)' in result.combined_output\nE AssertionError: assert 'log1p(-1)' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log1p_invalid.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log1p_invalid.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_log1p_invalid.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_log1p_invalid.c ...\\n', stderr='').combined_output"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_return_pointer_to_struct_member": {"message": "assert 'returnDanglingLifetime' in \"Checking /tmp/tmpzyirhar4/test.cpp ...\\n/tmp/tmpzyirhar4/test.cpp:4:13: style: struct member 'Point::y' is never used. [unusedStructMember]\\n int y;\\n ^\\n/tmp/tmpzyirhar4/test.cpp:6:10: style: The function 'returnStructMember' is never used. [unusedFunction]\\n int* returnStructMember() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:384: in test_return_pointer_to_struct_member\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmpzyirhar4/test.cpp ...\\n/tmp/tmpzyirhar4/test.cpp:4:13: style: struct member 'Point::y' is never used. [unusedStructMember]\\n int y;\\n ^\\n/tmp/tmpzyirhar4/test.cpp:6:10: style: The function 'returnStructMember' is never used. [unusedFunction]\\n int* returnStructMember() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkio_round3.test_scanf_scanset_width_too_large": {"message": "AssertionError: assert 'Width 20 given in format string (no. 1) is larger than destination buffer' in ''", "text": "tests/test_checkio_round3.py:315: in test_scanf_scanset_width_too_large\n assert \"Width 20 given in format string (no. 1) is larger than destination buffer\" in stderr\nE AssertionError: assert 'Width 20 given in format string (no. 1) is larger than destination buffer' in ''"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_file_handle_leak": {"message": "AssertionError: assert 'resourceLeak' in ''", "text": "tests/test_checkmemoryleak_gaps.py:171: in test_file_handle_leak\n assert 'resourceLeak' in stderr\nE AssertionError: assert 'resourceLeak' in ''"}, "1040f6b8a219/tests.test_checkother_part1.test_clarify_calculation_precedence": {"message": "AssertionError: assert 'int x = a + ... ^' == 'int x = a + ... ^'\n \n int x = a + b ? 10 : 20; // clarify calculation - precedence unclear\n ^\n int a = 5, b = 3;\n ^\n + int a = 5, b = 3;\n + ^...\n \n ...Full output truncated (10 lines hidden), use '-vv' to show", "text": "tests/test_checkother_part1.py:338: in test_clarify_calculation_precedence\n assert normalize_output(normalize_clarify(output)) == normalize_output(normalize_clarify(golden))\nE AssertionError: assert 'int x = a + ... ^' == 'int x = a + ... ^'\nE \nE int x = a + b ? 10 : 20; // clarify calculation - precedence unclear\nE ^\nE int a = 5, b = 3;\nE ^\nE + int a = 5, b = 3;\nE + ^...\nE \nE ...Full output truncated (10 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_checkstl_gaps.test_vector_clear_invalidates_all": {"message": "assert 'invalidContainer' in \"/tmp/tmp8_dyn0s5/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp8_dyn0s5/test.cpp:8:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = *it;\\n ^\\n/tmp/tmp8_dyn0s5/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:783: in test_vector_clear_invalidates_all\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmp8_dyn0s5/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp8_dyn0s5/test.cpp:8:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = *it;\\n ^\\n/tmp/tmp8_dyn0s5/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkclass_gaps_round2.test_this_subtraction_error": {"message": "assert 'thisSubtraction' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/this_subtraction.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/this_subtraction.cpp:9:9: style: The function 'calculate' is never used. [unusedFunction]\\n int calculate() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps_round2.py:117: in test_this_subtraction_error\n assert 'thisSubtraction' in output\nE assert 'thisSubtraction' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/this_subtraction.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/this_subtraction.cpp:9:9: style: The function 'calculate' is never used. [unusedFunction]\\n int calculate() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_strncpy_not_null_terminated": {"message": "AssertionError: Expected exactly one terminateStrncpy warning at line 6, got: ['/tmp/tmpxst01jgg/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', \"/tmp/tmpxst01jgg/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 119/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:219: in test_strncpy_not_null_terminated\n assert len(error_lines) == 1, f\"Expected exactly one terminateStrncpy warning at line 6, got: {lines}\"\nE AssertionError: Expected exactly one terminateStrncpy warning at line 6, got: ['/tmp/tmpxst01jgg/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', \"/tmp/tmpxst01jgg/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 119/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps.test_format_specifier_pointer_with_int": {"message": "assert \"%p in format string (no. 1) requires an address but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'", "text": "tests/test_checkio_gaps.py:314: in test_format_specifier_pointer_with_int\n assert \"%p in format string (no. 1) requires an address but the argument type is 'signed int'\" in stderr\nE assert \"%p in format string (no. 1) requires an address but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_scanf_I64d_modifier_int": {"message": "assert \"%I64d in format string (no. 1) requires '__int64 *'\" in ''", "text": "tests/test_checkio_gaps_round2.py:354: in test_scanf_I64d_modifier_int\n assert \"%I64d in format string (no. 1) requires '__int64 *'\" in stderr\nE assert \"%I64d in format string (no. 1) requires '__int64 *'\" in ''"}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_memset_zero_bytes": {"message": "AssertionError: assert 'Checking /wo...ytes\\n ^\\n' == 'Checking /wo...ytes\\n ^\\n'\n \n Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_zero_bytes.c ...\n /workspace/eval/test_resources/test_checkfunctions_gaps/memset_zero_bytes.c:5:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\n memset(buffer, 0, 0); // Zero bytes\n ^\n /workspace/eval/test_resources/test_checkfunctions_gaps/memset_zero_bytes.c:6:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\n memset(buffer, 'x', 0); // Zero bytes...\n \n ...Full output truncated (6 lines hidden), use '-vv' to show", "text": "tests/test_checkfunctions_gaps.py:150: in test_memset_zero_bytes\n assert result.combined_output == (RESOURCES / 'memset_zero_bytes.golden').read_text()\nE AssertionError: assert 'Checking /wo...ytes\\n ^\\n' == 'Checking /wo...ytes\\n ^\\n'\nE \nE Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_zero_bytes.c ...\nE /workspace/eval/test_resources/test_checkfunctions_gaps/memset_zero_bytes.c:5:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\nE memset(buffer, 0, 0); // Zero bytes\nE ^\nE /workspace/eval/test_resources/test_checkfunctions_gaps/memset_zero_bytes.c:6:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\nE memset(buffer, 'x', 0); // Zero bytes...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_pointer_arithmetic_on_local_array": {"message": "assert 'returnDanglingLifetime' in \"Checking /tmp/tmp13axgmfq/test.c ...\\n/tmp/tmp13axgmfq/test.c:2:10: style: The function 'pointerArithmetic' is never used. [unusedFunction]\\n int* pointerArithmetic() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:455: in test_pointer_arithmetic_on_local_array\n assert 'returnDanglingLifetime' in combined\nE assert 'returnDanglingLifetime' in \"Checking /tmp/tmp13axgmfq/test.c ...\\n/tmp/tmp13axgmfq/test.c:2:10: style: The function 'pointerArithmetic' is never used. [unusedFunction]\\n int* pointerArithmetic() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkio_round3.test_scanf_scanset_exact_width_boundary": {"message": "AssertionError: assert 'Width 10 given in format string (no. 1) is larger than destination buffer' in ''", "text": "tests/test_checkio_round3.py:329: in test_scanf_scanset_exact_width_boundary\n assert \"Width 10 given in format string (no. 1) is larger than destination buffer\" in stderr\nE AssertionError: assert 'Width 10 given in format string (no. 1) is larger than destination buffer' in ''"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_file_handle_leak_early_return": {"message": "AssertionError: assert 'resourceLeak' in ''", "text": "tests/test_checkmemoryleak_gaps.py:193: in test_file_handle_leak_early_return\n assert 'resourceLeak' in stderr\nE AssertionError: assert 'resourceLeak' in ''"}, "1040f6b8a219/tests.test_checkother_part1.test_redundant_pointer_operations": {"message": "AssertionError: assert 'redundantPointerOp' in 'Checking /tmp/tmpcpiw71qjtest.c ...\\n'", "text": "tests/test_checkother_part1.py:362: in test_redundant_pointer_operations\n assert 'redundantPointerOp' in output\nE AssertionError: assert 'redundantPointerOp' in 'Checking /tmp/tmpcpiw71qjtest.c ...\\n'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_vector_at_with_loop_index": {"message": "assert 'containerOutOfBounds' in \"/tmp/tmpddb7l7kg/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpddb7l7kg/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:833: in test_vector_at_with_loop_index\n assert \"containerOutOfBounds\" in stderr\nE assert 'containerOutOfBounds' in \"/tmp/tmpddb7l7kg/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpddb7l7kg/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkclass_gaps_round2.test_missing_destructor_with_copy_and_operator_eq": {"message": "assert 'noDestructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/copy_and_eq_without_destr.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/copy_and_eq_without_destr.cpp:8:5: style: Class 'Buffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Buffer(int s) : data(new char[s]), size(s) {}\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps_round2.py:129: in test_missing_destructor_with_copy_and_operator_eq\n assert 'noDestructor' in output\nE assert 'noDestructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/copy_and_eq_without_destr.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/copy_and_eq_without_destr.cpp:8:5: style: Class 'Buffer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Buffer(int s) : data(new char[s]), size(s) {}\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_negative_array_size_vla": {"message": "AssertionError: Expected exactly one negativeArraySize error at line 3, got: [\"/tmp/tmpbh316jx4/test.c:4:16: style: Variable 'arr[0]' is assigned a value that is never used. [unreadVariable]\", ' arr[0] = 5;', ' ^', \"/tmp/tmpbh316jx4/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(int n) {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:239: in test_negative_array_size_vla\n assert len(error_lines) == 1, f\"Expected exactly one negativeArraySize error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one negativeArraySize error at line 3, got: [\"/tmp/tmpbh316jx4/test.c:4:16: style: Variable 'arr[0]' is assigned a value that is never used. [unreadVariable]\", ' arr[0] = 5;', ' ^', \"/tmp/tmpbh316jx4/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(int n) {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps.test_format_specifier_n_without_pointer": {"message": "assert \"%n in format string (no. 1) requires 'int *' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'", "text": "tests/test_checkio_gaps.py:325: in test_format_specifier_n_without_pointer\n assert \"%n in format string (no. 1) requires 'int *' but the argument type is 'signed int'\" in stderr\nE assert \"%n in format string (no. 1) requires 'int *' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_scanf_I64u_modifier_int": {"message": "assert \"%I64u in format string (no. 1) requires 'unsigned __int64 *'\" in ''", "text": "tests/test_checkio_gaps_round2.py:367: in test_scanf_I64u_modifier_int\n assert \"%I64u in format string (no. 1) requires 'unsigned __int64 *'\" in stderr\nE assert \"%I64u in format string (no. 1) requires 'unsigned __int64 *'\" in ''"}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_memset_value_out_of_range": {"message": "AssertionError: assert 'memsetValueOutOfRange' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_value_range.c ...\\n'\n + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_value_range.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/memset_value_range.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_value_range.c ...\\n', stderr='').combined_output", "text": "tests/test_checkfunctions_gaps.py:163: in test_memset_value_out_of_range\n assert 'memsetValueOutOfRange' in result.combined_output\nE AssertionError: assert 'memsetValueOutOfRange' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_value_range.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_value_range.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/memset_value_range.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_value_range.c ...\\n', stderr='').combined_output"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_assign_local_to_reference_parameter": {"message": "assert 'autoVariables' in \"Checking /tmp/tmp9w8rx78m/test.cpp ...\\n/tmp/tmp9w8rx78m/test.cpp:2:31: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer]\\n void assignRefParam(int*& ref) {\\n ^\\n/tmp/tmp9w8rx78m/test.cpp:2:10: style: The function 'assignRefParam' is never used. [unusedFunction]\\n void assignRefParam(int*& ref) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:476: in test_assign_local_to_reference_parameter\n assert 'autoVariables' in combined\nE assert 'autoVariables' in \"Checking /tmp/tmp9w8rx78m/test.cpp ...\\n/tmp/tmp9w8rx78m/test.cpp:2:31: style: Parameter 'ref' can be declared as pointer to const [constParameterPointer]\\n void assignRefParam(int*& ref) {\\n ^\\n/tmp/tmp9w8rx78m/test.cpp:2:10: style: The function 'assignRefParam' is never used. [unusedFunction]\\n void assignRefParam(int*& ref) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkio_round3.test_scanf_scanset_no_width_warning": {"message": "AssertionError: assert 'scanf() without field width limits can crash with huge input data' in ''", "text": "tests/test_checkio_round3.py:342: in test_scanf_scanset_no_width_warning\n assert \"scanf() without field width limits can crash with huge input data\" in stderr\nE AssertionError: assert 'scanf() without field width limits can crash with huge input data' in ''"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_double_free_same_variable": {"message": "AssertionError: assert 'doubleFree' in ''", "text": "tests/test_checkmemoryleak_gaps.py:210: in test_double_free_same_variable\n assert 'doubleFree' in stderr\nE AssertionError: assert 'doubleFree' in ''"}, "1040f6b8a219/tests.test_checkother_part1.test_shadow_variable_detection": {"message": "assert 'shadowVariable' in \"Checking /tmp/tmp2ria6gzptest.cpp ...\\n/tmp/tmp2ria6gzptest.cpp:7:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass MyClass {\\n^\\n/tmp/tmp2ria6gzptest.cpp:9:9: style: class member 'MyClass::member' is never used. [unusedStructMember]\\n int member;\\n ^\\n/tmp/tmp2ria6gzptest.cpp:4:16: style: Variable 'global' is assigned a value that is never used. [unreadVariable]\\n int global = 20; // shadows global variable\\n ^\\n/tmp/tmp2ria6gzptest.cpp:12:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = member;\\n ^\\n\"", "text": "tests/test_checkother_part1.py:414: in test_shadow_variable_detection\n assert 'shadowVariable' in output\nE assert 'shadowVariable' in \"Checking /tmp/tmp2ria6gzptest.cpp ...\\n/tmp/tmp2ria6gzptest.cpp:7:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass MyClass {\\n^\\n/tmp/tmp2ria6gzptest.cpp:9:9: style: class member 'MyClass::member' is never used. [unusedStructMember]\\n int member;\\n ^\\n/tmp/tmp2ria6gzptest.cpp:4:16: style: Variable 'global' is assigned a value that is never used. [unreadVariable]\\n int global = 20; // shadows global variable\\n ^\\n/tmp/tmp2ria6gzptest.cpp:12:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = member;\\n ^\\n\""}, "1040f6b8a219/tests.test_checkstl_gaps.test_string_cstr_throw_error": {"message": "assert 'stlcstrthrow' in \"/tmp/tmp7ox0q046/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp7ox0q046/test.cpp:4:6: style: The function 'test_throw_string_cstr' is never used. [unusedFunction]\\nvoid test_throw_string_cstr() {\\n ^\\n/tmp/tmp7ox0q046/test.cpp:9:6: style: The function 'test_throw_wstring_cstr' is never used. [unusedFunction]\\nvoid test_throw_wstring_cstr() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:857: in test_string_cstr_throw_error\n assert \"stlcstrthrow\" in stderr\nE assert 'stlcstrthrow' in \"/tmp/tmp7ox0q046/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp7ox0q046/test.cpp:4:6: style: The function 'test_throw_string_cstr' is never used. [unusedFunction]\\nvoid test_throw_string_cstr() {\\n ^\\n/tmp/tmp7ox0q046/test.cpp:9:6: style: The function 'test_throw_wstring_cstr' is never used. [unusedFunction]\\nvoid test_throw_wstring_cstr() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkclass_gaps_round2.test_virtual_destructor_inconclusive_warning": {"message": "assert 'virtualDestructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/virtual_destructor_inconclusive.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/virtual_destructor_inconclusive.cpp:4:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps_round2.py:154: in test_virtual_destructor_inconclusive_warning\n assert 'virtualDestructor' in output\nE assert 'virtualDestructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/virtual_destructor_inconclusive.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/virtual_destructor_inconclusive.cpp:4:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\nnofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkio_gaps.test_format_specifier_long_modifiers": {"message": "assert \"%ld in format string (no. 1) requires 'long' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'", "text": "tests/test_checkio_gaps.py:336: in test_format_specifier_long_modifiers\n assert \"%ld in format string (no. 1) requires 'long' but the argument type is 'signed int'\" in stderr\nE assert \"%ld in format string (no. 1) requires 'long' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'"}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_negative_memory_allocation_new": {"message": "AssertionError: Expected exactly one negativeMemoryAllocationSize warning at line 3, got: ['/tmp/tmp_8tx5fn3/test.cpp:5:1: error: Memory leak: arr [memleak]', '}', '^', \"/tmp/tmp_8tx5fn3/test.cpp:3:14: style: Variable 'arr' can be declared as pointer to const [constVariablePointer]\", ' int* arr = new int[n]; // Negative size for new[]', ' ^', \"/tmp/tmp_8tx5fn3/test.cpp:3:18: style: Variable 'arr' is assigned a value that is never used. [unreadVariable]\", ' int* arr = new int[n]; // Negative size for new[]', ' ^', \"/tmp/tmp_8tx5fn3/test.cpp:3:20: style: Variable 'arr' is allocated memory that is never used. [unusedAllocatedMemory]\", ' int* arr = new int[n]; // Negative size for new[]', ' ^', \"/tmp/tmp_8tx5fn3/test.cpp:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(int n) {', ' ^', 'nofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:259: in test_negative_memory_allocation_new\n assert len(error_lines) == 1, f\"Expected exactly one negativeMemoryAllocationSize warning at line 3, got: {lines}\"\nE AssertionError: Expected exactly one negativeMemoryAllocationSize warning at line 3, got: ['/tmp/tmp_8tx5fn3/test.cpp:5:1: error: Memory leak: arr [memleak]', '}', '^', \"/tmp/tmp_8tx5fn3/test.cpp:3:14: style: Variable 'arr' can be declared as pointer to const [constVariablePointer]\", ' int* arr = new int[n]; // Negative size for new[]', ' ^', \"/tmp/tmp_8tx5fn3/test.cpp:3:18: style: Variable 'arr' is assigned a value that is never used. [unreadVariable]\", ' int* arr = new int[n]; // Negative size for new[]', ' ^', \"/tmp/tmp_8tx5fn3/test.cpp:3:20: style: Variable 'arr' is allocated memory that is never used. [unusedAllocatedMemory]\", ' int* arr = new int[n]; // Negative size for new[]', ' ^', \"/tmp/tmp_8tx5fn3/test.cpp:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(int n) {', ' ^', 'nofile:0:0: information: Active checkers: 183/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_scanf_I32d_modifier_short": {"message": "assert \"%I32d in format string (no. 1) requires '__int32 *'\" in ''", "text": "tests/test_checkio_gaps_round2.py:380: in test_scanf_I32d_modifier_short\n assert \"%I32d in format string (no. 1) requires '__int32 *'\" in stderr\nE assert \"%I32d in format string (no. 1) requires '__int32 *'\" in ''"}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_memset_float_portability": {"message": "AssertionError: assert 0 == 3\n + where 0 = ('memsetFloat')\n + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_float.c ...\\n'.count\n + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_float.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning,portability', '/workspace/eval/test_resources/test_checkfunctions_gaps/memset_float.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_float.c ...\\n', stderr='').combined_output", "text": "tests/test_checkfunctions_gaps.py:184: in test_memset_float_portability\n assert result.combined_output.count('memsetFloat') == 3\nE AssertionError: assert 0 == 3\nE + where 0 = ('memsetFloat')\nE + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_float.c ...\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_float.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning,portability', '/workspace/eval/test_resources/test_checkfunctions_gaps/memset_float.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_float.c ...\\n', stderr='').combined_output"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_n_specifier_missing_address": {"message": "assert \"%n in format string (no. 1) requires 'int *'\" in ''", "text": "tests/test_checkio_round3.py:354: in test_printf_n_specifier_missing_address\n assert \"%n in format string (no. 1) requires 'int *'\" in stderr\nE assert \"%n in format string (no. 1) requires 'int *'\" in ''"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_return_reference_through_binding": {"message": "assert 'returnReference' in \"Checking /tmp/tmpz35h8_9n/test.cpp ...\\n/tmp/tmpz35h8_9n/test.cpp:2:10: style: The function 'getRef' is never used. [unusedFunction]\\n int& getRef() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:524: in test_return_reference_through_binding\n assert 'returnReference' in combined\nE assert 'returnReference' in \"Checking /tmp/tmpz35h8_9n/test.cpp ...\\n/tmp/tmpz35h8_9n/test.cpp:2:10: style: The function 'getRef' is never used. [unusedFunction]\\n int& getRef() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_use_after_free": {"message": "AssertionError: assert 'deallocuse' in ''", "text": "tests/test_checkmemoryleak_gaps.py:228: in test_use_after_free\n assert 'deallocuse' in stderr\nE AssertionError: assert 'deallocuse' in ''"}, "1040f6b8a219/tests.test_checkother_part1.test_unreachable_code_after_return": {"message": "assert 'unreachableCode' in \"Checking /tmp/tmp9ijqokfztest.c ...\\n/tmp/tmp9ijqokfztest.c:20:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak]\\n return 0; // unreachable after noreturn function\\n ^\\n/tmp/tmp9ijqokfztest.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 5; // unreachable code\\n ^\\n\"", "text": "tests/test_checkother_part1.py:502: in test_unreachable_code_after_return\n assert 'unreachableCode' in output\nE assert 'unreachableCode' in \"Checking /tmp/tmp9ijqokfztest.c ...\\n/tmp/tmp9ijqokfztest.c:20:5: style: Consecutive return, break, continue, goto or throw statements are unnecessary. [duplicateBreak]\\n return 0; // unreachable after noreturn function\\n ^\\n/tmp/tmp9ijqokfztest.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 5; // unreachable code\\n ^\\n\""}, "1040f6b8a219/tests.test_checkstl_gaps.test_string_cstr_stringstream_pointer_assignment": {"message": "assert 'stlcstr' in \"/tmp/tmp2zyd8g7l/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp2zyd8g7l/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp2zyd8g7l/test.cpp:8:21: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable]\\n const char* ptr = ss.str().c_str();\\n ^\\n/tmp/tmp2zyd8g7l/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:884: in test_string_cstr_stringstream_pointer_assignment\n assert \"stlcstr\" in stderr\nE assert 'stlcstr' in \"/tmp/tmp2zyd8g7l/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp2zyd8g7l/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp2zyd8g7l/test.cpp:8:21: style: Variable 'ptr' is assigned a value that is never used. [unreadVariable]\\n const char* ptr = ss.str().c_str();\\n ^\\n/tmp/tmp2zyd8g7l/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkclass_gaps_round2.test_memset_on_class_with_vtable": {"message": "assert 'memsetClass' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp:6:9: style: class member 'Base::value' is never used. [unusedStructMember]\\n int value;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp:8:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp:10:10: style: The function 'reset' is never used. [unusedFunction]\\n void reset() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps_round2.py:167: in test_memset_on_class_with_vtable\n assert 'memsetClass' in output\nE assert 'memsetClass' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp:6:9: style: class member 'Base::value' is never used. [unusedStructMember]\\n int value;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp:8:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_class_with_vtable.cpp:10:10: style: The function 'reset' is never used. [unusedFunction]\\n void reset() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkio_gaps.test_format_specifier_size_t": {"message": "assert \"%zu in format string (no. 1) requires 'size_t' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'", "text": "tests/test_checkio_gaps.py:348: in test_format_specifier_size_t\n assert \"%zu in format string (no. 1) requires 'size_t' but the argument type is 'signed int'\" in stderr\nE assert \"%zu in format string (no. 1) requires 'size_t' but the argument type is 'signed int'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'"}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_object_index_non_zero": {"message": "AssertionError: Expected exactly one objectIndex error at line 4, got: [\"/tmp/tmpqznl6u9y/test.cpp:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:279: in test_object_index_non_zero\n assert len(error_lines) == 1, f\"Expected exactly one objectIndex error at line 4, got: {lines}\"\nE AssertionError: Expected exactly one objectIndex error at line 4, got: [\"/tmp/tmpqznl6u9y/test.cpp:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_scanf_I32d_modifier_long": {"message": "assert \"%I32d in format string (no. 1) requires '__int32 *'\" in ''", "text": "tests/test_checkio_gaps_round2.py:393: in test_scanf_I32d_modifier_long\n assert \"%I32d in format string (no. 1) requires '__int32 *'\" in stderr\nE assert \"%I32d in format string (no. 1) requires '__int32 *'\" in ''"}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_c99_math_precision_suggestions": {"message": "assert 0 == 4\n + where 0 = ('unpreciseMathCall')\n + where = \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:5:15: style: Variable 'r1' is assigned a value that is never used. [unreadVariable]\\n double r1 = 1 - erf(x); // Should use erfc\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:6:15: style: Variable 'r2' is assigned a value that is never used. [unreadVariable]\\n double r2 = exp(x) - 1; // Should use expm1\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:7:15: style: Variable 'r3' is assigned a value that is never used. [unreadVariable]\\n double r3 = log(1 + x); // Should use log1p\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:8:15: style: Variable 'r4' is assigned a value that is never used. [unreadVariable]\\n double r4 = log(x + 1); // Should use log1p\\n ^\\n\".count\n + where \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:5:15: style: Variable 'r1' is assigned a value that is never used. [unreadVariable]\\n double r1 = 1 - erf(x); // Should use erfc\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:6:15: style: Variable 'r2' is assigned a value that is never used. [unreadVariable]\\n double r2 = exp(x) - 1; // Should use expm1\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:7:15: style: Variable 'r3' is assigned a value that is never used. [unreadVariable]\\n double r3 = log(1 + x); // Should use log1p\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:8:15: style: Variable 'r4' is assigned a value that is never used. [unreadVariable]\\n double r4 = log(x + 1); // Should use log1p\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '--std=c99', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:5:15: style: Variable 'r1' is assigned a value that is never used. [unreadVariable]\\n double r1 = 1 - erf(x); // Should use erfc\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:6:15: style: Variable 'r2' is assigned a value that is never used. [unreadVariable]\\n double r2 = exp(x) - 1; // Should use expm1\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:7:15: style: Variable 'r3' is assigned a value that is never used. [unreadVariable]\\n double r3 = log(1 + x); // Should use log1p\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:8:15: style: Variable 'r4' is assigned a value that is never used. [unreadVariable]\\n double r4 = log(x + 1); // Should use log1p\\n ^\\n\").combined_output", "text": "tests/test_checkfunctions_gaps.py:202: in test_c99_math_precision_suggestions\n assert result.combined_output.count('unpreciseMathCall') == 4\nE assert 0 == 4\nE + where 0 = ('unpreciseMathCall')\nE + where = \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:5:15: style: Variable 'r1' is assigned a value that is never used. [unreadVariable]\\n double r1 = 1 - erf(x); // Should use erfc\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:6:15: style: Variable 'r2' is assigned a value that is never used. [unreadVariable]\\n double r2 = exp(x) - 1; // Should use expm1\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:7:15: style: Variable 'r3' is assigned a value that is never used. [unreadVariable]\\n double r3 = log(1 + x); // Should use log1p\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:8:15: style: Variable 'r4' is assigned a value that is never used. [unreadVariable]\\n double r4 = log(x + 1); // Should use log1p\\n ^\\n\".count\nE + where \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:5:15: style: Variable 'r1' is assigned a value that is never used. [unreadVariable]\\n double r1 = 1 - erf(x); // Should use erfc\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:6:15: style: Variable 'r2' is assigned a value that is never used. [unreadVariable]\\n double r2 = exp(x) - 1; // Should use expm1\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:7:15: style: Variable 'r3' is assigned a value that is never used. [unreadVariable]\\n double r3 = log(1 + x); // Should use log1p\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:8:15: style: Variable 'r4' is assigned a value that is never used. [unreadVariable]\\n double r4 = log(x + 1); // Should use log1p\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '--std=c99', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:5:15: style: Variable 'r1' is assigned a value that is never used. [unreadVariable]\\n double r1 = 1 - erf(x); // Should use erfc\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:6:15: style: Variable 'r2' is assigned a value that is never used. [unreadVariable]\\n double r2 = exp(x) - 1; // Should use expm1\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:7:15: style: Variable 'r3' is assigned a value that is never used. [unreadVariable]\\n double r3 = log(1 + x); // Should use log1p\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/math_c99_precision.c:8:15: style: Variable 'r4' is assigned a value that is never used. [unreadVariable]\\n double r4 = log(x + 1); // Should use log1p\\n ^\\n\").combined_output"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_n_specifier_multiple_args_missing_address": {"message": "assert \"%n in format string (no. 2) requires 'int *'\" in ''", "text": "tests/test_checkio_round3.py:367: in test_printf_n_specifier_multiple_args_missing_address\n assert \"%n in format string (no. 2) requires 'int *'\" in stderr\nE assert \"%n in format string (no. 2) requires 'int *'\" in ''"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_conditional_allocation_leak": {"message": "AssertionError: assert 'memleak' in ''", "text": "tests/test_checkmemoryleak_gaps.py:249: in test_conditional_allocation_leak\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''"}, "1040f6b8a219/tests.test_checkautovariables_gaps.test_assign_local_array_to_parameter": {"message": "assert 'autoVariables' in \"Checking /tmp/tmpy90wilb1/test.c ...\\n/tmp/tmpy90wilb1/test.c:2:10: style: The function 'assignArray' is never used. [unusedFunction]\\n void assignArray(int** ptr) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkautovariables_gaps.py:569: in test_assign_local_array_to_parameter\n assert 'autoVariables' in combined\nE assert 'autoVariables' in \"Checking /tmp/tmpy90wilb1/test.c ...\\n/tmp/tmpy90wilb1/test.c:2:10: style: The function 'assignArray' is never used. [unusedFunction]\\n void assignArray(int** ptr) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkother_part1.test_comparison_function_identical_variables": {"message": "AssertionError: assert 'comparisonFunctionIsAlwaysTrueOrFalse' in 'Checking /tmp/tmpx71x_e5itest.c ...\\n'", "text": "tests/test_checkother_part1.py:546: in test_comparison_function_identical_variables\n assert 'comparisonFunctionIsAlwaysTrueOrFalse' in output\nE AssertionError: assert 'comparisonFunctionIsAlwaysTrueOrFalse' in 'Checking /tmp/tmpx71x_e5itest.c ...\\n'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_string_cstr_assignment_performance_string": {"message": "AssertionError: assert 'stlcstrAssignment' in ''", "text": "tests/test_checkstl_gaps.py:908: in test_string_cstr_assignment_performance_string\n assert \"stlcstrAssignment\" in stderr\nE AssertionError: assert 'stlcstrAssignment' in ''"}, "1040f6b8a219/tests.test_checkclass_gaps_round2.test_memset_on_std_string_member": {"message": "assert 'memsetClass' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp:7:17: style: class member 'Config::name' is never used. [unusedStructMember]\\n std::string name;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp:13:10: style: The function 'reset' is never used. [unusedFunction]\\n void reset() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps_round2.py:179: in test_memset_on_std_string_member\n assert 'memsetClass' in output\nE assert 'memsetClass' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp:7:17: style: class member 'Config::name' is never used. [unusedStructMember]\\n std::string name;\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/memset_on_std_string.cpp:13:10: style: The function 'reset' is never used. [unusedFunction]\\n void reset() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkio_gaps.test_format_specifier_char_with_pointer": {"message": "assert \"%c in format string (no. 1) requires 'unsigned int' but the argument type is 'char *'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'", "text": "tests/test_checkio_gaps.py:359: in test_format_specifier_char_with_pointer\n assert \"%c in format string (no. 1) requires 'unsigned int' but the argument type is 'char *'\" in stderr\nE assert \"%c in format string (no. 1) requires 'unsigned int' but the argument type is 'char *'\" in '/workspace/eval/test_resources/test_checkio_gaps/format_specifiers.c:23:23: error: Uninitialized variable: count [uninitvar]\\n printf(\"hello%n\", count); // %n expects int*, got int\\n ^\\n'"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_scanf_hhd_modifier_int": {"message": "assert \"%hhd in format string (no. 1) requires 'char *'\" in ''", "text": "tests/test_checkio_gaps_round2.py:406: in test_scanf_hhd_modifier_int\n assert \"%hhd in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%hhd in format string (no. 1) requires 'char *'\" in ''"}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_snprintf_buffer_size_mismatch": {"message": "AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmp4zhb87jq/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmp4zhb87jq/test.c:5:5: error: Buffer is accessed out of bounds: buf [bufferAccessOutOfBounds]', ' snprintf(buf, 20, \"hello world\"); // Size argument exceeds buffer', ' ^', \"/tmp/tmp4zhb87jq/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:321: in test_snprintf_buffer_size_mismatch\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmp4zhb87jq/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmp4zhb87jq/test.c:5:5: error: Buffer is accessed out of bounds: buf [bufferAccessOutOfBounds]', ' snprintf(buf, 20, \"hello world\"); // Size argument exceeds buffer', ' ^', \"/tmp/tmp4zhb87jq/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_sqrt_acos_asin_domain_errors": {"message": "AssertionError: assert 0 == 3\n + where 0 = ('invalidFunctionArg')\n + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/invalid_sqrt_acos.c ...\\n'.count\n + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/invalid_sqrt_acos.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/invalid_sqrt_acos.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/invalid_sqrt_acos.c ...\\n', stderr='').combined_output", "text": "tests/test_checkfunctions_gaps.py:220: in test_sqrt_acos_asin_domain_errors\n assert result.combined_output.count('invalidFunctionArg') == 3\nE AssertionError: assert 0 == 3\nE + where 0 = ('invalidFunctionArg')\nE + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/invalid_sqrt_acos.c ...\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/invalid_sqrt_acos.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/invalid_sqrt_acos.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/invalid_sqrt_acos.c ...\\n', stderr='').combined_output"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_p_specifier_non_pointer_int": {"message": "AssertionError: assert '%p in format string (no. 1) requires an address' in ''", "text": "tests/test_checkio_round3.py:380: in test_printf_p_specifier_non_pointer_int\n assert \"%p in format string (no. 1) requires an address\" in stderr\nE AssertionError: assert '%p in format string (no. 1) requires an address' in ''"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_calloc_allocation": {"message": "AssertionError: assert 'memleak' in ''", "text": "tests/test_checkmemoryleak_gaps.py:268: in test_calloc_allocation\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''"}, "1040f6b8a219/tests.test_checkother_part1.test_unsigned_variable_sign_check": {"message": "AssertionError: assert 'test.c:4:11:...\\n ^' == 'test.c:4:11:...\\n ^'\n \n + test.c:4:11: style: Condition 'x<0' is always false [knownConditionTrueFalse]\n + if (x < 0) { // unsigned less than zero - always false\n + ^\n + test.c:2:22: note: Assignment 'x=5', assigned value is 5\n + unsigned int x = 5;\n + ^...\n \n ...Full output truncated (18 lines hidden), use '-vv' to show", "text": "tests/test_checkother_part1.py:593: in test_unsigned_variable_sign_check\n assert normalize_output(output) == normalize_output(golden)\nE AssertionError: assert 'test.c:4:11:...\\n ^' == 'test.c:4:11:...\\n ^'\nE \nE + test.c:4:11: style: Condition 'x<0' is always false [knownConditionTrueFalse]\nE + if (x < 0) { // unsigned less than zero - always false\nE + ^\nE + test.c:2:22: note: Assignment 'x=5', assigned value is 5\nE + unsigned int x = 5;\nE + ^...\nE \nE ...Full output truncated (18 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_checkuninitvar_gaps.test_pointer_to_pointer_uninit": {"message": "assert 'error: Uninitialized variable: **pp [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:6:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:2:6: style: The function 'test_pointer_to_pointer' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:6:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:2:6: style: The function 'test_pointer_to_pointer' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:6:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:2:6: style: The function 'test_pointer_to_pointer' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr", "text": "tests/test_checkuninitvar_gaps.py:683: in test_pointer_to_pointer_uninit\n assert 'error: Uninitialized variable: **pp [uninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: **pp [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:6:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:2:6: style: The function 'test_pointer_to_pointer' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:6:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:2:6: style: The function 'test_pointer_to_pointer' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:6:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_pointer_to_pointer_uninit2/test.c:2:6: style: The function 'test_pointer_to_pointer' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr"}, "1040f6b8a219/tests.test_checkstl_gaps.test_string_cstr_parameter_passing_performance": {"message": "AssertionError: assert 'stlcstrParam' in ''", "text": "tests/test_checkstl_gaps.py:936: in test_string_cstr_parameter_passing_performance\n assert \"stlcstrParam\" in stderr\nE AssertionError: assert 'stlcstrParam' in ''"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_scanf_hhd_modifier_short": {"message": "assert \"%hhd in format string (no. 1) requires 'char *'\" in ''", "text": "tests/test_checkio_gaps_round2.py:419: in test_scanf_hhd_modifier_short\n assert \"%hhd in format string (no. 1) requires 'char *'\" in stderr\nE assert \"%hhd in format string (no. 1) requires 'char *'\" in ''"}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_memcpy_buffer_overrun": {"message": "AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 6, got: ['/tmp/tmp3l9hw3hv/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmp3l9hw3hv/test.c:6:5: error: Buffer is accessed out of bounds: dest [bufferAccessOutOfBounds]', ' memcpy(dest, src, 20); // Copy 20 bytes to 5-byte buffer', ' ^', \"/tmp/tmp3l9hw3hv/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:343: in test_memcpy_buffer_overrun\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 6, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 6, got: ['/tmp/tmp3l9hw3hv/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmp3l9hw3hv/test.c:6:5: error: Buffer is accessed out of bounds: dest [bufferAccessOutOfBounds]', ' memcpy(dest, src, 20); // Copy 20 bytes to 5-byte buffer', ' ^', \"/tmp/tmp3l9hw3hv/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkclass_gaps_round2.test_constructor_variable_assignment_performance": {"message": "AssertionError: assert 'useInitializationList' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/constructor_variable_assignment.cpp ...\\n'", "text": "tests/test_checkclass_gaps_round2.py:227: in test_constructor_variable_assignment_performance\n assert 'useInitializationList' in output\nE AssertionError: assert 'useInitializationList' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/constructor_variable_assignment.cpp ...\\n'"}, "1040f6b8a219/tests.test_checkio_gaps.test_width_and_precision_type_mismatch": {"message": "assert '%s in format string' in '/workspace/eval/test_resources/test_checkio_gaps/complex_format.c:7:5: error: sprintf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n sprintf(buf, \"%d %s %f\", x); // Missing 2 args\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/complex_format.c:8:5: error: snprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n snprintf(buf, sizeof(buf), \"%d %d\", x); // Missing 1 arg\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/complex_format.c:13:5: error: fprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n fprintf(f, \"%d %s\", 42); // Missing 1 arg\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/complex_format.c:33:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*d\", value); // Missing width argument\\n ^\\n'", "text": "tests/test_checkio_gaps.py:415: in test_width_and_precision_type_mismatch\n assert \"%s in format string\" in stderr\nE assert '%s in format string' in '/workspace/eval/test_resources/test_checkio_gaps/complex_format.c:7:5: error: sprintf format string requires 3 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n sprintf(buf, \"%d %s %f\", x); // Missing 2 args\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/complex_format.c:8:5: error: snprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n snprintf(buf, sizeof(buf), \"%d %d\", x); // Missing 1 arg\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/complex_format.c:13:5: error: fprintf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n fprintf(f, \"%d %s\", 42); // Missing 1 arg\\n ^\\n/workspace/eval/test_resources/test_checkio_gaps/complex_format.c:33:5: error: printf format string requires 2 parameters but only 1 is given. [wrongPrintfScanfArgNum]\\n printf(\"%*d\", value); // Missing width argument\\n ^\\n'"}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_alloca_obsolete_c99": {"message": "AssertionError: assert 'allocaCalled' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/alloca_obsolete.c ...\\n'\n + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/alloca_obsolete.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '--std=c99', '/workspace/eval/test_resources/test_checkfunctions_gaps/alloca_obsolete.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/alloca_obsolete.c ...\\n', stderr='').combined_output", "text": "tests/test_checkfunctions_gaps.py:238: in test_alloca_obsolete_c99\n assert 'allocaCalled' in result.combined_output\nE AssertionError: assert 'allocaCalled' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/alloca_obsolete.c ...\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/alloca_obsolete.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '--std=c99', '/workspace/eval/test_resources/test_checkfunctions_gaps/alloca_obsolete.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/alloca_obsolete.c ...\\n', stderr='').combined_output"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_p_specifier_non_pointer_literal": {"message": "AssertionError: assert '%p in format string (no. 1) requires an address' in ''", "text": "tests/test_checkio_round3.py:393: in test_printf_p_specifier_non_pointer_literal\n assert \"%p in format string (no. 1) requires an address\" in stderr\nE AssertionError: assert '%p in format string (no. 1) requires an address' in ''"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_strdup_allocation": {"message": "AssertionError: assert 'memleak' in ''", "text": "tests/test_checkmemoryleak_gaps.py:287: in test_strdup_allocation\n assert 'memleak' in stderr\nE AssertionError: assert 'memleak' in ''"}, "1040f6b8a219/tests.test_checksizeof_gaps.test_sizeof_pointer_strncpy": {"message": "assert 'pointerSize' in '/tmp/tmpa6lorpgt/test.c:6:13: error: Uninitialized variable: dest [uninitvar]\\n strncpy(dest, \"hello\", sizeof(dest));\\n ^\\n'", "text": "tests/test_checksizeof_gaps.py:461: in test_sizeof_pointer_strncpy\n assert 'pointerSize' in stderr\nE assert 'pointerSize' in '/tmp/tmpa6lorpgt/test.c:6:13: error: Uninitialized variable: dest [uninitvar]\\n strncpy(dest, \"hello\", sizeof(dest));\\n ^\\n'"}, "1040f6b8a219/tests.test_checkvaarg_gaps.test_va_start_wrong_parameter_first_arg": {"message": "assert \"'first' given to va_start()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, first); // Wrong - should be 'third'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, a); // Wrong - should be 'b'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, z); // Correct - z is the last named parameter\\n ^\\n\"\n + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, first); // Wrong - should be 'third'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, a); // Wrong - should be 'b'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, z); // Correct - z is the last named parameter\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, first); // Wrong - should be 'third'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, a); // Wrong - should be 'b'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, z); // Correct - z is the last named parameter\\n ^\\n\").combined_output", "text": "tests/test_checkvaarg_gaps.py:47: in test_va_start_wrong_parameter_first_arg\n assert \"'first' given to va_start()\" in result.combined_output\nE assert \"'first' given to va_start()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, first); // Wrong - should be 'third'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, a); // Wrong - should be 'b'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, z); // Correct - z is the last named parameter\\n ^\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, first); // Wrong - should be 'third'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, a); // Wrong - should be 'b'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, z); // Correct - z is the last named parameter\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, first); // Wrong - should be 'third'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, a); // Wrong - should be 'b'\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_wrong_param.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, z); // Correct - z is the last named parameter\\n ^\\n\").combined_output"}, "1040f6b8a219/tests.test_checkstl_gaps.test_string_cstr_return_performance": {"message": "assert 'stlcstrReturn' in \"/tmp/tmpynlcebyr/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpynlcebyr/test.cpp:4:13: style: The function 'test_return' is never used. [unusedFunction]\\nstd::string test_return() {\\n ^\\n/tmp/tmpynlcebyr/test.cpp:9:20: style: The function 'test_return_ref' is never used. [unusedFunction]\\nconst std::string& test_return_ref() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:965: in test_string_cstr_return_performance\n assert \"stlcstrReturn\" in stderr\nE assert 'stlcstrReturn' in \"/tmp/tmpynlcebyr/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpynlcebyr/test.cpp:4:13: style: The function 'test_return' is never used. [unusedFunction]\\nstd::string test_return() {\\n ^\\n/tmp/tmpynlcebyr/test.cpp:9:20: style: The function 'test_return_ref' is never used. [unusedFunction]\\nconst std::string& test_return_ref() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_array_argument_size_mismatch": {"message": "AssertionError: Expected exactly one ctuArrayIndex error at line 2, got: [\"/tmp/tmp8p9ck_6z/test.c:5:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:367: in test_array_argument_size_mismatch\n assert len(error_lines) == 1, f\"Expected exactly one ctuArrayIndex error at line 2, got: {lines}\"\nE AssertionError: Expected exactly one ctuArrayIndex error at line 2, got: [\"/tmp/tmp8p9ck_6z/test.c:5:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_scanf_hhu_modifier_int": {"message": "assert \"%hhu in format string (no. 1) requires 'unsigned char *'\" in ''", "text": "tests/test_checkio_gaps_round2.py:432: in test_scanf_hhu_modifier_int\n assert \"%hhu in format string (no. 1) requires 'unsigned char *'\" in stderr\nE assert \"%hhu in format string (no. 1) requires 'unsigned char *'\" in ''"}, "1040f6b8a219/tests.test_checkclass_gaps_round2.test_operator_eq_throws_to_prevent_assignment": {"message": "AssertionError: assert 'operatorEqShouldBeLeftUnimplemented' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_throws_exception.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_throws_exception.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'", "text": "tests/test_checkclass_gaps_round2.py:263: in test_operator_eq_throws_to_prevent_assignment\n assert 'operatorEqShouldBeLeftUnimplemented' in output\nE AssertionError: assert 'operatorEqShouldBeLeftUnimplemented' in 'Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_throws_exception.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/operator_eq_throws_exception.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n'"}, "1040f6b8a219/tests.test_checkio_gaps.test_scanf_length_modifier_short": {"message": "assert \"%hd in format string (no. 1) requires 'short *' but the argument type is 'signed int *'\" in ''", "text": "tests/test_checkio_gaps.py:428: in test_scanf_length_modifier_short\n assert \"%hd in format string (no. 1) requires 'short *' but the argument type is 'signed int *'\" in stderr\nE assert \"%hd in format string (no. 1) requires 'short *' but the argument type is 'signed int *'\" in ''"}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_combined_math_domain_errors": {"message": "assert 4 >= 5\n + where 4 = ('invalidFunctionArg')\n + where = \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:5:20: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double a = log(-5);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:6:21: error: Invalid sqrt() argument nr 1. The value is -2 but the valid values are '0.0:'. [invalidFunctionArg]\\n double b = sqrt(-2);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:11:21: error: Invalid acos() argument nr 1. The value is 3 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double g = acos(3);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:12:21: error: Invalid asin() argument nr 1. The value is -2 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double h = asin(-2);\\n ^\\n\".count\n + where \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:5:20: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double a = log(-5);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:6:21: error: Invalid sqrt() argument nr 1. The value is -2 but the valid values are '0.0:'. [invalidFunctionArg]\\n double b = sqrt(-2);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:11:21: error: Invalid acos() argument nr 1. The value is 3 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double g = acos(3);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:12:21: error: Invalid asin() argument nr 1. The value is -2 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double h = asin(-2);\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:5:20: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double a = log(-5);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:6:21: error: Invalid sqrt() argument nr 1. The value is -2 but the valid values are '0.0:'. [invalidFunctionArg]\\n double b = sqrt(-2);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:11:21: error: Invalid acos() argument nr 1. The value is 3 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double g = acos(3);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:12:21: error: Invalid asin() argument nr 1. The value is -2 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double h = asin(-2);\\n ^\\n\").combined_output", "text": "tests/test_checkfunctions_gaps.py:255: in test_combined_math_domain_errors\n assert result.combined_output.count('invalidFunctionArg') >= 5\nE assert 4 >= 5\nE + where 4 = ('invalidFunctionArg')\nE + where = \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:5:20: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double a = log(-5);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:6:21: error: Invalid sqrt() argument nr 1. The value is -2 but the valid values are '0.0:'. [invalidFunctionArg]\\n double b = sqrt(-2);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:11:21: error: Invalid acos() argument nr 1. The value is 3 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double g = acos(3);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:12:21: error: Invalid asin() argument nr 1. The value is -2 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double h = asin(-2);\\n ^\\n\".count\nE + where \"Checking /workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:5:20: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double a = log(-5);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:6:21: error: Invalid sqrt() argument nr 1. The value is -2 but the valid values are '0.0:'. [invalidFunctionArg]\\n double b = sqrt(-2);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:11:21: error: Invalid acos() argument nr 1. The value is 3 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double g = acos(3);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:12:21: error: Invalid asin() argument nr 1. The value is -2 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double h = asin(-2);\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:5:20: error: Invalid log() argument nr 1. The value is -5 but the valid values are '4.94066e-324:'. [invalidFunctionArg]\\n double a = log(-5);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:6:21: error: Invalid sqrt() argument nr 1. The value is -2 but the valid values are '0.0:'. [invalidFunctionArg]\\n double b = sqrt(-2);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:11:21: error: Invalid acos() argument nr 1. The value is 3 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double g = acos(3);\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/combined_math_errors.c:12:21: error: Invalid asin() argument nr 1. The value is -2 but the valid values are '-1.0:1.0'. [invalidFunctionArg]\\n double h = asin(-2);\\n ^\\n\").combined_output"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_hh_modifier_short_not_char": {"message": "assert \"%hhd in format string (no. 1) requires 'char'\" in ''", "text": "tests/test_checkio_round3.py:406: in test_printf_hh_modifier_short_not_char\n assert \"%hhd in format string (no. 1) requires 'char'\" in stderr\nE assert \"%hhd in format string (no. 1) requires 'char'\" in ''"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_class_member_not_freed_in_destructor": {"message": "AssertionError: assert 'unsafeClassCanLeak' in ''", "text": "tests/test_checkmemoryleak_gaps.py:333: in test_class_member_not_freed_in_destructor\n assert 'unsafeClassCanLeak' in stderr\nE AssertionError: assert 'unsafeClassCanLeak' in ''"}, "1040f6b8a219/tests.test_checksizeof_gaps.test_sizeof_calculation_bitwise_xor": {"message": "AssertionError: assert 'sizeofCalculation' in ''", "text": "tests/test_checksizeof_gaps.py:493: in test_sizeof_calculation_bitwise_xor\n assert 'sizeofCalculation' in stderr\nE AssertionError: assert 'sizeofCalculation' in ''"}, "1040f6b8a219/tests.test_checkvaarg_gaps.test_va_start_reference_parameter": {"message": "assert \"Using reference 'ref_param' as parameter for va_start()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, ref_param); // Error - reference parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, normal_param); // OK - normal parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:3:6: style: The function 'func_ref' is never used. [unusedFunction]\\nvoid func_ref(int& ref_param, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:9:6: style: The function 'func_normal' is never used. [unusedFunction]\\nvoid func_normal(int normal_param, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, ref_param); // Error - reference parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, normal_param); // OK - normal parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:3:6: style: The function 'func_ref' is never used. [unusedFunction]\\nvoid func_ref(int& ref_param, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:9:6: style: The function 'func_normal' is never used. [unusedFunction]\\nvoid func_normal(int normal_param, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, ref_param); // Error - reference parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, normal_param); // OK - normal parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:3:6: style: The function 'func_ref' is never used. [unusedFunction]\\nvoid func_ref(int& ref_param, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:9:6: style: The function 'func_normal' is never used. [unusedFunction]\\nvoid func_normal(int normal_param, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output", "text": "tests/test_checkvaarg_gaps.py:73: in test_va_start_reference_parameter\n assert \"Using reference 'ref_param' as parameter for va_start()\" in result.combined_output\nE assert \"Using reference 'ref_param' as parameter for va_start()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, ref_param); // Error - reference parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, normal_param); // OK - normal parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:3:6: style: The function 'func_ref' is never used. [unusedFunction]\\nvoid func_ref(int& ref_param, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:9:6: style: The function 'func_normal' is never used. [unusedFunction]\\nvoid func_normal(int normal_param, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, ref_param); // Error - reference parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, normal_param); // OK - normal parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:3:6: style: The function 'func_ref' is never used. [unusedFunction]\\nvoid func_ref(int& ref_param, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:9:6: style: The function 'func_normal' is never used. [unusedFunction]\\nvoid func_normal(int normal_param, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, ref_param); // Error - reference parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, normal_param); // OK - normal parameter\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:3:6: style: The function 'func_ref' is never used. [unusedFunction]\\nvoid func_ref(int& ref_param, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_reference.cpp:9:6: style: The function 'func_normal' is never used. [unusedFunction]\\nvoid func_normal(int normal_param, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output"}, "1040f6b8a219/tests.test_checkstl_gaps.test_string_find_inefficient_comparison": {"message": "AssertionError: assert 'stlIfStrFind' in ''", "text": "tests/test_checkstl_gaps.py:991: in test_string_find_inefficient_comparison\n assert \"stlIfStrFind\" in stderr\nE AssertionError: assert 'stlIfStrFind' in ''"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_scanf_lld_modifier_int": {"message": "assert \"%lld in format string (no. 1) requires 'long long *'\" in ''", "text": "tests/test_checkio_gaps_round2.py:445: in test_scanf_lld_modifier_int\n assert \"%lld in format string (no. 1) requires 'long long *'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long *'\" in ''"}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_string_literal_out_of_bounds": {"message": "AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 3, got: [\"/tmp/tmptotpedvm/test.c:3:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\", ' char c = str[10]; // Beyond string literal', ' ^', \"/tmp/tmptotpedvm/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:387: in test_string_literal_out_of_bounds\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexOutOfBounds error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 3, got: [\"/tmp/tmptotpedvm/test.c:3:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\", ' char c = str[10]; // Beyond string literal', ' ^', \"/tmp/tmptotpedvm/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkclass_gaps_round2.test_virtual_destructor_with_actual_deletion": {"message": "assert 'virtualDestructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/base_class_deleted_through_derived.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/base_class_deleted_through_derived.cpp:4:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/base_class_deleted_through_derived.cpp:17:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkclass_gaps_round2.py:288: in test_virtual_destructor_with_actual_deletion\n assert 'virtualDestructor' in output\nE assert 'virtualDestructor' in \"Checking /workspace/eval/test_resources/test_checkclass_gaps_round2/base_class_deleted_through_derived.cpp ...\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/base_class_deleted_through_derived.cpp:4:18: style: The function 'process' is never used. [unusedFunction]\\n virtual void process() {}\\n ^\\n/workspace/eval/test_resources/test_checkclass_gaps_round2/base_class_deleted_through_derived.cpp:17:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkio_gaps.test_scanf_length_modifier_long": {"message": "assert \"%ld in format string (no. 1) requires 'long *' but the argument type is 'signed int *'\" in ''", "text": "tests/test_checkio_gaps.py:439: in test_scanf_length_modifier_long\n assert \"%ld in format string (no. 1) requires 'long *' but the argument type is 'signed int *'\" in stderr\nE assert \"%ld in format string (no. 1) requires 'long *' but the argument type is 'signed int *'\" in ''"}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_memset_boundary_values": {"message": "AssertionError: assert 0 == 2\n + where 0 = ('memsetValueOutOfRange')\n + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:16:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf1, 0, 0); // Zero bytes\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:17:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 0, 0); // Zero bytes for wmemset\\n ^\\n'.count\n + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:16:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf1, 0, 0); // Zero bytes\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:17:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 0, 0); // Zero bytes for wmemset\\n ^\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c ...\\n', stderr='/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:16:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf1, 0, 0); // Zero bytes\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:17:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 0, 0); // Zero bytes for wmemset\\n ^\\n').combined_output", "text": "tests/test_checkfunctions_gaps.py:281: in test_memset_boundary_values\n assert result.combined_output.count('memsetValueOutOfRange') == 2 # 256 and -129\nE AssertionError: assert 0 == 2\nE + where 0 = ('memsetValueOutOfRange')\nE + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:16:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf1, 0, 0); // Zero bytes\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:17:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 0, 0); // Zero bytes for wmemset\\n ^\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:16:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf1, 0, 0); // Zero bytes\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:17:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 0, 0); // Zero bytes for wmemset\\n ^\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c ...\\n', stderr='/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:16:5: warning: memset() called to fill 0 bytes. [memsetZeroBytes]\\n memset(buf1, 0, 0); // Zero bytes\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/memset_edge_cases.c:17:5: warning: wmemset() called to fill 0 bytes. [memsetZeroBytes]\\n wmemset(wbuf, 0, 0); // Zero bytes for wmemset\\n ^\\n').combined_output"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_hh_modifier_int_not_char": {"message": "assert \"%hhd in format string (no. 1) requires 'char'\" in ''", "text": "tests/test_checkio_round3.py:419: in test_printf_hh_modifier_int_not_char\n assert \"%hhd in format string (no. 1) requires 'char'\" in stderr\nE assert \"%hhd in format string (no. 1) requires 'char'\" in ''"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_class_member_allocated_in_public_function": {"message": "AssertionError: assert 'publicAllocationError' in ''", "text": "tests/test_checkmemoryleak_gaps.py:354: in test_class_member_allocated_in_public_function\n assert 'publicAllocationError' in stderr\nE AssertionError: assert 'publicAllocationError' in ''"}, "1040f6b8a219/tests.test_checkmemoryleak_gaps.test_socket_fd_leak": {"message": "gold-env-limitation: requires posix.cfg library not available in eval environment", "text": "/workspace/eval/tests/test_checkmemoryleak_gaps.py:358: gold-env-limitation: requires posix.cfg library not available in eval environment"}, "1040f6b8a219/tests.test_checkstl_gaps.test_iterator_erase_invalidation_map": {"message": "assert 'eraseDereference' in \"/tmp/tmp4rb2fjph/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp4rb2fjph/test.cpp:4:6: style: The function 'test_map_erase_invalidation' is never used. [unusedFunction]\\nvoid test_map_erase_invalidation() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:30: in test_iterator_erase_invalidation_map\n assert \"eraseDereference\" in stderr\nE assert 'eraseDereference' in \"/tmp/tmp4rb2fjph/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp4rb2fjph/test.cpp:4:6: style: The function 'test_map_erase_invalidation' is never used. [unusedFunction]\\nvoid test_map_erase_invalidation() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkvaarg_gaps.test_va_end_missing_basic": {"message": "assert \"va_list 'args' was opened but not closed by va_end()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:3:6: style: The function 'func_missing_va_end' is never used. [unusedFunction]\\nvoid func_missing_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:9:6: style: The function 'func_with_va_end' is never used. [unusedFunction]\\nvoid func_with_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:15:6: style: The function 'func_return_without_va_end' is never used. [unusedFunction]\\nvoid func_return_without_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:3:6: style: The function 'func_missing_va_end' is never used. [unusedFunction]\\nvoid func_missing_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:9:6: style: The function 'func_with_va_end' is never used. [unusedFunction]\\nvoid func_with_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:15:6: style: The function 'func_return_without_va_end' is never used. [unusedFunction]\\nvoid func_return_without_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:3:6: style: The function 'func_missing_va_end' is never used. [unusedFunction]\\nvoid func_missing_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:9:6: style: The function 'func_with_va_end' is never used. [unusedFunction]\\nvoid func_with_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:15:6: style: The function 'func_return_without_va_end' is never used. [unusedFunction]\\nvoid func_return_without_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output", "text": "tests/test_checkvaarg_gaps.py:95: in test_va_end_missing_basic\n assert \"va_list 'args' was opened but not closed by va_end()\" in result.combined_output\nE assert \"va_list 'args' was opened but not closed by va_end()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:3:6: style: The function 'func_missing_va_end' is never used. [unusedFunction]\\nvoid func_missing_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:9:6: style: The function 'func_with_va_end' is never used. [unusedFunction]\\nvoid func_with_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:15:6: style: The function 'func_return_without_va_end' is never used. [unusedFunction]\\nvoid func_return_without_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:3:6: style: The function 'func_missing_va_end' is never used. [unusedFunction]\\nvoid func_missing_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:9:6: style: The function 'func_with_va_end' is never used. [unusedFunction]\\nvoid func_with_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:15:6: style: The function 'func_return_without_va_end' is never used. [unusedFunction]\\nvoid func_return_without_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:3:6: style: The function 'func_missing_va_end' is never used. [unusedFunction]\\nvoid func_missing_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:9:6: style: The function 'func_with_va_end' is never used. [unusedFunction]\\nvoid func_with_va_end(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_end_missing.c:15:6: style: The function 'func_return_without_va_end' is never used. [unusedFunction]\\nvoid func_return_without_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output"}, "1040f6b8a219/tests.test_checkstl_gaps.test_use_stl_algorithm_any_of_pattern": {"message": "AssertionError: assert 'useStlAlgorithm' in ''", "text": "tests/test_checkstl_gaps.py:1019: in test_use_stl_algorithm_any_of_pattern\n assert \"useStlAlgorithm\" in stderr\nE AssertionError: assert 'useStlAlgorithm' in ''"}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_struct_array_member_out_of_bounds": {"message": "AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 7, got: ['/tmp/tmpm2k3s_51/test.cpp:7:5: error: Uninitialized struct member: s.arr [uninitStructMember]', ' s.arr[10] = 1; // Access array member out of bounds', ' ^', \"/tmp/tmpm2k3s_51/test.cpp:7:15: style: Variable 's.arr[10]' is assigned a value that is never used. [unreadVariable]\", ' s.arr[10] = 1; // Access array member out of bounds', ' ^', \"/tmp/tmpm2k3s_51/test.cpp:6:7: style: Variable 's' is not assigned a value. [unassignedVariable]\", ' S s;', ' ^', \"/tmp/tmpm2k3s_51/test.cpp:5:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:410: in test_struct_array_member_out_of_bounds\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexOutOfBounds error at line 7, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 7, got: ['/tmp/tmpm2k3s_51/test.cpp:7:5: error: Uninitialized struct member: s.arr [uninitStructMember]', ' s.arr[10] = 1; // Access array member out of bounds', ' ^', \"/tmp/tmpm2k3s_51/test.cpp:7:15: style: Variable 's.arr[10]' is assigned a value that is never used. [unreadVariable]\", ' s.arr[10] = 1; // Access array member out of bounds', ' ^', \"/tmp/tmpm2k3s_51/test.cpp:6:7: style: Variable 's' is not assigned a value. [unassignedVariable]\", ' S s;', ' ^', \"/tmp/tmpm2k3s_51/test.cpp:5:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_scanf_lld_modifier_long": {"message": "assert \"%lld in format string (no. 1) requires 'long long *'\" in ''", "text": "tests/test_checkio_gaps_round2.py:458: in test_scanf_lld_modifier_long\n assert \"%lld in format string (no. 1) requires 'long long *'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long *'\" in ''"}, "1040f6b8a219/tests.test_checkio_gaps.test_scanf_length_modifier_long_long": {"message": "assert \"%lld in format string (no. 1) requires 'long long *' but the argument type is 'signed long *'\" in ''", "text": "tests/test_checkio_gaps.py:450: in test_scanf_length_modifier_long_long\n assert \"%lld in format string (no. 1) requires 'long long *' but the argument type is 'signed long *'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long *' but the argument type is 'signed long *'\" in ''"}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_math_with_const_variables": {"message": "AssertionError: assert 0 == 3\n + where 0 = ('invalidFunctionArg')\n + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_variables.c ...\\n'.count\n + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_variables.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_variables.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_variables.c ...\\n', stderr='').combined_output", "text": "tests/test_checkfunctions_gaps.py:301: in test_math_with_const_variables\n assert result.combined_output.count('invalidFunctionArg') == 3\nE AssertionError: assert 0 == 3\nE + where 0 = ('invalidFunctionArg')\nE + where = 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_variables.c ...\\n'.count\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_variables.c ...\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/math_with_variables.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/math_with_variables.c ...\\n', stderr='').combined_output"}, "1040f6b8a219/tests.test_clangimport_error_handling.test_clangimport_extern_variables": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_error_handling.py:360: in test_clangimport_extern_variables\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_hh_modifier_unsigned_int_not_uchar": {"message": "assert \"%hhu in format string (no. 1) requires 'unsigned char'\" in ''", "text": "tests/test_checkio_round3.py:432: in test_printf_hh_modifier_unsigned_int_not_uchar\n assert \"%hhu in format string (no. 1) requires 'unsigned char'\" in stderr\nE assert \"%hhu in format string (no. 1) requires 'unsigned char'\" in ''"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_do_while": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:67: in test_clangimport_do_while\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_iterator_erase_invalidation_vector": {"message": "assert 'invalidContainer' in \"/tmp/tmp1xnlik53/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp1xnlik53/test.cpp:4:6: style: The function 'test_vector_erase_invalidation' is never used. [unusedFunction]\\nvoid test_vector_erase_invalidation() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:55: in test_iterator_erase_invalidation_vector\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmp1xnlik53/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp1xnlik53/test.cpp:4:6: style: The function 'test_vector_erase_invalidation' is never used. [unusedFunction]\\nvoid test_vector_erase_invalidation() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkvaarg_gaps.test_va_list_used_before_started": {"message": "assert \"va_list 'args' used before va_start() was called\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:20: error: Uninitialized variable: args [uninitvar]\\n int x = va_arg(args, int); // Error - used before va_start\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:12:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:19:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used before va_start\\n ...ace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:21:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used after va_end\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:18:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:3:6: style: The function 'func_use_before_start' is never used. [unusedFunction]\\nvoid func_use_before_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:10:6: style: The function 'func_correct_order' is never used. [unusedFunction]\\nvoid func_correct_order(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:17:6: style: The function 'func_use_after_va_end' is never used. [unusedFunction]\\nvoid func_use_after_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:20: error: Uninitialized variable: args [uninitvar]\\n int x = va_arg(args, int); // Error - used before va_start\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:12:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:19:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used before va_start\\n ...ace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:21:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used after va_end\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:18:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:3:6: style: The function 'func_use_before_start' is never used. [unusedFunction]\\nvoid func_use_before_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:10:6: style: The function 'func_correct_order' is never used. [unusedFunction]\\nvoid func_correct_order(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:17:6: style: The function 'func_use_after_va_end' is never used. [unusedFunction]\\nvoid func_use_after_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:20: error: Uninitialized variable: args [uninitvar]\\n int x = va_arg(args, int); // Error - used before va_start\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:12:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:19:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_be...ce/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:21:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used after va_end\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:18:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:3:6: style: The function 'func_use_before_start' is never used. [unusedFunction]\\nvoid func_use_before_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:10:6: style: The function 'func_correct_order' is never used. [unusedFunction]\\nvoid func_correct_order(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:17:6: style: The function 'func_use_after_va_end' is never used. [unusedFunction]\\nvoid func_use_after_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output", "text": "tests/test_checkvaarg_gaps.py:116: in test_va_list_used_before_started\n assert \"va_list 'args' used before va_start() was called\" in result.combined_output\nE assert \"va_list 'args' used before va_start() was called\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:20: error: Uninitialized variable: args [uninitvar]\\n int x = va_arg(args, int); // Error - used before va_start\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:12:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:19:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used before va_start\\n ...ace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:21:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used after va_end\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:18:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:3:6: style: The function 'func_use_before_start' is never used. [unusedFunction]\\nvoid func_use_before_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:10:6: style: The function 'func_correct_order' is never used. [unusedFunction]\\nvoid func_correct_order(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:17:6: style: The function 'func_use_after_va_end' is never used. [unusedFunction]\\nvoid func_use_after_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:20: error: Uninitialized variable: args [uninitvar]\\n int x = va_arg(args, int); // Error - used before va_start\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:12:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:19:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used before va_start\\n ...ace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:21:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used after va_end\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:18:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:3:6: style: The function 'func_use_before_start' is never used. [unusedFunction]\\nvoid func_use_before_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:10:6: style: The function 'func_correct_order' is never used. [unusedFunction]\\nvoid func_correct_order(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:17:6: style: The function 'func_use_after_va_end' is never used. [unusedFunction]\\nvoid func_use_after_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:5:20: error: Uninitialized variable: args [uninitvar]\\n int x = va_arg(args, int); // Error - used before va_start\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:12:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:19:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_be...ce/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:21:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // Error - used after va_end\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:18:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:3:6: style: The function 'func_use_before_start' is never used. [unusedFunction]\\nvoid func_use_before_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:10:6: style: The function 'func_correct_order' is never used. [unusedFunction]\\nvoid func_correct_order(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_used_before_started.c:17:6: style: The function 'func_use_after_va_end' is never used. [unusedFunction]\\nvoid func_use_after_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output"}, "1040f6b8a219/tests.test_checkstl_gaps.test_use_stl_algorithm_accumulate_pattern": {"message": "AssertionError: assert 'useStlAlgorithm' in ''", "text": "tests/test_checkstl_gaps.py:1045: in test_use_stl_algorithm_accumulate_pattern\n assert \"useStlAlgorithm\" in stderr\nE AssertionError: assert 'useStlAlgorithm' in ''"}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_strcat_buffer_overrun": {"message": "AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmp2jbwv769/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmp2jbwv769/test.c:5:5: error: Buffer is accessed out of bounds: dest [bufferAccessOutOfBounds]', ' strcat(dest, \"this is a very long string\"); // Overflows dest', ' ^', \"/tmp/tmp2jbwv769/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:431: in test_strcat_buffer_overrun\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmp2jbwv769/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmp2jbwv769/test.c:5:5: error: Buffer is accessed out of bounds: dest [bufferAccessOutOfBounds]', ' strcat(dest, \"this is a very long string\"); // Overflows dest', ' ^', \"/tmp/tmp2jbwv769/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_scanf_Lf_modifier_double": {"message": "assert \"%Lf in format string (no. 1) requires 'long double *'\" in ''", "text": "tests/test_checkio_gaps_round2.py:471: in test_scanf_Lf_modifier_double\n assert \"%Lf in format string (no. 1) requires 'long double *'\" in stderr\nE assert \"%Lf in format string (no. 1) requires 'long double *'\" in ''"}, "1040f6b8a219/tests.test_checkio_gaps.test_scanf_length_modifier_size_t": {"message": "assert \"%zd in format string (no. 1) requires 'ssize_t *' but the argument type is 'signed int *'\" in ''", "text": "tests/test_checkio_gaps.py:461: in test_scanf_length_modifier_size_t\n assert \"%zd in format string (no. 1) requires 'ssize_t *' but the argument type is 'signed int *'\" in stderr\nE assert \"%zd in format string (no. 1) requires 'ssize_t *' but the argument type is 'signed int *'\" in ''"}, "1040f6b8a219/tests.test_checkfunctions_gaps.test_ignored_return_values": {"message": "AssertionError: assert 'leakReturnValNotUsed' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:8:5: warning: Return value of function malloc() is not used. [ignoredReturnValue]\\n malloc(100); // Returns pointer (memory leak if not stored)\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:9:5: warning: Return value of function realloc() is not used. [ignoredReturnValue]\\n realloc(NULL, 100); // Returns pointer\\n ^\\n'\n + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:8:5: warning: Return value of function malloc() is not used. [ignoredReturnValue]\\n malloc(100); // Returns pointer (memory leak if not stored)\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:9:5: warning: Return value of function realloc() is not used. [ignoredReturnValue]\\n realloc(NULL, 100); // Returns pointer\\n ^\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c ...\\n', stderr='/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:8:5: warning: Return value of function malloc() is not used. [ignoredReturnValue]\\n malloc(100); // Returns pointer (memory leak if not stored)\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:9:5: warning: Return value of function realloc() is not used. [ignoredReturnValue]\\n realloc(NULL, 100); // Returns pointer\\n ^\\n').combined_output", "text": "tests/test_checkfunctions_gaps.py:325: in test_ignored_return_values\n assert 'leakReturnValNotUsed' in result.combined_output\nE AssertionError: assert 'leakReturnValNotUsed' in 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:8:5: warning: Return value of function malloc() is not used. [ignoredReturnValue]\\n malloc(100); // Returns pointer (memory leak if not stored)\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:9:5: warning: Return value of function realloc() is not used. [ignoredReturnValue]\\n realloc(NULL, 100); // Returns pointer\\n ^\\n'\nE + where 'Checking /workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c ...\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:8:5: warning: Return value of function malloc() is not used. [ignoredReturnValue]\\n malloc(100); // Returns pointer (memory leak if not stored)\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:9:5: warning: Return value of function realloc() is not used. [ignoredReturnValue]\\n realloc(NULL, 100); // Returns pointer\\n ^\\n' = CompletedProcess(args=['./executable', '--enable=warning', '/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c ...\\n', stderr='/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:8:5: warning: Return value of function malloc() is not used. [ignoredReturnValue]\\n malloc(100); // Returns pointer (memory leak if not stored)\\n ^\\n/workspace/eval/test_resources/test_checkfunctions_gaps/ignored_return_value.c:9:5: warning: Return value of function realloc() is not used. [ignoredReturnValue]\\n realloc(NULL, 100); // Returns pointer\\n ^\\n').combined_output"}, "1040f6b8a219/tests.test_checkio_round3.test_printf_ll_modifier_long_not_long_long": {"message": "assert \"%lld in format string (no. 1) requires 'long long'\" in ''", "text": "tests/test_checkio_round3.py:445: in test_printf_ll_modifier_long_not_long_long\n assert \"%lld in format string (no. 1) requires 'long long'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long'\" in ''"}, "1040f6b8a219/tests.test_clangimport_error_handling.test_clangimport_const_variables": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_error_handling.py:395: in test_clangimport_const_variables\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_vector_out_of_bounds_index": {"message": "assert 'containerOutOfBounds' in \"/tmp/tmpw8bbar_l/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpw8bbar_l/test.cpp:6:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = vec[10];\\n ^\\n/tmp/tmpw8bbar_l/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:78: in test_vector_out_of_bounds_index\n assert \"containerOutOfBounds\" in stderr\nE assert 'containerOutOfBounds' in \"/tmp/tmpw8bbar_l/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpw8bbar_l/test.cpp:6:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = vec[10];\\n ^\\n/tmp/tmpw8bbar_l/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkvaarg_gaps.test_va_start_subsequent_calls": {"message": "assert \"va_start() or va_copy() called subsequently on 'args'\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:12:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:13:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK - va_copy from va_start'd list\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:20:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_c...;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:11:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:19:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:3:6: style: The function 'func_double_va_start' is never used. [unusedFunction]\\nvoid func_double_va_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:10:6: style: The function 'func_va_start_then_va_copy' is never used. [unusedFunction]\\nvoid func_va_start_then_va_copy(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:18:6: style: The function 'func_va_copy_on_started' is never used. [unusedFunction]\\nvoid func_va_copy_on_started(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:12:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:13:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK - va_copy from va_start'd list\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:20:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_c...;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:11:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:19:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:3:6: style: The function 'func_double_va_start' is never used. [unusedFunction]\\nvoid func_double_va_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:10:6: style: The function 'func_va_start_then_va_copy' is never used. [unusedFunction]\\nvoid func_va_start_then_va_copy(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:18:6: style: The function 'func_va_copy_on_started' is never used. [unusedFunction]\\nvoid func_va_copy_on_started(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:12:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:13:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK - va_copy from va_start'd list\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:20...\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:11:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:19:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:3:6: style: The function 'func_double_va_start' is never used. [unusedFunction]\\nvoid func_double_va_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:10:6: style: The function 'func_va_start_then_va_copy' is never used. [unusedFunction]\\nvoid func_va_start_then_va_copy(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:18:6: style: The function 'func_va_copy_on_started' is never used. [unusedFunction]\\nvoid func_va_copy_on_started(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output", "text": "tests/test_checkvaarg_gaps.py:140: in test_va_start_subsequent_calls\n assert \"va_start() or va_copy() called subsequently on 'args'\" in result.combined_output\nE assert \"va_start() or va_copy() called subsequently on 'args'\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:12:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:13:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK - va_copy from va_start'd list\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:20:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_c...;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:11:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:19:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:3:6: style: The function 'func_double_va_start' is never used. [unusedFunction]\\nvoid func_double_va_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:10:6: style: The function 'func_va_start_then_va_copy' is never used. [unusedFunction]\\nvoid func_va_start_then_va_copy(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:18:6: style: The function 'func_va_copy_on_started' is never used. [unusedFunction]\\nvoid func_va_copy_on_started(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:12:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:13:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK - va_copy from va_start'd list\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:20:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_c...;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:11:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:19:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:3:6: style: The function 'func_double_va_start' is never used. [unusedFunction]\\nvoid func_double_va_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:10:6: style: The function 'func_va_start_then_va_copy' is never used. [unusedFunction]\\nvoid func_va_start_then_va_copy(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:18:6: style: The function 'func_va_copy_on_started' is never used. [unusedFunction]\\nvoid func_va_copy_on_started(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:12:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:13:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK - va_copy from va_start'd list\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:20...\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:11:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:19:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:3:6: style: The function 'func_double_va_start' is never used. [unusedFunction]\\nvoid func_double_va_start(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:10:6: style: The function 'func_va_start_then_va_copy' is never used. [unusedFunction]\\nvoid func_va_start_then_va_copy(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_start_subsequent_calls.c:18:6: style: The function 'func_va_copy_on_started' is never used. [unusedFunction]\\nvoid func_va_copy_on_started(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_break_continue": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:103: in test_clangimport_break_continue\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_use_stl_algorithm_max_element_pattern": {"message": "AssertionError: assert 'useStlAlgorithm' in ''", "text": "tests/test_checkstl_gaps.py:1072: in test_use_stl_algorithm_max_element_pattern\n assert \"useStlAlgorithm\" in stderr\nE AssertionError: assert 'useStlAlgorithm' in ''"}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_conditional_negative_index": {"message": "AssertionError: Expected exactly one negativeIndex warning at line 6, got: [\"/tmp/tmpn2j1lysa/test.c:4:16: style: Variable 'arr[n]' is assigned a value that is never used. [unreadVariable]\", ' arr[n] = 1; // Safe access', ' ^', \"/tmp/tmpn2j1lysa/test.c:6:12: style: Variable 'arr[n]' is assigned a value that is never used. [unreadVariable]\", ' arr[n] = 2; // Potentially unsafe - n could be negative', ' ^', \"/tmp/tmpn2j1lysa/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(int n) {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:453: in test_conditional_negative_index\n assert len(error_lines) == 1, f\"Expected exactly one negativeIndex warning at line 6, got: {lines}\"\nE AssertionError: Expected exactly one negativeIndex warning at line 6, got: [\"/tmp/tmpn2j1lysa/test.c:4:16: style: Variable 'arr[n]' is assigned a value that is never used. [unreadVariable]\", ' arr[n] = 1; // Safe access', ' ^', \"/tmp/tmpn2j1lysa/test.c:6:12: style: Variable 'arr[n]' is assigned a value that is never used. [unreadVariable]\", ' arr[n] = 2; // Potentially unsafe - n could be negative', ' ^', \"/tmp/tmpn2j1lysa/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(int n) {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_ftell_on_closed_file": {"message": "AssertionError: assert '[useClosedFile]' in ''", "text": "tests/test_checkio_gaps_round2.py:484: in test_ftell_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE AssertionError: assert '[useClosedFile]' in ''"}, "1040f6b8a219/tests.test_checkio_gaps.test_scanf_unsigned_length_modifiers": {"message": "assert \"%hu in format string (no. 1) requires 'unsigned short *' but the argument type is 'signed int *'\" in ''", "text": "tests/test_checkio_gaps.py:472: in test_scanf_unsigned_length_modifiers\n assert \"%hu in format string (no. 1) requires 'unsigned short *' but the argument type is 'signed int *'\" in stderr\nE assert \"%hu in format string (no. 1) requires 'unsigned short *' but the argument type is 'signed int *'\" in ''"}, "1040f6b8a219/tests.test_checktype_gaps.test_shift_longlong_type": {"message": "assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_longlong.c ...\\n/workspace/eval/test_resources/test_checktype/shift_longlong.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:523: in test_shift_longlong_type\n assert \"shiftTooManyBits\" in output\nE assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_longlong.c ...\\n/workspace/eval/test_resources/test_checktype/shift_longlong.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkio_round3.test_printf_ll_modifier_int_not_long_long": {"message": "assert \"%lld in format string (no. 1) requires 'long long'\" in ''", "text": "tests/test_checkio_round3.py:458: in test_printf_ll_modifier_int_not_long_long\n assert \"%lld in format string (no. 1) requires 'long long'\" in stderr\nE assert \"%lld in format string (no. 1) requires 'long long'\" in ''"}, "1040f6b8a219/tests.test_clangimport_error_handling.test_clangimport_volatile": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_error_handling.py:429: in test_clangimport_volatile\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_vector_out_of_bounds_at": {"message": "assert 'containerOutOfBounds' in \"/tmp/tmpvajxr7d2/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpvajxr7d2/test.cpp:6:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = vec.at(10);\\n ^\\n/tmp/tmpvajxr7d2/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:101: in test_vector_out_of_bounds_at\n assert \"containerOutOfBounds\" in stderr\nE assert 'containerOutOfBounds' in \"/tmp/tmpvajxr7d2/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpvajxr7d2/test.cpp:6:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = vec.at(10);\\n ^\\n/tmp/tmpvajxr7d2/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkvaarg_gaps.test_va_copy_source_not_started": {"message": "assert \"va_list 'args1' used before va_start() was called\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:20: error: Uninitialized variable: args1 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:11:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:12:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK\\n ^\\n/workspace/eval/test_resources/t... args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:4:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:13: style: Variable 'args1' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:3:6: style: The function 'func_va_copy_not_started' is never used. [unusedFunction]\\nvoid func_va_copy_not_started(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:9:6: style: The function 'func_va_copy_correct' is never used. [unusedFunction]\\nvoid func_va_copy_correct(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:20: error: Uninitialized variable: args1 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:11:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:12:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK\\n ^\\n/workspace/eval/test_resources/t... args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:4:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:13: style: Variable 'args1' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:3:6: style: The function 'func_va_copy_not_started' is never used. [unusedFunction]\\nvoid func_va_copy_not_started(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:9:6: style: The function 'func_va_copy_correct' is never used. [unusedFunction]\\nvoid func_va_copy_correct(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:20: error: Uninitialized variable: args1 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:11:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_g...args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:4:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:13: style: Variable 'args1' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:3:6: style: The function 'func_va_copy_not_started' is never used. [unusedFunction]\\nvoid func_va_copy_not_started(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:9:6: style: The function 'func_va_copy_correct' is never used. [unusedFunction]\\nvoid func_va_copy_correct(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output", "text": "tests/test_checkvaarg_gaps.py:161: in test_va_copy_source_not_started\n assert \"va_list 'args1' used before va_start() was called\" in result.combined_output\nE assert \"va_list 'args1' used before va_start() was called\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:20: error: Uninitialized variable: args1 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:11:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:12:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK\\n ^\\n/workspace/eval/test_resources/t... args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:4:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:13: style: Variable 'args1' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:3:6: style: The function 'func_va_copy_not_started' is never used. [unusedFunction]\\nvoid func_va_copy_not_started(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:9:6: style: The function 'func_va_copy_correct' is never used. [unusedFunction]\\nvoid func_va_copy_correct(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:20: error: Uninitialized variable: args1 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:11:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:12:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // OK\\n ^\\n/workspace/eval/test_resources/t... args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:4:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:13: style: Variable 'args1' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:3:6: style: The function 'func_va_copy_not_started' is never used. [unusedFunction]\\nvoid func_va_copy_not_started(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:9:6: style: The function 'func_va_copy_correct' is never used. [unusedFunction]\\nvoid func_va_copy_correct(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:13: error: Uninitialized variable: args2 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:5:20: error: Uninitialized variable: args1 [uninitvar]\\n va_copy(args2, args1); // Error - args1 not started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:11:14: error: Uninitialized variable: args1 [uninitvar]\\n va_start(args1, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_g...args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:4:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:13: style: Variable 'args1' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:10:20: style: Variable 'args2' is not assigned a value. [unassignedVariable]\\n va_list args1, args2;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:3:6: style: The function 'func_va_copy_not_started' is never used. [unusedFunction]\\nvoid func_va_copy_not_started(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_copy_source_not_started.c:9:6: style: The function 'func_va_copy_correct' is never used. [unusedFunction]\\nvoid func_va_copy_correct(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_cpp_new_delete": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:139: in test_clangimport_cpp_new_delete\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_find_insert_optimization": {"message": "AssertionError: assert 'stlFindInsert' in ''", "text": "tests/test_checkstl_gaps.py:1096: in test_find_insert_optimization\n assert \"stlFindInsert\" in stderr\nE AssertionError: assert 'stlFindInsert' in ''"}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_sprintf_integer_overflow": {"message": "AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 6, got: ['/tmp/tmpwltv0aio/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', \"/tmp/tmpwltv0aio/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:476: in test_sprintf_integer_overflow\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 6, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 6, got: ['/tmp/tmpwltv0aio/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', \"/tmp/tmpwltv0aio/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_fseek_on_append_mode": {"message": "AssertionError: assert '[seekOnAppendedFile]' in ''", "text": "tests/test_checkio_gaps_round2.py:495: in test_fseek_on_append_mode\n assert \"[seekOnAppendedFile]\" in stderr\nE AssertionError: assert '[seekOnAppendedFile]' in ''"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_fread_without_positioning": {"message": "AssertionError: assert '[IOWithoutPositioning]' in ''", "text": "tests/test_checkio_gaps_round2.py:27: in test_fread_without_positioning\n assert \"[IOWithoutPositioning]\" in stderr\nE AssertionError: assert '[IOWithoutPositioning]' in ''"}, "1040f6b8a219/tests.test_checktype_gaps.test_shift_bool_type": {"message": "assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_bool.cpp ...\\n/workspace/eval/test_resources/test_checktype/shift_bool.cpp:3:12: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n bool y = x << 35;\\n ^\\n/workspace/eval/test_resources/test_checktype/shift_bool.cpp:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:542: in test_shift_bool_type\n assert \"shiftTooManyBits\" in output\nE assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_bool.cpp ...\\n/workspace/eval/test_resources/test_checktype/shift_bool.cpp:3:12: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n bool y = x << 35;\\n ^\\n/workspace/eval/test_resources/test_checktype/shift_bool.cpp:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkio_round3.test_printf_ll_modifier_unsigned_int_not_ullong": {"message": "assert \"%llu in format string (no. 1) requires 'unsigned long long'\" in ''", "text": "tests/test_checkio_round3.py:471: in test_printf_ll_modifier_unsigned_int_not_ullong\n assert \"%llu in format string (no. 1) requires 'unsigned long long'\" in stderr\nE assert \"%llu in format string (no. 1) requires 'unsigned long long'\" in ''"}, "1040f6b8a219/tests.test_clangimport_error_handling.test_clangimport_inline_function": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_error_handling.py:461: in test_clangimport_inline_function\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_string_out_of_bounds": {"message": "assert 0 == 2\n + where 0 = ('containerOutOfBounds')\n + where = \"/tmp/tmpsa392fjp/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpsa392fjp/test.cpp:6:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n char c = str[10];\\n ^\\n/tmp/tmpsa392fjp/test.cpp:7:12: style: Variable 'd' is assigned a value that is never used. [unreadVariable]\\n char d = str.at(10);\\n ^\\n/tmp/tmpsa392fjp/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\".count", "text": "tests/test_checkstl_gaps.py:124: in test_string_out_of_bounds\n assert stderr.count(\"containerOutOfBounds\") == 2\nE assert 0 == 2\nE + where 0 = ('containerOutOfBounds')\nE + where = \"/tmp/tmpsa392fjp/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpsa392fjp/test.cpp:6:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n char c = str[10];\\n ^\\n/tmp/tmpsa392fjp/test.cpp:7:12: style: Variable 'd' is assigned a value that is never used. [unreadVariable]\\n char d = str.at(10);\\n ^\\n/tmp/tmpsa392fjp/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\".count"}, "1040f6b8a219/tests.test_checkvaarg_gaps.test_va_list_as_function_argument": {"message": "assert \"va_list 'args' used before va_start() was called\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:9:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:16:12: error: Uninitialized variable: args [uninitvar]\\n helper(args); // Should be OK per the code - args passed as argument\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // OK - args passed as argument is considered started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:8:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:7:6: style: The function 'func_pass_va_list' is never used. [unusedFunction]\\nvoid func_pass_va_list(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:14:6: style: The function 'func_pass_uninitialized_va_list' is never used. [unusedFunction]\\nvoid func_pass_uninitialized_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:9:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:16:12: error: Uninitialized variable: args [uninitvar]\\n helper(args); // Should be OK per the code - args passed as argument\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // OK - args passed as argument is considered started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:8:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:7:6: style: The function 'func_pass_va_list' is never used. [unusedFunction]\\nvoid func_pass_va_list(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:14:6: style: The function 'func_pass_uninitialized_va_list' is never used. [unusedFunction]\\nvoid func_pass_uninitialized_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:9:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:16:12: error: Uninitialized variable: args [uninitvar]\\n helper(args); // Should be OK per the code - args passed as argument\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // OK - args passed as argument is considered started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:8:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:7:6: style: The function 'func_pass_va_list' is never used. [unusedFunction]\\nvoid func_pass_va_list(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:14:6: style: The function 'func_pass_uninitialized_va_list' is never used. [unusedFunction]\\nvoid func_pass_uninitialized_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output", "text": "tests/test_checkvaarg_gaps.py:181: in test_va_list_as_function_argument\n assert \"va_list 'args' used before va_start() was called\" in result.combined_output\nE assert \"va_list 'args' used before va_start() was called\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:9:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:16:12: error: Uninitialized variable: args [uninitvar]\\n helper(args); // Should be OK per the code - args passed as argument\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // OK - args passed as argument is considered started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:8:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:7:6: style: The function 'func_pass_va_list' is never used. [unusedFunction]\\nvoid func_pass_va_list(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:14:6: style: The function 'func_pass_uninitialized_va_list' is never used. [unusedFunction]\\nvoid func_pass_uninitialized_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:9:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:16:12: error: Uninitialized variable: args [uninitvar]\\n helper(args); // Should be OK per the code - args passed as argument\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // OK - args passed as argument is considered started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:8:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:7:6: style: The function 'func_pass_va_list' is never used. [unusedFunction]\\nvoid func_pass_va_list(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:14:6: style: The function 'func_pass_uninitialized_va_list' is never used. [unusedFunction]\\nvoid func_pass_uninitialized_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:9:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:16:12: error: Uninitialized variable: args [uninitvar]\\n helper(args); // Should be OK per the code - args passed as argument\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = va_arg(args, int); // OK - args passed as argument is considered started\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:8:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:7:6: style: The function 'func_pass_va_list' is never used. [unusedFunction]\\nvoid func_pass_va_list(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_as_argument.c:14:6: style: The function 'func_pass_uninitialized_va_list' is never used. [unusedFunction]\\nvoid func_pass_uninitialized_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_cpp_throw_catch": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:172: in test_clangimport_cpp_throw_catch\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_negative_container_index_literal": {"message": "AssertionError: assert 'negativeContainerIndex' in ''", "text": "tests/test_checkstl_gaps.py:1119: in test_negative_container_index_literal\n assert \"negativeContainerIndex\" in stderr\nE AssertionError: assert 'negativeContainerIndex' in ''"}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_strncat_buffer_overrun": {"message": "AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmpcu4su71f/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmpcu4su71f/test.c:5:5: error: Buffer is accessed out of bounds: dest [bufferAccessOutOfBounds]', ' strncat(dest, \"hello world\", 15); // Trying to append 15 chars to 10-byte buffer', ' ^', \"/tmp/tmpcu4su71f/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:497: in test_strncat_buffer_overrun\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmpcu4su71f/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmpcu4su71f/test.c:5:5: error: Buffer is accessed out of bounds: dest [bufferAccessOutOfBounds]', ' strncat(dest, \"hello world\", 15); // Trying to append 15 chars to 10-byte buffer', ' ^', \"/tmp/tmpcu4su71f/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_fseek_on_closed_file": {"message": "AssertionError: assert '[useClosedFile]' in ''", "text": "tests/test_checkio_gaps_round2.py:506: in test_fseek_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE AssertionError: assert '[useClosedFile]' in ''"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_fwrite_without_positioning": {"message": "AssertionError: assert '[IOWithoutPositioning]' in ''", "text": "tests/test_checkio_gaps_round2.py:39: in test_fwrite_without_positioning\n assert \"[IOWithoutPositioning]\" in stderr\nE AssertionError: assert '[IOWithoutPositioning]' in ''"}, "1040f6b8a219/tests.test_checkuninitvar_gaps.test_array_element_uninitialized": {"message": "assert 'error: Uninitialized variable: arr [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:13: error: Uninitialized variable: arr [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:3:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:2:6: style: The function 'test_array_element' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:13: error: Uninitialized variable: arr [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:3:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:2:6: style: The function 'test_array_element' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:13: error: Uninitialized variable: arr [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:3:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:2:6: style: The function 'test_array_element' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr", "text": "tests/test_checkuninitvar_gaps.py:86: in test_array_element_uninitialized\n assert 'error: Uninitialized variable: arr [legacyUninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: arr [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:13: error: Uninitialized variable: arr [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:3:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:2:6: style: The function 'test_array_element' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:13: error: Uninitialized variable: arr [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:3:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:2:6: style: The function 'test_array_element' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:13: error: Uninitialized variable: arr [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:3:9: style: Variable 'arr' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_array_element_uninitializ2/test.c:2:6: style: The function 'test_array_element' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr"}, "1040f6b8a219/tests.test_checkstring_gaps.test_wide_character_string_compare": {"message": "assert 'literalWithCharPtrCompare' in '/tmp/tmpzahth9w1/test.c:5:9: warning: Unnecessary comparison of static strings. [staticStringCompare]\\n if (wcscmp(L\"hello\", L\"hello\") == 0) {\\n ^\\n'", "text": "tests/test_checkstring_gaps.py:324: in test_wide_character_string_compare\n assert \"literalWithCharPtrCompare\" in stderr\nE assert 'literalWithCharPtrCompare' in '/tmp/tmpzahth9w1/test.c:5:9: warning: Unnecessary comparison of static strings. [staticStringCompare]\\n if (wcscmp(L\"hello\", L\"hello\") == 0) {\\n ^\\n'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_array_out_of_bounds": {"message": "assert 'containerOutOfBounds' in \"/tmp/tmpyx85xlb5/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpyx85xlb5/test.cpp:6:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = arr[10];\\n ^\\n/tmp/tmpyx85xlb5/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:147: in test_array_out_of_bounds\n assert \"containerOutOfBounds\" in stderr\nE assert 'containerOutOfBounds' in \"/tmp/tmpyx85xlb5/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpyx85xlb5/test.cpp:6:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = arr[10];\\n ^\\n/tmp/tmpyx85xlb5/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkvaarg_gaps.test_va_list_with_goto": {"message": "assert \"va_list 'args' was opened but not closed by va_end()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:13:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:12:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:3:6: style: The function 'func_with_goto' is never used. [unusedFunction]\\nvoid func_with_goto(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:11:6: style: The function 'func_normal_missing' is never used. [unusedFunction]\\nvoid func_normal_missing(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:13:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:12:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:3:6: style: The function 'func_with_goto' is never used. [unusedFunction]\\nvoid func_with_goto(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:11:6: style: The function 'func_normal_missing' is never used. [unusedFunction]\\nvoid func_normal_missing(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:13:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:12:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:3:6: style: The function 'func_with_goto' is never used. [unusedFunction]\\nvoid func_with_goto(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:11:6: style: The function 'func_normal_missing' is never used. [unusedFunction]\\nvoid func_normal_missing(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output", "text": "tests/test_checkvaarg_gaps.py:198: in test_va_list_with_goto\n assert \"va_list 'args' was opened but not closed by va_end()\" in result.combined_output\nE assert \"va_list 'args' was opened but not closed by va_end()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:13:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:12:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:3:6: style: The function 'func_with_goto' is never used. [unusedFunction]\\nvoid func_with_goto(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:11:6: style: The function 'func_normal_missing' is never used. [unusedFunction]\\nvoid func_normal_missing(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:13:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:12:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:3:6: style: The function 'func_with_goto' is never used. [unusedFunction]\\nvoid func_with_goto(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:11:6: style: The function 'func_normal_missing' is never used. [unusedFunction]\\nvoid func_normal_missing(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:13:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:12:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:3:6: style: The function 'func_with_goto' is never used. [unusedFunction]\\nvoid func_with_goto(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_goto_try.c:11:6: style: The function 'func_normal_missing' is never used. [unusedFunction]\\nvoid func_normal_missing(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output"}, "1040f6b8a219/tests.test_clangimport_error_handling.test_clangimport_restrict_pointer": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_error_handling.py:498: in test_clangimport_restrict_pointer\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_cpp_this_pointer": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:208: in test_clangimport_cpp_this_pointer\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_negative_container_index_variable": {"message": "AssertionError: assert 'negativeContainerIndex' in ''", "text": "tests/test_checkstl_gaps.py:1142: in test_negative_container_index_variable\n assert \"negativeContainerIndex\" in stderr\nE AssertionError: assert 'negativeContainerIndex' in ''"}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_fgets_size_exceeds_buffer": {"message": "AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmpi4834zpp/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmpi4834zpp/test.c:5:5: error: Buffer is accessed out of bounds: buf [bufferAccessOutOfBounds]', ' fgets(buf, 20, f); // Size argument exceeds buffer', ' ^', \"/tmp/tmpi4834zpp/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(FILE *f) {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:518: in test_fgets_size_exceeds_buffer\n assert len(error_lines) == 1, f\"Expected exactly one bufferAccessOutOfBounds error at line 5, got: {lines}\"\nE AssertionError: Expected exactly one bufferAccessOutOfBounds error at line 5, got: ['/tmp/tmpi4834zpp/test.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]', '#include ', ' ^', '/tmp/tmpi4834zpp/test.c:5:5: error: Buffer is accessed out of bounds: buf [bufferAccessOutOfBounds]', ' fgets(buf, 20, f); // Size argument exceeds buffer', ' ^', \"/tmp/tmpi4834zpp/test.c:3:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo(FILE *f) {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_fflush_on_stdin": {"message": "AssertionError: assert '[fflushOnInputStream]' in ''", "text": "tests/test_checkio_gaps_round2.py:517: in test_fflush_on_stdin\n assert \"[fflushOnInputStream]\" in stderr\nE AssertionError: assert '[fflushOnInputStream]' in ''"}, "1040f6b8a219/tests.test_checkuninitvar_gaps.test_conditional_initialization_always_taken": {"message": "AssertionError: assert 'Uninitialized variable: x' not in '/tmp/pytest...ersReport]\\n'\n \n 'Uninitialized variable: x' is contained here:\n /tmp/pytest-of-root/pytest-0/popen-gw3/test_conditional_initializatio2/test.c:7:13: error: Uninitialized variable: x [uninitvar]\n ? +++++++++++++++++++++++++\n /tmp/pytest-of-root/pytest-0/popen-gw3/test_conditional_initializatio2/test.c:7:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\n /tmp/pytest-of-root/pytest-0/popen-gw3/test_conditional_initializatio2/test.c:2:6: style: The function 'test_conditiona...\n \n ...Full output truncated (2 lines hidden), use '-vv' to show", "text": "tests/test_checkuninitvar_gaps.py:129: in test_conditional_initialization_always_taken\n assert 'Uninitialized variable: x' not in result.stderr\nE AssertionError: assert 'Uninitialized variable: x' not in '/tmp/pytest...ersReport]\\n'\nE \nE 'Uninitialized variable: x' is contained here:\nE /tmp/pytest-of-root/pytest-0/popen-gw3/test_conditional_initializatio2/test.c:7:13: error: Uninitialized variable: x [uninitvar]\nE ? +++++++++++++++++++++++++\nE /tmp/pytest-of-root/pytest-0/popen-gw3/test_conditional_initializatio2/test.c:7:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\nE /tmp/pytest-of-root/pytest-0/popen-gw3/test_conditional_initializatio2/test.c:2:6: style: The function 'test_conditiona...\nE \nE ...Full output truncated (2 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_checkstring_gaps.test_memcmp_and_wmemcmp_literals": {"message": "assert 1 == 2\n + where 1 = ('staticStringCompare')\n + where = '/tmp/tmpo1vb4xsn/test.c:5:9: warning: Unnecessary comparison of static strings. [staticStringCompare]\\n if (memcmp(\"test\", \"test\", 4) == 0) {\\n ^\\n'.count", "text": "tests/test_checkstring_gaps.py:352: in test_memcmp_and_wmemcmp_literals\n assert stderr.count(\"staticStringCompare\") == 2\nE assert 1 == 2\nE + where 1 = ('staticStringCompare')\nE + where = '/tmp/tmpo1vb4xsn/test.c:5:9: warning: Unnecessary comparison of static strings. [staticStringCompare]\\n if (memcmp(\"test\", \"test\", 4) == 0) {\\n ^\\n'.count"}, "1040f6b8a219/tests.test_checkstl_gaps.test_negative_container_index": {"message": "assert 'negativeContainerIndex' in \"/tmp/tmpxq49jaxg/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxq49jaxg/test.cpp:6:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = vec[-1];\\n ^\\n/tmp/tmpxq49jaxg/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:169: in test_negative_container_index\n assert \"negativeContainerIndex\" in stderr\nE assert 'negativeContainerIndex' in \"/tmp/tmpxq49jaxg/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpxq49jaxg/test.cpp:6:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = vec[-1];\\n ^\\n/tmp/tmpxq49jaxg/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkvaarg_gaps.test_va_list_with_break_in_loop": {"message": "assert 'va_end_missing' in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:16:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:3:6: style: The function 'func_with_break_in_loop' is never used. [unusedFunction]\\nvoid func_with_break_in_loop(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:14:6: style: The function 'func_break_missing_va_end' is never used. [unusedFunction]\\nvoid func_break_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:16:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:3:6: style: The function 'func_with_break_in_loop' is never used. [unusedFunction]\\nvoid func_with_break_in_loop(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:14:6: style: The function 'func_break_missing_va_end' is never used. [unusedFunction]\\nvoid func_break_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:16:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:3:6: style: The function 'func_with_break_in_loop' is never used. [unusedFunction]\\nvoid func_with_break_in_loop(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:14:6: style: The function 'func_break_missing_va_end' is never used. [unusedFunction]\\nvoid func_break_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output", "text": "tests/test_checkvaarg_gaps.py:218: in test_va_list_with_break_in_loop\n assert 'va_end_missing' in result.combined_output\nE assert 'va_end_missing' in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:16:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:3:6: style: The function 'func_with_break_in_loop' is never used. [unusedFunction]\\nvoid func_with_break_in_loop(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:14:6: style: The function 'func_break_missing_va_end' is never used. [unusedFunction]\\nvoid func_break_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:16:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:3:6: style: The function 'func_with_break_in_loop' is never used. [unusedFunction]\\nvoid func_with_break_in_loop(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:14:6: style: The function 'func_break_missing_va_end' is never used. [unusedFunction]\\nvoid func_break_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:16:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:15:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:3:6: style: The function 'func_with_break_in_loop' is never used. [unusedFunction]\\nvoid func_with_break_in_loop(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_break.c:14:6: style: The function 'func_break_missing_va_end' is never used. [unusedFunction]\\nvoid func_break_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output"}, "1040f6b8a219/tests.test_errorlogger.test_template_predefined_gcc": {"message": "assert 0 == 1\n + where 0 = len([])", "text": "tests/test_errorlogger.py:281: in test_template_predefined_gcc\n assert len(lines) == 1\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkstl_gaps.test_dereference_end_iterator": {"message": "AssertionError: assert 'derefInvalidIterator' in ''", "text": "tests/test_checkstl_gaps.py:1165: in test_dereference_end_iterator\n assert \"derefInvalidIterator\" in stderr\nE AssertionError: assert 'derefInvalidIterator' in ''"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_cpp_constructors": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:247: in test_clangimport_cpp_constructors\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_cmdlineparser.test_check_version_mismatch": {"message": "assert 'cppcheck: er...g_version\".\\n' == 'cppcheck: er.... Aborting.\\n'\n \n - cppcheck: error: --check-version check failed. Aborting.\n + cppcheck: error: unrecognized command line option: \"--check-version=wrong_version\".", "text": "tests/test_cmdlineparser.py:182: in test_check_version_mismatch\n assert result.stdout == (RESOURCES / \"error_check_version_mismatch.golden\").read_text()\nE assert 'cppcheck: er...g_version\".\\n' == 'cppcheck: er.... Aborting.\\n'\nE \nE - cppcheck: error: --check-version check failed. Aborting.\nE + cppcheck: error: unrecognized command line option: \"--check-version=wrong_version\"."}, "1040f6b8a219/tests.test_checkbufferoverrun_gaps.test_multidimensional_second_dimension_overflow": {"message": "AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 3, got: [\"/tmp/tmpqbqp6obr/test.c:3:11: error: Array 'arr[2][3][4]' accessed at index arr[2][2][5], which is out of bounds. [arrayIndexOutOfBounds]\", ' arr[2][5] = 1; // Second dimension out of bounds', ' ^', \"/tmp/tmpqbqp6obr/test.c:3:15: style: Variable 'arr[2][5]' is assigned a value that is never used. [unreadVariable]\", ' arr[2][5] = 1; // Second dimension out of bounds', ' ^', \"/tmp/tmpqbqp6obr/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_checkbufferoverrun_gaps.py:537: in test_multidimensional_second_dimension_overflow\n assert len(error_lines) == 1, f\"Expected exactly one arrayIndexOutOfBounds error at line 3, got: {lines}\"\nE AssertionError: Expected exactly one arrayIndexOutOfBounds error at line 3, got: [\"/tmp/tmpqbqp6obr/test.c:3:11: error: Array 'arr[2][3][4]' accessed at index arr[2][2][5], which is out of bounds. [arrayIndexOutOfBounds]\", ' arr[2][5] = 1; // Second dimension out of bounds', ' ^', \"/tmp/tmpqbqp6obr/test.c:3:15: style: Variable 'arr[2][5]' is assigned a value that is never used. [unreadVariable]\", ' arr[2][5] = 1; // Second dimension out of bounds', ' ^', \"/tmp/tmpqbqp6obr/test.c:1:6: style: The function 'foo' is never used. [unusedFunction]\", 'void foo() {', ' ^', 'nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]']\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_fflush_on_read_mode_file": {"message": "AssertionError: assert '[fflushOnInputStream]' in ''", "text": "tests/test_checkio_gaps_round2.py:529: in test_fflush_on_read_mode_file\n assert \"[fflushOnInputStream]\" in stderr\nE AssertionError: assert '[fflushOnInputStream]' in ''"}, "1040f6b8a219/tests.test_checkuninitvar_gaps.test_malloc_uninitialized_data": {"message": "assert 'error: Memory is allocated but not initialized: p [uninitdata]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:3:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:2:6: style: The function 'test_malloc' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:3:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:2:6: style: The function 'test_malloc' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:3:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:2:6: style: The function 'test_malloc' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr", "text": "tests/test_checkuninitvar_gaps.py:166: in test_malloc_uninitialized_data\n assert 'error: Memory is allocated but not initialized: p [uninitdata]' in result.stderr\nE assert 'error: Memory is allocated but not initialized: p [uninitdata]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:3:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:2:6: style: The function 'test_malloc' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:3:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:2:6: style: The function 'test_malloc' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:3:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_malloc_uninitialized_data2/test.c:2:6: style: The function 'test_malloc' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr"}, "1040f6b8a219/tests.test_checkstring_gaps.test_snprintf_overlapping_buffers": {"message": "AssertionError: assert 'sprintfOverlappingData' in ''", "text": "tests/test_checkstring_gaps.py:400: in test_snprintf_overlapping_buffers\n assert \"sprintfOverlappingData\" in stderr\nE AssertionError: assert 'sprintfOverlappingData' in ''"}, "1040f6b8a219/tests.test_checkstl_gaps.test_cstr_on_temporary_string": {"message": "assert 'danglingTemporaryLifetime' in \"/tmp/tmpie_hr1ce/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpie_hr1ce/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpie_hr1ce/test.cpp:7:5: warning: Return value of function strlen() is not used. [ignoredReturnValue]\\n strlen(ptr);\\n ^\\n/tmp/tmpie_hr1ce/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:193: in test_cstr_on_temporary_string\n assert \"danglingTemporaryLifetime\" in stderr\nE assert 'danglingTemporaryLifetime' in \"/tmp/tmpie_hr1ce/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpie_hr1ce/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpie_hr1ce/test.cpp:7:5: warning: Return value of function strlen() is not used. [ignoredReturnValue]\\n strlen(ptr);\\n ^\\n/tmp/tmpie_hr1ce/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkvaarg_gaps.test_va_list_with_throw_statement": {"message": "assert 'va_end_missing' in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:3:6: style: The function 'func_with_throw' is never used. [unusedFunction]\\nvoid func_with_throw(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:9:6: style: The function 'func_normal_missing_cpp' is never used. [unusedFunction]\\nvoid func_normal_missing_cpp(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:3:6: style: The function 'func_with_throw' is never used. [unusedFunction]\\nvoid func_with_throw(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:9:6: style: The function 'func_normal_missing_cpp' is never used. [unusedFunction]\\nvoid func_normal_missing_cpp(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:3:6: style: The function 'func_with_throw' is never used. [unusedFunction]\\nvoid func_with_throw(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:9:6: style: The function 'func_normal_missing_cpp' is never used. [unusedFunction]\\nvoid func_normal_missing_cpp(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output", "text": "tests/test_checkvaarg_gaps.py:237: in test_va_list_with_throw_statement\n assert 'va_end_missing' in result.combined_output\nE assert 'va_end_missing' in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:3:6: style: The function 'func_with_throw' is never used. [unusedFunction]\\nvoid func_with_throw(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:9:6: style: The function 'func_normal_missing_cpp' is never used. [unusedFunction]\\nvoid func_normal_missing_cpp(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:3:6: style: The function 'func_with_throw' is never used. [unusedFunction]\\nvoid func_with_throw(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:9:6: style: The function 'func_normal_missing_cpp' is never used. [unusedFunction]\\nvoid func_normal_missing_cpp(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:11:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:10:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:3:6: style: The function 'func_with_throw' is never used. [unusedFunction]\\nvoid func_with_throw(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_throw.cpp:9:6: style: The function 'func_normal_missing_cpp' is never used. [unusedFunction]\\nvoid func_normal_missing_cpp(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output"}, "1040f6b8a219/tests.test_checkstl_gaps.test_iterator_invalidated_by_clear": {"message": "AssertionError: assert 'invalidContainer' in ''", "text": "tests/test_checkstl_gaps.py:1190: in test_iterator_invalidated_by_clear\n assert \"invalidContainer\" in stderr\nE AssertionError: assert 'invalidContainer' in ''"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_cpp_nullptr": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:279: in test_clangimport_cpp_nullptr\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_cmdlineparser.test_empty_platform": {"message": "assert \"cppcheck: er...atform: ''.\\n\" == 'cppcheck: er... specified.\\n'\n \n - cppcheck: error: empty platform specified.\n + cppcheck: error: unrecognized platform: ''.", "text": "tests/test_cmdlineparser.py:288: in test_empty_platform\n assert result.stdout == (RESOURCES / \"error_platform_empty.golden\").read_text()\nE assert \"cppcheck: er...atform: ''.\\n\" == 'cppcheck: er... specified.\\n'\nE \nE - cppcheck: error: empty platform specified.\nE + cppcheck: error: unrecognized platform: ''."}, "1040f6b8a219/tests.test_cmdlineparser.test_showtime_mode_empty": {"message": "AssertionError: assert 'cppcheck: er...aths given.\\n' == 'cppcheck: er... --showtime\\n'\n \n - cppcheck: error: no mode provided for --showtime\n + cppcheck: error: could not find or open any of the paths given.", "text": "tests/test_cmdlineparser.py:351: in test_showtime_mode_empty\n assert result.stdout == (RESOURCES / \"error_showtime_empty.golden\").read_text()\nE AssertionError: assert 'cppcheck: er...aths given.\\n' == 'cppcheck: er... --showtime\\n'\nE \nE - cppcheck: error: no mode provided for --showtime\nE + cppcheck: error: could not find or open any of the paths given."}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_rewind_on_closed_file": {"message": "AssertionError: assert '[useClosedFile]' in ''", "text": "tests/test_checkio_gaps_round2.py:540: in test_rewind_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE AssertionError: assert '[useClosedFile]' in ''"}, "1040f6b8a219/tests.test_errorlogger.test_plist_output_format": {"message": "AssertionError: Expected 1 plist file, got 0\nassert 0 == 1\n + where 0 = len([])", "text": "tests/test_errorlogger.py:1043: in test_plist_output_format\n assert len(plist_files) == 1, f\"Expected 1 plist file, got {len(plist_files)}\"\nE AssertionError: Expected 1 plist file, got 0\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkstring_gaps.test_swprintf_overlapping_buffers": {"message": "AssertionError: assert 'sprintfOverlappingData' in ''", "text": "tests/test_checkstring_gaps.py:423: in test_swprintf_overlapping_buffers\n assert \"sprintfOverlappingData\" in stderr\nE AssertionError: assert 'sprintfOverlappingData' in ''"}, "1040f6b8a219/tests.test_checkstl_gaps.test_cstr_after_string_modification": {"message": "assert 'invalidContainer' in \"/tmp/tmpr92d5evq/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpr92d5evq/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpr92d5evq/test.cpp:9:5: warning: Return value of function strlen() is not used. [ignoredReturnValue]\\n strlen(ptr);\\n ^\\n/tmp/tmpr92d5evq/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:219: in test_cstr_after_string_modification\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmpr92d5evq/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpr92d5evq/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpr92d5evq/test.cpp:9:5: warning: Return value of function strlen() is not used. [ignoredReturnValue]\\n strlen(ptr);\\n ^\\n/tmp/tmpr92d5evq/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkvaarg_gaps.test_va_list_complex_control_flow": {"message": "AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\n \n Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_complex_control_flow.c ...\n /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_complex_control_flow.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\n #include \n ^\n + /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_complex_control_flow.c:6:14: error: Uninitialized variable: args1 [uninitvar]\n + va_start(args1, count);...\n \n ...Full output truncated (39 lines hidden), use '-vv' to show", "text": "tests/test_checkvaarg_gaps.py:265: in test_va_list_complex_control_flow\n assert normalize_paths(result.combined_output) == normalize_paths((RESOURCES / 'va_list_complex_control_flow.golden').read_text())\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_complex_control_flow.c ...\nE /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_complex_control_flow.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\nE #include \nE ^\nE + /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_complex_control_flow.c:6:14: error: Uninitialized variable: args1 [uninitvar]\nE + va_start(args1, count);...\nE \nE ...Full output truncated (39 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_checkuninitvar_gaps.test_ternary_operator_with_uninit_branch": {"message": "assert 'error: Uninitialized variable: x [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:20: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:2:6: style: The function 'test_ternary_uninit' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:20: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:2:6: style: The function 'test_ternary_uninit' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:20: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:2:6: style: The function 'test_ternary_uninit' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr", "text": "tests/test_checkuninitvar_gaps.py:294: in test_ternary_operator_with_uninit_branch\n assert 'error: Uninitialized variable: x [legacyUninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: x [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:20: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:2:6: style: The function 'test_ternary_uninit' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:20: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:2:6: style: The function 'test_ternary_uninit' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:20: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_ternary_operator_with_uni2/test.c:2:6: style: The function 'test_ternary_uninit' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr"}, "1040f6b8a219/tests.test_checkstl_gaps.test_erase_dereference_same_statement": {"message": "AssertionError: assert 'eraseDereference' in ''", "text": "tests/test_checkstl_gaps.py:1215: in test_erase_dereference_same_statement\n assert \"eraseDereference\" in stderr\nE AssertionError: assert 'eraseDereference' in ''"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_cpp_range_based_for": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:312: in test_clangimport_cpp_range_based_for\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_cmdlineparser.test_project_configuration_empty": {"message": "AssertionError: assert 'cppcheck: er...aths given.\\n' == 'cppcheck: er...r is empty.\\n'\n \n - cppcheck: error: --project-configuration parameter is empty.\n + cppcheck: error: could not find or open any of the paths given.", "text": "tests/test_cmdlineparser.py:324: in test_project_configuration_empty\n assert result.stdout == (RESOURCES / \"error_project_configuration_empty.golden\").read_text()\nE AssertionError: assert 'cppcheck: er...aths given.\\n' == 'cppcheck: er...r is empty.\\n'\nE \nE - cppcheck: error: --project-configuration parameter is empty.\nE + cppcheck: error: could not find or open any of the paths given."}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_tmpfile_without_positioning": {"message": "AssertionError: assert '[IOWithoutPositioning]' in ''", "text": "tests/test_checkio_gaps_round2.py:551: in test_tmpfile_without_positioning\n assert \"[IOWithoutPositioning]\" in stderr\nE AssertionError: assert '[IOWithoutPositioning]' in ''"}, "1040f6b8a219/tests.test_errorlogger.test_guideline_and_classification_attributes": {"message": "AssertionError: guideline attribute missing\nassert 'guideline' in {'cwe': '457', 'file0': '/tmp/pytest-of-root/pytest-0/popen-gw4/test_guideline_and_classificat2/guideline_test.c', 'id': 'uninitvar', 'msg': 'Uninitialized variable: x', ...}\n + where {'cwe': '457', 'file0': '/tmp/pytest-of-root/pytest-0/popen-gw4/test_guideline_and_classificat2/guideline_test.c', 'id': 'uninitvar', 'msg': 'Uninitialized variable: x', ...} = .attrib", "text": "tests/test_errorlogger.py:1122: in test_guideline_and_classification_attributes\n assert 'guideline' in uninit_error.attrib, \"guideline attribute missing\"\nE AssertionError: guideline attribute missing\nE assert 'guideline' in {'cwe': '457', 'file0': '/tmp/pytest-of-root/pytest-0/popen-gw4/test_guideline_and_classificat2/guideline_test.c', 'id': 'uninitvar', 'msg': 'Uninitialized variable: x', ...}\nE + where {'cwe': '457', 'file0': '/tmp/pytest-of-root/pytest-0/popen-gw4/test_guideline_and_classificat2/guideline_test.c', 'id': 'uninitvar', 'msg': 'Uninitialized variable: x', ...} = .attrib"}, "1040f6b8a219/tests.test_cmdlineparser.test_project_with_source_files": {"message": "AssertionError: assert 'cppcheck: er...is unknown.\\n' == 'cppcheck: er...urce files.\\n'\n \n - cppcheck: error: --project cannot be used in conjunction with source files.\n + cppcheck: error: failed to load project '/tmp/tmp3xf5o9s5.json'. The format is unknown.", "text": "tests/test_cmdlineparser.py:421: in test_project_with_source_files\n assert result.stdout == (RESOURCES / \"error_project_with_files.golden\").read_text()\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == 'cppcheck: er...urce files.\\n'\nE \nE - cppcheck: error: --project cannot be used in conjunction with source files.\nE + cppcheck: error: failed to load project '/tmp/tmp3xf5o9s5.json'. The format is unknown."}, "1040f6b8a219/tests.test_checkstring_gaps.test_wide_char_plus_char": {"message": "AssertionError: assert 'strPlusChar' in ''", "text": "tests/test_checkstring_gaps.py:443: in test_wide_char_plus_char\n assert \"strPlusChar\" in stderr\nE AssertionError: assert 'strPlusChar' in ''"}, "1040f6b8a219/tests.test_checkstl_gaps.test_cstr_return_local_variable": {"message": "assert 'returnDanglingLifetime' in \"/tmp/tmpk0w8qr7e/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpk0w8qr7e/test.cpp:4:13: style: The function 'get_cstr' is never used. [unusedFunction]\\nconst char* get_cstr() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:242: in test_cstr_return_local_variable\n assert \"returnDanglingLifetime\" in stderr\nE assert 'returnDanglingLifetime' in \"/tmp/tmpk0w8qr7e/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpk0w8qr7e/test.cpp:4:13: style: The function 'get_cstr' is never used. [unusedFunction]\\nconst char* get_cstr() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkvaarg_gaps.test_va_list_conditional_paths": {"message": "assert 'va_list_usedBeforeStarted' in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:6:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:29:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:5:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:28:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:4:6: style: The function 'func_missing_va_end_in_branch' is never used. [unusedFunction]\\nvoid func_missing_va_end_in_branch(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:15:6: style: The function 'func_va_end_all_branches' is never used. [unusedFunction]\\nvoid func_va_end_all_branches(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:27:6: style: The function 'func_early_return_middle' is never used. [unusedFunction]\\nvoid func_early_return_middle(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:6:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:29:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:5:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:28:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:4:6: style: The function 'func_missing_va_end_in_branch' is never used. [unusedFunction]\\nvoid func_missing_va_end_in_branch(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:15:6: style: The function 'func_va_end_all_branches' is never used. [unusedFunction]\\nvoid func_va_end_all_branches(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:27:6: style: The function 'func_early_return_middle' is never used. [unusedFunction]\\nvoid func_early_return_middle(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:6:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:29:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:5:13: style: Variable 'args' is not assign...\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:28:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:4:6: style: The function 'func_missing_va_end_in_branch' is never used. [unusedFunction]\\nvoid func_missing_va_end_in_branch(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:15:6: style: The function 'func_va_end_all_branches' is never used. [unusedFunction]\\nvoid func_va_end_all_branches(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:27:6: style: The function 'func_early_return_middle' is never used. [unusedFunction]\\nvoid func_early_return_middle(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output", "text": "tests/test_checkvaarg_gaps.py:280: in test_va_list_conditional_paths\n assert 'va_list_usedBeforeStarted' in result.combined_output\nE assert 'va_list_usedBeforeStarted' in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:6:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:29:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:5:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:28:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:4:6: style: The function 'func_missing_va_end_in_branch' is never used. [unusedFunction]\\nvoid func_missing_va_end_in_branch(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:15:6: style: The function 'func_va_end_all_branches' is never used. [unusedFunction]\\nvoid func_va_end_all_branches(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:27:6: style: The function 'func_early_return_middle' is never used. [unusedFunction]\\nvoid func_early_return_middle(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:6:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:29:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:5:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:28:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:4:6: style: The function 'func_missing_va_end_in_branch' is never used. [unusedFunction]\\nvoid func_missing_va_end_in_branch(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:15:6: style: The function 'func_va_end_all_branches' is never used. [unusedFunction]\\nvoid func_va_end_all_branches(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:27:6: style: The function 'func_early_return_middle' is never used. [unusedFunction]\\nvoid func_early_return_middle(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:6:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:17:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:29:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:5:13: style: Variable 'args' is not assign...\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:16:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:28:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:4:6: style: The function 'func_missing_va_end_in_branch' is never used. [unusedFunction]\\nvoid func_missing_va_end_in_branch(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:15:6: style: The function 'func_va_end_all_branches' is never used. [unusedFunction]\\nvoid func_va_end_all_branches(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_conditional_paths.c:27:6: style: The function 'func_early_return_middle' is never used. [unusedFunction]\\nvoid func_early_return_middle(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output"}, "1040f6b8a219/tests.test_checkuninitvar_gaps.test_while_loop_may_not_execute": {"message": "assert 'warning: Uninitialized variable: x [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:8:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:2:6: style: The function 'test_while_maybe_init' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:8:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:2:6: style: The function 'test_while_maybe_init' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:8:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:2:6: style: The function 'test_while_maybe_init' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr", "text": "tests/test_checkuninitvar_gaps.py:316: in test_while_loop_may_not_execute\n assert 'warning: Uninitialized variable: x [uninitvar]' in result.stderr\nE assert 'warning: Uninitialized variable: x [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:8:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:2:6: style: The function 'test_while_maybe_init' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:8:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:2:6: style: The function 'test_while_maybe_init' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:8:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_while_loop_may_not_execut2/test.c:2:6: style: The function 'test_while_maybe_init' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr"}, "1040f6b8a219/tests.test_checkstl_gaps.test_mismatching_container_iterator_in_erase": {"message": "AssertionError: assert 'mismatchingContainerIterator' in ''", "text": "tests/test_checkstl_gaps.py:1239: in test_mismatching_container_iterator_in_erase\n assert \"mismatchingContainerIterator\" in stderr\nE AssertionError: assert 'mismatchingContainerIterator' in ''"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_cpp_static_cast": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:344: in test_clangimport_cpp_static_cast\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_cmdlineparser.test_relative_paths_empty": {"message": "assert 'cppcheck: er...aths given.\\n' == \"cppcheck: er...p=' option.\\n\"\n \n - cppcheck: error: no paths specified for the '-rp=' option.\n + cppcheck: error: could not find or open any of the paths given.", "text": "tests/test_cmdlineparser.py:342: in test_relative_paths_empty\n assert result.stdout == (RESOURCES / \"error_rp_no_paths.golden\").read_text()\nE assert 'cppcheck: er...aths given.\\n' == \"cppcheck: er...p=' option.\\n\"\nE \nE - cppcheck: error: no paths specified for the '-rp=' option.\nE + cppcheck: error: could not find or open any of the paths given."}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_ungetc_after_read_before_write": {"message": "assert '[IOWithoutPositioning]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'", "text": "tests/test_checkio_gaps_round2.py:562: in test_ungetc_after_read_before_write\n assert \"[IOWithoutPositioning]\" in stderr\nE assert '[IOWithoutPositioning]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'"}, "1040f6b8a219/tests.test_errorlogger.test_multiple_report_types": {"message": "AssertionError: assert 'guideline' in {'cwe': '457', 'file0': '/tmp/pytest-of-root/pytest-0/popen-gw4/test_multiple_report_types2/report_types.c', 'id': 'uninitvar', 'msg': 'Uninitialized variable: x', ...}\n + where {'cwe': '457', 'file0': '/tmp/pytest-of-root/pytest-0/popen-gw4/test_multiple_report_types2/report_types.c', 'id': 'uninitvar', 'msg': 'Uninitialized variable: x', ...} = .attrib", "text": "tests/test_errorlogger.py:1178: in test_multiple_report_types\n assert 'guideline' in uninit_certc.attrib\nE AssertionError: assert 'guideline' in {'cwe': '457', 'file0': '/tmp/pytest-of-root/pytest-0/popen-gw4/test_multiple_report_types2/report_types.c', 'id': 'uninitvar', 'msg': 'Uninitialized variable: x', ...}\nE + where {'cwe': '457', 'file0': '/tmp/pytest-of-root/pytest-0/popen-gw4/test_multiple_report_types2/report_types.c', 'id': 'uninitvar', 'msg': 'Uninitialized variable: x', ...} = .attrib"}, "1040f6b8a219/tests.test_checkstring_gaps.test_strcmp_not_operator_overlap": {"message": "AssertionError: assert 'overlappingStrcmp' in ''", "text": "tests/test_checkstring_gaps.py:467: in test_strcmp_not_operator_overlap\n assert \"overlappingStrcmp\" in stderr\nE AssertionError: assert 'overlappingStrcmp' in ''"}, "1040f6b8a219/tests.test_cppcheck_core.test_multiple_files_analysis": {"message": "assert 'memleak' in \"Checking /workspace/eval/test_resources/test_cppcheck_core/file1.c ...\\n1/3 files checked 26% done\\nChecking /workspace/eval/test_resources/test_cppcheck_core/file2.c ...\\n2/3 files checked 65% done\\nChecking /workspace/eval/test_resources/test_cppcheck_core/file3.cpp ...\\n3/3 files checked 100% done\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: error: Null pointer dereference: p [nullPointer]\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:4:14: note: Assignment 'p=NULL', assigned value is 0\\n int *p = NULL;\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: note: Null pointer dereference\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:10:8: error: Array 'arr[10]' accessed at index 15, which is out of bounds. [arrayIndexOutOfBounds]\\n arr[15] = 0; // Buffer overflow\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:4:10: style: Variable 'data' can be declared as pointer to const [constVariablePointer]\\n int *data = malloc(10 * sizeof(int));\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:4:15: style: Variable 'data' is assigned a value that is never used. [unreadVariable]\\n int *data = malloc(10 * sizeof(int));\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:10:13: style: Variable 'arr[15]' is assigned a value that is never used. [unreadVariable]\\n arr[15] = 0; // Buffer overflow\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file3.cpp:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = v[5]; // Out of bounds access\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:3:6: style: The function 'function1' is never used. [unusedFunction]\\nvoid function1() {\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:8:6: style: The function 'function2' is never used. [unusedFunction]\\nvoid function2() {\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file3.cpp:5:10: style: The function 'method' is never used. [unusedFunction]\\n void method() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_cppcheck_core.py:60: in test_multiple_files_analysis\n assert 'memleak' in output # from file2.c\nE assert 'memleak' in \"Checking /workspace/eval/test_resources/test_cppcheck_core/file1.c ...\\n1/3 files checked 26% done\\nChecking /workspace/eval/test_resources/test_cppcheck_core/file2.c ...\\n2/3 files checked 65% done\\nChecking /workspace/eval/test_resources/test_cppcheck_core/file3.cpp ...\\n3/3 files checked 100% done\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: error: Null pointer dereference: p [nullPointer]\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:4:14: note: Assignment 'p=NULL', assigned value is 0\\n int *p = NULL;\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: note: Null pointer dereference\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:10:8: error: Array 'arr[10]' accessed at index 15, which is out of bounds. [arrayIndexOutOfBounds]\\n arr[15] = 0; // Buffer overflow\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:4:10: style: Variable 'data' can be declared as pointer to const [constVariablePointer]\\n int *data = malloc(10 * sizeof(int));\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:4:15: style: Variable 'data' is assigned a value that is never used. [unreadVariable]\\n int *data = malloc(10 * sizeof(int));\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:10:13: style: Variable 'arr[15]' is assigned a value that is never used. [unreadVariable]\\n arr[15] = 0; // Buffer overflow\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file3.cpp:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = v[5]; // Out of bounds access\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:3:6: style: The function 'function1' is never used. [unusedFunction]\\nvoid function1() {\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:8:6: style: The function 'function2' is never used. [unusedFunction]\\nvoid function2() {\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file3.cpp:5:10: style: The function 'method' is never used. [unusedFunction]\\n void method() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkstl_gaps.test_mismatching_container_iterators": {"message": "assert 'mismatchingContainers' in \"/tmp/tmpw241sfix/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpw241sfix/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:272: in test_mismatching_container_iterators\n assert \"mismatchingContainers\" in stderr\nE assert 'mismatchingContainers' in \"/tmp/tmpw241sfix/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpw241sfix/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkvaarg_gaps.test_va_list_pointer_and_array_types": {"message": "assert 'va_end_missing' in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Variable 'args_ptr' can be declared as pointer to const [constVariablePointer]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Unused variable: args_ptr [unusedVariable]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:11:13: style: Unused variable: args [unusedVariable]\\n va_list args[2];\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:4:6: style: The function 'func_with_va_list_ptr' is never used. [unusedFunction]\\nvoid func_with_va_list_ptr(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:10:6: style: The function 'func_with_va_list_array' is never used. [unusedFunction]\\nvoid func_with_va_list_array(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:16:6: style: The function 'func_normal_va_list' is never used. [unusedFunction]\\nvoid func_normal_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Variable 'args_ptr' can be declared as pointer to const [constVariablePointer]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Unused variable: args_ptr [unusedVariable]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:11:13: style: Unused variable: args [unusedVariable]\\n va_list args[2];\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:4:6: style: The function 'func_with_va_list_ptr' is never used. [unusedFunction]\\nvoid func_with_va_list_ptr(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:10:6: style: The function 'func_with_va_list_array' is never used. [unusedFunction]\\nvoid func_with_va_list_array(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:16:6: style: The function 'func_normal_va_list' is never used. [unusedFunction]\\nvoid func_normal_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Variable 'args_ptr' can be declared as pointer to const [constVariablePointer]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Unused variable: args_ptr [unusedVariable]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:11:13: style: Unused variable: args [unusedVariable]\\n va_list args[2];\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:4:6: style: The function 'func_with_va_list_ptr' is never used. [unusedFunction]\\nvoid func_with_va_list_ptr(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:10:6: style: The function 'func_with_va_list_array' is never used. [unusedFunction]\\nvoid func_with_va_list_array(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:16:6: style: The function 'func_normal_va_list' is never used. [unusedFunction]\\nvoid func_normal_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output", "text": "tests/test_checkvaarg_gaps.py:307: in test_va_list_pointer_and_array_types\n assert 'va_end_missing' in result.combined_output\nE assert 'va_end_missing' in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Variable 'args_ptr' can be declared as pointer to const [constVariablePointer]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Unused variable: args_ptr [unusedVariable]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:11:13: style: Unused variable: args [unusedVariable]\\n va_list args[2];\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:4:6: style: The function 'func_with_va_list_ptr' is never used. [unusedFunction]\\nvoid func_with_va_list_ptr(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:10:6: style: The function 'func_with_va_list_array' is never used. [unusedFunction]\\nvoid func_with_va_list_array(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:16:6: style: The function 'func_normal_va_list' is never used. [unusedFunction]\\nvoid func_normal_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Variable 'args_ptr' can be declared as pointer to const [constVariablePointer]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Unused variable: args_ptr [unusedVariable]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:11:13: style: Unused variable: args [unusedVariable]\\n va_list args[2];\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:4:6: style: The function 'func_with_va_list_ptr' is never used. [unusedFunction]\\nvoid func_with_va_list_ptr(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:10:6: style: The function 'func_with_va_list_array' is never used. [unusedFunction]\\nvoid func_with_va_list_array(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:16:6: style: The function 'func_normal_va_list' is never used. [unusedFunction]\\nvoid func_normal_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Variable 'args_ptr' can be declared as pointer to const [constVariablePointer]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:5:14: style: Unused variable: args_ptr [unusedVariable]\\n va_list* args_ptr;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:11:13: style: Unused variable: args [unusedVariable]\\n va_list args[2];\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:4:6: style: The function 'func_with_va_list_ptr' is never used. [unusedFunction]\\nvoid func_with_va_list_ptr(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:10:6: style: The function 'func_with_va_list_array' is never used. [unusedFunction]\\nvoid func_with_va_list_array(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_pointer_array.c:16:6: style: The function 'func_normal_va_list' is never used. [unusedFunction]\\nvoid func_normal_va_list(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output"}, "1040f6b8a219/tests.test_checkuninitvar_gaps.test_nested_struct_member_uninit": {"message": "assert 'error: Uninitialized variable: obj.inner.value [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:12:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:11:18: style: Variable 'obj' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:10:6: style: The function 'test_nested_struct' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:12:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:11:18: style: Variable 'obj' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:10:6: style: The function 'test_nested_struct' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:12:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:11:18: style: Variable 'obj' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:10:6: style: The function 'test_nested_struct' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr", "text": "tests/test_checkuninitvar_gaps.py:393: in test_nested_struct_member_uninit\n assert 'error: Uninitialized variable: obj.inner.value [uninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: obj.inner.value [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:12:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:11:18: style: Variable 'obj' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:10:6: style: The function 'test_nested_struct' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:12:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:11:18: style: Variable 'obj' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:10:6: style: The function 'test_nested_struct' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:12:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:11:18: style: Variable 'obj' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_nested_struct_member_unin2/test.c:10:6: style: The function 'test_nested_struct' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr"}, "1040f6b8a219/tests.test_checkstl_gaps.test_mismatching_containers_in_comparison": {"message": "AssertionError: assert 'mismatchingContainers' in ''", "text": "tests/test_checkstl_gaps.py:1265: in test_mismatching_containers_in_comparison\n assert \"mismatchingContainers\" in stderr\nE AssertionError: assert 'mismatchingContainers' in ''"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_cpp_operator_overload": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:378: in test_clangimport_cpp_operator_overload\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_clearerr_on_closed_file": {"message": "assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'", "text": "tests/test_checkio_gaps_round2.py:573: in test_clearerr_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'"}, "1040f6b8a219/tests.test_exceptionsafety_gaps.test_rethrow_multiple_catches": {"message": "AssertionError: assert 'rethrowNoCurrentException' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/multiple_catches.cpp ...\\n'", "text": "tests/test_exceptionsafety_gaps.py:337: in test_rethrow_multiple_catches\n assert 'rethrowNoCurrentException' in output\nE AssertionError: assert 'rethrowNoCurrentException' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/multiple_catches.cpp ...\\n'"}, "1040f6b8a219/tests.test_checkstring_gaps.test_unequal_string_literal_comparisons": {"message": "AssertionError: assert 'staticStringCompare' in ''", "text": "tests/test_checkstring_gaps.py:494: in test_unequal_string_literal_comparisons\n assert \"staticStringCompare\" in stderr\nE AssertionError: assert 'staticStringCompare' in ''"}, "1040f6b8a219/tests.test_errorlogger.test_plist_with_multiple_errors": {"message": "assert 0 == 1\n + where 0 = len([])", "text": "tests/test_errorlogger.py:1648: in test_plist_with_multiple_errors\n assert len(plist_files) == 1\nE assert 0 == 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_checkstl_gaps.test_mismatching_iterators_in_algorithm": {"message": "assert 'mismatchingContainers' in \"/tmp/tmplvibkfzv/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmplvibkfzv/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmplvibkfzv/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:298: in test_mismatching_iterators_in_algorithm\n assert \"mismatchingContainers\" in stderr\nE assert 'mismatchingContainers' in \"/tmp/tmplvibkfzv/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmplvibkfzv/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmplvibkfzv/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkvaarg_gaps.test_va_list_with_lambda_expressions": {"message": "assert \"va_list 'args' was opened but not closed by va_end()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:3:6: style: The function 'func_with_lambda' is never used. [unusedFunction]\\nvoid func_with_lambda(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:16:6: style: The function 'func_lambda_missing_va_end' is never used. [unusedFunction]\\nvoid func_lambda_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\n + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:3:6: style: The function 'func_with_lambda' is never used. [unusedFunction]\\nvoid func_with_lambda(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:16:6: style: The function 'func_lambda_missing_va_end' is never used. [unusedFunction]\\nvoid func_lambda_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:3:6: style: The function 'func_with_lambda' is never used. [unusedFunction]\\nvoid func_with_lambda(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:16:6: style: The function 'func_lambda_missing_va_end' is never used. [unusedFunction]\\nvoid func_lambda_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output", "text": "tests/test_checkvaarg_gaps.py:326: in test_va_list_with_lambda_expressions\n assert \"va_list 'args' was opened but not closed by va_end()\" in result.combined_output\nE assert \"va_list 'args' was opened but not closed by va_end()\" in \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:3:6: style: The function 'func_with_lambda' is never used. [unusedFunction]\\nvoid func_with_lambda(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:16:6: style: The function 'func_lambda_missing_va_end' is never used. [unusedFunction]\\nvoid func_lambda_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"\nE + where \"Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp ...\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:3:6: style: The function 'func_with_lambda' is never used. [unusedFunction]\\nvoid func_with_lambda(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:16:6: style: The function 'func_lambda_missing_va_end' is never used. [unusedFunction]\\nvoid func_lambda_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\" = CompletedProcess(args=['./executable', '--enable=all', '/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp'], returncode=0, stdout='Checking /workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp ...\\n', stderr=\"/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:1:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:5:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:18:14: error: Uninitialized variable: args [uninitvar]\\n va_start(args, count);\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:4:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:17:13: style: Variable 'args' is not assigned a value. [unassignedVariable]\\n va_list args;\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:3:6: style: The function 'func_with_lambda' is never used. [unusedFunction]\\nvoid func_with_lambda(int count, ...) {\\n ^\\n/workspace/eval/test_resources/test_checkvaarg_gaps/va_list_with_lambda.cpp:16:6: style: The function 'func_lambda_missing_va_end' is never used. [unusedFunction]\\nvoid func_lambda_missing_va_end(int count, ...) {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\").combined_output"}, "1040f6b8a219/tests.test_checkuninitvar_gaps.test_pointer_to_uninitialized_array": {"message": "assert 'unassignedVariable' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:2:6: style: The function 'test_pointer_to_array' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:2:6: style: The function 'test_pointer_to_array' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:2:6: style: The function 'test_pointer_to_array' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr", "text": "tests/test_checkuninitvar_gaps.py:413: in test_pointer_to_uninitialized_array\n assert 'unassignedVariable' in result.stderr\nE assert 'unassignedVariable' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:2:6: style: The function 'test_pointer_to_array' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:2:6: style: The function 'test_pointer_to_array' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:5:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_pointer_to_uninitialized_2/test.c:2:6: style: The function 'test_pointer_to_array' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr"}, "1040f6b8a219/tests.test_cppcheck_core.test_dump_file_generation": {"message": "assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tests/test_cppcheck_core.py:159: in test_dump_file_generation\n assert '' in dump_content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_invalid_iterator_after_erase_in_loop": {"message": "AssertionError: assert 'invalidContainer' in ''", "text": "tests/test_checkstl_gaps.py:1293: in test_invalid_iterator_after_erase_in_loop\n assert \"invalidContainer\" in stderr\nE AssertionError: assert 'invalidContainer' in ''"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_cpp_template_function": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:411: in test_clangimport_cpp_template_function\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_feof_on_closed_file": {"message": "assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'", "text": "tests/test_checkio_gaps_round2.py:584: in test_feof_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'"}, "1040f6b8a219/tests.test_fwdanalysis.test_used_assignment_with_return_value": {"message": "AssertionError: assert 'unreadVariable' not in '/tmp/test.c...eadVariable]'\n \n 'unreadVariable' is contained here:\n /tmp/test.c:3:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\n /tmp/test.c:2:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\n ? ++++++++++++++", "text": "tests/test_fwdanalysis.py:99: in test_used_assignment_with_return_value\n assert \"unreadVariable\" not in normalized\nE AssertionError: assert 'unreadVariable' not in '/tmp/test.c...eadVariable]'\nE \nE 'unreadVariable' is contained here:\nE /tmp/test.c:3:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\nE /tmp/test.c:2:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\nE ? ++++++++++++++"}, "1040f6b8a219/tests.test_checkstring_gaps.test_sprintf_with_cast_overlap": {"message": "AssertionError: assert 'sprintfOverlappingData' in ''", "text": "tests/test_checkstring_gaps.py:516: in test_sprintf_with_cast_overlap\n assert \"sprintfOverlappingData\" in stderr\nE AssertionError: assert 'sprintfOverlappingData' in ''"}, "1040f6b8a219/tests.test_exceptionsafety_gaps.test_destructor_throw_noexcept": {"message": "AssertionError: assert 'exceptThrowInDestructor' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/destructor_throw.cpp ...\\n'", "text": "tests/test_exceptionsafety_gaps.py:42: in test_destructor_throw_noexcept\n assert 'exceptThrowInDestructor' in output\nE AssertionError: assert 'exceptThrowInDestructor' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/destructor_throw.cpp ...\\n'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_iterator_from_wrong_container": {"message": "assert 'mismatchingContainerIterator' in \"/tmp/tmpgtky2eqw/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpgtky2eqw/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:323: in test_iterator_from_wrong_container\n assert \"mismatchingContainerIterator\" in stderr\nE assert 'mismatchingContainerIterator' in \"/tmp/tmpgtky2eqw/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpgtky2eqw/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_clangimport.test_clangimport_basic_function": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport.py:33: in test_clangimport_basic_function\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkuninitvar_gaps.test_cpp_reference_to_uninit": {"message": "assert 'error: Uninitialized variable: ref [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:4:16: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:2:6: style: The function 'test_reference' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:4:16: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:2:6: style: The function 'test_reference' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:4:16: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:2:6: style: The function 'test_reference' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr", "text": "tests/test_checkuninitvar_gaps.py:430: in test_cpp_reference_to_uninit\n assert 'error: Uninitialized variable: ref [uninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: ref [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:4:16: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:2:6: style: The function 'test_reference' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:4:16: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:2:6: style: The function 'test_reference' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:4:16: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_cpp_reference_to_uninit2/test.cpp:2:6: style: The function 'test_reference' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr"}, "1040f6b8a219/tests.test_cppcheck_core.test_syntax_error_handling": {"message": "AssertionError: assert 'syntaxError' in 'Checking /workspace/eval/test_resources/test_cppcheck_core/syntax_error.c ...\\n'", "text": "tests/test_cppcheck_core.py:220: in test_syntax_error_handling\n assert 'syntaxError' in output\nE AssertionError: assert 'syntaxError' in 'Checking /workspace/eval/test_resources/test_cppcheck_core/syntax_error.c ...\\n'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_same_iterator_expression_in_algorithm": {"message": "AssertionError: assert 'sameIteratorExpression' in ''", "text": "tests/test_checkstl_gaps.py:1321: in test_same_iterator_expression_in_algorithm\n assert \"sameIteratorExpression\" in stderr\nE AssertionError: assert 'sameIteratorExpression' in ''"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_cpp_initializer_list": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:446: in test_clangimport_cpp_initializer_list\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkio_gaps_round2.test_ferror_on_closed_file": {"message": "assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'", "text": "tests/test_checkio_gaps_round2.py:595: in test_ferror_on_closed_file\n assert \"[useClosedFile]\" in stderr\nE assert '[useClosedFile]' in '/workspace/eval/test_resources/test_checkio_gaps_round2/windows_file_functions.c:27:5: warning: Return value of function freopen_s() is not used. [ignoredReturnValue]\\n freopen_s(&fp, \"test2.dat\", \"w\", fp);\\n ^\\n'"}, "1040f6b8a219/tests.test_checkstring_gaps.test_sprintf_multiple_format_params": {"message": "AssertionError: assert 'sprintfOverlappingData' in ''", "text": "tests/test_checkstring_gaps.py:539: in test_sprintf_multiple_format_params\n assert \"sprintfOverlappingData\" in stderr\nE AssertionError: assert 'sprintfOverlappingData' in ''"}, "1040f6b8a219/tests.test_exceptionsafety_gaps.test_dealloc_throw_inconclusive": {"message": "AssertionError: assert 'exceptDeallocThrow' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/dealloc_throw2.cpp ...\\n'", "text": "tests/test_exceptionsafety_gaps.py:66: in test_dealloc_throw_inconclusive\n assert 'exceptDeallocThrow' in output\nE AssertionError: assert 'exceptDeallocThrow' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/dealloc_throw2.cpp ...\\n'"}, "1040f6b8a219/tests.test_fwdanalysis.test_struct_member_assignment": {"message": "assert 's.a' in \"/tmp/test.c:1:23: style: struct member 'S::b' is never used. [unusedStructMember]\"", "text": "tests/test_fwdanalysis.py:220: in test_struct_member_assignment\n assert \"s.a\" in normalized\nE assert 's.a' in \"/tmp/test.c:1:23: style: struct member 'S::b' is never used. [unusedStructMember]\""}, "1040f6b8a219/tests.test_checkstl_gaps.test_find_result_used_as_bool": {"message": "assert 'stlIfFind' in \"/tmp/tmpfei0xl8v/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpfei0xl8v/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpfei0xl8v/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:349: in test_find_result_used_as_bool\n assert \"stlIfFind\" in stderr\nE assert 'stlIfFind' in \"/tmp/tmpfei0xl8v/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpfei0xl8v/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpfei0xl8v/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkuninitvar_gaps.test_logical_and_short_circuit": {"message": "assert 'error: Uninitialized variable: x [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:9: style: Condition 'y' is always false [knownConditionTrueFalse]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:14: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:2:6: style: The function 'test_logical_and' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:9: style: Condition 'y' is always false [knownConditionTrueFalse]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:14: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:2:6: style: The function 'test_logical_and' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:9: style: Condition 'y' is always false [knownConditionTrueFalse]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:14: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:2:6: style: The function 'test_logical_and' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr", "text": "tests/test_checkuninitvar_gaps.py:451: in test_logical_and_short_circuit\n assert 'error: Uninitialized variable: x [legacyUninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: x [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:9: style: Condition 'y' is always false [knownConditionTrueFalse]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:14: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:2:6: style: The function 'test_logical_and' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:9: style: Condition 'y' is always false [knownConditionTrueFalse]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:14: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:2:6: style: The function 'test_logical_and' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:9: style: Condition 'y' is always false [knownConditionTrueFalse]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:5:14: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:3:9: style: Variable 'x' is not assigned a value. [unassignedVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_logical_and_short_circuit2/test.c:2:6: style: The function 'test_logical_and' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr"}, "1040f6b8a219/tests.test_clangimport.test_clangimport_syntax_error": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport.py:64: in test_clangimport_syntax_error\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_cppcheck_core.test_suppressions_file": {"message": "AssertionError: assert 'nullPointer' not in 'Checking /w...ce\\n ^\\n'\n \n 'nullPointer' is contained here:\n Checking /workspace/eval/test_resources/test_cppcheck_core/file1.c ...\n /workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: error: Null pointer dereference: p [nullPointer]\n ? +++++++++++\n *p = 5; // Null pointer dereference\n ^...\n \n ...Full output truncated (6 lines hidden), use '-vv' to show", "text": "tests/test_cppcheck_core.py:260: in test_suppressions_file\n assert 'nullPointer' not in output\nE AssertionError: assert 'nullPointer' not in 'Checking /w...ce\\n ^\\n'\nE \nE 'nullPointer' is contained here:\nE Checking /workspace/eval/test_resources/test_cppcheck_core/file1.c ...\nE /workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: error: Null pointer dereference: p [nullPointer]\nE ? +++++++++++\nE *p = 5; // Null pointer dereference\nE ^...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_checkstring_gaps.test_cstr_same_variable_compare": {"message": "AssertionError: assert 'stringCompare' in ''", "text": "tests/test_checkstring_gaps.py:84: in test_cstr_same_variable_compare\n assert \"stringCompare\" in stderr\nE AssertionError: assert 'stringCompare' in ''"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_cpp_member_call": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:481: in test_clangimport_cpp_member_call\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_harvest_helloworld.test_basepath_relative_path": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_helloworld.py:229: in test_basepath_relative_path\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_checktype_gaps.test_shift_signed_bits_c": {"message": "assert 'Shifting signed 32-bit value by 31 bits is undefined behaviour' in \"Checking /workspace/eval/test_resources/test_checktype/shift_signed_31.c ...\\n/workspace/eval/test_resources/test_checktype/shift_signed_31.c:3:15: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned]\\n int y = x << 31;\\n ^\\n/workspace/eval/test_resources/test_checktype/shift_signed_31.c:3:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = x << 31;\\n ^\\n/workspace/eval/test_resources/test_checktype/shift_signed_31.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:68: in test_shift_signed_bits_c\n assert \"Shifting signed 32-bit value by 31 bits is undefined behaviour\" in output\nE assert 'Shifting signed 32-bit value by 31 bits is undefined behaviour' in \"Checking /workspace/eval/test_resources/test_checktype/shift_signed_31.c ...\\n/workspace/eval/test_resources/test_checktype/shift_signed_31.c:3:15: portability: Shifting signed 32-bit value by 31 bits is implementation-defined behaviour [shiftTooManyBitsSigned]\\n int y = x << 31;\\n ^\\n/workspace/eval/test_resources/test_checktype/shift_signed_31.c:3:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = x << 31;\\n ^\\n/workspace/eval/test_resources/test_checktype/shift_signed_31.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_exceptionsafety_gaps.test_rethrow_copy": {"message": "AssertionError: assert 'exceptRethrowCopy' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/rethrow_copy.cpp ...\\n'", "text": "tests/test_exceptionsafety_gaps.py:84: in test_rethrow_copy\n assert 'exceptRethrowCopy' in output\nE AssertionError: assert 'exceptRethrowCopy' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/rethrow_copy.cpp ...\\n'"}, "1040f6b8a219/tests.test_fwdanalysis.test_array_element_assignment": {"message": "assert 'redundantAssignment' in \"/tmp/test.c:3:12: style: Variable 'arr[0]' is assigned a value that is never used. [unreadVariable]\\n/tmp/test.c:4:12: style: Variable 'arr[0]' is assigned a value that is never used. [unreadVariable]\"", "text": "tests/test_fwdanalysis.py:241: in test_array_element_assignment\n assert \"redundantAssignment\" in normalized\nE assert 'redundantAssignment' in \"/tmp/test.c:3:12: style: Variable 'arr[0]' is assigned a value that is never used. [unreadVariable]\\n/tmp/test.c:4:12: style: Variable 'arr[0]' is assigned a value that is never used. [unreadVariable]\""}, "1040f6b8a219/tests.test_checkstl_gaps.test_string_find_inefficient_check": {"message": "assert 'stlIfStrFind' in \"/tmp/tmp8goghu0o/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp8goghu0o/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:373: in test_string_find_inefficient_check\n assert \"stlIfStrFind\" in stderr\nE assert 'stlIfStrFind' in \"/tmp/tmp8goghu0o/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp8goghu0o/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_clangimport.test_clangimport_cpp_features": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport.py:105: in test_clangimport_cpp_features\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkuninitvar_gaps.test_self_assignment_with_uninit": {"message": "assert 'error: Uninitialized variable: x [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Redundant assignment of 'x' to itself. [selfAssignment]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:2:6: style: The function 'test_self_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Redundant assignment of 'x' to itself. [selfAssignment]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:2:6: style: The function 'test_self_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Redundant assignment of 'x' to itself. [selfAssignment]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:2:6: style: The function 'test_self_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr", "text": "tests/test_checkuninitvar_gaps.py:563: in test_self_assignment_with_uninit\n assert 'error: Uninitialized variable: x [uninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: x [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Redundant assignment of 'x' to itself. [selfAssignment]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:2:6: style: The function 'test_self_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Redundant assignment of 'x' to itself. [selfAssignment]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:2:6: style: The function 'test_self_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Redundant assignment of 'x' to itself. [selfAssignment]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_self_assignment_with_unin2/test.c:2:6: style: The function 'test_self_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr"}, "1040f6b8a219/tests.test_cppcheck_core.test_template_gcc_format": {"message": "assert 'warning:' in \"Checking /workspace/eval/test_resources/test_cppcheck_core/file1.c ...\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: error: Null pointer dereference: p [nullPointer]\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:4:14: note: Assignment 'p=NULL', assigned value is 0\\n int *p = NULL;\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: note: Null pointer dereference\\n *p = 5; // Null pointer dereference\\n ^\\n\"", "text": "tests/test_cppcheck_core.py:308: in test_template_gcc_format\n assert 'warning:' in output\nE assert 'warning:' in \"Checking /workspace/eval/test_resources/test_cppcheck_core/file1.c ...\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: error: Null pointer dereference: p [nullPointer]\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:4:14: note: Assignment 'p=NULL', assigned value is 0\\n int *p = NULL;\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: note: Null pointer dereference\\n *p = 5; // Null pointer dereference\\n ^\\n\""}, "1040f6b8a219/tests.test_checkstring_gaps.test_qt_string_compare": {"message": "AssertionError: assert 'staticStringCompare' in ''", "text": "tests/test_checkstring_gaps.py:106: in test_qt_string_compare\n assert \"staticStringCompare\" in stderr\nE AssertionError: assert 'staticStringCompare' in ''"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_character_literals": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:513: in test_clangimport_character_literals\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_harvest_helloworld.test_basepath_absolute_path": {"message": "AssertionError: cppcheck: error: could not find or open any of the paths given.\n \nassert 1 == 0", "text": "tests/test_harvest_helloworld.py:243: in test_basepath_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find or open any of the paths given.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_exceptionsafety_gaps.test_catch_exception_by_value": {"message": "AssertionError: assert 'catchExceptionByValue' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/catch_by_value.cpp ...\\n'", "text": "tests/test_exceptionsafety_gaps.py:104: in test_catch_exception_by_value\n assert 'catchExceptionByValue' in output\nE AssertionError: assert 'catchExceptionByValue' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/catch_by_value.cpp ...\\n'"}, "1040f6b8a219/tests.test_checktype_gaps.test_sign_conversion_negative_value": {"message": "assert 'signConversion' in \"Checking /workspace/eval/test_resources/test_checktype/sign_conversion.c ...\\n/workspace/eval/test_resources/test_checktype/sign_conversion.c:4:20: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n unsigned int z = x * y;\\n ^\\n/workspace/eval/test_resources/test_checktype/sign_conversion.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:109: in test_sign_conversion_negative_value\n assert \"signConversion\" in output\nE assert 'signConversion' in \"Checking /workspace/eval/test_resources/test_checktype/sign_conversion.c ...\\n/workspace/eval/test_resources/test_checktype/sign_conversion.c:4:20: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n unsigned int z = x * y;\\n ^\\n/workspace/eval/test_resources/test_checktype/sign_conversion.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkstl_gaps.test_map_find_result_as_bool": {"message": "assert 'stlIfFind' in \"/tmp/tmpwzi8h2vh/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpwzi8h2vh/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:398: in test_map_find_result_as_bool\n assert \"stlIfFind\" in stderr\nE assert 'stlIfFind' in \"/tmp/tmpwzi8h2vh/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpwzi8h2vh/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_fwdanalysis.test_do_while_dead_store": {"message": "AssertionError: assert 'unreadVariable' in ''", "text": "tests/test_fwdanalysis.py:309: in test_do_while_dead_store\n assert \"unreadVariable\" in normalized\nE AssertionError: assert 'unreadVariable' in ''"}, "1040f6b8a219/tests.test_clangimport.test_clangimport_with_include": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport.py:140: in test_clangimport_with_include\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkuninitvar_gaps.test_compound_assignment_uninit": {"message": "assert 'error: Uninitialized variable: x [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:4:5: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:2:6: style: The function 'test_compound_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:4:5: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:2:6: style: The function 'test_compound_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:4:5: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:2:6: style: The function 'test_compound_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr", "text": "tests/test_checkuninitvar_gaps.py:580: in test_compound_assignment_uninit\n assert 'error: Uninitialized variable: x [legacyUninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: x [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:4:5: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:2:6: style: The function 'test_compound_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:4:5: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:2:6: style: The function 'test_compound_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:4:5: error: Uninitialized variable: x [uninitvar]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_compound_assignment_unini2/test.c:2:6: style: The function 'test_compound_assign' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr"}, "1040f6b8a219/tests.test_cppcheck_core.test_parallel_jobs": {"message": "assert 'memleak' in \"/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: error: Null pointer dereference: p [nullPointer]\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:4:14: note: Assignment 'p=NULL', assigned value is 0\\n int *p = NULL;\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: note: Null pointer dereference\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:10:8: error: Array 'arr[10]' accessed at index 15, which is out of bounds. [arrayIndexOutOfBounds]\\n arr[15] = 0; // Buffer overflow\\n ^\\n\"", "text": "tests/test_cppcheck_core.py:328: in test_parallel_jobs\n assert 'memleak' in output\nE assert 'memleak' in \"/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: error: Null pointer dereference: p [nullPointer]\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:4:14: note: Assignment 'p=NULL', assigned value is 0\\n int *p = NULL;\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file1.c:5:6: note: Null pointer dereference\\n *p = 5; // Null pointer dereference\\n ^\\n/workspace/eval/test_resources/test_cppcheck_core/file2.c:10:8: error: Array 'arr[10]' accessed at index 15, which is out of bounds. [arrayIndexOutOfBounds]\\n arr[15] = 0; // Buffer overflow\\n ^\\n\""}, "1040f6b8a219/tests.test_checkstring_gaps.test_string_pointer_comparison": {"message": "assert 'staticStringCompare' in '/tmp/tmpqyig8o9o/test.c:7:13: warning: String literal compared with variable \\'str\\'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare]\\n if (str == \"test\") {\\n ^\\n'", "text": "tests/test_checkstring_gaps.py:133: in test_string_pointer_comparison\n assert \"staticStringCompare\" in stderr\nE assert 'staticStringCompare' in '/tmp/tmpqyig8o9o/test.c:7:13: warning: String literal compared with variable \\'str\\'. Did you intend to use strcmp() instead? [literalWithCharPtrCompare]\\n if (str == \"test\") {\\n ^\\n'"}, "1040f6b8a219/tests.test_harvest_clang_import.test_ast_control_flow": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:156: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_ast": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:164: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_log": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:169: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_warning": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:185: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_c": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:197: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_cpp": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:219: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_unk": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:241: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_hdr": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:263: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_hdr_probe": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:285: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_inc": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:308: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_def": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:333: clang not available or Windows platform"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_floating_point": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:544: in test_clangimport_floating_point\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_include": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:356: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_enforce_c": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:382: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_enforce_cpp": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:405: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_std_c": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:428: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_std_c_builddir": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:451: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_std_cpp": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:477: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_std_c_enforce": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:500: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_std_cpp_enforce": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:523: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_std_c_enforce_alias": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:546: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_std_c_enforce_alias_2": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:569: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_helloworld.test_vs_project_local_path": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'", "text": "tests/test_harvest_helloworld.py:253: in test_vs_project_local_path\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'"}, "1040f6b8a219/tests.test_harvest_clang_import.test_cmd_std_cpp_enforce_alias": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:592: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_debug_clang_output": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:615: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_debug_clang_output_failure_exitcode": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:638: clang not available or Windows platform"}, "1040f6b8a219/tests.test_exceptionsafety_gaps.test_nothrow_throws": {"message": "AssertionError: assert 'throwInNoexceptFunction' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/nothrow_throws.cpp ...\\n'", "text": "tests/test_exceptionsafety_gaps.py:123: in test_nothrow_throws\n assert 'throwInNoexceptFunction' in output\nE AssertionError: assert 'throwInNoexceptFunction' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/nothrow_throws.cpp ...\\n'"}, "1040f6b8a219/tests.test_checktype_gaps.test_long_cast_assignment": {"message": "assert 'truncLongCastAssignment' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_assign3.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_assign3.c:3:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:130: in test_long_cast_assignment\n assert \"truncLongCastAssignment\" in output\nE assert 'truncLongCastAssignment' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_assign3.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_assign3.c:3:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkstl_gaps.test_find_then_insert_inefficient": {"message": "assert 'stlFindInsert' in \"/tmp/tmp9k2k3g0s/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp9k2k3g0s/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:422: in test_find_then_insert_inefficient\n assert \"stlFindInsert\" in stderr\nE assert 'stlFindInsert' in \"/tmp/tmp9k2k3g0s/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp9k2k3g0s/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_fwdanalysis.test_compound_assignment_dead_store": {"message": "AssertionError: assert 'unreadVariable' in ''", "text": "tests/test_fwdanalysis.py:368: in test_compound_assignment_dead_store\n assert \"unreadVariable\" in normalized\nE AssertionError: assert 'unreadVariable' in ''"}, "1040f6b8a219/tests.test_clangimport.test_clangimport_operators": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport.py:180: in test_clangimport_operators\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkstring_gaps.test_char_pointer_comparison": {"message": "AssertionError: assert 'charLiteralWithCharPtrCompare' in ''", "text": "tests/test_checkstring_gaps.py:152: in test_char_pointer_comparison\n assert \"charLiteralWithCharPtrCompare\" in stderr\nE AssertionError: assert 'charLiteralWithCharPtrCompare' in ''"}, "1040f6b8a219/tests.test_checkuninitvar_gaps.test_multidimensional_array_uninit": {"message": "assert 'error: Uninitialized variable: arr [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:2:6: style: The function 'test_array_2d' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:2:6: style: The function 'test_array_2d' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:2:6: style: The function 'test_array_2d' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr", "text": "tests/test_checkuninitvar_gaps.py:631: in test_multidimensional_array_uninit\n assert 'error: Uninitialized variable: arr [legacyUninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: arr [legacyUninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:2:6: style: The function 'test_array_2d' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:2:6: style: The function 'test_array_2d' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:4:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_multidimensional_array_un2/test.c:2:6: style: The function 'test_array_2d' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_typedef": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:581: in test_clangimport_typedef\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_harvest_helloworld.test_vs_project_local_path_select_one": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'", "text": "tests/test_harvest_helloworld.py:266: in test_vs_project_local_path_select_one\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'"}, "1040f6b8a219/tests.test_exceptionsafety_gaps.test_rethrow_no_current_exception": {"message": "AssertionError: assert 'rethrowNoCurrentException' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/rethrow_no_current.cpp ...\\n'", "text": "tests/test_exceptionsafety_gaps.py:141: in test_rethrow_no_current_exception\n assert 'rethrowNoCurrentException' in output\nE AssertionError: assert 'rethrowNoCurrentException' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/rethrow_no_current.cpp ...\\n'"}, "1040f6b8a219/tests.test_harvest_dumpfile.test_libraries": {"message": "assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tests/test_harvest_dumpfile.py:37: in test_libraries\n assert '' in dump\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_checktype_gaps.test_long_cast_return": {"message": "assert 'truncLongCastReturn' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_return.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_return.c:3:11: style: The function 'test' is never used. [unusedFunction]\\nlong long test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:150: in test_long_cast_return\n assert \"truncLongCastReturn\" in output\nE assert 'truncLongCastReturn' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_return.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_return.c:3:11: style: The function 'test' is never used. [unusedFunction]\\nlong long test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkstl_gaps.test_useless_substr_entire_string": {"message": "assert 'uselessCallsSubstr' in \"/tmp/tmp9xf1u5sg/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp9xf1u5sg/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:445: in test_useless_substr_entire_string\n assert \"uselessCallsSubstr\" in stderr\nE assert 'uselessCallsSubstr' in \"/tmp/tmp9xf1u5sg/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp9xf1u5sg/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_fwdanalysis.test_increment_decrement_dead_store": {"message": "AssertionError: assert 'unreadVariable' in ''", "text": "tests/test_fwdanalysis.py:384: in test_increment_decrement_dead_store\n assert \"unreadVariable\" in normalized\nE AssertionError: assert 'unreadVariable' in ''"}, "1040f6b8a219/tests.test_checkstring_gaps.test_string_literal_as_boolean": {"message": "AssertionError: assert 'incorrectStringBooleanError' in ''", "text": "tests/test_checkstring_gaps.py:199: in test_string_literal_as_boolean\n assert \"incorrectStringBooleanError\" in stderr\nE AssertionError: assert 'incorrectStringBooleanError' in ''"}, "1040f6b8a219/tests.test_checkuninitvar_gaps.test_address_of_then_deref_uninit": {"message": "assert 'error: Uninitialized variable: *p [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:2:6: style: The function 'test_addressof' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:2:6: style: The function 'test_addressof' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:2:6: style: The function 'test_addressof' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr", "text": "tests/test_checkuninitvar_gaps.py:665: in test_address_of_then_deref_uninit\n assert 'error: Uninitialized variable: *p [uninitvar]' in result.stderr\nE assert 'error: Uninitialized variable: *p [uninitvar]' in \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:2:6: style: The function 'test_addressof' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:2:6: style: The function 'test_addressof' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\" = CompletedProcess(args=['./executable', '--enable=all', '--template={file}:{line}:{column}: {severity}: {message} [{id}]', '/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:5:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n/tmp/pytest-of-root/pytest-0/popen-gw3/test_address_of_then_deref_uni2/test.c:2:6: style: The function 'test_addressof' is never used. [unusedFunction]\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\").stderr"}, "1040f6b8a219/tests.test_clangimport.test_clangimport_control_flow": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport.py:232: in test_clangimport_control_flow\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_sizeof": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:610: in test_clangimport_sizeof\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_exceptionsafety_gaps.test_unhandled_exception_specification": {"message": "AssertionError: assert 'unhandledExceptionSpecification' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/unhandled_exception_spec.cpp ...\\n'", "text": "tests/test_exceptionsafety_gaps.py:161: in test_unhandled_exception_specification\n assert 'unhandledExceptionSpecification' in output\nE AssertionError: assert 'unhandledExceptionSpecification' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/unhandled_exception_spec.cpp ...\\n'"}, "1040f6b8a219/tests.test_checktype_gaps.test_float_to_integer_overflow": {"message": "assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_to_int_overflow.c ...\\n/workspace/eval/test_resources/test_checktype/float_to_int_overflow.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = (int)f;\\n ^\\n/workspace/eval/test_resources/test_checktype/float_to_int_overflow.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:170: in test_float_to_integer_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_to_int_overflow.c ...\\n/workspace/eval/test_resources/test_checktype/float_to_int_overflow.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = (int)f;\\n ^\\n/workspace/eval/test_resources/test_checktype/float_to_int_overflow.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_helloworld.test_vs_project_local_path_select_one_multiple": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'", "text": "tests/test_harvest_helloworld.py:280: in test_vs_project_local_path_select_one_multiple\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'"}, "1040f6b8a219/tests.test_harvest_lookup.test_config_invalid": {"message": "AssertionError: looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\n looking for '/tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/tempbin/cppcheck.cfg'\n no configuration found\n Checking /tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/test.c ...\n \nassert 0 == 1\n + where 0 = CompletedProcess(args=['/tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/tempbin/executable', '--debug-lookup=config', '/tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/test.c'], returncode=0, stdout=b\"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\\nlooking for '/tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/tempbin/cppcheck.cfg'\\nno configuration found\\nChecking /tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/test.c ...\\n\", stderr=b'').returncode", "text": "tests/test_harvest_lookup.py:826: in test_config_invalid\n assert result.returncode == 1, stdout if stdout else stderr\nE AssertionError: looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\nE looking for '/tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/tempbin/cppcheck.cfg'\nE no configuration found\nE Checking /tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/test.c ...\nE \nE assert 0 == 1\nE + where 0 = CompletedProcess(args=['/tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/tempbin/executable', '--debug-lookup=config', '/tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/test.c'], returncode=0, stdout=b\"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\\nlooking for '/tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/tempbin/cppcheck.cfg'\\nno configuration found\\nChecking /tmp/pytest-of-root/pytest-0/popen-gw1/test_config_invalid2/test.c ...\\n\", stderr=b'').returncode"}, "1040f6b8a219/tests.test_checkstl_gaps.test_useless_swap_with_itself": {"message": "assert 'uselessCallsSwap' in \"/tmp/tmp62xga0u8/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp62xga0u8/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:468: in test_useless_swap_with_itself\n assert \"uselessCallsSwap\" in stderr\nE assert 'uselessCallsSwap' in \"/tmp/tmp62xga0u8/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp62xga0u8/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_fwdanalysis.test_volatile_prevents_optimization": {"message": "assert ('unreadVariable' not in '/tmp/test.c...eadVariable]'\n \n 'unreadVariable' is contained here:\n /tmp/test.c:3:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\n /tmp/test.c:2:20: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\n ? ++++++++++++++\n /tmp/test.c:3:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable] or \"Variable 'x'\" not in '/tmp/test.c...eadVariable]'\n \n \"Variable 'x'\" is contained here:\n /tmp/test.c:3:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\n /tmp/test.c:2:20: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\n ? ++++++++++++\n /tmp/test.c:3:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable])", "text": "tests/test_fwdanalysis.py:402: in test_volatile_prevents_optimization\n assert \"unreadVariable\" not in normalized or \"Variable 'x'\" not in normalized\nE assert ('unreadVariable' not in '/tmp/test.c...eadVariable]'\nE \nE 'unreadVariable' is contained here:\nE /tmp/test.c:3:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\nE /tmp/test.c:2:20: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\nE ? ++++++++++++++\nE /tmp/test.c:3:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable] or \"Variable 'x'\" not in '/tmp/test.c...eadVariable]'\nE \nE \"Variable 'x'\" is contained here:\nE /tmp/test.c:3:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\nE /tmp/test.c:2:20: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\nE ? ++++++++++++\nE /tmp/test.c:3:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable])"}, "1040f6b8a219/tests.test_checkstring_gaps.test_substr_length_mismatch": {"message": "AssertionError: assert 'incorrectStringCompare' in ''", "text": "tests/test_checkstring_gaps.py:227: in test_substr_length_mismatch\n assert \"incorrectStringCompare\" in stderr\nE AssertionError: assert 'incorrectStringCompare' in ''"}, "1040f6b8a219/tests.test_clangimport.test_clangimport_switch_statement": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport.py:270: in test_clangimport_switch_statement\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_fwdanalysis.test_nested_struct_member_assignment": {"message": "AssertionError: assert 'o.inner.value' in ''", "text": "tests/test_fwdanalysis.py:641: in test_nested_struct_member_assignment\n assert \"o.inner.value\" in normalized\nE AssertionError: assert 'o.inner.value' in ''"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_compound_assignment": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:644: in test_clangimport_compound_assignment\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_exceptionsafety_gaps.test_destructor_try_blocks_and_uncaught_exception": {"message": "AssertionError: assert 'StillBad is not safe, destructor throws exception' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/destructor_with_try.cpp ...\\n'", "text": "tests/test_exceptionsafety_gaps.py:182: in test_destructor_try_blocks_and_uncaught_exception\n assert 'StillBad is not safe, destructor throws exception' in output\nE AssertionError: assert 'StillBad is not safe, destructor throws exception' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/destructor_with_try.cpp ...\\n'"}, "1040f6b8a219/tests.test_checktype_gaps.test_shift_conditional_value": {"message": "assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_conditional.c ...\\n/workspace/eval/test_resources/test_checktype/shift_conditional.c:9:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = x << shift_amount;\\n ^\\n/workspace/eval/test_resources/test_checktype/shift_conditional.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test(int n) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:190: in test_shift_conditional_value\n assert \"shiftTooManyBits\" in output\nE assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_conditional.c ...\\n/workspace/eval/test_resources/test_checktype/shift_conditional.c:9:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = x << shift_amount;\\n ^\\n/workspace/eval/test_resources/test_checktype/shift_conditional.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test(int n) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_helloworld.test_vs_project_local_path_no_analyze_all": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'", "text": "tests/test_harvest_helloworld.py:293: in test_vs_project_local_path_no_analyze_all\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_useless_remove_without_erase": {"message": "assert 'uselessCallsRemove' in \"/tmp/tmpjvdetj47/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjvdetj47/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjvdetj47/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:492: in test_useless_remove_without_erase\n assert \"uselessCallsRemove\" in stderr\nE assert 'uselessCallsRemove' in \"/tmp/tmpjvdetj47/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjvdetj47/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjvdetj47/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_lookup.test_lookup_path[platform-avr8.xml]": {"message": "AssertionError: looking for platform 'avr8.xml'\n try to load platform file '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/avr8.xml.xml\n try to load platform file '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/platforms/avr8.xml.xml\n try to load platform file '/workspace/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/avr8.xml.xml\n try to load platform file '/workspace/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms/avr8.xml.xml\n try to load platform file '/usr/local/share/Cppcheck/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/avr8.xml.xml\n cppcheck: error: unrecognized platform: 'avr8.xml'.\n \nassert 1 == 0\n + where 1 = CompletedProcess(args=['/workspace/executable', '--debug-lookup=platform', '--platform=avr8.xml', '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/test.c'], returncode=1, stdout=b\"looking for platform 'avr8.xml'\\ntry to load platform file '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/avr8.xml.xml\\ntry to load platform file '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/platforms/avr8.xml.xml\\ntry to load platform file '/workspace/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/avr8.xml.xml\\ntry to load platform file '/workspace/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms/avr8.xml.xml\\ntry to load platform file '/usr/local/share/Cppcheck/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/avr8.xml.xml\\ncppcheck: error: unrecognized platform: 'avr8.xml'.\\n\", stderr=b'').returncode", "text": "tests/test_harvest_lookup.py:877: in test_lookup_path\n assert result.returncode == 0, stdout if stdout else stderr\nE AssertionError: looking for platform 'avr8.xml'\nE try to load platform file '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/avr8.xml.xml\nE try to load platform file '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/platforms/avr8.xml.xml\nE try to load platform file '/workspace/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/avr8.xml.xml\nE try to load platform file '/workspace/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms/avr8.xml.xml\nE try to load platform file '/usr/local/share/Cppcheck/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/avr8.xml.xml\nE cppcheck: error: unrecognized platform: 'avr8.xml'.\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '--debug-lookup=platform', '--platform=avr8.xml', '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/test.c'], returncode=1, stdout=b\"looking for platform 'avr8.xml'\\ntry to load platform file '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/avr8.xml.xml\\ntry to load platform file '/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/popen-gw1/test_lookup_path_platform_avr82/platforms/avr8.xml.xml\\ntry to load platform file '/workspace/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/avr8.xml.xml\\ntry to load platform file '/workspace/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms/avr8.xml.xml\\ntry to load platform file '/usr/local/share/Cppcheck/platforms/avr8.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/avr8.xml.xml\\ncppcheck: error: unrecognized platform: 'avr8.xml'.\\n\", stderr=b'').returncode"}, "1040f6b8a219/tests.test_fwdanalysis.test_union_member_assignment": {"message": "AssertionError: assert 'u.a' in ''", "text": "tests/test_fwdanalysis.py:510: in test_union_member_assignment\n assert \"u.a\" in normalized\nE AssertionError: assert 'u.a' in ''"}, "1040f6b8a219/tests.test_checkstring_gaps.test_sprintf_overlapping_buffers": {"message": "AssertionError: assert 'sprintfOverlappingData' in ''", "text": "tests/test_checkstring_gaps.py:250: in test_sprintf_overlapping_buffers\n assert \"sprintfOverlappingData\" in stderr\nE AssertionError: assert 'sprintfOverlappingData' in ''"}, "1040f6b8a219/tests.test_fwdanalysis.test_array_in_struct_assignment": {"message": "assert 'redundantAssignment' in \"/tmp/test.c:4:5: error: Uninitialized struct member: s.arr [uninitStructMember]\\n/tmp/test.c:4:14: style: Variable 's.arr[0]' is assigned a value that is never used. [unreadVariable]\\n/tmp/test.c:5:14: style: Variable 's.arr[0]' is assigned a value that is never used. [unreadVariable]\\n/tmp/test.c:3:14: style: Variable 's' is not assigned a value. [unassignedVariable]\"", "text": "tests/test_fwdanalysis.py:663: in test_array_in_struct_assignment\n assert \"redundantAssignment\" in normalized\nE assert 'redundantAssignment' in \"/tmp/test.c:4:5: error: Uninitialized struct member: s.arr [uninitStructMember]\\n/tmp/test.c:4:14: style: Variable 's.arr[0]' is assigned a value that is never used. [unreadVariable]\\n/tmp/test.c:5:14: style: Variable 's.arr[0]' is assigned a value that is never used. [unreadVariable]\\n/tmp/test.c:3:14: style: Variable 's' is not assigned a value. [unassignedVariable]\""}, "1040f6b8a219/tests.test_clangimport.test_clangimport_arrays_pointers": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport.py:307: in test_clangimport_arrays_pointers\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_unary_operators": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:679: in test_clangimport_unary_operators\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checktype_gaps.test_integer_overflow_multiplication": {"message": "assert 'integerOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/int_overflow_conditional.c ...\\n/workspace/eval/test_resources/test_checktype/int_overflow_conditional.c:6:11: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n z = x * y;\\n ^\\n/workspace/eval/test_resources/test_checktype/int_overflow_conditional.c:8:11: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n z = 5;\\n ^\\n/workspace/eval/test_resources/test_checktype/int_overflow_conditional.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test(int n) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:211: in test_integer_overflow_multiplication\n assert \"integerOverflow\" in output\nE assert 'integerOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/int_overflow_conditional.c ...\\n/workspace/eval/test_resources/test_checktype/int_overflow_conditional.c:6:11: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n z = x * y;\\n ^\\n/workspace/eval/test_resources/test_checktype/int_overflow_conditional.c:8:11: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n z = 5;\\n ^\\n/workspace/eval/test_resources/test_checktype/int_overflow_conditional.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test(int n) {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_exceptionsafety_gaps.test_rethrow_copy_nested_and_member_access": {"message": "AssertionError: assert 'exceptRethrowCopy' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/rethrow_copy_complex.cpp ...\\n'", "text": "tests/test_exceptionsafety_gaps.py:217: in test_rethrow_copy_nested_and_member_access\n assert 'exceptRethrowCopy' in output\nE AssertionError: assert 'exceptRethrowCopy' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/rethrow_copy_complex.cpp ...\\n'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_redundant_if_before_remove": {"message": "assert 'redundantIfRemove' in \"/tmp/tmpzc9gn1fs/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpzc9gn1fs/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:518: in test_redundant_if_before_remove\n assert \"redundantIfRemove\" in stderr\nE assert 'redundantIfRemove' in \"/tmp/tmpzc9gn1fs/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpzc9gn1fs/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_helloworld.test_vs_project_relative_path": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_helloworld.py:305: in test_vs_project_relative_path\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_metrics.test_dummy_metrics_xml_report": {"message": "AssertionError: Expected metric not found: \nassert -1 >= 0\n + where -1 = ('')\n + where = '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ...seWholeProgram\"/>\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'.find", "text": "tests/test_harvest_metrics.py:75: in test_dummy_metrics_xml_report\n assert xml.find(expected) >= 0, f\"Expected metric not found: {expected}\"\nE AssertionError: Expected metric not found: \nE assert -1 >= 0\nE + where -1 = ('')\nE + where = '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ...seWholeProgram\"/>\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'.find"}, "1040f6b8a219/tests.test_checkstring_gaps.test_overlapping_strcmp_conditions": {"message": "AssertionError: assert 'overlappingStrcmp' in ''", "text": "tests/test_checkstring_gaps.py:274: in test_overlapping_strcmp_conditions\n assert \"overlappingStrcmp\" in stderr\nE AssertionError: assert 'overlappingStrcmp' in ''"}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_build_dir_jobs_suppressions": {"message": "AssertionError: assert False\n + where False = ('/tmp/pytest-of-root/pytest-0/popen-gw4/test_build_dir_jobs_suppressio2/d.a1')\n + where = .exists\n + where = os.path", "text": "tests/test_harvest_inline_suppress.py:541: in test_build_dir_jobs_suppressions\n assert os.path.exists(a1Path)\nE AssertionError: assert False\nE + where False = ('/tmp/pytest-of-root/pytest-0/popen-gw4/test_build_dir_jobs_suppressio2/d.a1')\nE + where = .exists\nE + where = os.path"}, "1040f6b8a219/tests.test_clangimport.test_clangimport_structs": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport.py:346: in test_clangimport_structs\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_fwdanalysis.test_bitwise_compound_assignment": {"message": "AssertionError: assert 'unreadVariable' in ''", "text": "tests/test_fwdanalysis.py:791: in test_bitwise_compound_assignment\n assert \"unreadVariable\" in normalized\nE AssertionError: assert 'unreadVariable' in ''"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_namespace": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:714: in test_clangimport_namespace\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checktype_gaps.test_long_cast_float_to_double": {"message": "assert 'truncLongCastAssignment' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_float.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_float.c:6:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n double c = a * b;\\n ^\\n/workspace/eval/test_resources/test_checktype/long_cast_float.c:3:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:231: in test_long_cast_float_to_double\n assert \"truncLongCastAssignment\" in output\nE assert 'truncLongCastAssignment' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_float.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_float.c:6:14: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n double c = a * b;\\n ^\\n/workspace/eval/test_resources/test_checktype/long_cast_float.c:3:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_exceptionsafety_gaps.test_noexcept_calls_throwing_functions": {"message": "AssertionError: assert 'throwInNoexceptFunction' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/noexcept_calls_throwing.cpp ...\\n'", "text": "tests/test_exceptionsafety_gaps.py:235: in test_noexcept_calls_throwing_functions\n assert 'throwInNoexceptFunction' in output\nE AssertionError: assert 'throwInNoexceptFunction' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/noexcept_calls_throwing.cpp ...\\n'"}, "1040f6b8a219/tests.test_harvest_helloworld.test_vs_project_absolute_path": {"message": "AssertionError: cppcheck: error: failed to open project '/workspace/eval/test/cli/helloworld/helloworld.vcxproj'. The file does not exist.\n \nassert 1 == 0", "text": "tests/test_harvest_helloworld.py:320: in test_vs_project_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to open project '/workspace/eval/test/cli/helloworld/helloworld.vcxproj'. The file does not exist.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_checkstl_gaps.test_stl_boundaries_less_than_comparison": {"message": "assert 'stlBoundaries' in \"/tmp/tmpjfgni3bn/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjfgni3bn/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:545: in test_stl_boundaries_less_than_comparison\n assert \"stlBoundaries\" in stderr\nE assert 'stlBoundaries' in \"/tmp/tmpjfgni3bn/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpjfgni3bn/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_metrics.test_dummy_metrics_stdout": {"message": "AssertionError: Expected metric not found: \nassert -1 >= 0\n + where -1 = ('')\n + where = '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ...seWholeProgram\"/>\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'.find\n + where '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ...seWholeProgram\"/>\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n' = CompletedProcess(args=['/workspace/executable', '--addon=/tmp/pytest-of-root/pytest-0/popen-gw1/test_dummy_metrics_stdout2/addon.py', '--xml-version=3', '/tmp/pytest-of-root/pytest-0/popen-gw1/test_dummy_metrics_stdout2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw1/test_dummy_metrics_stdout2/test.c ...\\n', stderr='\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n').stderr", "text": "tests/test_harvest_metrics.py:93: in test_dummy_metrics_stdout\n assert result.stderr.find(expected) >= 0, f\"Expected metric not found: {expected}\"\nE AssertionError: Expected metric not found: \nE assert -1 >= 0\nE + where -1 = ('')\nE + where = '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ...seWholeProgram\"/>\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'.find\nE + where '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ...seWholeProgram\"/>\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n' = CompletedProcess(args=['/workspace/executable', '--addon=/tmp/pytest-of-root/pytest-0/popen-gw1/test_dummy_metrics_stdout2/addon.py', '--xml-version=3', '/tmp/pytest-of-root/pytest-0/popen-gw1/test_dummy_metrics_stdout2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw1/test_dummy_metrics_stdout2/test.c ...\\n', stderr='\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n').stderr"}, "1040f6b8a219/tests.test_checkstring_gaps.test_string_literal_write_error": {"message": "AssertionError: assert 'stringLiteralWrite' in ''", "text": "tests/test_checkstring_gaps.py:296: in test_string_literal_write_error\n assert \"stringLiteralWrite\" in stderr\nE AssertionError: assert 'stringLiteralWrite' in ''"}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_build_dir_unused_template": {"message": "assert 'cppcheck: er...build-dir\".\\n' == ''\n \n + cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".", "text": "tests/test_harvest_inline_suppress.py:569: in test_build_dir_unused_template\n assert stdout == ''\nE assert 'cppcheck: er...build-dir\".\\n' == ''\nE \nE + cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\"."}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_duplicate": {"message": "TODO: this test makes no sense", "text": "/workspace/eval/tests/test_harvest_inline_suppress.py:631: TODO: this test makes no sense"}, "1040f6b8a219/tests.test_harvest_lookup.test_platform_lookup": {"message": "Requires running from root folder - original test has @pytest.mark.skip", "text": "/workspace/eval/tests/test_harvest_lookup.py:352: Requires running from root folder - original test has @pytest.mark.skip"}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_duplicate_cmd": {"message": "TODO: behavior of duplicate suppressions across inline and non-inline is currently undefined", "text": "/workspace/eval/tests/test_harvest_inline_suppress.py:651: TODO: behavior of duplicate suppressions across inline and non-inline is currently undefined"}, "1040f6b8a219/tests.test_harvest_lookup.test_platform_lookup_ext": {"message": "Requires running from root folder - original test has @pytest.mark.skip", "text": "/workspace/eval/tests/test_harvest_lookup.py:372: Requires running from root folder - original test has @pytest.mark.skip"}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_duplicate_cmd_j": {"message": "TODO: behavior of duplicate suppressions across inline and non-inline is currently undefined", "text": "/workspace/eval/tests/test_harvest_inline_suppress.py:674: TODO: behavior of duplicate suppressions across inline and non-inline is currently undefined"}, "1040f6b8a219/tests.test_clangimport.test_clangimport_enums": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport.py:384: in test_clangimport_enums\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_duplicate_file": {"message": "TODO: behavior of duplicate suppressions across inline and non-inline is currently undefined", "text": "/workspace/eval/tests/test_harvest_inline_suppress.py:698: TODO: behavior of duplicate suppressions across inline and non-inline is currently undefined"}, "1040f6b8a219/tests.test_fwdanalysis.test_shift_compound_assignment": {"message": "AssertionError: assert 'unreadVariable' in ''", "text": "tests/test_fwdanalysis.py:807: in test_shift_compound_assignment\n assert \"unreadVariable\" in normalized\nE AssertionError: assert 'unreadVariable' in ''"}, "1040f6b8a219/tests.test_harvest_clang_import.test_symbol_database_1": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:90: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_duplicate_file_j": {"message": "TODO: behavior of duplicate suppressions across inline and non-inline is currently undefined", "text": "/workspace/eval/tests/test_harvest_inline_suppress.py:725: TODO: behavior of duplicate suppressions across inline and non-inline is currently undefined"}, "1040f6b8a219/tests.test_harvest_clang_import.test_symbol_database_2": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:95: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_symbol_database_3": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:100: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_symbol_database_4": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:105: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_symbol_database_5": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:110: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_symbol_database_6": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:115: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_symbol_database_7": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:120: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_symbol_database_class_access_1": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:125: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_symbol_database_class_access_2": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:130: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_symbol_database_class_access_3": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:135: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_symbol_database_operator": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:140: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_symbol_database_struct_1": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:145: clang not available or Windows platform"}, "1040f6b8a219/tests.test_harvest_clang_import.test_ast_calculations": {"message": "clang not available or Windows platform", "text": "/workspace/eval/tests/test_harvest_clang_import.py:150: clang not available or Windows platform"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_access_specifiers": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:750: in test_clangimport_access_specifiers\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_exceptionsafety_gaps.test_attribute_nothrow": {"message": "AssertionError: assert 'throwInNoexceptFunction' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/attribute_nothrow.cpp ...\\n'", "text": "tests/test_exceptionsafety_gaps.py:253: in test_attribute_nothrow\n assert 'throwInNoexceptFunction' in output\nE AssertionError: assert 'throwInNoexceptFunction' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/attribute_nothrow.cpp ...\\n'"}, "1040f6b8a219/tests.test_checktype_gaps.test_shift_long_64bit": {"message": "assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_long.c ...\\n/workspace/eval/test_resources/test_checktype/shift_long.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:288: in test_shift_long_64bit\n assert \"shiftTooManyBits\" in output\nE assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_long.c ...\\n/workspace/eval/test_resources/test_checktype/shift_long.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkstl_gaps.test_missing_comparison_extra_increment": {"message": "assert 'invalidContainer' in \"/tmp/tmpg7p3fp_j/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpg7p3fp_j/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:572: in test_missing_comparison_extra_increment\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmpg7p3fp_j/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpg7p3fp_j/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_helloworld.test_cppcheck_project_local_path": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'", "text": "tests/test_harvest_helloworld.py:332: in test_cppcheck_project_local_path\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_force_U": {"message": "AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_force_U2/compile_commands.json'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_more_projects.py:94: in test_project_force_U\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_force_U2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_helloworld.test_cppcheck_project_local_path_select_one": {"message": "TODO: no source files found"}, "1040f6b8a219/tests.test_harvest_helloworld.test_cppcheck_project_local_path_select_one_multiple": {"message": "TODO: no source files found"}, "1040f6b8a219/tests.test_harvest_lookup.test_platform_lookup_path": {"message": "AssertionError: looking for platform '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml'\n try to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\n try to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\n try to load platform file '/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\n try to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\n try to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\n cppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml'.\n \nassert 1 == 0\n + where 1 = CompletedProcess(args=['/workspace/executable', '--debug-lookup=platform', '--platform=/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.c'], returncode=1, stdout=\"looking for platform '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml'\\ntry to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ntry to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ntry to load platform file '/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ntry to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ntry to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ncppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml'.\\n\", stderr='').returncode", "text": "tests/test_harvest_lookup.py:412: in test_platform_lookup_path\n assert result.returncode == 0, result.stdout if result.stdout else result.stderr\nE AssertionError: looking for platform '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml'\nE try to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\nE try to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\nE try to load platform file '/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\nE try to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\nE try to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\nE cppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml'.\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '--debug-lookup=platform', '--platform=/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.c'], returncode=1, stdout=\"looking for platform '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml'\\ntry to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ntry to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ntry to load platform file '/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ntry to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ntry to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml.xml\\ncppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_path2/test.xml'.\\n\", stderr='').returncode"}, "1040f6b8a219/tests.test_clangimport.test_clangimport_function_pointers": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport.py:420: in test_clangimport_function_pointers\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_harvest_inline_suppress_polyspace.test_unmatched_polyspace_suppression": {"message": "AssertionError: assert 'test.c:1:0: information: Unmatched suppression: misra-c2012-8.2 [unmatchedPolyspaceSuppression]' in []", "text": "tests/test_harvest_inline_suppress_polyspace.py:41: in test_unmatched_polyspace_suppression\n assert 'test.c:1:0: information: Unmatched suppression: misra-c2012-8.2 [unmatchedPolyspaceSuppression]' in stderr_lines\nE AssertionError: assert 'test.c:1:0: information: Unmatched suppression: misra-c2012-8.2 [unmatchedPolyspaceSuppression]' in []"}, "1040f6b8a219/tests.test_harvest_more_projects.test_shared_items_project": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_more_projects.py:1039: in test_shared_items_project\n exitcode, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_more_projects.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_clangimport_error_handling.test_clangimport_nonexistent_file": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_error_handling.py:19: in test_clangimport_nonexistent_file\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_exceptionsafety_gaps.test_entrypoint_throws": {"message": "AssertionError: assert 'throwInEntryPoint' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/entrypoint_throws.cpp ...\\n'", "text": "tests/test_exceptionsafety_gaps.py:270: in test_entrypoint_throws\n assert 'throwInEntryPoint' in output\nE AssertionError: assert 'throwInEntryPoint' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/entrypoint_throws.cpp ...\\n'"}, "1040f6b8a219/tests.test_checktype_gaps.test_float_assign_overflow": {"message": "assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_assign_overflow.c ...\\n/workspace/eval/test_resources/test_checktype/float_assign_overflow.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = f;\\n ^\\n/workspace/eval/test_resources/test_checktype/float_assign_overflow.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:307: in test_float_assign_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_assign_overflow.c ...\\n/workspace/eval/test_resources/test_checktype/float_assign_overflow.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = f;\\n ^\\n/workspace/eval/test_resources/test_checktype/float_assign_overflow.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkstl_gaps.test_deref_invalid_iterator_after_push_back": {"message": "assert 'invalidContainer' in \"/tmp/tmpwratd5k0/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpwratd5k0/test.cpp:8:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = *it;\\n ^\\n/tmp/tmpwratd5k0/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:597: in test_deref_invalid_iterator_after_push_back\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmpwratd5k0/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpwratd5k0/test.cpp:8:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = *it;\\n ^\\n/tmp/tmpwratd5k0/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_custom_platform": {"message": "AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_custom_platform2/Project.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_more_projects.py:140: in test_project_custom_platform\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_custom_platform2/Project.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_helloworld.test_cppcheck_project_local_path_analyze_all": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'", "text": "tests/test_harvest_helloworld.py:377: in test_cppcheck_project_local_path_analyze_all\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'"}, "1040f6b8a219/tests.test_harvest_inline_suppress_polyspace.test_block": {"message": "AssertionError: assert 'test.c:3:6: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-8.2]' in []", "text": "tests/test_harvest_inline_suppress_polyspace.py:87: in test_block\n assert 'test.c:3:6: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-8.2]' in stderr_lines\nE AssertionError: assert 'test.c:3:6: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-8.2]' in []"}, "1040f6b8a219/tests.test_clangimport.test_clangimport_with_clang_path": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport.py:452: in test_clangimport_with_clang_path\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_harvest_lookup.test_platform_lookup_absolute": {"message": "AssertionError: looking for platform '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml'\n try to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\n try to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\n try to load platform file '/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\n try to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\n try to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\n cppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml'.\n \nassert 1 == 0\n + where 1 = CompletedProcess(args=['/workspace/executable', '--debug-lookup=platform', '--platform=/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.c'], returncode=1, stdout=\"looking for platform '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml'\\ntry to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ntry to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ntry to load platform file '/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ntry to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ntry to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ncppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml'.\\n\", stderr='').returncode", "text": "tests/test_harvest_lookup.py:519: in test_platform_lookup_absolute\n assert result.returncode == 0, result.stdout if result.stdout else result.stderr\nE AssertionError: looking for platform '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml'\nE try to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\nE cppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml'.\nE \nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '--debug-lookup=platform', '--platform=/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.c'], returncode=1, stdout=\"looking for platform '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml'\\ntry to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ntry to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ntry to load platform file '/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ntry to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ntry to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml.xml\\ncppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_platform_lookup_absolute2/test.xml'.\\n\", stderr='').returncode"}, "1040f6b8a219/tests.test_harvest_lookup.test_platform_lookup_nofile": {"message": "Requires running from root folder - original test has @pytest.mark.skip", "text": "/workspace/eval/tests/test_harvest_lookup.py:540: Requires running from root folder - original test has @pytest.mark.skip"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_nested": {"message": "AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_file_nested2/level1.cppcheck'. Project files are not supported.\"]\nassert ['cppcheck: e...t supported.'] == ['cppcheck: e...t supported.']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_file_nested2/level1.cppcheck'. Project files are not supported.\" != 'cppcheck: error: nested Cppcheck GUI projects are not supported.'\n \n Full diff:\n [\n - 'cppcheck: error: nested Cppcheck GUI projects are not supported.',\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_more_projects.py:1080: in test_project_file_nested\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_file_nested2/level1.cppcheck'. Project files are not supported.\"]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...t supported.']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_file_nested2/level1.cppcheck'. Project files are not supported.\" != 'cppcheck: error: nested Cppcheck GUI projects are not supported.'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: nested Cppcheck GUI projects are not supported.',\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_clangimport_error_handling.test_clangimport_file_with_warnings": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_error_handling.py:51: in test_clangimport_file_with_warnings\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_exceptionsafety_gaps.test_dealloc_throw_static_pointer": {"message": "AssertionError: assert 'exceptDeallocThrow' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/dealloc_throw_static.cpp ...\\n'", "text": "tests/test_exceptionsafety_gaps.py:287: in test_dealloc_throw_static_pointer\n assert 'exceptDeallocThrow' in output\nE AssertionError: assert 'exceptDeallocThrow' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/dealloc_throw_static.cpp ...\\n'"}, "1040f6b8a219/tests.test_checktype_gaps.test_float_return_overflow": {"message": "assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_return_overflow.c ...\\n/workspace/eval/test_resources/test_checktype/float_return_overflow.c:1:5: style: The function 'test' is never used. [unusedFunction]\\nint test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:326: in test_float_return_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_return_overflow.c ...\\n/workspace/eval/test_resources/test_checktype/float_return_overflow.c:1:5: style: The function 'test' is never used. [unusedFunction]\\nint test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_checkstl_gaps.test_iterator_arithmetic_out_of_bounds": {"message": "assert 'containerOutOfBounds' in \"/tmp/tmp1ysu5dbi/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp1ysu5dbi/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:619: in test_iterator_arithmetic_out_of_bounds\n assert \"containerOutOfBounds\" in stderr\nE assert 'containerOutOfBounds' in \"/tmp/tmp1ysu5dbi/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp1ysu5dbi/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_empty_platform": {"message": "AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_empty_platform2/Project.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_more_projects.py:155: in test_project_empty_platform\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_empty_platform2/Project.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_helloworld.test_cppcheck_project_relative_path": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_helloworld.py:390: in test_cppcheck_project_relative_path\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_clangimport.test_clangimport_empty_file": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport.py:479: in test_clangimport_empty_file\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_harvest_lookup.test_lib_lookup_notfound_project": {"message": "assert \"looking for library 'none.cfg'\" in [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw4/test_lib_lookup_notfound_proje2/project.cppcheck'. Project files are not supported.\"]", "text": "tests/test_harvest_lookup.py:175: in test_lib_lookup_notfound_project\n assert \"looking for library 'none.cfg'\" in lines\nE assert \"looking for library 'none.cfg'\" in [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw4/test_lib_lookup_notfound_proje2/project.cppcheck'. Project files are not supported.\"]"}, "1040f6b8a219/tests.test_harvest_lookup.test_addon_lookup_notfound_project": {"message": "assert \"looking for addon 'none.py'\" in [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_addon_lookup_notfound_pro2/project.cppcheck'. Project files are not supported.\"]", "text": "tests/test_harvest_lookup.py:618: in test_addon_lookup_notfound_project\n assert \"looking for addon 'none.py'\" in lines\nE assert \"looking for addon 'none.py'\" in [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_addon_lookup_notfound_pro2/project.cppcheck'. Project files are not supported.\"]"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_no_analyze_all_vs_configs": {"message": "AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_file_no_analyze_a2/project.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_more_projects.py:1099: in test_project_file_no_analyze_all_vs_configs\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_file_no_analyze_a2/project.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_exceptionsafety_gaps.test_dealloc_throw_array_delete": {"message": "AssertionError: assert 'exceptDeallocThrow' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/dealloc_throw_array.cpp ...\\n'", "text": "tests/test_exceptionsafety_gaps.py:304: in test_dealloc_throw_array_delete\n assert 'exceptDeallocThrow' in output\nE AssertionError: assert 'exceptDeallocThrow' in 'Checking /workspace/eval/test_resources/test_exceptionsafety/dealloc_throw_array.cpp ...\\n'"}, "1040f6b8a219/tests.test_checktype_gaps.test_float_negative_overflow": {"message": "assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_negative_overflow.c ...\\n/workspace/eval/test_resources/test_checktype/float_negative_overflow.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = (int)f;\\n ^\\n/workspace/eval/test_resources/test_checktype/float_negative_overflow.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:345: in test_float_negative_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_negative_overflow.c ...\\n/workspace/eval/test_resources/test_checktype/float_negative_overflow.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = (int)f;\\n ^\\n/workspace/eval/test_resources/test_checktype/float_negative_overflow.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_clangimport_error_handling.test_clangimport_complex_expressions": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_error_handling.py:80: in test_clangimport_complex_expressions\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_known_empty_container_in_algorithm": {"message": "assert 'knownEmptyContainer' in \"/tmp/tmpd8r2jnr8/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpd8r2jnr8/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpd8r2jnr8/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:642: in test_known_empty_container_in_algorithm\n assert \"knownEmptyContainer\" in stderr\nE assert 'knownEmptyContainer' in \"/tmp/tmpd8r2jnr8/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpd8r2jnr8/test.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpd8r2jnr8/test.cpp:5:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_unspecified_platform": {"message": "assert 'cppcheck: er... supported.\\n' == \"cppcheck: er...specified'.\\n\"\n \n - cppcheck: error: unrecognized platform: 'Unspecified'.\n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_unspecified_platf2/Project.cppcheck'. Project files are not supported.", "text": "tests/test_harvest_more_projects.py:171: in test_project_unspecified_platform\n assert stdout == \"cppcheck: error: unrecognized platform: 'Unspecified'.\\n\"\nE assert 'cppcheck: er... supported.\\n' == \"cppcheck: er...specified'.\\n\"\nE \nE - cppcheck: error: unrecognized platform: 'Unspecified'.\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_unspecified_platf2/Project.cppcheck'. Project files are not supported."}, "1040f6b8a219/tests.test_harvest_helloworld.test_cppcheck_project_absolute_path": {"message": "AssertionError: cppcheck: error: failed to open project '/workspace/eval/test/cli/helloworld/helloworld.cppcheck'. The file does not exist.\n \nassert 1 == 0", "text": "tests/test_harvest_helloworld.py:406: in test_cppcheck_project_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to open project '/workspace/eval/test/cli/helloworld/helloworld.cppcheck'. The file does not exist.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_clangimport.test_clangimport_preprocessor_directives": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport.py:518: in test_clangimport_preprocessor_directives\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_harvest_lookup.test_lib_lookup_notfound_compdb": {"message": "assert \"looking for library 'none.cfg'\" in [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw4/test_lib_lookup_notfound_compd2/compile_commands.json'. Project files are not supported.\"]", "text": "tests/test_harvest_lookup.py:193: in test_lib_lookup_notfound_compdb\n assert \"looking for library 'none.cfg'\" in lines\nE assert \"looking for library 'none.cfg'\" in [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw4/test_lib_lookup_notfound_compd2/compile_commands.json'. Project files are not supported.\"]"}, "1040f6b8a219/tests.test_harvest_lookup.test_addon_lookup_notfound_compdb": {"message": "assert \"looking for addon 'none.py'\" in [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_addon_lookup_notfound_com2/compile_commands.json'. Project files are not supported.\"]", "text": "tests/test_harvest_lookup.py:631: in test_addon_lookup_notfound_compdb\n assert \"looking for addon 'none.py'\" in lines\nE assert \"looking for addon 'none.py'\" in [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_addon_lookup_notfound_com2/compile_commands.json'. Project files are not supported.\"]"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_progress[1-thread]": {"message": "assert '1/2 files checked 50% done' in \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_progress_1_thread2/compile_commands.json'. Project files are not supported.\\n\"", "text": "tests/test_harvest_more_projects.py:1135: in test_project_progress\n assert '1/2 files checked 50% done' in stdout\nE assert '1/2 files checked 50% done' in \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_progress_1_thread2/compile_commands.json'. Project files are not supported.\\n\""}, "1040f6b8a219/tests.test_harvest_other.test_rule_file_define_multiple": {"message": "executable not built with rules support", "text": "/workspace/eval/tests/test_harvest_other.py:1656: executable not built with rules support"}, "1040f6b8a219/tests.test_checktype_gaps.test_float_to_char_overflow": {"message": "assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_to_char.c ...\\n/workspace/eval/test_resources/test_checktype/float_to_char.c:3:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n char c = (char)f;\\n ^\\n/workspace/eval/test_resources/test_checktype/float_to_char.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:364: in test_float_to_char_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_to_char.c ...\\n/workspace/eval/test_resources/test_checktype/float_to_char.c:3:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n char c = (char)f;\\n ^\\n/workspace/eval/test_resources/test_checktype/float_to_char.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_other.test_rule_file_define": {"message": "executable not built with rules support", "text": "/workspace/eval/tests/test_harvest_other.py:1705: executable not built with rules support"}, "1040f6b8a219/tests.test_harvest_dumpfile.test_language_c": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_c2/test.c.dump'", "text": "tests/test_harvest_dumpfile.py:50: in test_language_c\n dump_s = (tmp_path / 'test.c.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_c2/test.c.dump'"}, "1040f6b8a219/tests.test_harvest_other.test_rule_file_normal": {"message": "executable not built with rules support", "text": "/workspace/eval/tests/test_harvest_other.py:1739: executable not built with rules support"}, "1040f6b8a219/tests.test_clangimport_error_handling.test_clangimport_nested_structures": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_error_handling.py:120: in test_clangimport_nested_structures\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_harvest_other.test_rule_file_raw": {"message": "executable not built with rules support", "text": "/workspace/eval/tests/test_harvest_other.py:1771: executable not built with rules support"}, "1040f6b8a219/tests.test_harvest_other.test_rule": {"message": "executable not built with rules support", "text": "/workspace/eval/tests/test_harvest_other.py:1805: executable not built with rules support"}, "1040f6b8a219/tests.test_harvest_other.test_rule_multiple_files": {"message": "executable not built with rules support", "text": "/workspace/eval/tests/test_harvest_other.py:1828: executable not built with rules support"}, "1040f6b8a219/tests.test_checkstl_gaps.test_known_empty_container_range_for": {"message": "assert 'knownEmptyContainer' in \"/tmp/tmpteyojrcw/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpteyojrcw/test.cpp:6:14: style: Unused variable: x [unusedVariable]\\n for (int x : vec) {\\n ^\\n/tmp/tmpteyojrcw/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:665: in test_known_empty_container_range_for\n assert \"knownEmptyContainer\" in stderr\nE assert 'knownEmptyContainer' in \"/tmp/tmpteyojrcw/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpteyojrcw/test.cpp:6:14: style: Unused variable: x [unusedVariable]\\n for (int x : vec) {\\n ^\\n/tmp/tmpteyojrcw/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_unknown_platform": {"message": "assert 'cppcheck: er... supported.\\n' == \"cppcheck: er...m: 'dummy'.\\n\"\n \n - cppcheck: error: unrecognized platform: 'dummy'.\n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_unknown_platform2/Project.cppcheck'. Project files are not supported.", "text": "tests/test_harvest_more_projects.py:186: in test_project_unknown_platform\n assert stdout == \"cppcheck: error: unrecognized platform: 'dummy'.\\n\"\nE assert 'cppcheck: er... supported.\\n' == \"cppcheck: er...m: 'dummy'.\\n\"\nE \nE - cppcheck: error: unrecognized platform: 'dummy'.\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_unknown_platform2/Project.cppcheck'. Project files are not supported."}, "1040f6b8a219/tests.test_harvest_helloworld.test_suppress_command_line_related": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_helloworld.py:417: in test_suppress_command_line_related\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_clangimport_advanced.test_clangimport_goto_label": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_advanced.py:33: in test_clangimport_goto_label\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_harvest_other.test_file_order": {"message": "AssertionError: assert ['Checking /t...0% done', ...] == ['Checking /t...5% done', ...]\n \n At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_order2/a.c ...' != 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_order2/c.c ...'\n \n Full diff:\n [\n + 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_order2/a.c ...',\n + '1/4 files checked 0% done',...\n \n ...Full output truncated (16 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:1307: in test_file_order\n assert lines == [\nE AssertionError: assert ['Checking /t...0% done', ...] == ['Checking /t...5% done', ...]\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_order2/a.c ...' != 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_order2/c.c ...'\nE \nE Full diff:\nE [\nE + 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_order2/a.c ...',\nE + '1/4 files checked 0% done',...\nE \nE ...Full output truncated (16 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_progress[2-thread]": {"message": "assert '1/2 files checked 50% done' in \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_progress_2_thread2/compile_commands.json'. Project files are not supported.\\n\"", "text": "tests/test_harvest_more_projects.py:1135: in test_project_progress\n assert '1/2 files checked 50% done' in stdout\nE assert '1/2 files checked 50% done' in \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_progress_2_thread2/compile_commands.json'. Project files are not supported.\\n\""}, "1040f6b8a219/tests.test_checktype_gaps.test_float_to_short_overflow": {"message": "assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_to_short.c ...\\n/workspace/eval/test_resources/test_checktype/float_to_short.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:383: in test_float_to_short_overflow\n assert \"floatConversionOverflow\" in output\nE assert 'floatConversionOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/float_to_short.c ...\\n/workspace/eval/test_resources/test_checktype/float_to_short.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_dumpfile.test_language_c_force_c": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_c_force_c2/test.c.dump'", "text": "tests/test_harvest_dumpfile.py:65: in test_language_c_force_c\n dump_s = (tmp_path / 'test.c.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_c_force_c2/test.c.dump'"}, "1040f6b8a219/tests.test_clangimport_error_handling.test_clangimport_function_with_many_params": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_error_handling.py:150: in test_clangimport_function_with_many_params\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_vector_insert_invalidates_iterators": {"message": "assert 'invalidContainer' in \"/tmp/tmp5wsrzp6z/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp5wsrzp6z/test.cpp:8:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = *it;\\n ^\\n/tmp/tmp5wsrzp6z/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:709: in test_vector_insert_invalidates_iterators\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmp5wsrzp6z/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmp5wsrzp6z/test.cpp:8:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = *it;\\n ^\\n/tmp/tmp5wsrzp6z/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_empty_fields": {"message": "AssertionError: assert 'cppcheck: er... supported.\\n' == 'cppcheck: er...iles found.\\n'\n \n - cppcheck: error: no C or C++ source files found.\n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_empty_fields2/Project.cppcheck'. Project files are not supported.", "text": "tests/test_harvest_more_projects.py:276: in test_project_empty_fields\n assert stdout == 'cppcheck: error: no C or C++ source files found.\\n'\nE AssertionError: assert 'cppcheck: er... supported.\\n' == 'cppcheck: er...iles found.\\n'\nE \nE - cppcheck: error: no C or C++ source files found.\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_empty_fields2/Project.cppcheck'. Project files are not supported."}, "1040f6b8a219/tests.test_harvest_other.test_filelist": {"message": "ValueError: list.remove(x): x not in list", "text": "tests/test_harvest_other.py:1917: in test_filelist\n lines.remove('{}/{} files checked {}% done'.format(i, len(expected), int(100 * i // len(expected))))\nE ValueError: list.remove(x): x not in list"}, "1040f6b8a219/tests.test_harvest_helloworld.test_suppress_command_line_absolute": {"message": "AssertionError: cppcheck: error: could not find or open any of the paths given.\n \nassert 1 == 0", "text": "tests/test_harvest_helloworld.py:429: in test_suppress_command_line_absolute\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find or open any of the paths given.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_file_relative_backslash": {"message": "AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_file_relative_back2/src/test.cpp ...\n \nassert 0 == 1", "text": "tests/test_harvest_other.py:2099: in test_ignore_file_relative_backslash\n __test_ignore_file(tmpdir, 'src\\\\test.cpp')\ntests/test_harvest_other.py:2070: in __test_ignore_file\n assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_file_relative_back2/src/test.cpp ...\nE \nE assert 0 == 1"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_progress[2-process]": {"message": "assert '1/2 files checked 50% done' in \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_progress_2_proces2/compile_commands.json'. Project files are not supported.\\n\"", "text": "tests/test_harvest_more_projects.py:1135: in test_project_progress\n assert '1/2 files checked 50% done' in stdout\nE assert '1/2 files checked 50% done' in \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_project_progress_2_proces2/compile_commands.json'. Project files are not supported.\\n\""}, "1040f6b8a219/tests.test_harvest_other.test_markup": {"message": "AssertionError: ['Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_1.qml ...', '1/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_2.cpp ...', '2/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_3.qml ...', '3/4 files checked 0% done', ...]\nassert ['Checking /t...0% done', ...] == ['Checking /t...5% done', ...]\n \n At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_1.qml ...' != 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_2.cpp ...'\n \n Full diff:\n [\n + 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_1.qml '\n + '...',...\n \n ...Full output truncated (22 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:1346: in test_markup\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_other.py:223: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: ['Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_1.qml ...', '1/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_2.cpp ...', '2/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_3.qml ...', '3/4 files checked 0% done', ...]\nE assert ['Checking /t...0% done', ...] == ['Checking /t...5% done', ...]\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_1.qml ...' != 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_2.cpp ...'\nE \nE Full diff:\nE [\nE + 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_markup2/test_1.qml '\nE + '...',...\nE \nE ...Full output truncated (22 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_checktype_gaps.test_sign_conversion_constant": {"message": "assert 'signConversion' in \"Checking /workspace/eval/test_resources/test_checktype/sign_conversion_const.c ...\\n/workspace/eval/test_resources/test_checktype/sign_conversion_const.c:3:20: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n unsigned int y = -5 * x;\\n ^\\n/workspace/eval/test_resources/test_checktype/sign_conversion_const.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:403: in test_sign_conversion_constant\n assert \"signConversion\" in output\nE assert 'signConversion' in \"Checking /workspace/eval/test_resources/test_checktype/sign_conversion_const.c ...\\n/workspace/eval/test_resources/test_checktype/sign_conversion_const.c:3:20: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n unsigned int y = -5 * x;\\n ^\\n/workspace/eval/test_resources/test_checktype/sign_conversion_const.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_dumpfile.test_language_c_force_cpp": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_c_force_cpp2/test.c.dump'", "text": "tests/test_harvest_dumpfile.py:80: in test_language_c_force_cpp\n dump_s = (tmp_path / 'test.c.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_c_force_cpp2/test.c.dump'"}, "1040f6b8a219/tests.test_clangimport_error_handling.test_clangimport_variadic_function": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_error_handling.py:187: in test_clangimport_variadic_function\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_checkstl_gaps.test_string_iterator_after_reserve": {"message": "assert 'invalidContainer' in \"/tmp/tmpzeag3zrn/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpzeag3zrn/test.cpp:8:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n char c = *it;\\n ^\\n/tmp/tmpzeag3zrn/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checkstl_gaps.py:733: in test_string_iterator_after_reserve\n assert \"invalidContainer\" in stderr\nE assert 'invalidContainer' in \"/tmp/tmpzeag3zrn/test.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\\n#include \\n ^\\n/tmp/tmpzeag3zrn/test.cpp:8:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n char c = *it;\\n ^\\n/tmp/tmpzeag3zrn/test.cpp:4:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_missing_subproject": {"message": "AssertionError: assert 'cppcheck: er... supported.\\n' == 'cppcheck: er... not exist.\\n'\n \n - cppcheck: error: failed to open project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_missing_subprojec2/dummy.json'. The file does not exist.\n ? ^^^ ^^^^^ ^^^^ ^^ ^^^ - ^^^^\n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_missing_subprojec2/Project.cppcheck'. Project files are not supported.\n ? + ^^ ^^^^^^^ ^^^^^^^^ ^^^^ ++ ^^^^ +++++++ ^", "text": "tests/test_harvest_more_projects.py:288: in test_project_missing_subproject\n assert stdout == \"cppcheck: error: failed to open project '{}/dummy.json'. The file does not exist.\\n\".format(str(tmpdir).replace('\\\\', '/'))\nE AssertionError: assert 'cppcheck: er... supported.\\n' == 'cppcheck: er... not exist.\\n'\nE \nE - cppcheck: error: failed to open project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_missing_subprojec2/dummy.json'. The file does not exist.\nE ? ^^^ ^^^^^ ^^^^ ^^ ^^^ - ^^^^\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_missing_subprojec2/Project.cppcheck'. Project files are not supported.\nE ? + ^^ ^^^^^^^ ^^^^^^^^ ^^^^ ++ ^^^^ +++++++ ^"}, "1040f6b8a219/tests.test_harvest_other.test_cpp_probe": {"message": "AssertionError: assert ['Defines:', ...tform:native'] == []\n \n Left contains 4 more items, first extra item: 'Defines:'\n \n Full diff:\n - []\n + [\n + 'Defines:',...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:1955: in test_cpp_probe\n assert lines == []\nE AssertionError: assert ['Defines:', ...tform:native'] == []\nE \nE Left contains 4 more items, first extra item: 'Defines:'\nE \nE Full diff:\nE - []\nE + [\nE + 'Defines:',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_helloworld.test_suppress_project_relative": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'", "text": "tests/test_harvest_helloworld.py:435: in test_suppress_project_relative\n shutil.copytree(os.path.join(SCRIPT_DIR, 'helloworld'), tmp_path / 'helloworld')\n/usr/lib/python3.10/shutil.py:557: in copytree\n with os.scandir(src) as itr:\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'"}, "1040f6b8a219/tests.test_harvest_other.test_markup_j": {"message": "AssertionError: assert ['1/4 files c...cpp ...', ...] == ['1/4 files c...cpp ...', ...]\n \n At index 0 diff: '1/4 files checked 0% done' != '1/4 files checked 25% done'\n \n Full diff:\n [\n - '1/4 files checked 25% done',\n ? ^^...\n \n ...Full output truncated (21 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:1369: in test_markup_j\n assert sorted(lines) == [\nE AssertionError: assert ['1/4 files c...cpp ...', ...] == ['1/4 files c...cpp ...', ...]\nE \nE At index 0 diff: '1/4 files checked 0% done' != '1/4 files checked 25% done'\nE \nE Full diff:\nE [\nE - '1/4 files checked 25% done',\nE ? ^^...\nE \nE ...Full output truncated (21 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_file_relative_wildcard_backslash": {"message": "AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_file_relative_wild3/src/test.cpp ...\n \nassert 0 == 1", "text": "tests/test_harvest_other.py:2107: in test_ignore_file_relative_wildcard_backslash\n __test_ignore_file(tmpdir, 'src\\\\test.c*')\ntests/test_harvest_other.py:2070: in __test_ignore_file\n assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_file_relative_wild3/src/test.cpp ...\nE \nE assert 0 == 1"}, "1040f6b8a219/tests.test_checktype_gaps.test_integer_underflow": {"message": "assert 'integerOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/int_underflow.c ...\\n/workspace/eval/test_resources/test_checktype/int_underflow.c:3:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = x - 500000000;\\n ^\\n/workspace/eval/test_resources/test_checktype/int_underflow.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:423: in test_integer_underflow\n assert \"integerOverflow\" in output\nE assert 'integerOverflow' in \"Checking /workspace/eval/test_resources/test_checktype/int_underflow.c ...\\n/workspace/eval/test_resources/test_checktype/int_underflow.c:3:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = x - 500000000;\\n ^\\n/workspace/eval/test_resources/test_checktype/int_underflow.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_dumpfile.test_language_cpp": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_cpp2/test.cpp.dump'", "text": "tests/test_harvest_dumpfile.py:95: in test_language_cpp\n dump_s = (tmp_path / 'test.cpp.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_cpp2/test.cpp.dump'"}, "1040f6b8a219/tests.test_harvest_other.test_color_non_tty[env0-True]": {"message": "AssertionError: assert ('\\x1b[1m' in '/tmp/pytest-of-root/pytest-0/popen-gw3/test_color_non_tty_env0_True_2/test.c:1:2: error: #error test [preprocessorErrorDirective]\\n#error test\\n ^\\n') == True", "text": "tests/test_harvest_other.py:380: in test_color_non_tty\n assert (__ANSI_BOLD in stderr) == color_expected\nE AssertionError: assert ('\\x1b[1m' in '/tmp/pytest-of-root/pytest-0/popen-gw3/test_color_non_tty_env0_True_2/test.c:1:2: error: #error test [preprocessorErrorDirective]\\n#error test\\n ^\\n') == True"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_std": {"message": "AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_std2/compile_commands.json'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_more_projects.py:315: in test_project_std\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_std2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_more_projects.test_clang_tidy": {"message": "unconditional skip", "text": "/workspace/eval/tests/test_harvest_more_projects.py:320: unconditional skip"}, "1040f6b8a219/tests.test_clangimport_error_handling.test_clangimport_bitfields": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_error_handling.py:225: in test_clangimport_bitfields\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_harvest_other.test_xml_output": {"message": "assert '\\n' == '\\n'\n \n \n \n \n \n - \n - ...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2730: in test_xml_output\n assert (stderr_1 ==\nE assert '\\n' == '\\n'\nE \nE \nE \nE \nE \nE - \nE - ...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_helloworld.test_suppress_project_absolute": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'", "text": "tests/test_harvest_helloworld.py:452: in test_suppress_project_absolute\n shutil.copytree(os.path.join(SCRIPT_DIR, 'helloworld'), tmp_path / 'helloworld')\n/usr/lib/python3.10/shutil.py:557: in copytree\n with os.scandir(src) as itr:\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'"}, "1040f6b8a219/tests.test_harvest_other.test_config_invalid": {"message": "AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_config_invalid2/test.c ...\n \nassert 0 == 1", "text": "tests/test_harvest_other.py:1992: in test_config_invalid\n assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_config_invalid2/test.c ...\nE \nE assert 0 == 1"}, "1040f6b8a219/tests.test_checktype_gaps.test_sign_conversion_division": {"message": "assert 'signConversion' in \"Checking /workspace/eval/test_resources/test_checktype/sign_conversion_div.c ...\\n/workspace/eval/test_resources/test_checktype/sign_conversion_div.c:4:20: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n unsigned int z = x / y;\\n ^\\n/workspace/eval/test_resources/test_checktype/sign_conversion_div.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:443: in test_sign_conversion_division\n assert \"signConversion\" in output\nE assert 'signConversion' in \"Checking /workspace/eval/test_resources/test_checktype/sign_conversion_div.c ...\\n/workspace/eval/test_resources/test_checktype/sign_conversion_div.c:4:20: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n unsigned int z = x / y;\\n ^\\n/workspace/eval/test_resources/test_checktype/sign_conversion_div.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_other.test_valueflow_debug": {"message": "AssertionError: assert '##file /tmp/...i = 0 ;\\n7: }' == '##file /tmp/...n 0 always 0'\n \n - ##file /tmp/pytest-of-root/pytest-0/popen-gw4/test_valueflow_debug2/test2.h\n ? ^ ^\n + ##file /tmp/pytest-of-root/pytest-0/popen-gw4/test_valueflow_debug2/test_1.cpp\n ? ^^ ^^^\n 2: void f2 ( )\n 3: {...\n \n ...Full output truncated (45 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:1422: in test_valueflow_debug\n assert stdout == '''##file {}\nE AssertionError: assert '##file /tmp/...i = 0 ;\\n7: }' == '##file /tmp/...n 0 always 0'\nE \nE - ##file /tmp/pytest-of-root/pytest-0/popen-gw4/test_valueflow_debug2/test2.h\nE ? ^ ^\nE + ##file /tmp/pytest-of-root/pytest-0/popen-gw4/test_valueflow_debug2/test_1.cpp\nE ? ^^ ^^^\nE 2: void f2 ( )\nE 3: {...\nE \nE ...Full output truncated (45 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_path_relative_backslash": {"message": "AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_path_relative_back2/src/test.cpp ...\n \nassert 0 == 1", "text": "tests/test_harvest_other.py:2115: in test_ignore_path_relative_backslash\n __test_ignore_file(tmpdir, 'src\\\\')\ntests/test_harvest_other.py:2070: in __test_ignore_file\n assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_path_relative_back2/src/test.cpp ...\nE \nE assert 0 == 1"}, "1040f6b8a219/tests.test_harvest_dumpfile.test_language_cpp_force_cpp": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_cpp_force_cpp2/test.cpp.dump'", "text": "tests/test_harvest_dumpfile.py:110: in test_language_cpp_force_cpp\n dump_s = (tmp_path / 'test.cpp.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_cpp_force_cpp2/test.cpp.dump'"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_filter[file_filter0]": {"message": "AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_file_2/test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_more_projects.py:383: in test_project_file_filter\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_file_2/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_clangimport_error_handling.test_clangimport_union": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_error_handling.py:261: in test_clangimport_union\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_harvest_other.test_color_tty[env1-False]": {"message": "AssertionError: assert ('\\x1b[1m' in '\\x1b[1m/tmp/pytest-of-root/pytest-0/popen-gw3/test_color_tty_env1_False_2/test.c:1:2: \\x1b[31merror:\\x1b[39m #error test [preprocessorErrorDirective]\\x1b[0m\\n#error test\\n ^\\n') == False", "text": "tests/test_harvest_other.py:396: in test_color_tty\n assert (__ANSI_BOLD in stderr) == color_expected\nE AssertionError: assert ('\\x1b[1m' in '\\x1b[1m/tmp/pytest-of-root/pytest-0/popen-gw3/test_color_tty_env1_False_2/test.c:1:2: \\x1b[31merror:\\x1b[39m #error test [preprocessorErrorDirective]\\x1b[0m\\n#error test\\n ^\\n') == False"}, "1040f6b8a219/tests.test_harvest_other.test_internal_error_loc_int": {"message": "AssertionError: assert [] == ['/tmp/pytest...ternalError]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_internal_error_loc_int2/test.c:3:13: error: Internal Error. MathLib::toBigUNumber: out_of_range: 0x10000000000000000 [internalError]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_internal_error_loc_int2/test.c:3:13: '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2798: in test_internal_error_loc_int\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...ternalError]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_internal_error_loc_int2/test.c:3:13: error: Internal Error. MathLib::toBigUNumber: out_of_range: 0x10000000000000000 [internalError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_internal_error_loc_int2/test.c:3:13: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_helloworld.test_exclude": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_helloworld.py:474: in test_exclude\n ret, stdout, _ = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_other.test_checkers_report_misra_json": {"message": "assert '' in '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tests/test_harvest_other.py:2041: in test_checkers_report_misra_json\n assert '' in stderr\nE assert '' in '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_checktype_gaps.test_long_cast_shift_operator": {"message": "assert 'truncLongCastAssignment' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_shift.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_shift.c:3:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:464: in test_long_cast_shift_operator\n assert \"truncLongCastAssignment\" in output\nE assert 'truncLongCastAssignment' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_shift.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_shift.c:3:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_other.test_file_duplicate_2": {"message": "AssertionError: assert ['Checking /t...cked 0% done'] == ['Checking /t...ed 100% done']\n \n At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_duplicate_22/a.c ...' != 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_duplicate_22/c.c ...'\n \n Full diff:\n [\n 'Checking '\n - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_file_duplicate_22/c.c ...',...\n \n ...Full output truncated (16 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:1498: in test_file_duplicate_2\n assert lines == [\nE AssertionError: assert ['Checking /t...cked 0% done'] == ['Checking /t...ed 100% done']\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_duplicate_22/a.c ...' != 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_duplicate_22/c.c ...'\nE \nE Full diff:\nE [\nE 'Checking '\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_file_duplicate_22/c.c ...',...\nE \nE ...Full output truncated (16 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_dumpfile.test_language_cpp_force_c": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_cpp_force_c2/test.cpp.dump'", "text": "tests/test_harvest_dumpfile.py:125: in test_language_cpp_force_c\n dump_s = (tmp_path / 'test.cpp.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_cpp_force_c2/test.cpp.dump'"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_filter[file_filter1]": {"message": "AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_file_5/test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_more_projects.py:383: in test_project_file_filter\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_file_5/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_path_relative_wildcard_backslash": {"message": "AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_path_relative_wild3/src/test.cpp ...\n \nassert 0 == 1", "text": "tests/test_harvest_other.py:2123: in test_ignore_path_relative_wildcard_backslash\n __test_ignore_file(tmpdir, 'src*\\\\')\ntests/test_harvest_other.py:2070: in __test_ignore_file\n assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_path_relative_wild3/src/test.cpp ...\nE \nE assert 0 == 1"}, "1040f6b8a219/tests.test_clangimport_error_handling.test_clangimport_multidimensional_arrays": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_error_handling.py:295: in test_clangimport_multidimensional_arrays\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_harvest_other.test_progress": {"message": "AssertionError: cppcheck: error: unrecognized command line option: \"--report-progress=0\".\n \nassert 1 == 0", "text": "tests/test_harvest_other.py:437: in test_progress\n assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: unrecognized command line option: \"--report-progress=0\".\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_addon_suppr_inline": {"message": "AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_inline2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_inline2/test.c:4:1: '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2833: in test_addon_suppr_inline\n __test_addon_suppr(tmp_path, ['--inline-suppr', '-j1'])\ntests/test_harvest_other.py:2824: in __test_addon_suppr\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_inline2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_inline2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_helloworld.test_build_dir_dump_output": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_helloworld.py:491: in test_build_dir_dump_output\n run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_2_abspath": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_ignore_project_2_abspath2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw9/test_ignore_project_2_abspath2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2317: in test_ignore_project_2_abspath\n __test_ignore_project_2(tmpdir, ['-i$path'], inject_path=True)\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_ignore_project_2_abspath2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw9/test_ignore_project_2_abspath2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_checktype_gaps.test_shift_win64_long_32bit": {"message": "assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_win64.c ...\\n/workspace/eval/test_resources/test_checktype/shift_win64.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 114/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:484: in test_shift_win64_long_32bit\n assert \"shiftTooManyBits\" in output\nE assert 'shiftTooManyBits' in \"Checking /workspace/eval/test_resources/test_checktype/shift_win64.c ...\\n/workspace/eval/test_resources/test_checktype/shift_win64.c:1:6: style: The function 'test' is never used. [unusedFunction]\\nvoid test() {\\n ^\\nnofile:0:0: information: Active checkers: 114/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_dumpfile.test_language_h": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_h2/test.h.dump'", "text": "tests/test_harvest_dumpfile.py:140: in test_language_h\n dump_s = (tmp_path / 'test.h.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_h2/test.h.dump'"}, "1040f6b8a219/tests.test_harvest_other.test_file_duplicate_3": {"message": "AssertionError: assert ['Checking /t...cked 0% done'] == ['Checking a.c ...']\n \n At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_duplicate_32/a.c ...' != 'Checking a.c ...'\n Left contains 3 more items, first extra item: '1/2 files checked 0% done'\n \n Full diff:\n [\n + 'Checking '...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:1527: in test_file_duplicate_3\n assert lines == [\nE AssertionError: assert ['Checking /t...cked 0% done'] == ['Checking a.c ...']\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_file_duplicate_32/a.c ...' != 'Checking a.c ...'\nE Left contains 3 more items, first extra item: '1/2 files checked 0% done'\nE \nE Full diff:\nE [\nE + 'Checking '...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_file_duplicate_4": {"message": "requires Windows", "text": "/workspace/eval/tests/test_harvest_other.py:1532: requires Windows"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_filter[file_filter2]": {"message": "AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_file_8/test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_more_projects.py:383: in test_project_file_filter\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_file_8/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_clangimport_error_handling.test_clangimport_static_local_variables": {"message": "FileNotFoundError: [Errno 2] No such file or directory: './executable'", "text": "tests/test_clangimport_error_handling.py:328: in test_clangimport_static_local_variables\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: './executable'"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_file": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2178: in test_ignore_project_file\n __test_ignore_project(tmpdir, 'test.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_progress_j": {"message": "AssertionError: cppcheck: error: unrecognized command line option: \"--report-progress=0\".\n \nassert 1 == 0", "text": "tests/test_harvest_other.py:470: in test_progress_j\n assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: unrecognized command line option: \"--report-progress=0\".\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_addon_suppr_inline_j": {"message": "AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_inline_j2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_inline_j2/test.c:4:1: '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2839: in test_addon_suppr_inline_j\n __test_addon_suppr(tmp_path, ['--inline-suppr', '-j2'])\ntests/test_harvest_other.py:2824: in __test_addon_suppr\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_inline_j2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_inline_j2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_helloworld.test_checkers_report": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_helloworld.py:508: in test_checkers_report\n run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_other.test_builddir_hash_check_level": {"message": "AssertionError: assert '' == '/tmp/pytest-...axBranches]\\n'\n \n - /tmp/pytest-of-root/pytest-0/popen-gw9/test_builddir_hash_check_level2/test.c:0:0: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches]", "text": "tests/test_harvest_other.py:2373: in test_builddir_hash_check_level\n assert stderr == '{}:0:0: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...axBranches]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw9/test_builddir_hash_check_level2/test.c:0:0: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches]"}, "1040f6b8a219/tests.test_checktype_gaps.test_long_cast_return_float_to_double": {"message": "assert 'truncLongCastReturn' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_return_float.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_return_float.c:3:8: style: The function 'test' is never used. [unusedFunction]\\ndouble test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_checktype_gaps.py:504: in test_long_cast_return_float_to_double\n assert \"truncLongCastReturn\" in output\nE assert 'truncLongCastReturn' in \"Checking /workspace/eval/test_resources/test_checktype/long_cast_return_float.c ...\\n/workspace/eval/test_resources/test_checktype/long_cast_return_float.c:3:8: style: The function 'test' is never used. [unusedFunction]\\ndouble test() {\\n ^\\nnofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_dumpfile.test_language_h_force_c": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_h_force_c2/test.h.dump'", "text": "tests/test_harvest_dumpfile.py:155: in test_language_h_force_c\n dump_s = (tmp_path / 'test.h.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_h_force_c2/test.h.dump'"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_filter[file_filter3]": {"message": "AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_file_11/test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_more_projects.py:383: in test_project_file_filter\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_file_11/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_addon_json_invalid_no_obj": {"message": "assert 0 == 1", "text": "tests/test_harvest_other.py:1613: in test_addon_json_invalid_no_obj\n __test_addon_json_invalid(tmpdir, json.dumps([]), \"JSON is not an object.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1"}, "1040f6b8a219/tests.test_harvest_other.test_active_unusedfunction_only": {"message": "AssertionError: cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\n \nassert 1 == 0", "text": "tests/test_harvest_other.py:4373: in test_active_unusedfunction_only\n __test_active_checkers(tmp_path, 1, 186, use_unusedfunction_only=True)\ntests/test_harvest_other.py:4356: in __test_active_checkers\n assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_file_cli_prepend": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_cli_p2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_cli_p2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2182: in test_ignore_project_file_cli_prepend\n __test_ignore_project(tmpdir, ign_proj='test2.cpp', ign_cli='test.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_cli_p2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_cli_p2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_execute_addon_failure_py_auto": {"message": "AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\n \n - /tmp/pytest-of-root/pytest-0/popen-gw3/test_execute_addon_failure_py_2/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to auto detect python [internalError]\n - \n - ^", "text": "tests/test_harvest_other.py:487: in test_execute_addon_failure_py_auto\n assert stderr == '{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to auto detect python [internalError]\\n\\n^\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw3/test_execute_addon_failure_py_2/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to auto detect python [internalError]\nE - \nE - ^"}, "1040f6b8a219/tests.test_harvest_helloworld.test_missing_include_system": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_helloworld.py:534: in test_missing_include_system\n _, _, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_other.test_addon_suppr_cli_line": {"message": "AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_line2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_line2/test.c:4:1: '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2843: in test_addon_suppr_cli_line\n __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:*:3'])\ntests/test_harvest_other.py:2824: in __test_addon_suppr\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_line2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_line2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_def_undef": {"message": "AssertionError: assert [] == ['/tmp/pytest...nullPointer]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_def_undef2/test.c:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/popen-gw9/test_def_undef2/test.c:5:14: '\n - 'error: Null pointer dereference: (int*)0 [nullPointer]',\n - ]", "text": "tests/test_harvest_other.py:2416: in test_def_undef\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...nullPointer]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_def_undef2/test.c:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw9/test_def_undef2/test.c:5:14: '\nE - 'error: Null pointer dereference: (int*)0 [nullPointer]',\nE - ]"}, "1040f6b8a219/tests.test_harvest_other.test_execute_addon_failure_json_notexist": {"message": "AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\n \n - /tmp/pytest-of-root/pytest-0/popen-gw6/test_execute_addon_failure_jso2/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is 127 [internalError]\n - \n - ^", "text": "tests/test_harvest_other.py:524: in test_execute_addon_failure_json_notexist\n assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is {} [internalError]\\n\\n^\\n\".format(test_file, ec)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_execute_addon_failure_jso2/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is 127 [internalError]\nE - \nE - ^"}, "1040f6b8a219/tests.test_harvest_other.test_execute_addon_path_with_spaces": {"message": "Windows specific issue", "text": "/workspace/eval/tests/test_harvest_other.py:526: Windows specific issue"}, "1040f6b8a219/tests.test_harvest_dumpfile.test_language_h_force_cpp": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_h_force_cpp2/test.h.dump'", "text": "tests/test_harvest_dumpfile.py:170: in test_language_h_force_cpp\n dump_s = (tmp_path / 'test.h.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_h_force_cpp2/test.h.dump'"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_filter_cpp[file_filter0]": {"message": "AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_cpp_f2/test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_more_projects.py:414: in test_project_file_filter_cpp\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_cpp_f2/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_addon_json_invalid_args_1": {"message": "assert 0 == 1", "text": "tests/test_harvest_other.py:1617: in test_addon_json_invalid_args_1\n __test_addon_json_invalid(tmpdir, json.dumps({'args':0}), \"'args' must be an array.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1"}, "1040f6b8a219/tests.test_harvest_other.test_active_unusedfunction_only_builddir": {"message": "AssertionError: assert ['nofile:0:0:...sReport]', ''] == ['nofile:0:0:...sReport]', '']\n \n At index 0 diff: 'nofile:0:0: information: Active checkers: 41/186 (use --checkers-report= to see details) [checkersReport]' != 'nofile:0:0: information: Active checkers: 1/186 (use --checkers-report= to see details) [checkersReport]'\n \n Full diff:\n [\n - 'nofile:0:0: information: Active checkers: 1/186 (use '\n + 'nofile:0:0: information: Active checkers: 41/186 (use '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:4380: in test_active_unusedfunction_only_builddir\n __test_active_checkers(tmp_path, 1, 186, use_unusedfunction_only=True, checkers_exp=checkers_exp)\ntests/test_harvest_other.py:4358: in __test_active_checkers\n assert stderr.splitlines() == [\nE AssertionError: assert ['nofile:0:0:...sReport]', ''] == ['nofile:0:0:...sReport]', '']\nE \nE At index 0 diff: 'nofile:0:0: information: Active checkers: 41/186 (use --checkers-report= to see details) [checkersReport]' != 'nofile:0:0: information: Active checkers: 1/186 (use --checkers-report= to see details) [checkersReport]'\nE \nE Full diff:\nE [\nE - 'nofile:0:0: information: Active checkers: 1/186 (use '\nE + 'nofile:0:0: information: Active checkers: 41/186 (use '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_file_cli_append": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_cli_a2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_cli_a2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2186: in test_ignore_project_file_cli_append\n __test_ignore_project(tmpdir, ign_proj='test2.cpp', ign_cli='test.cpp', append_cli=True)\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_cli_a2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_cli_a2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_execute_addon_failure_py_notexist": {"message": "AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\n \n - /tmp/pytest-of-root/pytest-0/popen-gw3/test_execute_addon_failure_py_5/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'naming' - exitcode is 127 [internalError]\n - \n - ^", "text": "tests/test_harvest_other.py:502: in test_execute_addon_failure_py_notexist\n assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'naming' - exitcode is {} [internalError]\\n\\n^\\n\".format(test_file, ec)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw3/test_execute_addon_failure_py_5/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'naming' - exitcode is 127 [internalError]\nE - \nE - ^"}, "1040f6b8a219/tests.test_harvest_helloworld.test_sarif": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_helloworld.py:544: in test_sarif\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_other.test_addon_suppr_cli_file_line": {"message": "AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_file_line2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_file_line2/test.c:4:1: '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2847: in test_addon_suppr_cli_file_line\n __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:test.c:3'])\ntests/test_harvest_other.py:2824: in __test_addon_suppr\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_file_line2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_file_line2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_undef": {"message": "AssertionError: assert [] == ['/tmp/pytest...nullPointer]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_undef2/test.c:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/popen-gw9/test_undef2/test.c:5:14: error: '\n - 'Null pointer dereference: (int*)0 [nullPointer]',\n - ]", "text": "tests/test_harvest_other.py:2507: in test_undef\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...nullPointer]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw9/test_undef2/test.c:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw9/test_undef2/test.c:5:14: error: '\nE - 'Null pointer dereference: (int*)0 [nullPointer]',\nE - ]"}, "1040f6b8a219/tests.test_harvest_other.test_execute_addon_failure_json_ctu_notexist": {"message": "assert [] == ['/tmp/pytest...ternalError]']\n \n Right contains 2 more items, first extra item: \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_execute_addon_failure_jso5/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is 127 [internalError]\"\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/popen-gw6/test_execute_addon_failure_jso5/test.cpp:0:0: '...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:578: in test_execute_addon_failure_json_ctu_notexist\n assert stderr.splitlines() == [\nE assert [] == ['/tmp/pytest...ternalError]']\nE \nE Right contains 2 more items, first extra item: \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_execute_addon_failure_jso5/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is 127 [internalError]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw6/test_execute_addon_failure_jso5/test.cpp:0:0: '...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_filter_cpp[file_filter1]": {"message": "AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_cpp_f5/test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_more_projects.py:414: in test_project_file_filter_cpp\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_cpp_f5/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_dumpfile.test_language_unk": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_unk2/test.src.dump'", "text": "tests/test_harvest_dumpfile.py:185: in test_language_unk\n dump_s = (tmp_path / 'test.src.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_unk2/test.src.dump'"}, "1040f6b8a219/tests.test_harvest_other.test_active_unusedfunction_only_misra": {"message": "AssertionError: cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\n \nassert 1 == 0", "text": "tests/test_harvest_other.py:4384: in test_active_unusedfunction_only_misra\n __test_active_checkers(tmp_path, 1, 386, use_unusedfunction_only=True, use_misra=True)\ntests/test_harvest_other.py:4356: in __test_active_checkers\n assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_addon_json_invalid_args_2": {"message": "assert 0 == 1", "text": "tests/test_harvest_other.py:1621: in test_addon_json_invalid_args_2\n __test_addon_json_invalid(tmpdir, json.dumps({'args':[0]}), \"'args' entry is not a string.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_file_wildcard_back": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_wildc2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_wildc2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2190: in test_ignore_project_file_wildcard_back\n __test_ignore_project(tmpdir, 'test.c*')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_wildc2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_wildc2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_suppress_unmatched_wildcard": {"message": "AssertionError: assert ['test*.c:-1:...ession]', ...] == ['test*.c:-1:...Suppression]']\n \n At index 0 diff: 'test*.c:-1:0: information: Unmatched suppression: nullPointer [unmatchedSuppression]' != 'test*.c:-1:0: information: Unmatched suppression: id [unmatchedSuppression]'\n Left contains 4 more items, first extra item: 'tes?.c:-1:0: information: Unmatched suppression: id2 [unmatchedSuppression]'\n \n Full diff:\n [\n + 'test*.c:-1:0: information: Unmatched suppression: nullPointer '...\n \n ...Full output truncated (14 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:3615: in test_suppress_unmatched_wildcard\n assert stderr.splitlines() == [\nE AssertionError: assert ['test*.c:-1:...ession]', ...] == ['test*.c:-1:...Suppression]']\nE \nE At index 0 diff: 'test*.c:-1:0: information: Unmatched suppression: nullPointer [unmatchedSuppression]' != 'test*.c:-1:0: information: Unmatched suppression: id [unmatchedSuppression]'\nE Left contains 4 more items, first extra item: 'tes?.c:-1:0: information: Unmatched suppression: id2 [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'test*.c:-1:0: information: Unmatched suppression: nullPointer '...\nE \nE ...Full output truncated (14 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_helloworld.test_xml_checkers_report": {"message": "assert 1 == 0", "text": "tests/test_harvest_helloworld.py:567: in test_xml_checkers_report\n assert exitcode == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_addon_suppr_cli_absfile_line": {"message": "AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_absfile_l2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_absfile_l2/test.c:4:1: '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2852: in test_addon_suppr_cli_absfile_line\n __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:{}:3'.format(test_file)])\ntests/test_harvest_other.py:2824: in __test_addon_suppr\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_absfile_l2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_addon_suppr_cli_absfile_l2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_inline_suppr_builddir_cached": {"message": "[XPASS(strict)] ", "text": "[XPASS(strict)] "}, "1040f6b8a219/tests.test_harvest_other.test_execute_addon_file0": {"message": "assert 'misra-c2012-8.2' in '\\n\\n \\n \\n \\n\\n'", "text": "tests/test_harvest_other.py:592: in test_execute_addon_file0\n assert 'misra-c2012-8.2' in stderr\nE assert 'misra-c2012-8.2' in '\\n\\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_harvest_other.test_internal_error": {"message": "unconditional skip", "text": "/workspace/eval/tests/test_harvest_other.py:598: unconditional skip"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_filter_c[file_filter0]": {"message": "AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_c_fil2/test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_more_projects.py:445: in test_project_file_filter_c\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_c_fil2/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_dumpfile.test_language_unk_force_c": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_unk_force_c2/test.src.dump'", "text": "tests/test_harvest_dumpfile.py:200: in test_language_unk_force_c\n dump_s = (tmp_path / 'test.src.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_unk_force_c2/test.src.dump'"}, "1040f6b8a219/tests.test_harvest_other.test_active_unusedfunction_only_misra_builddir": {"message": "AssertionError: assert ['nofile:0:0:...sReport]', ''] == ['nofile:0:0:...sReport]', '']\n \n At index 0 diff: 'nofile:0:0: information: Active checkers: 41/186 (use --checkers-report= to see details) [checkersReport]' != 'nofile:0:0: information: Active checkers: 1/386 (use --checkers-report= to see details) [checkersReport]'\n \n Full diff:\n [\n - 'nofile:0:0: information: Active checkers: 1/386 (use '\n ? ^...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:4391: in test_active_unusedfunction_only_misra_builddir\n __test_active_checkers(tmp_path, 1, 386, use_unusedfunction_only=True, use_misra=True, checkers_exp=checkers_exp)\ntests/test_harvest_other.py:4358: in __test_active_checkers\n assert stderr.splitlines() == [\nE AssertionError: assert ['nofile:0:0:...sReport]', ''] == ['nofile:0:0:...sReport]', '']\nE \nE At index 0 diff: 'nofile:0:0: information: Active checkers: 41/186 (use --checkers-report= to see details) [checkersReport]' != 'nofile:0:0: information: Active checkers: 1/386 (use --checkers-report= to see details) [checkersReport]'\nE \nE Full diff:\nE [\nE - 'nofile:0:0: information: Active checkers: 1/386 (use '\nE ? ^...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_addon_json_invalid_ctu": {"message": "assert 0 == 1", "text": "tests/test_harvest_other.py:1625: in test_addon_json_invalid_ctu\n __test_addon_json_invalid(tmpdir, json.dumps({'ctu':0}), \"'ctu' must be a boolean.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1"}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_1": {"message": "AssertionError: assert 'proj-inline-.... [zerodiv]\\n' == ''\n \n + proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]", "text": "tests/test_harvest_inline_suppress.py:71: in test_1\n assert stderr == ''\nE AssertionError: assert 'proj-inline-.... [zerodiv]\\n' == ''\nE \nE + proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_file_wildcard_front": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_wildc5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_wildc5/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2194: in test_ignore_project_file_wildcard_front\n __test_ignore_project(tmpdir, '*test.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_wildc5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_wildc5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_preprocess_enforced_cpp": {"message": "assert ['/tmp/pytest...orDirective]'] == ['/tmp/pytest...orDirective]']\n \n At index 0 diff: '/tmp/pytest-of-root/pytest-0/popen-gw3/test_preprocess_enforced_cpp2/test.c:2:2: error: #error\"err\" [preprocessorErrorDirective]' != '/tmp/pytest-of-root/pytest-0/popen-gw3/test_preprocess_enforced_cpp2/test.c:2:2: error: #error \"err\" [preprocessorErrorDirective]'\n \n Full diff:\n [\n '/tmp/pytest-of-root/pytest-0/popen-gw3/test_preprocess_enforced_cpp2/test.c:2:2: '\n - 'error: #error \"err\" [preprocessorErrorDirective]',...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:3691: in test_preprocess_enforced_cpp\n assert stderr.splitlines() == [\nE assert ['/tmp/pytest...orDirective]'] == ['/tmp/pytest...orDirective]']\nE \nE At index 0 diff: '/tmp/pytest-of-root/pytest-0/popen-gw3/test_preprocess_enforced_cpp2/test.c:2:2: error: #error\"err\" [preprocessorErrorDirective]' != '/tmp/pytest-of-root/pytest-0/popen-gw3/test_preprocess_enforced_cpp2/test.c:2:2: error: #error \"err\" [preprocessorErrorDirective]'\nE \nE Full diff:\nE [\nE '/tmp/pytest-of-root/pytest-0/popen-gw3/test_preprocess_enforced_cpp2/test.c:2:2: '\nE - 'error: #error \"err\" [preprocessorErrorDirective]',...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_ctu_path_builddir": {"message": "AssertionError: assert [] == ['/tmp/pytest... ^', ...]\n \n Right contains 12 more items, first extra item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_ctu_path_builddir2/test.c:2:19: error: Null pointer dereference: p [ctunullpointer]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_ctu_path_builddir2/test.c:2:19: '...\n \n ...Full output truncated (16 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2896: in test_ctu_path_builddir\n assert stderr_1.splitlines() == stderr_exp\nE AssertionError: assert [] == ['/tmp/pytest... ^', ...]\nE \nE Right contains 12 more items, first extra item: '/tmp/pytest-of-root/pytest-0/popen-gw8/test_ctu_path_builddir2/test.c:2:19: error: Null pointer dereference: p [ctunullpointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_ctu_path_builddir2/test.c:2:19: '...\nE \nE ...Full output truncated (16 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_inline_suppr_builddir_j_cached": {"message": "[XPASS(strict)] ", "text": "[XPASS(strict)] "}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_filter_c[file_filter1]": {"message": "AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_c_fil5/test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_more_projects.py:445: in test_project_file_filter_c\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_c_fil5/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_addon_ctu_exitcode": {"message": "AssertionError: \nassert '2.3' in ''", "text": "tests/test_harvest_other.py:626: in test_addon_ctu_exitcode\n assert '2.3' in stderr, stderr\nE AssertionError: \nE assert '2.3' in ''"}, "1040f6b8a219/tests.test_harvest_dumpfile.test_language_unk_force_cpp": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_unk_force_cpp2/test.src.dump'", "text": "tests/test_harvest_dumpfile.py:215: in test_language_unk_force_cpp\n dump_s = (tmp_path / 'test.src.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n/usr/lib/python3.10/pathlib.py:1119: in open\n return self._accessor.open(self, mode, buffering, encoding, errors,\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw2/test_language_unk_force_cpp2/test.src.dump'"}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_xml": {"message": "assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tests/test_harvest_inline_suppress.py:102: in test_xml\n assert '' in stderr\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_harvest_other.test_analyzerinfo": {"message": "AssertionError: cppcheck: error: unrecognized command line option: \"--debug-analyzerinfo\".\n \nassert 1 == 0", "text": "tests/test_harvest_other.py:4432: in test_analyzerinfo\n run_and_assert_cppcheck([\ntests/test_harvest_other.py:4425: in run_and_assert_cppcheck\n assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--debug-analyzerinfo\".\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_addon_json_invalid_python": {"message": "assert 0 == 1", "text": "tests/test_harvest_other.py:1629: in test_addon_json_invalid_python\n __test_addon_json_invalid(tmpdir, json.dumps({'python':0}), \"'python' must be a string.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_file_placeholder": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_place2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_place2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2198: in test_ignore_project_file_placeholder\n __test_ignore_project(tmpdir, 't?st.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_place2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_place2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_debug_normal": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##Value flow')\n + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw3/test_debug_normal2/test.c\\n1: void f ( )\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find", "text": "tests/test_harvest_other.py:3766: in test_debug_normal\n __test_debug_normal(tmp_path, False)\ntests/test_harvest_other.py:3749: in __test_debug_normal\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw3/test_debug_normal2/test.c\\n1: void f ( )\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find"}, "1040f6b8a219/tests.test_harvest_other.test_debug": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##Value flow')\n + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw8/test_debug2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find", "text": "tests/test_harvest_other.py:2958: in test_debug\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw8/test_debug2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find"}, "1040f6b8a219/tests.test_harvest_other.test_duplicate_suppression": {"message": "AssertionError: \nassert 0 == 1", "text": "tests/test_harvest_other.py:2649: in test_duplicate_suppression\n assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_relpath_file_filter_abspath": {"message": "AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_more_projects.py:475: in test_project_relpath_file_filter_abspath\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines, cwd=tmpdir)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_dumpfile.test_duplicate_file_entries": {"message": "assert 1 == 0\n + where 1 = CompletedProcess(args=['/workspace/executable', '--project=compile_commands.json', '--dump'], returncode=1, stdout=\"cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\\n\", stderr='').returncode", "text": "tests/test_harvest_dumpfile.py:242: in test_duplicate_file_entries\n assert result.returncode == 0\nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['/workspace/executable', '--project=compile_commands.json', '--dump'], returncode=1, stdout=\"cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\\n\", stderr='').returncode"}, "1040f6b8a219/tests.test_harvest_other.test_addon_misra": {"message": "AssertionError: assert '' == '/tmp/pytest-...OLATION;\\n^\\n'\n \n - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_misra2/test.cpp:2:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]\n - typedef int MISRA_5_6_VIOLATION;\n - ^", "text": "tests/test_harvest_other.py:648: in test_addon_misra\n assert stderr == '{}:2:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]\\ntypedef int MISRA_5_6_VIOLATION;\\n^\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...OLATION;\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_misra2/test.cpp:2:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]\nE - typedef int MISRA_5_6_VIOLATION;\nE - ^"}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_backwards_compatibility": {"message": "AssertionError: assert ['proj-inline...o. [zerodiv]'] == []\n \n Left contains one more item: 'proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]'\n \n Full diff:\n - []\n + [\n + 'proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]',\n + ]", "text": "tests/test_harvest_inline_suppress.py:168: in test_backwards_compatibility\n assert lines == []\nE AssertionError: assert ['proj-inline...o. [zerodiv]'] == []\nE \nE Left contains one more item: 'proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]'\nE \nE Full diff:\nE - []\nE + [\nE + 'proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]',\nE + ]"}, "1040f6b8a219/tests.test_harvest_other.test_addon_json_invalid_executable": {"message": "assert 0 == 1", "text": "tests/test_harvest_other.py:1633: in test_addon_json_invalid_executable\n __test_addon_json_invalid(tmpdir, json.dumps({'executable':0}), \"'executable' must be a string.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_file_relative": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_relat2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_relat2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2202: in test_ignore_project_file_relative\n __test_ignore_project(tmpdir, 'src/test.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_relat2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_relat2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_debug_simplified": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##file ')\n + where = ''.find", "text": "tests/test_harvest_other.py:3811: in test_debug_simplified\n __test_debug_simplified(tmp_path, False)\ntests/test_harvest_other.py:3799: in __test_debug_simplified\n assert stdout.find('##file ') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##file ')\nE + where = ''.find"}, "1040f6b8a219/tests.test_harvest_other.test_debug_xml": {"message": "xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 3, column 1", "text": "tests/test_harvest_other.py:2994: in test_debug_xml\n debug_xml = ElementTree.fromstring(stdout)\n/usr/lib/python3.10/xml/etree/ElementTree.py:1342: in XML\n parser.feed(text)\nE xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 3, column 1"}, "1040f6b8a219/tests.test_harvest_other.test_duplicate_suppressions_list": {"message": "AssertionError: \nassert 0 == 1", "text": "tests/test_harvest_other.py:2675: in test_duplicate_suppressions_list\n assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_abspath_file_filter_relpath": {"message": "AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_more_projects.py:505: in test_project_abspath_file_filter_relpath\n assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines, cwd=tmpdir)\ntests/test_harvest_more_projects.py:60: in assert_cppcheck\n assert exitcode == ec_exp, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_dumpfile.test_container_methods": {"message": "assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tests/test_harvest_dumpfile.py:262: in test_container_methods\n assert '' in dump\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_harvest_other.test_addon_y2038": {"message": "AssertionError: assert '' == '/tmp/pytest-...nsafe-call]\\n'\n \n - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_y20382/test.cpp:4:21: warning: time is Y2038-unsafe [y2038-unsafe-call]", "text": "tests/test_harvest_other.py:671: in test_addon_y2038\n assert stderr == '{}:4:21: warning: time is Y2038-unsafe [y2038-unsafe-call]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nsafe-call]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_y20382/test.cpp:4:21: warning: time is Y2038-unsafe [y2038-unsafe-call]"}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_compile_commands_unused_function": {"message": "assert [] == ['/workspace/...sedFunction]']\n \n Right contains one more item: \"/workspace/test/cli/proj-inline-suppress-unusedFunction/B.cpp:6:9: style: The function 'unusedFunctionTest' is never used. [unusedFunction]\"\n \n Full diff:\n + []\n - [\n - '/workspace/test/cli/proj-inline-suppress-unusedFunction/B.cpp:6:9: style: '\n - \"The function 'unusedFunctionTest' is never used. [unusedFunction]\",\n - ]", "text": "tests/test_harvest_inline_suppress.py:187: in test_compile_commands_unused_function\n assert lines == [\nE assert [] == ['/workspace/...sedFunction]']\nE \nE Right contains one more item: \"/workspace/test/cli/proj-inline-suppress-unusedFunction/B.cpp:6:9: style: The function 'unusedFunctionTest' is never used. [unusedFunction]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/workspace/test/cli/proj-inline-suppress-unusedFunction/B.cpp:6:9: style: '\nE - \"The function 'unusedFunctionTest' is never used. [unusedFunction]\",\nE - ]"}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_compile_commands_unused_function_j": {"message": "unusedFunction check not working with parallel analysis", "text": "/workspace/eval/tests/test_harvest_inline_suppress.py:194: unusedFunction check not working with parallel analysis"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_file_relative_backslash": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_relat5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_relat5/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2206: in test_ignore_project_file_relative_backslash\n __test_ignore_project(tmpdir, 'src\\\\test.cpp')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_relat5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_file_relat5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_addon_json_invalid_script_1": {"message": "assert 0 == 1", "text": "tests/test_harvest_other.py:1637: in test_addon_json_invalid_script_1\n __test_addon_json_invalid(tmpdir, json.dumps({'Script':''}), \"'script' is missing.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1"}, "1040f6b8a219/tests.test_harvest_other.test_debug_simplified_verbose_nodiff": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##file ')\n + where = ''.find", "text": "tests/test_harvest_other.py:3816: in test_debug_simplified_verbose_nodiff\n assert __test_debug_simplified(tmp_path, False) == __test_debug_simplified(tmp_path, True)\ntests/test_harvest_other.py:3799: in __test_debug_simplified\n assert stdout.find('##file ') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##file ')\nE + where = ''.find"}, "1040f6b8a219/tests.test_harvest_other.test_debug_verbose": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##Value flow')\n + where = 'Defines:\\nUndefines:\\nIncludes:\\nPlatform:native\\n\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw8/test_debug_verbose2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find", "text": "tests/test_harvest_other.py:3027: in test_debug_verbose\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = 'Defines:\\nUndefines:\\nIncludes:\\nPlatform:native\\n\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw8/test_debug_verbose2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find"}, "1040f6b8a219/tests.test_harvest_other.test_duplicate_suppressions_mixed": {"message": "AssertionError: \nassert 0 == 1", "text": "tests/test_harvest_other.py:2699: in test_duplicate_suppressions_mixed\n assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_pathmatch_other_cwd": {"message": "assert 0 == 1", "text": "tests/test_harvest_more_projects.py:573: in test_project_pathmatch_other_cwd\n assert 0 == exitcode\nE assert 0 == 1"}, "1040f6b8a219/tests.test_harvest_other.test_addon_threadsafety": {"message": "AssertionError: assert '' == '/tmp/pytest-...nsafe-call]\\n'\n \n - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_threadsafety2/test.cpp:4:12: warning: strerror is MT-unsafe [threadsafety-unsafe-call]", "text": "tests/test_harvest_other.py:692: in test_addon_threadsafety\n assert stderr == '{}:4:12: warning: strerror is MT-unsafe [threadsafety-unsafe-call]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nsafe-call]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_threadsafety2/test.cpp:4:12: warning: strerror is MT-unsafe [threadsafety-unsafe-call]"}, "1040f6b8a219/tests.test_harvest_helloworld.test_relative_path": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_helloworld.py:114: in test_relative_path\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_unused_function_unmatched": {"message": "AssertionError: assert [] == ['proj-inline...Suppression]']\n \n Right contains 2 more items, first extra item: 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n \n Full diff:\n + []\n - [\n - 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tests/test_harvest_inline_suppress.py:230: in test_unused_function_unmatched\n assert lines == [\nE AssertionError: assert [] == ['proj-inline...Suppression]']\nE \nE Right contains 2 more items, first extra item: 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_unused_function_unmatched_j": {"message": "Known issue: unusedFunction unmatched suppression doesn't work with -j2"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_path_relative": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_path_relat2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_path_relat2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2210: in test_ignore_project_path_relative\n __test_ignore_project(tmpdir, 'src/')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_path_relat2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_path_relat2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_addon_json_invalid_script_2": {"message": "assert 0 == 1", "text": "tests/test_harvest_other.py:1641: in test_addon_json_invalid_script_2\n __test_addon_json_invalid(tmpdir, json.dumps({'script':0}), \"'script' must be a string.\")\ntests/test_harvest_other.py:1603: in __test_addon_json_invalid\n assert exitcode == 1\nE assert 0 == 1"}, "1040f6b8a219/tests.test_harvest_other.test_debug_verbose_xml": {"message": "xml.etree.ElementTree.ParseError: syntax error: line 1, column 0", "text": "tests/test_harvest_other.py:3064: in test_debug_verbose_xml\n debug_xml = ElementTree.fromstring(stdout)\n/usr/lib/python3.10/xml/etree/ElementTree.py:1342: in XML\n parser.feed(text)\nE xml.etree.ElementTree.ParseError: syntax error: line 1, column 0"}, "1040f6b8a219/tests.test_harvest_other.test_debug_symdb": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('### Symbol database ###')\n + where = ''.find", "text": "tests/test_harvest_other.py:3855: in test_debug_symdb\n __test_debug_symdb(tmp_path, False)\ntests/test_harvest_other.py:3845: in __test_debug_symdb\n assert stdout.find('### Symbol database ###') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('### Symbol database ###')\nE + where = ''.find"}, "1040f6b8a219/tests.test_harvest_other.test_debug_symdb_verbose_nodiff": {"message": "unconditional skip", "text": "/workspace/eval/tests/test_harvest_other.py:3857: unconditional skip"}, "1040f6b8a219/tests.test_harvest_proj2.test_absolute_path": {"message": "AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_absolute_path2/proj2/compile_commands.json'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_proj2.py:149: in test_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_absolute_path2/proj2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_filter_no_match": {"message": "AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_no_ma2/test.cppcheck'. Project files are not supported.\"]\nassert ['cppcheck: e...t supported.'] == ['cppcheck: e...e filter:*.c']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_no_ma2/test.cppcheck'. Project files are not supported.\" != 'cppcheck: error: could not find any files matching the filter:*.c'\n \n Full diff:\n [\n - 'cppcheck: error: could not find any files matching the filter:*.c',\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_more_projects.py:599: in test_project_file_filter_no_match\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_no_ma2/test.cppcheck'. Project files are not supported.\"]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...e filter:*.c']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_filter_no_ma2/test.cppcheck'. Project files are not supported.\" != 'cppcheck: error: could not find any files matching the filter:*.c'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: could not find any files matching the filter:*.c',\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_addon_naming": {"message": "AssertionError: assert '' == '/tmp/pytest-...ng-varname]\\n'\n \n - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_naming2/test.cpp:2:1: style: Variable Var violates naming convention [naming-varname]", "text": "tests/test_harvest_other.py:722: in test_addon_naming\n assert stderr == '{}:2:1: style: Variable Var violates naming convention [naming-varname]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...ng-varname]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_naming2/test.cpp:2:1: style: Variable Var violates naming convention [naming-varname]"}, "1040f6b8a219/tests.test_harvest_helloworld.test_local_path": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'", "text": "tests/test_harvest_helloworld.py:126: in test_local_path\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'"}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_unused_function_disabled_unmatched_j": {"message": "AssertionError: assert [] == ['proj-inline...Suppression]']\n \n Right contains one more item: 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n \n Full diff:\n + []\n - [\n - 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: '\n - 'Unmatched suppression: uninitvar [unmatchedSuppression]',\n - ]", "text": "tests/test_harvest_inline_suppress.py:383: in test_unused_function_disabled_unmatched_j\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['proj-inline...Suppression]']\nE \nE Right contains one more item: 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: '\nE - 'Unmatched suppression: uninitvar [unmatchedSuppression]',\nE - ]"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_path_relative_backslash": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_path_relat5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_path_relat5/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2214: in test_ignore_project_path_relative_backslash\n __test_ignore_project(tmpdir, 'src\\\\')\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_path_relat5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_path_relat5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_ast_max_depth": {"message": "AssertionError: assert [] == ['/tmp/pytest...nalAstError]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_ast_max_depth2/test.cpp:12:5: error: maximum AST depth exceeded [internalAstError]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_ast_max_depth2/test.cpp:12:5: '\n - 'error: maximum AST depth exceeded [internalAstError]',\n - ]", "text": "tests/test_harvest_other.py:4010: in test_ast_max_depth\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...nalAstError]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_ast_max_depth2/test.cpp:12:5: error: maximum AST depth exceeded [internalAstError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_ast_max_depth2/test.cpp:12:5: '\nE - 'error: maximum AST depth exceeded [internalAstError]',\nE - ]"}, "1040f6b8a219/tests.test_harvest_other.test_debug_template": {"message": "AssertionError: assert 0 == 1\n + where 0 = ('### Template Simplifier pass ')\n + where = ''.count", "text": "tests/test_harvest_other.py:3132: in test_debug_template\n __test_debug_template(tmp_path, verbose=False)\ntests/test_harvest_other.py:3124: in __test_debug_template\n assert stdout.count('### Template Simplifier pass ') == 1\nE AssertionError: assert 0 == 1\nE + where 0 = ('### Template Simplifier pass ')\nE + where = ''.count"}, "1040f6b8a219/tests.test_harvest_proj2.test_gui_project_loads_compile_commands_1": {"message": "AssertionError: cppcheck: error: failed to load project 'proj2/proj2.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_proj2.py:162: in test_gui_project_loads_compile_commands_1\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/proj2.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_debug_ast": {"message": "assert -1 != -1\n + where -1 = ('##AST')\n + where = \"1:1 'void' varId=0 type=12 scope=0\\n1:6 'f' varId=0 type=14 scope=0\\n1:7 '(' varId=0 type=9 scope=0\\n1:8 ')' varId=0 type=9 scope=0\\n2:1 '{' varId=0 type=9 scope=0\\n3:5 '(' varId=0 type=9 op1='*' scope=5\\n3:6 'void' varId=0 type=12 scope=5\\n3:10 ')' varId=0 type=9 scope=5\\n3:11 '(' varId=0 type=9 scope=5\\n3:12 '*' varId=0 type=8 parent='(' op1='(' scope=5\\n3:13 '(' varId=0 type=9 scope=5\\n3:14 '(' varId=0 type=9 parent='*' op1='0' scope=5 val=0K\\n3:15 'int' varId=0 type=12 scope=5\\n3:18 '*' varId=0 type=8 scope=5\\n3:19 ')' varId=0 type=9 scope=5\\n3:20 '0' varId=0 type=3 parent='(' scope=5 val=0K\\n3:21 ')' varId=0 type=9 scope=5\\n3:22 ')' varId=0 type=9 scope=5\\n3:23 ';' varId=0 type=8 scope=5\\n4:1 '}' varId=0 type=9 scope=0\\n\\n\".find", "text": "tests/test_harvest_other.py:3900: in test_debug_ast\n __test_debug_ast(tmp_path, False)\ntests/test_harvest_other.py:3891: in __test_debug_ast\n assert stdout.find('##AST') != -1\nE assert -1 != -1\nE + where -1 = ('##AST')\nE + where = \"1:1 'void' varId=0 type=12 scope=0\\n1:6 'f' varId=0 type=14 scope=0\\n1:7 '(' varId=0 type=9 scope=0\\n1:8 ')' varId=0 type=9 scope=0\\n2:1 '{' varId=0 type=9 scope=0\\n3:5 '(' varId=0 type=9 op1='*' scope=5\\n3:6 'void' varId=0 type=12 scope=5\\n3:10 ')' varId=0 type=9 scope=5\\n3:11 '(' varId=0 type=9 scope=5\\n3:12 '*' varId=0 type=8 parent='(' op1='(' scope=5\\n3:13 '(' varId=0 type=9 scope=5\\n3:14 '(' varId=0 type=9 parent='*' op1='0' scope=5 val=0K\\n3:15 'int' varId=0 type=12 scope=5\\n3:18 '*' varId=0 type=8 scope=5\\n3:19 ')' varId=0 type=9 scope=5\\n3:20 '0' varId=0 type=3 parent='(' scope=5 val=0K\\n3:21 ')' varId=0 type=9 scope=5\\n3:22 ')' varId=0 type=9 scope=5\\n3:23 ';' varId=0 type=8 scope=5\\n4:1 '}' varId=0 type=9 scope=0\\n\\n\".find"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_order": {"message": "assert 1 == 0", "text": "tests/test_harvest_more_projects.py:632: in test_project_file_order\n assert exitcode == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_addon_namingng": {"message": "AssertionError: assert [' ^', '#incl...singInclude]'] == [' ... ^', ...]\n \n At index 0 diff: ' ^' != ' ^'\n Right contains 56 more items, first extra item: ' ^'\n \n Full diff:\n [\n - ' ^',...\n \n ...Full output truncated (115 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:900: in test_addon_namingng\n assert lines == expect\nE AssertionError: assert [' ^', '#incl...singInclude]'] == [' ... ^', ...]\nE \nE At index 0 diff: ' ^' != ' ^'\nE Right contains 56 more items, first extra item: ' ^'\nE \nE Full diff:\nE [\nE - ' ^',...\nE \nE ...Full output truncated (115 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_helloworld.test_absolute_path": {"message": "AssertionError: cppcheck: error: could not find or open any of the paths given.\n \nassert 1 == 0", "text": "tests/test_harvest_helloworld.py:139: in test_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find or open any of the paths given.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_misra_disabled_unmatched": {"message": "AssertionError: assert ['proj-inline...Suppression]'] == ['proj-inline...Suppression]']\n \n At index 0 diff: 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: misra-c2012-20.5 [unmatchedSuppression]' != 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n Left contains one more item: 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n \n Full diff:\n [\n + 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tests/test_harvest_inline_suppress.py:400: in test_misra_disabled_unmatched\n assert stderr.splitlines() == [\nE AssertionError: assert ['proj-inline...Suppression]'] == ['proj-inline...Suppression]']\nE \nE At index 0 diff: 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: misra-c2012-20.5 [unmatchedSuppression]' != 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_abspath": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_abspath2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_abspath2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2218: in test_ignore_project_abspath\n __test_ignore_project(tmpdir, '$path', inject_path_proj=True)\ntests/test_harvest_other.py:2174: in __test_ignore_project\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_abspath2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_abspath2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_misra_disabled_unmatched": {"message": "AssertionError: assert ['nofile:0:0:...Suppression]'] == ['nofile:0:0:...Suppression]']\n \n At index 0 diff: 'nofile:0:0: information: Unmatched suppression: misra-c2012-20.5 [unmatchedSuppression]' != 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n Left contains one more item: 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n \n Full diff:\n [\n + 'nofile:0:0: information: Unmatched suppression: misra-c2012-20.5 '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:4033: in test_misra_disabled_unmatched\n assert stderr.splitlines() == [\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['nofile:0:0:...Suppression]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: misra-c2012-20.5 [unmatchedSuppression]' != 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: misra-c2012-20.5 '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_proj2.test_gui_project_loads_compile_commands_2": {"message": "AssertionError: cppcheck: error: failed to load project 'proj2/test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_proj2.py:179: in test_gui_project_loads_compile_commands_2\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_duplicate": {"message": "assert 1 == 0", "text": "tests/test_harvest_more_projects.py:667: in test_project_file_duplicate\n assert exitcode == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_debug_template_verbose_nodiff": {"message": "AssertionError: assert 0 == 1\n + where 0 = ('### Template Simplifier pass ')\n + where = ''.count", "text": "tests/test_harvest_other.py:3137: in test_debug_template_verbose_nodiff\n assert __test_debug_template(tmp_path, verbose=False) == __test_debug_template(tmp_path, verbose=True)\ntests/test_harvest_other.py:3124: in __test_debug_template\n assert stdout.count('### Template Simplifier pass ') == 1\nE AssertionError: assert 0 == 1\nE + where 0 = ('### Template Simplifier pass ')\nE + where = ''.count"}, "1040f6b8a219/tests.test_harvest_other.test_debug_ast_verbose_nodiff": {"message": "assert -1 != -1\n + where -1 = ('##AST')\n + where = \"1:1 'void' varId=0 type=12 scope=0\\n1:6 'f' varId=0 type=14 scope=0\\n1:7 '(' varId=0 type=9 scope=0\\n1:8 ')' varId=0 type=9 scope=0\\n2:1 '{' varId=0 type=9 scope=0\\n3:5 '(' varId=0 type=9 op1='*' scope=5\\n3:6 'void' varId=0 type=12 scope=5\\n3:10 ')' varId=0 type=9 scope=5\\n3:11 '(' varId=0 type=9 scope=5\\n3:12 '*' varId=0 type=8 parent='(' op1='(' scope=5\\n3:13 '(' varId=0 type=9 scope=5\\n3:14 '(' varId=0 type=9 parent='*' op1='0' scope=5 val=0K\\n3:15 'int' varId=0 type=12 scope=5\\n3:18 '*' varId=0 type=8 scope=5\\n3:19 ')' varId=0 type=9 scope=5\\n3:20 '0' varId=0 type=3 parent='(' scope=5 val=0K\\n3:21 ')' varId=0 type=9 scope=5\\n3:22 ')' varId=0 type=9 scope=5\\n3:23 ';' varId=0 type=8 scope=5\\n4:1 '}' varId=0 type=9 scope=0\\n\\n\".find", "text": "tests/test_harvest_other.py:3905: in test_debug_ast_verbose_nodiff\n assert __test_debug_ast(tmp_path, False) == __test_debug_ast(tmp_path, True)\ntests/test_harvest_other.py:3891: in __test_debug_ast\n assert stdout.find('##AST') != -1\nE assert -1 != -1\nE + where -1 = ('##AST')\nE + where = \"1:1 'void' varId=0 type=12 scope=0\\n1:6 'f' varId=0 type=14 scope=0\\n1:7 '(' varId=0 type=9 scope=0\\n1:8 ')' varId=0 type=9 scope=0\\n2:1 '{' varId=0 type=9 scope=0\\n3:5 '(' varId=0 type=9 op1='*' scope=5\\n3:6 'void' varId=0 type=12 scope=5\\n3:10 ')' varId=0 type=9 scope=5\\n3:11 '(' varId=0 type=9 scope=5\\n3:12 '*' varId=0 type=8 parent='(' op1='(' scope=5\\n3:13 '(' varId=0 type=9 scope=5\\n3:14 '(' varId=0 type=9 parent='*' op1='0' scope=5 val=0K\\n3:15 'int' varId=0 type=12 scope=5\\n3:18 '*' varId=0 type=8 scope=5\\n3:19 ')' varId=0 type=9 scope=5\\n3:20 '0' varId=0 type=3 parent='(' scope=5 val=0K\\n3:21 ')' varId=0 type=9 scope=5\\n3:22 ')' varId=0 type=9 scope=5\\n3:23 ';' varId=0 type=8 scope=5\\n4:1 '}' varId=0 type=9 scope=0\\n\\n\".find"}, "1040f6b8a219/tests.test_harvest_other.test_addon_namingng_config": {"message": "IndexError: pop from empty list", "text": "tests/test_harvest_other.py:966: in test_addon_namingng_config\n lines.pop(0)\nE IndexError: pop from empty list"}, "1040f6b8a219/tests.test_harvest_helloworld.test_addon_local_path": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'", "text": "tests/test_harvest_helloworld.py:151: in test_addon_local_path\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'"}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_premium_disabled_unmatched": {"message": "AssertionError: assert ['proj-inline...Suppression]'] == ['proj-inline...Suppression]']\n \n At index 0 diff: 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: premium-misra-cpp-2023-12.2.1 [unmatchedSuppression]' != 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n Left contains one more item: 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n \n Full diff:\n [\n + 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tests/test_harvest_inline_suppress.py:417: in test_premium_disabled_unmatched\n assert stderr.splitlines() == [\nE AssertionError: assert ['proj-inline...Suppression]'] == ['proj-inline...Suppression]']\nE \nE At index 0 diff: 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: premium-misra-cpp-2023-12.2.1 [unmatchedSuppression]' != 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_proj2.test_gui_project_loads_relative_vs_solution": {"message": "AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_proj2.py:192: in test_gui_project_loads_relative_vs_solution\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_premium_disabled_unmatched": {"message": "AssertionError: assert ['nofile:0:0:...Suppression]'] == ['nofile:0:0:...Suppression]']\n \n At index 0 diff: 'nofile:0:0: information: Unmatched suppression: premium-misra-cpp-2023-12.2.1 [unmatchedSuppression]' != 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n Left contains one more item: 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n \n Full diff:\n [\n + 'nofile:0:0: information: Unmatched suppression: '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:4058: in test_premium_disabled_unmatched\n assert stderr.splitlines() == [\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['nofile:0:0:...Suppression]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: premium-misra-cpp-2023-12.2.1 [unmatchedSuppression]' != 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_2_file": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2264: in test_ignore_project_2_file\n __test_ignore_project_2(tmpdir, ['-itest.cpp'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_duplicate_2": {"message": "assert 1 == 0", "text": "tests/test_harvest_more_projects.py:706: in test_project_file_duplicate_2\n assert exitcode == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_debug_template_debug": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##Value flow')\n + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw8/test_debug_template_debug2/test.cpp\\n1: template < class T > class TemplCl ;\\n2: void f ( )\\n3: {\\n4: ( void ) ( * ( ( int * ) nullptr ) ) ;\\n5: }\\n'.find", "text": "tests/test_harvest_other.py:3141: in test_debug_template_debug\n __test_debug_template(tmp_path, debug=True)\ntests/test_harvest_other.py:3110: in __test_debug_template\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw8/test_debug_template_debug2/test.cpp\\n1: template < class T > class TemplCl ;\\n2: void f ( )\\n3: {\\n4: ( void ) ( * ( ( int * ) nullptr ) ) ;\\n5: }\\n'.find"}, "1040f6b8a219/tests.test_harvest_other.test_debug_valueflow": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##Value flow')\n + where = ''.find", "text": "tests/test_harvest_other.py:3944: in test_debug_valueflow\n __test_debug_valueflow(tmp_path, False)\ntests/test_harvest_other.py:3933: in __test_debug_valueflow\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = ''.find"}, "1040f6b8a219/tests.test_harvest_other.test_addon_findcasts": {"message": "AssertionError: assert '' == '/tmp/pytest-...casts-cast]\\n'\n \n - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_findcasts2/test.cpp:4:21: information: found a cast [findcasts-cast]", "text": "tests/test_harvest_other.py:1009: in test_addon_findcasts\n assert stderr == '{}:4:21: information: found a cast [findcasts-cast]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...casts-cast]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_findcasts2/test.cpp:4:21: information: found a cast [findcasts-cast]"}, "1040f6b8a219/tests.test_harvest_helloworld.test_addon_local_path_not_enable": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'", "text": "tests/test_harvest_helloworld.py:164: in test_addon_local_path_not_enable\n ret, stdout, stderr = run_cppcheck(args, cwd=PROJ_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'"}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_compile_commands_unused_function_suppression": {"message": "AssertionError: assert 'cppcheck: er... supported.\\n' == ''\n \n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw5/test_compile_commands_unused_f5/proj-inline-suppress-unusedFunction/compile_commands.json'. Project files are not supported.", "text": "tests/test_harvest_inline_suppress.py:439: in test_compile_commands_unused_function_suppression\n assert stdout == ''\nE AssertionError: assert 'cppcheck: er... supported.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw5/test_compile_commands_unused_f5/proj-inline-suppress-unusedFunction/compile_commands.json'. Project files are not supported."}, "1040f6b8a219/tests.test_harvest_inline_suppress.test_compile_commands_unused_function_suppression_j": {"message": "unusedFunction does not work with -j", "text": "/workspace/eval/tests/test_harvest_inline_suppress.py:443: unusedFunction does not work with -j"}, "1040f6b8a219/tests.test_harvest_proj2.test_gui_project_loads_absolute_vs_solution": {"message": "AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_proj2.py:212: in test_gui_project_loads_absolute_vs_solution\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_unmatched_file": {"message": "AssertionError: assert [] == ['lib/test.c:...Suppression]']\n \n Right contains 6 more items, first extra item: 'lib/test.c:-1:0: information: Unmatched suppression: error [unmatchedSuppression]'\n \n Full diff:\n + []\n - [\n - 'lib/test.c:-1:0: information: Unmatched suppression: error '...\n \n ...Full output truncated (12 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:4110: in test_unmatched_file\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['lib/test.c:...Suppression]']\nE \nE Right contains 6 more items, first extra item: 'lib/test.c:-1:0: information: Unmatched suppression: error [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'lib/test.c:-1:0: information: Unmatched suppression: error '...\nE \nE ...Full output truncated (12 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_duplicate_3": {"message": "assert 1 == 0", "text": "tests/test_harvest_more_projects.py:751: in test_project_file_duplicate_3\n assert exitcode == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_duplicate_4": {"message": "requires Windows", "text": "/workspace/eval/tests/test_harvest_more_projects.py:759: requires Windows"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_2_file_append": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_app2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_app2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2269: in test_ignore_project_2_file_append\n __test_ignore_project_2(tmpdir, ['-itest.cpp'], append=True)\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_app2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_app2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_debug_valueflow_verbose_nodiff": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##Value flow')\n + where = ''.find", "text": "tests/test_harvest_other.py:3949: in test_debug_valueflow_verbose_nodiff\n assert __test_debug_valueflow(tmp_path, False) == __test_debug_valueflow(tmp_path, True)\ntests/test_harvest_other.py:3933: in __test_debug_valueflow\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = ''.find"}, "1040f6b8a219/tests.test_harvest_other.test_debug_valueflow_data": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##Value flow')\n + where = ''.find", "text": "tests/test_harvest_other.py:3198: in test_debug_valueflow_data\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = ''.find"}, "1040f6b8a219/tests.test_harvest_other.test_addon_misc": {"message": "AssertionError: assert '' == '/tmp/pytest-...nArrayInit]\\n'\n \n - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_misc2/test.cpp:4:26: style: String concatenation in array initialization, missing comma? [misc-stringConcatInArrayInit]", "text": "tests/test_harvest_other.py:1030: in test_addon_misc\n assert stderr == '{}:4:26: style: String concatenation in array initialization, missing comma? [misc-stringConcatInArrayInit]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nArrayInit]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_addon_misc2/test.cpp:4:26: style: String concatenation in array initialization, missing comma? [misc-stringConcatInArrayInit]"}, "1040f6b8a219/tests.test_harvest_helloworld.test_addon_absolute_path": {"message": "AssertionError: cppcheck: error: could not find or open any of the paths given.\n \nassert 1 == 0", "text": "tests/test_harvest_helloworld.py:179: in test_addon_absolute_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find or open any of the paths given.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_suppress_syntaxerror.test_safety_suppress_syntax_error_implicitly": {"message": "AssertionError: \nassert 0 == 1\n + where 0 = CompletedProcess(args=['/workspace/executable', '-q', '--safety', '--suppress=*', 'proj-suppress-syntaxError', '-j1'], returncode=0, stdout='', stderr='').returncode", "text": "tests/test_harvest_suppress_syntaxerror.py:40: in test_safety_suppress_syntax_error_implicitly\n assert result.returncode == 1, result.stdout\nE AssertionError: \nE assert 0 == 1\nE + where 0 = CompletedProcess(args=['/workspace/executable', '-q', '--safety', '--suppress=*', 'proj-suppress-syntaxError', '-j1'], returncode=0, stdout='', stderr='').returncode"}, "1040f6b8a219/tests.test_harvest_proj2.test_gui_project_loads_relative_vs_solution_2": {"message": "AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_proj2.py:239: in test_gui_project_loads_relative_vs_solution_2\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_ignore": {"message": "AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore2/test.cppcheck'. Project files are not supported.\"]\nassert ['cppcheck: e...t supported.'] == ['cppcheck: e...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore2/test.cppcheck'. Project files are not supported.\" != 'cppcheck: error: could not find or open any of the paths given.'\n Right contains one more item: 'cppcheck: Maybe all paths were ignored?'\n \n Full diff:\n [\n - 'cppcheck: error: could not find or open any of the paths given.',...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_harvest_more_projects.py:833: in test_project_file_ignore\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore2/test.cppcheck'. Project files are not supported.\"]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore2/test.cppcheck'. Project files are not supported.\" != 'cppcheck: error: could not find or open any of the paths given.'\nE Right contains one more item: 'cppcheck: Maybe all paths were ignored?'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: could not find or open any of the paths given.',...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_simplecpp_unhandled_char": {"message": "AssertionError: assert [] == ['/tmp/pytest...handledChar]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_unhandled_char2/test.c:2:5: error: The code contains unhandled character(s) (character code=228). Neither unicode nor extended ascii is supported. [unhandledChar]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_unhandled_char2/test.c:2:5: '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:4159: in test_simplecpp_unhandled_char\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...handledChar]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_unhandled_char2/test.c:2:5: error: The code contains unhandled character(s) (character code=228). Neither unicode nor extended ascii is supported. [unhandledChar]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_unhandled_char2/test.c:2:5: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_2_file_wildcard_back": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2273: in test_ignore_project_2_file_wildcard_back\n __test_ignore_project_2(tmpdir, ['-itest.c*'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_debug_syntaxerror_c": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##Value flow')\n + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw3/test_debug_syntaxerror_c2/test.c\\n2: template < class T > class TemplCl ;\\n3: void f ( )\\n4: {\\n5: ( void ) ( * ( ( int * ) 0 ) ) ;\\n6: }\\n'.find", "text": "tests/test_harvest_other.py:3974: in test_debug_syntaxerror_c\n assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/popen-gw3/test_debug_syntaxerror_c2/test.c\\n2: template < class T > class TemplCl ;\\n3: void f ( )\\n4: {\\n5: ( void ) ( * ( ( int * ) 0 ) ) ;\\n6: }\\n'.find"}, "1040f6b8a219/tests.test_harvest_other.test_debug_valueflow_data_xml": {"message": "xml.etree.ElementTree.ParseError: no element found: line 1, column 0", "text": "tests/test_harvest_other.py:3251: in test_debug_valueflow_data_xml\n debug_xml = ElementTree.fromstring(stdout)\n/usr/lib/python3.10/xml/etree/ElementTree.py:1343: in XML\n return parser.close()\nE xml.etree.ElementTree.ParseError: no element found: line 1, column 0"}, "1040f6b8a219/tests.test_harvest_other.test_invalid_addon_json": {"message": "assert 0 == 1", "text": "tests/test_harvest_other.py:1046: in test_invalid_addon_json\n assert exitcode == 1\nE assert 0 == 1"}, "1040f6b8a219/tests.test_harvest_helloworld.test_addon_relative_path": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_helloworld.py:192: in test_addon_relative_path\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_helloworld.py:28: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_suppress_syntaxerror.test_safety_suppress_syntax_error_explicitly": {"message": "AssertionError: \nassert 0 == 1\n + where 0 = CompletedProcess(args=['/workspace/executable', '-q', '--safety', '--suppress=syntaxError', 'proj-suppress-syntaxError', '-j1'], returncode=0, stdout='', stderr='nofile:0:0: information: Active checkers: 40/186 (use --checkers-report= to see details) [checkersReport]\\n\\n').returncode", "text": "tests/test_harvest_suppress_syntaxerror.py:51: in test_safety_suppress_syntax_error_explicitly\n assert result.returncode == 1, result.stdout\nE AssertionError: \nE assert 0 == 1\nE + where 0 = CompletedProcess(args=['/workspace/executable', '-q', '--safety', '--suppress=syntaxError', 'proj-suppress-syntaxError', '-j1'], returncode=0, stdout='', stderr='nofile:0:0: information: Active checkers: 40/186 (use --checkers-report= to see details) [checkersReport]\\n\\n').returncode"}, "1040f6b8a219/tests.test_harvest_proj2.test_gui_project_loads_relative_vs_solution_with_exclude": {"message": "AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_proj2.py:257: in test_gui_project_loads_relative_vs_solution_with_exclude\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_ignore_2": {"message": "AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore_22/test.cppcheck'. Project files are not supported.\"]\nassert ['cppcheck: e...t supported.'] == ['cppcheck: e...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore_22/test.cppcheck'. Project files are not supported.\" != 'cppcheck: error: could not find or open any of the paths given.'\n Right contains one more item: 'cppcheck: Maybe all paths were ignored?'\n \n Full diff:\n [\n - 'cppcheck: error: could not find or open any of the paths given.',...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_harvest_more_projects.py:860: in test_project_file_ignore_2\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore_22/test.cppcheck'. Project files are not supported.\"]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore_22/test.cppcheck'. Project files are not supported.\" != 'cppcheck: error: could not find or open any of the paths given.'\nE Right contains one more item: 'cppcheck: Maybe all paths were ignored?'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: could not find or open any of the paths given.',...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_simplecpp_include_nested_too_deeply": {"message": "AssertionError: assert [] == ['/tmp/pytest...edTooDeeply]']\n \n Right contains 2 more items, first extra item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_include_nested_2/test_398.h:1:2: error: #include nested too deeply [includeNestedTooDeeply]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_include_nested_2/test_398.h:1:2: '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:4189: in test_simplecpp_include_nested_too_deeply\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...edTooDeeply]']\nE \nE Right contains 2 more items, first extra item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_include_nested_2/test_398.h:1:2: error: #include nested too deeply [includeNestedTooDeeply]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_include_nested_2/test_398.h:1:2: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_2_file_wildcard_front": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil5/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2277: in test_ignore_project_2_file_wildcard_front\n __test_ignore_project_2(tmpdir, ['-i*test.cpp'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_wil5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_project.test_empty_project[vcxproj-Visual Studio project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT]": {"message": "AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\n \n + cppcheck: error: Visual Studio project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT\n - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_vcxproj_Vis2/file.vcxproj'. Project files are not supported.\n ? ^ ^^ ^^^^^^^^^ ----------- -\n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_vcxproj_Vis2/file.vcxproj'. An error occurred.\n ? ...\n \n ...Full output truncated (1 line hidden), use '-vv' to show", "text": "tests/test_harvest_project.py:66: in test_empty_project\n __test_project_error(tmp_path, project_ext, None, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_vcxproj_Vis2/file.vcxproj'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_vcxproj_Vis2/file.vcxproj'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_check_headers": {"message": "AssertionError: cppcheck: error: unrecognized command line option: \"--no-check-headers\".\n \nassert 1 == 0", "text": "tests/test_harvest_other.py:3324: in test_check_headers\n assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-check-headers\".\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_helloworld.test_addon_with_gui_project": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'", "text": "tests/test_harvest_helloworld.py:203: in test_addon_with_gui_project\n shutil.copytree(os.path.join(SCRIPT_DIR, 'helloworld'), tmp_path / 'helloworld')\n/usr/lib/python3.10/shutil.py:557: in copytree\n with os.scandir(src) as itr:\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/helloworld'"}, "1040f6b8a219/tests.test_harvest_rules.test_empty_catch_block": {"message": "Rules not supported in this build (--rule-file requires PCRE support)", "text": "/workspace/eval/tests/test_harvest_rules.py:15: Rules not supported in this build (--rule-file requires PCRE support)"}, "1040f6b8a219/tests.test_harvest_rules.test_show_all_defines": {"message": "Rules not supported in this build (--rule-file requires PCRE support)", "text": "/workspace/eval/tests/test_harvest_rules.py:49: Rules not supported in this build (--rule-file requires PCRE support)"}, "1040f6b8a219/tests.test_harvest_other.test_invalid_addon_py": {"message": "AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\n \n - /tmp/pytest-of-root/pytest-0/popen-gw6/test_invalid_addon_py2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1 [internalError]\n - \n - ^", "text": "tests/test_harvest_other.py:1075: in test_invalid_addon_py\n assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1 [internalError]\\n\\n^\\n\".format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_invalid_addon_py2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1 [internalError]\nE - \nE - ^"}, "1040f6b8a219/tests.test_harvest_rules.test_stl": {"message": "Rules not supported in this build (--rule-file requires PCRE support)", "text": "/workspace/eval/tests/test_harvest_rules.py:87: Rules not supported in this build (--rule-file requires PCRE support)"}, "1040f6b8a219/tests.test_harvest_rules.test_strlen_empty_str": {"message": "Rules not supported in this build (--rule-file requires PCRE support)", "text": "/workspace/eval/tests/test_harvest_rules.py:119: Rules not supported in this build (--rule-file requires PCRE support)"}, "1040f6b8a219/tests.test_harvest_rules.test_suggest_nullptr": {"message": "Rules not supported in this build (--rule-file requires PCRE support)", "text": "/workspace/eval/tests/test_harvest_rules.py:150: Rules not supported in this build (--rule-file requires PCRE support)"}, "1040f6b8a219/tests.test_harvest_rules.test_unused_deref": {"message": "Rules not supported in this build (--rule-file requires PCRE support)", "text": "/workspace/eval/tests/test_harvest_rules.py:179: Rules not supported in this build (--rule-file requires PCRE support)"}, "1040f6b8a219/tests.test_harvest_unused_function.test_unused_functions": {"message": "assert ['cppcheck: e...-build-dir\".'] == []\n \n Left contains one more item: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".'\n \n Full diff:\n - []\n + [\n + 'cppcheck: error: unrecognized command line option: '\n + '\"--no-cppcheck-build-dir\".',\n + ]", "text": "tests/test_harvest_unused_function.py:40: in test_unused_functions\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...-build-dir\".'] == []\nE \nE Left contains one more item: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".'\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: unrecognized command line option: '\nE + '\"--no-cppcheck-build-dir\".',\nE + ]"}, "1040f6b8a219/tests.test_harvest_proj2.test_gui_project_loads_absolute_vs_solution_2": {"message": "AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_proj2.py:277: in test_gui_project_loads_absolute_vs_solution_2\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_more_projects.test_project_file_ignore_3": {"message": "AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore_32/test.cppcheck'. Project files are not supported.\"]\nassert ['cppcheck: e...t supported.'] == ['cppcheck: e...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore_32/test.cppcheck'. Project files are not supported.\" != 'cppcheck: error: could not find or open any of the paths given.'\n Right contains one more item: 'cppcheck: Maybe all paths were ignored?'\n \n Full diff:\n [\n - 'cppcheck: error: could not find or open any of the paths given.',...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_harvest_more_projects.py:887: in test_project_file_ignore_3\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore_32/test.cppcheck'. Project files are not supported.\"]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_project_file_ignore_32/test.cppcheck'. Project files are not supported.\" != 'cppcheck: error: could not find or open any of the paths given.'\nE Right contains one more item: 'cppcheck: Maybe all paths were ignored?'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: could not find or open any of the paths given.',...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_simplecpp_syntax_error": {"message": "AssertionError: assert [] == ['/tmp/pytest...syntaxError]']\n \n Right contains 2 more items, first extra item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_syntax_error2/test.c:1:2: error: No header in #include [syntaxError]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_syntax_error2/test.c:1:2: '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:4211: in test_simplecpp_syntax_error\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...syntaxError]']\nE \nE Right contains 2 more items, first extra item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_syntax_error2/test.c:1:2: error: No header in #include [syntaxError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_simplecpp_syntax_error2/test.c:1:2: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_project.test_empty_project[bpr-Borland project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT]": {"message": "AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\n \n + cppcheck: error: Borland project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT\n - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_bpr_Borland2/file.bpr'. Project files are not supported.\n ? ^ ^^ ^^^^^^^^^ ----------- -\n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_bpr_Borland2/file.bpr'. An error occurred.\n ? ...\n \n ...Full output truncated (1 line hidden), use '-vv' to show", "text": "tests/test_harvest_project.py:66: in test_empty_project\n __test_project_error(tmp_path, project_ext, None, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Borland project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_bpr_Borland2/file.bpr'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_bpr_Borland2/file.bpr'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_2_file_placeholder": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_pla2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_pla2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2281: in test_ignore_project_2_file_placeholder\n __test_ignore_project_2(tmpdir, ['-it?st.cpp'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_pla2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_pla2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_unique_error": {"message": "assert [] == ['/tmp/pytest...OutOfBounds]']\n \n Right contains 2 more items, first extra item: \"/tmp/pytest-of-root/pytest-0/popen-gw8/test_unique_error2/test.c:4:13: error: Array 'm[9]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds]\"\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unique_error2/test.c:4:13: '...\n \n ...Full output truncated (6 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:3350: in test_unique_error\n assert stderr.splitlines() == [\nE assert [] == ['/tmp/pytest...OutOfBounds]']\nE \nE Right contains 2 more items, first extra item: \"/tmp/pytest-of-root/pytest-0/popen-gw8/test_unique_error2/test.c:4:13: error: Array 'm[9]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unique_error2/test.c:4:13: '...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_clang_tidy": {"message": "clang-tidy is not available", "text": "/workspace/eval/tests/test_harvest_other.py:3537: clang-tidy is not available"}, "1040f6b8a219/tests.test_harvest_other.test_clang_tidy_project": {"message": "clang-tidy is not available", "text": "/workspace/eval/tests/test_harvest_other.py:3543: clang-tidy is not available"}, "1040f6b8a219/tests.test_harvest_other.test_clang_tidy_error_exit": {"message": "clang-tidy is not available", "text": "/workspace/eval/tests/test_harvest_other.py:3548: clang-tidy is not available"}, "1040f6b8a219/tests.test_harvest_other.test_invalid_addon_py_verbose": {"message": "assert False\n + where False = (\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_invalid_addon_py_verbose2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \")\n + where = ''.startswith\n + and \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_invalid_addon_py_verbose2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \" = ('/tmp/pytest-of-root/pytest-0/popen-gw6/test_invalid_addon_py_verbose2/file.cpp')\n + where = \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \".format", "text": "tests/test_harvest_other.py:1116: in test_invalid_addon_py_verbose\n assert stderr.startswith(\"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \".format(test_file))\nE assert False\nE + where False = (\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_invalid_addon_py_verbose2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \")\nE + where = ''.startswith\nE + and \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_invalid_addon_py_verbose2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \" = ('/tmp/pytest-of-root/pytest-0/popen-gw6/test_invalid_addon_py_verbose2/file.cpp')\nE + where = \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \".format"}, "1040f6b8a219/tests.test_harvest_unused_function.test_unused_functions_j": {"message": "assert ['cppcheck: e...-build-dir\".'] == ['cppcheck: u...ive with -j.']\n \n At index 0 diff: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".' != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\n \n Full diff:\n [\n - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\n - 'with -j.',...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_unused_function.py:61: in test_unused_functions_j\n assert result.stdout.splitlines() == [\nE assert ['cppcheck: e...-build-dir\".'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".' != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_project.test_empty_project[json-compilation database is not a JSON array]": {"message": "AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er...is unknown.\\n'\n \n + cppcheck: error: compilation database is not a JSON array\n - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_empty_project_json_compil2/file.json'. The format is unknown.\n ? ^^ ^^ ^^^^^^^ ^^^^^^\n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_empty_project_json_compil2/file.json'. An error occurred.\n ? ^^^ ^^ ^^^^ ^^^^", "text": "tests/test_harvest_project.py:66: in test_empty_project\n __test_project_error(tmp_path, project_ext, None, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er...is unknown.\\n'\nE \nE + cppcheck: error: compilation database is not a JSON array\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_empty_project_json_compil2/file.json'. The format is unknown.\nE ? ^^ ^^ ^^^^^^^ ^^^^^^\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_empty_project_json_compil2/file.json'. An error occurred.\nE ? ^^^ ^^ ^^^^ ^^^^"}, "1040f6b8a219/tests.test_harvest_samples.test_samples": {"message": "AssertionError: Failures in 12 samples:\n /workspace/samples/AssignmentAddressToInteger/bad.c\n /workspace/samples/accessMoved/bad.cpp\n /workspace/samples/arrayIndexOutOfBounds_2/bad.c\n /workspace/samples/autoVariables/bad.c\n /workspace/samples/bufferAccessOutOfBounds/bad.c\n /workspace/samples/invalidContainer/bad.cpp\n /workspace/samples/memleak/bad.c\n /workspace/samples/multiCondition/bad.c\n /workspace/samples/passedByValue_1/bad.cpp\n /workspace/samples/passedByValue_2/bad.cpp\n /workspace/samples/resourceLeak/bad.c\n /workspace/samples/unreadVariable/bad.cpp\nassert {'/workspace/...riables', ...} == {}\n \n Left contains 12 more items:\n {'/workspace/samples/AssignmentAddressToInteger/bad.c': 'Output mismatch for '\n 'AssignmentAddressToInteger',\n '/workspace/samples/accessMoved/bad.cpp': \"Bad sample didn't produce exit \"\n 'code 1 (got 0):\\n'\n 'nofile:0:0: information: Active '...\n \n ...Full output truncated (102 lines hidden), use '-vv' to show", "text": "tests/test_harvest_samples.py:87: in test_samples\n assert failures == {}, f\"Failures in {len(failures)} samples:\\n\" + \"\\n\".join(failures.keys())\nE AssertionError: Failures in 12 samples:\nE /workspace/samples/AssignmentAddressToInteger/bad.c\nE /workspace/samples/accessMoved/bad.cpp\nE /workspace/samples/arrayIndexOutOfBounds_2/bad.c\nE /workspace/samples/autoVariables/bad.c\nE /workspace/samples/bufferAccessOutOfBounds/bad.c\nE /workspace/samples/invalidContainer/bad.cpp\nE /workspace/samples/memleak/bad.c\nE /workspace/samples/multiCondition/bad.c\nE /workspace/samples/passedByValue_1/bad.cpp\nE /workspace/samples/passedByValue_2/bad.cpp\nE /workspace/samples/resourceLeak/bad.c\nE /workspace/samples/unreadVariable/bad.cpp\nE assert {'/workspace/...riables', ...} == {}\nE \nE Left contains 12 more items:\nE {'/workspace/samples/AssignmentAddressToInteger/bad.c': 'Output mismatch for '\nE 'AssignmentAddressToInteger',\nE '/workspace/samples/accessMoved/bad.cpp': \"Bad sample didn't produce exit \"\nE 'code 1 (got 0):\\n'\nE 'nofile:0:0: information: Active '...\nE \nE ...Full output truncated (102 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_more_projects.test_json_file_ignore": {"message": "AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_json_file_ignore2/test.json'. The format is unknown.\"]\nassert ['cppcheck: e... is unknown.'] == ['cppcheck: e...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_json_file_ignore2/test.json'. The format is unknown.\" != 'cppcheck: error: no C or C++ source files found.'\n Right contains one more item: 'cppcheck: all paths were ignored'\n \n Full diff:\n [\n - 'cppcheck: error: no C or C++ source files found.',...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_harvest_more_projects.py:912: in test_json_file_ignore\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_json_file_ignore2/test.json'. The format is unknown.\"]\nE assert ['cppcheck: e... is unknown.'] == ['cppcheck: e...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_json_file_ignore2/test.json'. The format is unknown.\" != 'cppcheck: error: no C or C++ source files found.'\nE Right contains one more item: 'cppcheck: all paths were ignored'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: no C or C++ source files found.',...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_project.test_empty_project[cppcheck-Cppcheck GUI project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT]": {"message": "AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\n \n + cppcheck: error: Cppcheck GUI project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT\n - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_cppcheck_Cp2/file.cppcheck'. Project files are not supported.\n ? ^ ^^ ^^^^^^^^^ ----------- -\n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_cppcheck_Cp2/file.cppcheck'. An error occurred.\n ? ...\n \n ...Full output truncated (1 line hidden), use '-vv' to show", "text": "tests/test_harvest_project.py:66: in test_empty_project\n __test_project_error(tmp_path, project_ext, None, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Cppcheck GUI project file is not a valid XML - XML_ERROR_EMPTY_DOCUMENT\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_cppcheck_Cp2/file.cppcheck'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_empty_project_cppcheck_Cp2/file.cppcheck'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_max_configs[None-20-True-True]": {"message": "AssertionError: assert [] == ['/tmp/pytest...manyconfigs]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_None_20_True_2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_None_20_True_2/test.cpp:0:0: '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:4256: in test_max_configs\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...manyconfigs]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_None_20_True_2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_None_20_True_2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_2_file_relative": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2285: in test_ignore_project_2_file_relative\n __test_ignore_project_2(tmpdir, ['-isrc/test.cpp'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_unused_function.test_unused_functions_project": {"message": "assert ['cppcheck: e...t supported.'] == []\n \n Left contains one more item: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\n \n Full diff:\n - []\n + [\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_unused_function.py:158: in test_unused_functions_project\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_addon_result": {"message": "AssertionError: assert '' == 'test.cpp:1:1...n1-id]\\n\\n^\\n'\n \n - test.cpp:1:1: style: msg [addon1-id]\n - \n - ^", "text": "tests/test_harvest_other.py:1145: in test_addon_result\n assert stderr == 'test.cpp:1:1: style: msg [addon1-id]\\n\\n^\\n'\nE AssertionError: assert '' == 'test.cpp:1:1...n1-id]\\n\\n^\\n'\nE \nE - test.cpp:1:1: style: msg [addon1-id]\nE - \nE - ^"}, "1040f6b8a219/tests.test_harvest_whole_program.test_suppress_inline_builddir": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:158: in test_suppress_inline_builddir\n __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\ntests/test_harvest_whole_program.py:139: in __test_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_project.test_empty_project[sln-Visual Studio solution file is empty]": {"message": "AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\n \n + cppcheck: error: Visual Studio solution file is empty\n - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_empty_project_sln_Visual_2/file.sln'. Project files are not supported.\n ? ^ ^^ ^^^^^^^^^ ----------- -\n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_empty_project_sln_Visual_2/file.sln'. An error occurred.\n ? ...\n \n ...Full output truncated (1 line hidden), use '-vv' to show", "text": "tests/test_harvest_project.py:66: in test_empty_project\n __test_project_error(tmp_path, project_ext, None, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio solution file is empty\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_empty_project_sln_Visual_2/file.sln'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw9/test_empty_project_sln_Visual_2/file.sln'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_more_projects.test_json_file_ignore_2": {"message": "AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_json_file_ignore_22/test.json'. The format is unknown.\"]\nassert ['cppcheck: e... is unknown.'] == ['cppcheck: e...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_json_file_ignore_22/test.json'. The format is unknown.\" != 'cppcheck: error: no C or C++ source files found.'\n Right contains one more item: 'cppcheck: all paths were ignored'\n \n Full diff:\n [\n - 'cppcheck: error: no C or C++ source files found.',...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_harvest_more_projects.py:937: in test_json_file_ignore_2\n assert_cppcheck(args, ec_exp=1, err_exp=[], out_exp=out_lines)\ntests/test_harvest_more_projects.py:63: in assert_cppcheck\n assert out_lines == out_exp, out_lines\nE AssertionError: [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_json_file_ignore_22/test.json'. The format is unknown.\"]\nE assert ['cppcheck: e... is unknown.'] == ['cppcheck: e...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_json_file_ignore_22/test.json'. The format is unknown.\" != 'cppcheck: error: no C or C++ source files found.'\nE Right contains one more item: 'cppcheck: all paths were ignored'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: no C or C++ source files found.',...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_project.test_json_entry_file_not_found": {"message": "assert 1 == 0", "text": "tests/test_harvest_project.py:92: in test_json_entry_file_not_found\n assert ret == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_keywords.test_c89_keywords_valid_code": {"message": "AssertionError: Output differs from golden file.\n Expected:\n Checking /workspace/eval/test_resources/test_keywords/valid_c89.c ...\n /workspace/eval/test_resources/test_keywords/valid_c89.c:14:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue]\n continue;\n ^\n /workspace/eval/test_resources/test_keywords/valid_c89.c:37:9: style: struct member 'test_struct::field' is never used. [unusedStructMember]\n int field;\n ^\n /workspace/eval/test_resources/test_keywords/valid_c89.c:41:9: style: union member 'test_union::i' is never used. [unusedStructMember]\n int i;\n ^\n /workspace/eval/test_resources/test_keywords/valid_c89.c:42:11: style: union member 'test_union::f' is never used. [unusedStructMember]\n float f;\n ^\n /workspace/eval/test_resources/test_keywords/valid_c89.c:27:8: style: The function 'test_double' is never used. [unusedFunction]\n double test_double(void) {\n ^\n /workspace/eval/test_resources/test_keywords/valid_c89.c:47:6: style: The function 'goto_test' is never used. [unusedFunction]\n void goto_test(void) {\n ^\n nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\n \n \n \n Got:\n Checking /workspace/eval/test_resources/test_keywords/valid_c89.c ...\n /workspace/eval/test_resources/test_keywords/valid_c89.c:37:9: style: struct member 'test_struct::field' is never used. [unusedStructMember]\n int field;\n ^\n /workspace/eval/test_resources/test_keywords/valid_c89.c:7:15: style: Variable 'count' is assigned a value that is never used. [unreadVariable]\n int count = 0;\n ^\n /workspace/eval/test_resources/test_keywords/valid_c89.c:27:8: style: The function 'test_double' is never used. [unusedFunction]\n double test_double(void) {\n ^\n /workspace/eval/test_resources/test_keywords/valid_c89.c:47:6: style: The function 'goto_test' is never used. [unusedFunction]\n void goto_test(void) {\n ^\n nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\n \n \nassert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\n \n Checking /workspace/eval/test_resources/test_keywords/valid_c89.c ...\n - /workspace/eval/test_resources/test_keywords/valid_c89.c:14:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue]\n - continue;\n - ^\n /workspace/eval/test_resources/test_keywords/valid_c89.c:37:9: style: struct member 'test_struct::field' is never used. [unusedStructMember]\n int field;...\n \n ...Full output truncated (19 lines hidden), use '-vv' to show", "text": "tests/test_keywords.py:54: in test_c89_keywords_valid_code\n assert combined_output == golden_normalized, \\\nE AssertionError: Output differs from golden file.\nE Expected:\nE Checking /workspace/eval/test_resources/test_keywords/valid_c89.c ...\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:14:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue]\nE continue;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:37:9: style: struct member 'test_struct::field' is never used. [unusedStructMember]\nE int field;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:41:9: style: union member 'test_union::i' is never used. [unusedStructMember]\nE int i;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:42:11: style: union member 'test_union::f' is never used. [unusedStructMember]\nE float f;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:27:8: style: The function 'test_double' is never used. [unusedFunction]\nE double test_double(void) {\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:47:6: style: The function 'goto_test' is never used. [unusedFunction]\nE void goto_test(void) {\nE ^\nE nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\nE \nE \nE \nE Got:\nE Checking /workspace/eval/test_resources/test_keywords/valid_c89.c ...\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:37:9: style: struct member 'test_struct::field' is never used. [unusedStructMember]\nE int field;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:7:15: style: Variable 'count' is assigned a value that is never used. [unreadVariable]\nE int count = 0;\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:27:8: style: The function 'test_double' is never used. [unusedFunction]\nE double test_double(void) {\nE ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:47:6: style: The function 'goto_test' is never used. [unusedFunction]\nE void goto_test(void) {\nE ^\nE nofile:0:0: information: Active checkers: 113/186 (use --checkers-report= to see details) [checkersReport]\nE \nE \nE assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/valid_c89.c ...\nE - /workspace/eval/test_resources/test_keywords/valid_c89.c:14:9: style: 'continue' is redundant since it is the last statement in a loop. [redundantContinue]\nE - continue;\nE - ^\nE /workspace/eval/test_resources/test_keywords/valid_c89.c:37:9: style: struct member 'test_struct::field' is never used. [unusedStructMember]\nE int field;...\nE \nE ...Full output truncated (19 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_max_configs[6-20-False-False]": {"message": "AssertionError: assert ['/tmp/pytest...manyconfigs]'] == []\n \n Left contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_6_20_False_Fa2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 6 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\n \n Full diff:\n - []\n + [\n + '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_6_20_False_Fa2/test.cpp:0:0: '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:4254: in test_max_configs\n assert stderr.splitlines() == []\nE AssertionError: assert ['/tmp/pytest...manyconfigs]'] == []\nE \nE Left contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_6_20_False_Fa2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 6 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE - []\nE + [\nE + '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_6_20_False_Fa2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_2_file_relative_backslash": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel5/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2289: in test_ignore_project_2_file_relative_backslash\n __test_ignore_project_2(tmpdir, ['-isrc\\\\test.cpp'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_unused_function.test_unused_functions_project_j": {"message": "assert ['cppcheck: e...t supported.'] == ['cppcheck: u...ive with -j.']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\" != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\n \n Full diff:\n [\n - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\n - 'with -j.',...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tests/test_harvest_unused_function.py:180: in test_unused_functions_project_j\n assert result.stdout.splitlines() == [\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\" != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_unused_function_include": {"message": "AssertionError: assert '' == '/tmp/pytest-...edFunction]\\n'\n \n - /tmp/pytest-of-root/pytest-0/popen-gw6/test_unused_function_include2/test.h:4:26: style: The function 'f' is never used. [unusedFunction]", "text": "tests/test_harvest_other.py:1184: in test_unused_function_include\n __test_unused_function_include(tmpdir, [])\ntests/test_harvest_other.py:1180: in __test_unused_function_include\n assert stderr == \"{}:4:26: style: The function 'f' is never used. [unusedFunction]\\n\".format(test_h_file)\nE AssertionError: assert '' == '/tmp/pytest-...edFunction]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/popen-gw6/test_unused_function_include2/test.h:4:26: style: The function 'f' is never used. [unusedFunction]"}, "1040f6b8a219/tests.test_harvest_whole_program.test_suppress_inline_builddir_cached": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:164: in test_suppress_inline_builddir_cached\n __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\ntests/test_harvest_whole_program.py:139: in __test_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_basic": {"message": "assert 1 == 0", "text": "tests/test_importproject.py:48: in test_compile_commands_basic\n assert returncode == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_more_projects.test_compdb_D": {"message": "assert ['cppcheck: e...t supported.'] == ['Checking /t...GNUC__=1;...']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_compdb_D2/compile_commands.json'. Project files are not supported.\" != 'Checking /tmp/pytest-of-root/pytest-0/popen-gw1/test_compdb_D2/test.cpp ...'\n Right contains one more item: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw1/test_compdb_D2/test.cpp: __GNUC__=1;...'\n \n Full diff:\n [\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_more_projects.py:1019: in test_compdb_D\n assert stdout.splitlines() == out_expected\nE assert ['cppcheck: e...t supported.'] == ['Checking /t...GNUC__=1;...']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw1/test_compdb_D2/compile_commands.json'. Project files are not supported.\" != 'Checking /tmp/pytest-of-root/pytest-0/popen-gw1/test_compdb_D2/test.cpp ...'\nE Right contains one more item: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw1/test_compdb_D2/test.cpp: __GNUC__=1;...'\nE \nE Full diff:\nE [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_project.test_json_no_arguments": {"message": "AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er...is unknown.\\n'\n \n + cppcheck: error: no 'arguments' or 'command' field found in compilation database entry\n - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_json_no_arguments2/file.json'. The format is unknown.\n ? ^^ ^^ ^^^^^^^ ^^^^^^\n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_json_no_arguments2/file.json'. An error occurred.\n ? ^^^ ^^ ^^^^ ^^^^", "text": "tests/test_harvest_project.py:106: in test_json_no_arguments\n __test_project_error(tmp_path, \"json\", json.dumps(compilation_db), expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er...is unknown.\\n'\nE \nE + cppcheck: error: no 'arguments' or 'command' field found in compilation database entry\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_json_no_arguments2/file.json'. The format is unknown.\nE ? ^^ ^^ ^^^^^^^ ^^^^^^\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_json_no_arguments2/file.json'. An error occurred.\nE ? ^^^ ^^ ^^^^ ^^^^"}, "1040f6b8a219/tests.test_keywords.test_c99_keywords_inline_restrict_bool": {"message": "AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\n \n Checking /workspace/eval/test_resources/test_keywords/c99_keywords.c ...\n /workspace/eval/test_resources/test_keywords/c99_keywords.c:7:16: style: Variable 'flag' is assigned a value that is never used. [unreadVariable]\n _Bool flag = 1;\n ^\n - /workspace/eval/test_resources/test_keywords/c99_keywords.c:8:23: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\n - _Complex double z = 1.0 + 2.0 * _Complex_I;...\n \n ...Full output truncated (12 lines hidden), use '-vv' to show", "text": "tests/test_keywords.py:87: in test_c99_keywords_inline_restrict_bool\n assert combined == golden_normalized\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/c99_keywords.c ...\nE /workspace/eval/test_resources/test_keywords/c99_keywords.c:7:16: style: Variable 'flag' is assigned a value that is never used. [unreadVariable]\nE _Bool flag = 1;\nE ^\nE - /workspace/eval/test_resources/test_keywords/c99_keywords.c:8:23: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\nE - _Complex double z = 1.0 + 2.0 * _Complex_I;...\nE \nE ...Full output truncated (12 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_max_configs[6-20-True-True]": {"message": "AssertionError: assert [] == ['/tmp/pytest...manyconfigs]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_6_20_True_Tru2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 6 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_6_20_True_Tru2/test.cpp:0:0: '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:4256: in test_max_configs\n assert stderr.splitlines() == [\nE AssertionError: assert [] == ['/tmp/pytest...manyconfigs]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_6_20_True_Tru2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 6 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/popen-gw4/test_max_configs_6_20_True_Tru2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_unused_function.test_unused_functions_project_builddir": {"message": "assert ['cppcheck: e...t supported.'] == []\n \n Left contains one more item: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\n \n Full diff:\n - []\n + [\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_unused_function.py:205: in test_unused_functions_project_builddir\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_2_file_relative_wildcard": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel8/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel8/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2293: in test_ignore_project_2_file_relative_wildcard\n __test_ignore_project_2(tmpdir, ['-isrc/test.c*'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel8/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel8/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_showtime_top5_file": {"message": "assert 0 == 7\n + where 0 = len([])", "text": "tests/test_harvest_other.py:1204: in test_showtime_top5_file\n assert len(lines) == 7\nE assert 0 == 7\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_with_arguments_array": {"message": "assert 1 == 0", "text": "tests/test_importproject.py:81: in test_compile_commands_with_arguments_array\n assert returncode == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_whole_program.test_suppress_inline_builddir_j": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:171: in test_suppress_inline_builddir_j\n __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\ntests/test_harvest_whole_program.py:139: in __test_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_whole_program.test_addon_no_artifacts[False]": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/whole-program/whole1.c'", "text": "tests/test_harvest_whole_program.py:281: in test_addon_no_artifacts\n shutil.copyfile(os.path.join(SCRIPT_DIR, 'whole-program', 'whole1.c'), tmp_path / 'whole1.c')\n/usr/lib/python3.10/shutil.py:254: in copyfile\n with open(src, 'rb') as fsrc:\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/whole-program/whole1.c'"}, "1040f6b8a219/tests.test_harvest_project.test_json_invalid_arguments": {"message": "AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er...is unknown.\\n'\n \n + cppcheck: error: 'arguments' field in compilation database entry is not a JSON array\n - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_json_invalid_arguments2/file.json'. The format is unknown.\n ? ^^ ^^ ^^^^^^^ ^^^^^^\n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_json_invalid_arguments2/file.json'. An error occurred.\n ? ...\n \n ...Full output truncated (1 line hidden), use '-vv' to show", "text": "tests/test_harvest_project.py:120: in test_json_invalid_arguments\n __test_project_error(tmp_path, \"json\", json.dumps(compilation_db), expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er...is unknown.\\n'\nE \nE + cppcheck: error: 'arguments' field in compilation database entry is not a JSON array\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_json_invalid_arguments2/file.json'. The format is unknown.\nE ? ^^ ^^ ^^^^^^^ ^^^^^^\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_json_invalid_arguments2/file.json'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_keywords.test_cpp20_keywords_concept_coroutines_char8t": {"message": "AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\n \n Checking /workspace/eval/test_resources/test_keywords/cpp20_keywords.cpp ...\n /workspace/eval/test_resources/test_keywords/cpp20_keywords.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\n #include \n ^\n /workspace/eval/test_resources/test_keywords/cpp20_keywords.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\n #include ...\n \n ...Full output truncated (42 lines hidden), use '-vv' to show", "text": "tests/test_keywords.py:187: in test_cpp20_keywords_concept_coroutines_char8t\n assert combined == golden_normalized\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/cpp20_keywords.cpp ...\nE /workspace/eval/test_resources/test_keywords/cpp20_keywords.cpp:2:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\nE #include \nE ^\nE /workspace/eval/test_resources/test_keywords/cpp20_keywords.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\nE #include ...\nE \nE ...Full output truncated (42 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_unused_function.test_unused_functions_project_builddir_j_thread": {"message": "assert ['cppcheck: e...t supported.'] == []\n \n Left contains one more item: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\n \n Full diff:\n - []\n + [\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_unused_function.py:231: in test_unused_functions_project_builddir_j_thread\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_no_valid_configuration": {"message": "AssertionError: assert ['Checking /t...F_1=DEF_1...'] == ['Checking /t...2/test.c ...']\n \n Left contains one more item: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_no_valid_configuration2/test.c: DEF_1=DEF_1...'\n \n Full diff:\n [\n 'Checking '\n '/tmp/pytest-of-root/pytest-0/popen-gw4/test_no_valid_configuration2/test.c '...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:4282: in test_no_valid_configuration\n assert stdout.splitlines() == [\nE AssertionError: assert ['Checking /t...F_1=DEF_1...'] == ['Checking /t...2/test.c ...']\nE \nE Left contains one more item: 'Checking /tmp/pytest-of-root/pytest-0/popen-gw4/test_no_valid_configuration2/test.c: DEF_1=DEF_1...'\nE \nE Full diff:\nE [\nE 'Checking '\nE '/tmp/pytest-of-root/pytest-0/popen-gw4/test_no_valid_configuration2/test.c '...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_2_file_relative_wildcard_backslash": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel11/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel11/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2297: in test_ignore_project_2_file_relative_wildcard_backslash\n __test_ignore_project_2(tmpdir, ['-isrc\\\\test.c*'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel11/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_file_rel11/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_missing_addon": {"message": "AssertionError: assert ['Did not fin...on misra3.py'] == ['Did not fin...on misra3.py']\n \n At index 0 diff: 'Did not find addon misra3.py' != 'Did not find addon misra2.py'\n Right contains one more item: 'Did not find addon misra3.py'\n \n Full diff:\n [\n - 'Did not find addon misra2.py',\n 'Did not find addon misra3.py',\n ]", "text": "tests/test_harvest_other.py:1223: in test_missing_addon\n assert lines == [\nE AssertionError: assert ['Did not fin...on misra3.py'] == ['Did not fin...on misra3.py']\nE \nE At index 0 diff: 'Did not find addon misra3.py' != 'Did not find addon misra2.py'\nE Right contains one more item: 'Did not find addon misra3.py'\nE \nE Full diff:\nE [\nE - 'Did not find addon misra2.py',\nE 'Did not find addon misra3.py',\nE ]"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_invalid_json": {"message": "assert 'compilation database is not a JSON array' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/invalid.json'. The format is unknown.\\n\"", "text": "tests/test_importproject.py:111: in test_compile_commands_invalid_json\n assert 'compilation database is not a JSON array' in output\nE assert 'compilation database is not a JSON array' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/invalid.json'. The format is unknown.\\n\""}, "1040f6b8a219/tests.test_harvest_whole_program.test_inline_suppr_builddir_j_cached": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:177: in test_inline_suppr_builddir_j_cached\n __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\ntests/test_harvest_whole_program.py:139: in __test_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_whole_program.test_addon_no_artifacts[True]": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/whole-program/whole1.c'", "text": "tests/test_harvest_whole_program.py:281: in test_addon_no_artifacts\n shutil.copyfile(os.path.join(SCRIPT_DIR, 'whole-program', 'whole1.c'), tmp_path / 'whole1.c')\n/usr/lib/python3.10/shutil.py:254: in copyfile\n with open(src, 'rb') as fsrc:\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli/whole-program/whole1.c'"}, "1040f6b8a219/tests.test_harvest_project.test_sln_invalid_file": {"message": "AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\n \n + cppcheck: error: Visual Studio solution file header not found\n - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_invalid_file2/file.sln'. Project files are not supported.\n ? ^ ^^ ^^^^^^^^^ ----------- -\n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_invalid_file2/file.sln'. An error occurred.\n ? ^^^^^ ^^^ ^^", "text": "tests/test_harvest_project.py:129: in test_sln_invalid_file\n __test_project_error(tmp_path, \"sln\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio solution file header not found\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_invalid_file2/file.sln'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_invalid_file2/file.sln'. An error occurred.\nE ? ^^^^^ ^^^ ^^"}, "1040f6b8a219/tests.test_keywords.test_cpp03_keywords_class_template_namespace": {"message": "AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\n \n Checking /workspace/eval/test_resources/test_keywords/cpp03_only.cpp ...\n /workspace/eval/test_resources/test_keywords/cpp03_only.cpp:4:14: warning: Member variable 'TestClass::cache' is not initialized in the constructor. [uninitMemberVar]\n explicit TestClass(int x) : value(x) {}\n ^\n /workspace/eval/test_resources/test_keywords/cpp03_only.cpp:17:17: style: class member 'TestClass::cache' is never used. [unusedStructMember]\n mutable int cache;...\n \n ...Full output truncated (15 lines hidden), use '-vv' to show", "text": "tests/test_keywords.py:259: in test_cpp03_keywords_class_template_namespace\n assert combined == golden_normalized\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/cpp03_only.cpp ...\nE /workspace/eval/test_resources/test_keywords/cpp03_only.cpp:4:14: warning: Member variable 'TestClass::cache' is not initialized in the constructor. [uninitMemberVar]\nE explicit TestClass(int x) : value(x) {}\nE ^\nE /workspace/eval/test_resources/test_keywords/cpp03_only.cpp:17:17: style: class member 'TestClass::cache' is never used. [unusedStructMember]\nE mutable int cache;...\nE \nE ...Full output truncated (15 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_unused_function.test_unused_functions_project_builddir_j_process": {"message": "assert ['cppcheck: e...t supported.'] == []\n \n Left contains one more item: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\n \n Full diff:\n - []\n + [\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_unused_function.py:258: in test_unused_functions_project_builddir_j_process\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/test/cli/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_no_valid_configuration_check_config": {"message": "AssertionError: assert ['nofile:0:0:...Suppression]'] == ['/tmp/pytest...syntaxError]']\n \n At index 0 diff: 'nofile:0:0: information: Unmatched suppression: checkersReport [unmatchedSuppression]' != '/tmp/pytest-of-root/pytest-0/popen-gw4/test_no_valid_configuration_ch2/test.c:1:2: error: No header in #include [syntaxError]'\n Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_no_valid_configuration_ch2/test.c:1:2: error: No header in #include [syntaxError]'\n \n Full diff:\n [\n + 'nofile:0:0: information: Unmatched suppression: checkersReport '...\n \n ...Full output truncated (6 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:4322: in test_no_valid_configuration_check_config\n assert stderr.splitlines() == [\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['/tmp/pytest...syntaxError]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: checkersReport [unmatchedSuppression]' != '/tmp/pytest-of-root/pytest-0/popen-gw4/test_no_valid_configuration_ch2/test.c:1:2: error: No header in #include [syntaxError]'\nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/popen-gw4/test_no_valid_configuration_ch2/test.c:1:2: error: No header in #include [syntaxError]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: checkersReport '...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_2_path_relative": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2301: in test_ignore_project_2_path_relative\n __test_ignore_project_2(tmpdir, ['-isrc/'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_missing_directory_field": {"message": "assert \"'directory' field in compilation database entry missing\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/missing_directory.json'. The format is unknown.\\n\"", "text": "tests/test_importproject.py:124: in test_compile_commands_missing_directory_field\n assert \"'directory' field in compilation database entry missing\" in output\nE assert \"'directory' field in compilation database entry missing\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/missing_directory.json'. The format is unknown.\\n\""}, "1040f6b8a219/tests.test_harvest_whole_program.test_suppress_inline_project": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:208: in test_suppress_inline_project\n __test_suppress_inline_project(tmp_path, ['-j1', '--no-cppcheck-build-dir'])\ntests/test_harvest_whole_program.py:199: in __test_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_whole_program.test_checkclass": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:325: in test_checkclass\n __test_checkclass(['-j1'])\ntests/test_harvest_whole_program.py:315: in __test_checkclass\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_project.test_sln_no_header": {"message": "AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\n \n + cppcheck: error: Visual Studio solution file header not found\n - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_no_header2/file.sln'. Project files are not supported.\n ? ^ ^^ ^^^^^^^^^ ----------- -\n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_no_header2/file.sln'. An error occurred.\n ? ^^^^^ ^^^ ^^", "text": "tests/test_harvest_project.py:139: in test_sln_no_header\n __test_project_error(tmp_path, \"sln\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio solution file header not found\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_no_header2/file.sln'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_no_header2/file.sln'. An error occurred.\nE ? ^^^^^ ^^^ ^^"}, "1040f6b8a219/tests.test_mathlib_gaps.test_integer_multiplication_overflow": {"message": "AssertionError: assert 'integerOverflow' in 'Checking /tmp/tmp7fnq2_m3/test.c ...\\n'", "text": "tests/test_mathlib_gaps.py:538: in test_integer_multiplication_overflow\n assert \"integerOverflow\" in output\nE AssertionError: assert 'integerOverflow' in 'Checking /tmp/tmp7fnq2_m3/test.c ...\\n'"}, "1040f6b8a219/tests.test_keywords.test_cpp03_backwards_compat_with_cpp20": {"message": "AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\n \n Checking /workspace/eval/test_resources/test_keywords/cpp03_only.cpp ...\n /workspace/eval/test_resources/test_keywords/cpp03_only.cpp:4:14: warning: Member variable 'TestClass::cache' is not initialized in the constructor. [uninitMemberVar]\n explicit TestClass(int x) : value(x) {}\n ^\n /workspace/eval/test_resources/test_keywords/cpp03_only.cpp:17:17: style: class member 'TestClass::cache' is never used. [unusedStructMember]\n mutable int cache;...\n \n ...Full output truncated (15 lines hidden), use '-vv' to show", "text": "tests/test_keywords.py:289: in test_cpp03_backwards_compat_with_cpp20\n assert combined == golden_normalized\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/cpp03_only.cpp ...\nE /workspace/eval/test_resources/test_keywords/cpp03_only.cpp:4:14: warning: Member variable 'TestClass::cache' is not initialized in the constructor. [uninitMemberVar]\nE explicit TestClass(int x) : value(x) {}\nE ^\nE /workspace/eval/test_resources/test_keywords/cpp03_only.cpp:17:17: style: class member 'TestClass::cache' is never used. [unusedStructMember]\nE mutable int cache;...\nE \nE ...Full output truncated (15 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_unused_function.test_unused_functions_compdb": {"message": "assert ['cppcheck: e...t supported.'] == []\n \n Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unused_functions_compdb2/compile_commands.json'. Project files are not supported.\"\n \n Full diff:\n - []\n + [\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_unused_function.py:300: in test_unused_functions_compdb\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unused_functions_compdb2/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_compiler_flags": {"message": "assert 1 == 0", "text": "tests/test_importproject.py:371: in test_compile_commands_compiler_flags\n assert returncode == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_2_path_relative_backslash": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel5/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2305: in test_ignore_project_2_path_relative_backslash\n __test_ignore_project_2(tmpdir, ['-isrc\\\\'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_missing_command_and_arguments": {"message": "assert \"no 'arguments' or 'command' field found\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/missing_command.json'. The format is unknown.\\n\"", "text": "tests/test_importproject.py:137: in test_compile_commands_missing_command_and_arguments\n assert \"no 'arguments' or 'command' field found\" in output\nE assert \"no 'arguments' or 'command' field found\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/missing_command.json'. The format is unknown.\\n\""}, "1040f6b8a219/tests.test_harvest_project.test_sln_no_projects": {"message": "AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\n \n + cppcheck: error: no projects found in Visual Studio solution file\n - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_no_projects2/file.sln'. Project files are not supported.\n ? ^ ^^ ^^^^^^^^^ ----------- -\n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_no_projects2/file.sln'. An error occurred.\n ? ^^^^^ ^^^ ^^", "text": "tests/test_harvest_project.py:149: in test_sln_no_projects\n __test_project_error(tmp_path, \"sln\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: no projects found in Visual Studio solution file\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_no_projects2/file.sln'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_no_projects2/file.sln'. An error occurred.\nE ? ^^^^^ ^^^ ^^"}, "1040f6b8a219/tests.test_harvest_whole_program.test_suppress_inline_project_builddir": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:219: in test_suppress_inline_project_builddir\n __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\ntests/test_harvest_whole_program.py:199: in __test_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_whole_program.test_checkclass_builddir": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:336: in test_checkclass_builddir\n __test_checkclass(['--cppcheck-build-dir={}'.format(build_dir)])\ntests/test_harvest_whole_program.py:315: in __test_checkclass\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_mathlib_gaps.test_shift_boundary_values": {"message": "AssertionError: assert 'shiftTooManyBitsSigned' in 'Checking /tmp/tmp6s9a2pnv/test.c ...\\n'", "text": "tests/test_mathlib_gaps.py:660: in test_shift_boundary_values\n assert \"shiftTooManyBitsSigned\" in output\nE AssertionError: assert 'shiftTooManyBitsSigned' in 'Checking /tmp/tmp6s9a2pnv/test.c ...\\n'"}, "1040f6b8a219/tests.test_keywords.test_cpp14_keywords_same_as_cpp11": {"message": "AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\n \n Checking /workspace/eval/test_resources/test_keywords/cpp14_code.cpp ...\n /workspace/eval/test_resources/test_keywords/cpp14_code.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\n #include \n ^\n + /workspace/eval/test_resources/test_keywords/cpp14_code.cpp:6:29: style: Variable 'factorial' can be declared as pointer to const [constVariablePointer]\n + return n <= 1 ? 1 : n * factorial(n-1);...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_keywords.py:355: in test_cpp14_keywords_same_as_cpp11\n assert combined == golden_normalized\nE AssertionError: assert 'Checking /wo...rsReport]\\n\\n' == 'Checking /wo...rsReport]\\n\\n'\nE \nE Checking /workspace/eval/test_resources/test_keywords/cpp14_code.cpp ...\nE /workspace/eval/test_resources/test_keywords/cpp14_code.cpp:3:2: information: Include file: not found. Please note: Standard library headers do not need to be provided to get proper results. [missingIncludeSystem]\nE #include \nE ^\nE + /workspace/eval/test_resources/test_keywords/cpp14_code.cpp:6:29: style: Variable 'factorial' can be declared as pointer to const [constVariablePointer]\nE + return n <= 1 ? 1 : n * factorial(n-1);...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_unused_function.test_unused_functions_compdb_j": {"message": "assert ['cppcheck: e...t supported.'] == ['cppcheck: u...ive with -j.']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unused_functions_compdb_j2/compile_commands.json'. Project files are not supported.\" != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\n \n Full diff:\n [\n - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\n - 'with -j.',...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tests/test_harvest_unused_function.py:323: in test_unused_functions_compdb_j\n assert result.stdout.splitlines() == [\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unused_functions_compdb_j2/compile_commands.json'. Project files are not supported.\" != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_relative_path": {"message": "assert 1 == 0", "text": "tests/test_importproject.py:386: in test_compile_commands_relative_path\n assert returncode == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_2_path_relative_wildcard": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel8/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel8/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2309: in test_ignore_project_2_path_relative_wildcard\n __test_ignore_project_2(tmpdir, ['-isrc*/'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel8/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel8/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_unbalanced_quotes_in_command": {"message": "assert 'Missing closing quote' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/unbalanced_quotes.json'. The format is unknown.\\n\"", "text": "tests/test_importproject.py:150: in test_compile_commands_unbalanced_quotes_in_command\n assert 'Missing closing quote' in output\nE assert 'Missing closing quote' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/unbalanced_quotes.json'. The format is unknown.\\n\""}, "1040f6b8a219/tests.test_harvest_project.test_sln_project_file_not_found": {"message": "AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\n \n + cppcheck: error: Visual Studio project file is not a valid XML - XML_ERROR_FILE_NOT_FOUND\n + cppcheck: error: failed to load '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_project_file_not_foun2/cli/cli.vcxproj' from Visual Studio solution\n - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_project_file_not_foun2/file.sln'. Project files are not supported.\n ? ^ ^^ ^^^^^^^^^ ----------- -\n + cppcheck: error: faile...\n \n ...Full output truncated (2 lines hidden), use '-vv' to show", "text": "tests/test_harvest_project.py:170: in test_sln_project_file_not_found\n __test_project_error(tmp_path, \"sln\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio project file is not a valid XML - XML_ERROR_FILE_NOT_FOUND\nE + cppcheck: error: failed to load '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_project_file_not_foun2/cli/cli.vcxproj' from Visual Studio solution\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_sln_project_file_not_foun2/file.sln'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: faile...\nE \nE ...Full output truncated (2 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_whole_program.test_suppress_inline_project_builddir_cached": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:225: in test_suppress_inline_project_builddir_cached\n __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\ntests/test_harvest_whole_program.py:199: in __test_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_whole_program.test_checkclass_builddir_j": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:342: in test_checkclass_builddir_j\n __test_checkclass(['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\ntests/test_harvest_whole_program.py:315: in __test_checkclass\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_mathlib_gaps.test_integer_overflow_detection": {"message": "AssertionError: assert 'integerOverflow' in 'Checking /tmp/tmpm0csvjq5/test.c ...\\n'", "text": "tests/test_mathlib_gaps.py:120: in test_integer_overflow_detection\n assert \"integerOverflow\" in output\nE AssertionError: assert 'integerOverflow' in 'Checking /tmp/tmpm0csvjq5/test.c ...\\n'"}, "1040f6b8a219/tests.test_mathlib_round2.test_multiplication_overflow_and_special_values": {"message": "AssertionError: assert 'integerOverflow' in 'Checking /tmp/tmpmzjuuecr/test.c ...\\n'", "text": "tests/test_mathlib_round2.py:671: in test_multiplication_overflow_and_special_values\n assert \"integerOverflow\" in output\nE AssertionError: assert 'integerOverflow' in 'Checking /tmp/tmpmzjuuecr/test.c ...\\n'"}, "1040f6b8a219/tests.test_harvest_unused_function.test_unused_functions_compdb_buildir_j_thread": {"message": "assert ['cppcheck: e...t supported.'] == []\n \n Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unused_functions_compdb_b2/compile_commands.json'. Project files are not supported.\"\n \n Full diff:\n - []\n + [\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_unused_function.py:349: in test_unused_functions_compdb_buildir_j_thread\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unused_functions_compdb_b2/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_absolute_path": {"message": "assert 1 == 0", "text": "tests/test_importproject.py:399: in test_compile_commands_absolute_path\n assert returncode == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_complex_quoting": {"message": "assert 1 == 0", "text": "tests/test_importproject.py:174: in test_compile_commands_complex_quoting\n assert returncode == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_importproject.test_vcxproj_basic": {"message": "gold-env-limitation: requires Windows library configuration files", "text": "/workspace/eval/tests/test_importproject.py:185: gold-env-limitation: requires Windows library configuration files"}, "1040f6b8a219/tests.test_importproject.test_vcxproj_with_configuration_filter": {"message": "gold-env-limitation: requires Windows library configuration files", "text": "/workspace/eval/tests/test_importproject.py:214: gold-env-limitation: requires Windows library configuration files"}, "1040f6b8a219/tests.test_importproject.test_sln_solution_file": {"message": "gold-env-limitation: requires Windows library configuration files", "text": "/workspace/eval/tests/test_importproject.py:242: gold-env-limitation: requires Windows library configuration files"}, "1040f6b8a219/tests.test_harvest_other.test_ignore_project_2_path_relative_wildcard_backslash": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel11/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel11/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tests/test_harvest_other.py:2313: in test_ignore_project_2_path_relative_wildcard_backslash\n __test_ignore_project_2(tmpdir, ['-isrc*\\\\'])\ntests/test_harvest_other.py:2260: in __test_ignore_project_2\n assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel11/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/popen-gw0/test_ignore_project_2_path_rel11/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_project.test_vcxproj_no_xml_root": {"message": "AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\n \n + cppcheck: error: Visual Studio project file has no XML root node\n - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_vcxproj_no_xml_root2/file.vcxproj'. Project files are not supported.\n ? ^ ^^ ^^^^^^^^^ ----------- -\n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_vcxproj_no_xml_root2/file.vcxproj'. An error occurred.\n ? ...\n \n ...Full output truncated (1 line hidden), use '-vv' to show", "text": "tests/test_harvest_project.py:179: in test_vcxproj_no_xml_root\n __test_project_error(tmp_path, \"vcxproj\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Visual Studio project file has no XML root node\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_vcxproj_no_xml_root2/file.vcxproj'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_vcxproj_no_xml_root2/file.vcxproj'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_harvest_whole_program.test_suppress_inline_project_builddir_j": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:232: in test_suppress_inline_project_builddir_j\n __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\ntests/test_harvest_whole_program.py:199: in __test_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_whole_program.test_checkclass_project": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:373: in test_checkclass_project\n __test_checkclass_project(tmpdir, ['-j1'])\ntests/test_harvest_whole_program.py:363: in __test_checkclass_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_unused_function.test_unused_functions_compdb_builddir_j_process": {"message": "assert ['cppcheck: e...t supported.'] == []\n \n Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unused_functions_compdb_b5/compile_commands.json'. Project files are not supported.\"\n \n Full diff:\n - []\n + [\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tests/test_harvest_unused_function.py:376: in test_unused_functions_compdb_builddir_j_process\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw8/test_unused_functions_compdb_b5/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_mathlib_gaps.test_shift_overflow_detection": {"message": "AssertionError: assert 'shiftTooManyBitsSigned' in 'Checking /tmp/tmpd_xg539x/test.c ...\\n/tmp/tmpd_xg539x/test.c:3:15: error: Shifting 32-bit value by 32 bits is undefined behaviour [shiftTooManyBits]\\n int b = 1 << 32;\\n ^\\n/tmp/tmpd_xg539x/test.c:4:15: error: Shifting 32-bit value by 64 bits is undefined behaviour [shiftTooManyBits]\\n int c = 1 << 64;\\n ^\\n/tmp/tmpd_xg539x/test.c:6:25: error: Shifting 32-bit value by 32 bits is undefined behaviour [shiftTooManyBits]\\n unsigned int e = 1U << 32;\\n ^\\n'", "text": "tests/test_mathlib_gaps.py:227: in test_shift_overflow_detection\n assert \"shiftTooManyBitsSigned\" in output\nE AssertionError: assert 'shiftTooManyBitsSigned' in 'Checking /tmp/tmpd_xg539x/test.c ...\\n/tmp/tmpd_xg539x/test.c:3:15: error: Shifting 32-bit value by 32 bits is undefined behaviour [shiftTooManyBits]\\n int b = 1 << 32;\\n ^\\n/tmp/tmpd_xg539x/test.c:4:15: error: Shifting 32-bit value by 64 bits is undefined behaviour [shiftTooManyBits]\\n int c = 1 << 64;\\n ^\\n/tmp/tmpd_xg539x/test.c:6:25: error: Shifting 32-bit value by 32 bits is undefined behaviour [shiftTooManyBits]\\n unsigned int e = 1U << 32;\\n ^\\n'"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_duplicate_files": {"message": "assert 1 == 0", "text": "tests/test_importproject.py:431: in test_compile_commands_duplicate_files\n assert returncode == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_programmemory.test_arithmetic_overflow_detection": {"message": "assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tests/test_programmemory.py:402: in test_arithmetic_overflow_detection\n assert '' in content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_wrong_type_directory": {"message": "assert \"'directory' field in compilation database entry is not a string\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/wrong_type_directory.json'. The format is unknown.\\n\"", "text": "tests/test_importproject.py:291: in test_compile_commands_wrong_type_directory\n assert \"'directory' field in compilation database entry is not a string\" in output\nE assert \"'directory' field in compilation database entry is not a string\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/wrong_type_directory.json'. The format is unknown.\\n\""}, "1040f6b8a219/tests.test_harvest_project.test_bpr_no_xml_root": {"message": "AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\n \n + cppcheck: error: Borland project file has no XML root node\n - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_bpr_no_xml_root2/file.bpr'. Project files are not supported.\n ? ^ ^^ ^^^^^^^^^ ----------- -\n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_bpr_no_xml_root2/file.bpr'. An error occurred.\n ? ^^^^^ ^^^ ^^", "text": "tests/test_harvest_project.py:188: in test_bpr_no_xml_root\n __test_project_error(tmp_path, \"bpr\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Borland project file has no XML root node\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_bpr_no_xml_root2/file.bpr'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_bpr_no_xml_root2/file.bpr'. An error occurred.\nE ? ^^^^^ ^^^ ^^"}, "1040f6b8a219/tests.test_harvest_whole_program.test_suppress_inline_project_builddir_j_cached": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:238: in test_suppress_inline_project_builddir_j_cached\n __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\ntests/test_harvest_whole_program.py:199: in __test_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_programmemory.test_simple_constant_value_tracking": {"message": "assert \"Condition 'y==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:9:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:9:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:9:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:72: in test_simple_constant_value_tracking\n assert \"Condition 'y==15' is always true\" in result.stderr\nE assert \"Condition 'y==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:9:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:9:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_simple_constant_value_tra2/test.c:9:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_harvest_whole_program.test_checkclass_project_builddir": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:384: in test_checkclass_project_builddir\n __test_checkclass_project(tmpdir, ['-j1', '--cppcheck-build-dir={}'.format(build_dir)])\ntests/test_harvest_whole_program.py:363: in __test_checkclass_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_whole_program.test_addon_suppress_inline": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:96: in test_addon_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_empty_array": {"message": "assert 'no C or C++ source files found' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/empty_array.json'. The format is unknown.\\n\"", "text": "tests/test_importproject.py:448: in test_compile_commands_empty_array\n assert 'no C or C++ source files found' in output\nE assert 'no C or C++ source files found' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/empty_array.json'. The format is unknown.\\n\""}, "1040f6b8a219/tests.test_mathlib_gaps.test_hex_out_of_range_detection": {"message": "AssertionError: assert 'Internal Error. MathLib::toBigUNumber: out_of_range:' in 'Checking /tmp/tmpaiovxhvq/test.c ...\\n'", "text": "tests/test_mathlib_gaps.py:332: in test_hex_out_of_range_detection\n assert \"Internal Error. MathLib::toBigUNumber: out_of_range:\" in output\nE AssertionError: assert 'Internal Error. MathLib::toBigUNumber: out_of_range:' in 'Checking /tmp/tmpaiovxhvq/test.c ...\\n'"}, "1040f6b8a219/tests.test_programmemory.test_nested_conditional_value_tracking": {"message": "assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tests/test_programmemory.py:471: in test_nested_conditional_value_tracking\n assert '' in content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_wrong_type_command": {"message": "assert \"'command' field in compilation database entry is not a string\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/wrong_type_command.json'. The format is unknown.\\n\"", "text": "tests/test_importproject.py:304: in test_compile_commands_wrong_type_command\n assert \"'command' field in compilation database entry is not a string\" in output\nE assert \"'command' field in compilation database entry is not a string\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/wrong_type_command.json'. The format is unknown.\\n\""}, "1040f6b8a219/tests.test_harvest_project.test_cppcheck_no_xml_root": {"message": "AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\n \n + cppcheck: error: Cppcheck GUI project file has no XML root node\n - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_cppcheck_no_xml_root2/file.cppcheck'. Project files are not supported.\n ? ^ ^^ ^^^^^^^^^ ----------- -\n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_cppcheck_no_xml_root2/file.cppcheck'. An error occurred.\n ? ...\n \n ...Full output truncated (1 line hidden), use '-vv' to show", "text": "tests/test_harvest_project.py:197: in test_cppcheck_no_xml_root\n __test_project_error(tmp_path, \"cppcheck\", content, expected)\ntests/test_harvest_project.py:53: in __test_project_error\n assert \"cppcheck: error: \" + expected + \"\\ncppcheck: error: failed to load project '{}'. An error occurred.\\n\".format(project_file) == stdout\nE AssertionError: assert 'cppcheck: er...r occurred.\\n' == 'cppcheck: er... supported.\\n'\nE \nE + cppcheck: error: Cppcheck GUI project file has no XML root node\nE - cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_cppcheck_no_xml_root2/file.cppcheck'. Project files are not supported.\nE ? ^ ^^ ^^^^^^^^^ ----------- -\nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/popen-gw3/test_cppcheck_no_xml_root2/file.cppcheck'. An error occurred.\nE ? ...\nE \nE ...Full output truncated (1 line hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_programmemory.test_conditional_value_flow_branches": {"message": "assert None is not None", "text": "tests/test_programmemory.py:106: in test_conditional_value_flow_branches\n assert valueflow is not None\nE assert None is not None"}, "1040f6b8a219/tests.test_harvest_whole_program.test_addon_rerun[False]": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:255: in test_addon_rerun\n _, _, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_harvest_whole_program.test_checkclass_project_builddir_j": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:390: in test_checkclass_project_builddir_j\n __test_checkclass_project(tmpdir, ['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\ntests/test_harvest_whole_program.py:363: in __test_checkclass_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_importproject.test_sln_empty_file": {"message": "assert 'Visual Studio solution file is empty' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/empty.sln'. Project files are not supported.\\n\"", "text": "tests/test_importproject.py:459: in test_sln_empty_file\n assert 'Visual Studio solution file is empty' in output\nE assert 'Visual Studio solution file is empty' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/empty.sln'. Project files are not supported.\\n\""}, "1040f6b8a219/tests.test_programmemory.test_array_element_value_tracking": {"message": "assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ... \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tests/test_programmemory.py:134: in test_array_element_value_tracking\n assert '' in content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ... \\n \\n \\n \\n \\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_harvest_whole_program.test_addon_suppress_inline_project": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:118: in test_addon_suppress_inline_project\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_programmemory.test_switch_case_value_tracking": {"message": "assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tests/test_programmemory.py:506: in test_switch_case_value_tracking\n assert '' in content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_wrong_type_arguments": {"message": "assert \"'arguments' field in compilation database entry is not a JSON array\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/wrong_type_arguments.json'. The format is unknown.\\n\"", "text": "tests/test_importproject.py:316: in test_compile_commands_wrong_type_arguments\n assert \"'arguments' field in compilation database entry is not a JSON array\" in output\nE assert \"'arguments' field in compilation database entry is not a JSON array\" in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/wrong_type_arguments.json'. The format is unknown.\\n\""}, "1040f6b8a219/tests.test_harvest_qml.test_unused_functions": {"message": "assert ['cppcheck: e...-build-dir\".'] == []\n \n Left contains one more item: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".'\n \n Full diff:\n - []\n + [\n + 'cppcheck: error: unrecognized command line option: '\n + '\"--no-cppcheck-build-dir\".',\n + ]", "text": "tests/test_harvest_qml.py:47: in test_unused_functions\n run_unused_functions_test(['-j1', '--no-cppcheck-build-dir'])\ntests/test_harvest_qml.py:30: in run_unused_functions_test\n assert result.stdout.splitlines() == []\nE assert ['cppcheck: e...-build-dir\".'] == []\nE \nE Left contains one more item: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".'\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: unrecognized command line option: '\nE + '\"--no-cppcheck-build-dir\".',\nE + ]"}, "1040f6b8a219/tests.test_programmemory.test_increment_decrement_tracking": {"message": "assert \"Condition 'x==6' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:790: in test_increment_decrement_tracking\n assert \"Condition 'x==6' is always true\" in result.stderr\nE assert \"Condition 'x==6' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_increment_decrement_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_harvest_whole_program.test_addon_rerun[True]": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:255: in test_addon_rerun\n _, _, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_importproject.test_sln_invalid_format": {"message": "assert 'Visual Studio solution file header not found' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/invalid.sln'. Project files are not supported.\\n\"", "text": "tests/test_importproject.py:472: in test_sln_invalid_format\n assert 'Visual Studio solution file header not found' in output\nE assert 'Visual Studio solution file header not found' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/invalid.sln'. Project files are not supported.\\n\""}, "1040f6b8a219/tests.test_harvest_whole_program.test_ctu_odr_config": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:403: in test_ctu_odr_config\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_programmemory.test_pointer_aliasing_value_modification": {"message": "assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tests/test_programmemory.py:164: in test_pointer_aliasing_value_modification\n assert '' in content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_harvest_whole_program.test_suppress_inline": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:147: in test_suppress_inline\n __test_suppress_inline(['-j1', '--no-cppcheck-build-dir'])\ntests/test_harvest_whole_program.py:139: in __test_suppress_inline\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_programmemory.test_ternary_operator_value_tracking": {"message": "assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tests/test_programmemory.py:529: in test_ternary_operator_value_tracking\n assert '' in content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_multiple_files": {"message": "assert 1 == 0", "text": "tests/test_importproject.py:347: in test_compile_commands_multiple_files\n assert returncode == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_qml.test_unused_functions_j": {"message": "assert 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.' in ['cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".']", "text": "tests/test_harvest_qml.py:59: in test_unused_functions_j\n assert \"cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.\" in stdout_lines\nE assert 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.' in ['cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".']"}, "1040f6b8a219/tests.test_programmemory.test_const_value_tracking": {"message": "assert \"Condition 'y==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:811: in test_const_value_tracking\n assert \"Condition 'y==15' is always true\" in result.stderr\nE assert \"Condition 'y==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_const_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_harvest_whole_program.test_addon_builddir_use_ctuinfo": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:268: in test_addon_builddir_use_ctuinfo\n _, _, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_importproject.test_vcxproj_invalid_xml": {"message": "assert 'Visual Studio project file is not a valid XML' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/invalid.vcxproj'. Project files are not supported.\\n\"", "text": "tests/test_importproject.py:484: in test_vcxproj_invalid_xml\n assert 'Visual Studio project file is not a valid XML' in output\nE assert 'Visual Studio project file is not a valid XML' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/invalid.vcxproj'. Project files are not supported.\\n\""}, "1040f6b8a219/tests.test_programmemory.test_struct_member_value_tracking": {"message": "assert \"Condition 'sum==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c:13:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c:13:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c:13:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:214: in test_struct_member_value_tracking\n assert \"Condition 'sum==15' is always true\" in result.stderr\nE assert \"Condition 'sum==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c:13:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c:13:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_struct_member_value_track2/test.c:13:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_harvest_whole_program.test_nullpointer_file0": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:434: in test_nullpointer_file0\n __test_nullpointer_file0(['-j1'])\ntests/test_harvest_whole_program.py:422: in __test_nullpointer_file0\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_reverseanalyzer.test_switch_statement_reverse": {"message": "assert 2 >= 3\n + where 2 = ('unreadVariable')\n + where = \"Checking /workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:22:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:31:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n y = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:2:6: style: The function 'test_switch' is never used. [unusedFunction]\\nvoid test_switch() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:20:6: style: The function 'test_switch_fallthrough' is never used. [unusedFunction]\\nvoid test_switch_fallthrough() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:36:6: style: The function 'test_switch_no_default' is never used. [unusedFunction]\\nvoid test_switch_no_default() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\".count", "text": "tests/test_reverseanalyzer.py:145: in test_switch_statement_reverse\n assert output.count('unreadVariable') >= 3\nE assert 2 >= 3\nE + where 2 = ('unreadVariable')\nE + where = \"Checking /workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:22:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:31:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n y = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:2:6: style: The function 'test_switch' is never used. [unusedFunction]\\nvoid test_switch() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:20:6: style: The function 'test_switch_fallthrough' is never used. [unusedFunction]\\nvoid test_switch_fallthrough() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/switch_reverse.cpp:36:6: style: The function 'test_switch_no_default' is never used. [unusedFunction]\\nvoid test_switch_no_default() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\".count"}, "1040f6b8a219/tests.test_programmemory.test_function_return_value_tracking": {"message": "assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tests/test_programmemory.py:558: in test_function_return_value_tracking\n assert '' in content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_programmemory.test_shift_operation_value_tracking": {"message": "assert \"Condition 'y==16' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:602: in test_shift_operation_value_tracking\n assert \"Condition 'y==16' is always true\" in result.stderr\nE assert \"Condition 'y==16' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_shift_operation_value_tra2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_harvest_qml.test_unused_functions_builddir": {"message": "assert ['/workspace/...sedFunction]'] == ['/workspace/...sedFunction]']\n \n At index 0 diff: '/workspace/test/cli/QML-Samples-TableView/TableRow.qml:20:57: error: syntax error [syntaxError]' != \"/workspace/test/cli/QML-Samples-TableView/samplemodel.cpp:15:23: style: The function 'data' is never used. [unusedFunction]\"\n Left contains one more item: \"/workspace/test/cli/QML-Samples-TableView/samplemodel.cpp:9:18: style: The function 'rowCount' is never used. [unusedFunction]\"\n \n Full diff:\n [\n + '/workspace/test/cli/QML-Samples-TableView/TableRow.qml:20:57: error: '...\n \n ...Full output truncated (8 lines hidden), use '-vv' to show", "text": "tests/test_harvest_qml.py:68: in test_unused_functions_builddir\n run_unused_functions_test([f'--cppcheck-build-dir={build_dir}'])\ntests/test_harvest_qml.py:41: in run_unused_functions_test\n assert lines == expected\nE assert ['/workspace/...sedFunction]'] == ['/workspace/...sedFunction]']\nE \nE At index 0 diff: '/workspace/test/cli/QML-Samples-TableView/TableRow.qml:20:57: error: syntax error [syntaxError]' != \"/workspace/test/cli/QML-Samples-TableView/samplemodel.cpp:15:23: style: The function 'data' is never used. [unusedFunction]\"\nE Left contains one more item: \"/workspace/test/cli/QML-Samples-TableView/samplemodel.cpp:9:18: style: The function 'rowCount' is never used. [unusedFunction]\"\nE \nE Full diff:\nE [\nE + '/workspace/test/cli/QML-Samples-TableView/TableRow.qml:20:57: error: '...\nE \nE ...Full output truncated (8 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_programmemory.test_macro_defined_constant_tracking": {"message": "assert \"Condition 'x==42' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: style: The comparison 'x == 42' is always true. [knownConditionTrueFalse]\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:5:13: note: 'x' is assigned value '42' here.\\n int x = VALUE;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: note: The comparison 'x == 42' is always true.\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: style: The comparison 'x == 42' is always true. [knownConditionTrueFalse]\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:5:13: note: 'x' is assigned value '42' here.\\n int x = VALUE;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: note: The comparison 'x == 42' is always true.\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: style: The comparison 'x == 42' is always true. [knownConditionTrueFalse]\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:5:13: note: 'x' is assigned value '42' here.\\n int x = VALUE;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: note: The comparison 'x == 42' is always true.\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:855: in test_macro_defined_constant_tracking\n assert \"Condition 'x==42' is always true\" in result.stderr\nE assert \"Condition 'x==42' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: style: The comparison 'x == 42' is always true. [knownConditionTrueFalse]\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:5:13: note: 'x' is assigned value '42' here.\\n int x = VALUE;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: note: The comparison 'x == 42' is always true.\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: style: The comparison 'x == 42' is always true. [knownConditionTrueFalse]\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:5:13: note: 'x' is assigned value '42' here.\\n int x = VALUE;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: note: The comparison 'x == 42' is always true.\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: style: The comparison 'x == 42' is always true. [knownConditionTrueFalse]\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:5:13: note: 'x' is assigned value '42' here.\\n int x = VALUE;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:6:11: note: The comparison 'x == 42' is always true.\\n if (x == 42) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw0/test_macro_defined_constant_tr2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_importproject.test_vcxproj_empty_xml": {"message": "assert 'Visual Studio project file has no XML root node' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/empty.vcxproj'. Project files are not supported.\\n\"", "text": "tests/test_importproject.py:496: in test_vcxproj_empty_xml\n assert 'Visual Studio project file has no XML root node' in output\nE assert 'Visual Studio project file has no XML root node' in \"cppcheck: error: failed to load project '/workspace/eval/test_resources/test_importproject/empty.vcxproj'. Project files are not supported.\\n\""}, "1040f6b8a219/tests.test_programmemory.test_container_size_tracking_vector": {"message": "assert \"Condition 'vec.size()==3' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:11:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:15:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 2;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:11:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:15:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 2;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:11:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:15:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 2;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:244: in test_container_size_tracking_vector\n assert \"Condition 'vec.size()==3' is always true\" in result.stderr\nE assert \"Condition 'vec.size()==3' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:11:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:15:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 2;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:11:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:15:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 2;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:11:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_container_size_tracking_v2/test.cpp:15:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 2;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_reverseanalyzer.test_pointer_analysis_reverse": {"message": "assert 'knownConditionTrueFalse' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n int* p = &x;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:20:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n int* p = nullptr;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:2:6: style: The function 'test_pointer_basic' is never used. [unusedFunction]\\nvoid test_pointer_basic() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:10:6: style: The function 'test_pointer_assignment' is never used. [unusedFunction]\\nvoid test_pointer_assignment() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:19:6: style: The function 'test_nullptr' is never used. [unusedFunction]\\nvoid test_nullptr() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:26:6: style: The function 'test_array_access' is never used. [unusedFunction]\\nvoid test_array_access() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_reverseanalyzer.py:160: in test_pointer_analysis_reverse\n assert 'knownConditionTrueFalse' in output\nE assert 'knownConditionTrueFalse' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:4:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n int* p = &x;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:20:10: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n int* p = nullptr;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:2:6: style: The function 'test_pointer_basic' is never used. [unusedFunction]\\nvoid test_pointer_basic() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:10:6: style: The function 'test_pointer_assignment' is never used. [unusedFunction]\\nvoid test_pointer_assignment() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:19:6: style: The function 'test_nullptr' is never used. [unusedFunction]\\nvoid test_nullptr() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/pointer_reverse.cpp:26:6: style: The function 'test_array_access' is never used. [unusedFunction]\\nvoid test_array_access() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_harvest_whole_program.test_nullpointer_file0_builddir_j": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'", "text": "tests/test_harvest_whole_program.py:445: in test_nullpointer_file0_builddir_j\n __test_nullpointer_file0(['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\ntests/test_harvest_whole_program.py:422: in __test_nullpointer_file0\n ret, stdout, stderr = run_cppcheck(args, cwd=SCRIPT_DIR)\ntests/test_harvest_whole_program.py:29: in run_cppcheck\n result = subprocess.run(\n/usr/lib/python3.10/subprocess.py:503: in run\n with Popen(*popenargs, **kwargs) as process:\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n/usr/lib/python3.10/subprocess.py:1863: in _execute_child\n raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/test/cli'"}, "1040f6b8a219/tests.test_programmemory.test_bitwise_operation_value_tracking": {"message": "assert \"Condition 'z==1' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:581: in test_bitwise_operation_value_tracking\n assert \"Condition 'z==1' is always true\" in result.stderr\nE assert \"Condition 'z==1' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_operation_value_t2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_programmemory.test_modulo_operation_value_tracking": {"message": "assert \"Condition 'y==1' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:623: in test_modulo_operation_value_tracking\n assert \"Condition 'y==1' is always true\" in result.stderr\nE assert \"Condition 'y==1' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_modulo_operation_value_tr2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_symboldatabase.test_multiple_inheritance_symboldatabase": {"message": "AssertionError: Derived class type not found in symboldatabase\nassert None is not None", "text": "tests/test_symboldatabase.py:69: in test_multiple_inheritance_symboldatabase\n assert derived_type is not None, \"Derived class type not found in symboldatabase\"\nE AssertionError: Derived class type not found in symboldatabase\nE assert None is not None"}, "1040f6b8a219/tests.test_symboldatabase.test_variable_attributes_symboldatabase": {"message": "AssertionError: DataHolder class not found\nassert None is not None", "text": "tests/test_symboldatabase.py:307: in test_variable_attributes_symboldatabase\n assert holder_scope is not None, \"DataHolder class not found\"\nE AssertionError: DataHolder class not found\nE assert None is not None"}, "1040f6b8a219/tests.test_programmemory.test_logical_and_value_tracking": {"message": "assert \"Condition 'result' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:896: in test_logical_and_value_tracking\n assert \"Condition 'result' is always true\" in result.stderr\nE assert \"Condition 'result' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_and_value_trackin2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_defines_without_values": {"message": "assert 1 == 0", "text": "tests/test_importproject.py:522: in test_compile_commands_defines_without_values\n assert returncode == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_programmemory.test_container_empty_value_tracking": {"message": "assert 0 >= 2\n + where 0 = len([])", "text": "tests/test_programmemory.py:277: in test_container_empty_value_tracking\n assert len(empty_conditions) >= 2\nE assert 0 >= 2\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_reverseanalyzer.test_complex_control_flow": {"message": "assert 5 >= 6\n + where 5 = ('knownConditionTrueFalse')\n + where = \"Checking /workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:34:11: style: Condition 'x<5' is always false [knownConditionTrueFalse]\\n if (x < 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:33:13: note: Assignment 'x=10', assigned value is 10\\n int x = 10;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:34:11: note: Condition 'x<5' is always false\\n if (x < 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:37:11: style: Condition 'x>15' is always false [knownConditionTrueFalse]\\n if (x > 15) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:33:13: note: Assignment 'x=10', assigned value is 10\\n int x = 10;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:37:11: note: Condition 'x>15' is always false\\n if (x > 15) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:5:11: style: The comparison '...on 'test_nested_if' is never used. [unusedFunction]\\nvoid test_nested_if() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:13:6: style: The function 'test_nested_loops' is never used. [unusedFunction]\\nvoid test_nested_loops() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:21:6: style: The function 'test_goto_label' is never used. [unusedFunction]\\nvoid test_goto_label() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:32:6: style: The function 'test_multiple_returns' is never used. [unusedFunction]\\nvoid test_multiple_returns() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:44:6: style: The function 'test_compound_assignment' is never used. [unusedFunction]\\nvoid test_compound_assignment() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:52:6: style: The function 'test_increment_decrement' is never used. [unusedFunction]\\nvoid test_increment_decrement() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\".count", "text": "tests/test_reverseanalyzer.py:183: in test_complex_control_flow\n assert output.count('knownConditionTrueFalse') >= 6\nE assert 5 >= 6\nE + where 5 = ('knownConditionTrueFalse')\nE + where = \"Checking /workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:34:11: style: Condition 'x<5' is always false [knownConditionTrueFalse]\\n if (x < 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:33:13: note: Assignment 'x=10', assigned value is 10\\n int x = 10;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:34:11: note: Condition 'x<5' is always false\\n if (x < 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:37:11: style: Condition 'x>15' is always false [knownConditionTrueFalse]\\n if (x > 15) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:33:13: note: Assignment 'x=10', assigned value is 10\\n int x = 10;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:37:11: note: Condition 'x>15' is always false\\n if (x > 15) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:5:11: style: The comparison '...on 'test_nested_if' is never used. [unusedFunction]\\nvoid test_nested_if() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:13:6: style: The function 'test_nested_loops' is never used. [unusedFunction]\\nvoid test_nested_loops() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:21:6: style: The function 'test_goto_label' is never used. [unusedFunction]\\nvoid test_goto_label() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:32:6: style: The function 'test_multiple_returns' is never used. [unusedFunction]\\nvoid test_multiple_returns() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:44:6: style: The function 'test_compound_assignment' is never used. [unusedFunction]\\nvoid test_compound_assignment() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/complex_control_flow.cpp:52:6: style: The function 'test_increment_decrement' is never used. [unusedFunction]\\nvoid test_increment_decrement() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\".count"}, "1040f6b8a219/tests.test_harvest_whole_program.test_nullpointer_out_of_memory[False]": {"message": "AssertionError: assert [] == ['[ctunullpoi...OutOfMemory]']\n \n Right contains one more item: '[ctunullpointerOutOfMemory]'\n \n Full diff:\n + []\n - [\n - '[ctunullpointerOutOfMemory]',\n - ]", "text": "tests/test_harvest_whole_program.py:484: in test_nullpointer_out_of_memory\n assert results == ['[ctunullpointerOutOfMemory]']\nE AssertionError: assert [] == ['[ctunullpoi...OutOfMemory]']\nE \nE Right contains one more item: '[ctunullpointerOutOfMemory]'\nE \nE Full diff:\nE + []\nE - [\nE - '[ctunullpointerOutOfMemory]',\nE - ]"}, "1040f6b8a219/tests.test_programmemory.test_equality_operators_tracking": {"message": "assert \"Condition 'eq' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:3:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: note: The comparison 'x == 5' is always true.\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:7:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:3:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: note: The comparison 'x == 5' is always true.\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:7:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:3:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: note: The comparison 'x == 5' is always true.\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:7:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:981: in test_equality_operators_tracking\n assert \"Condition 'eq' is always true\" in result.stderr\nE assert \"Condition 'eq' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:3:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: note: The comparison 'x == 5' is always true.\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:7:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:3:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: note: The comparison 'x == 5' is always true.\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:7:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:3:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:4:17: note: The comparison 'x == 5' is always true.\\n int eq = (x == 5);\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw6/test_equality_operators_tracki2/test.c:7:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_programmemory.test_negative_value_tracking": {"message": "assert \"Condition 'y==5' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:644: in test_negative_value_tracking\n assert \"Condition 'y==5' is always true\" in result.stderr\nE assert \"Condition 'y==5' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_negative_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_symboldatabase.test_enum_types_symboldatabase": {"message": "AssertionError: Expected at least 2 enum scopes, got 0\nassert 0 >= 2\n + where 0 = len([])", "text": "tests/test_symboldatabase.py:144: in test_enum_types_symboldatabase\n assert len(enum_scopes) >= 2, f\"Expected at least 2 enum scopes, got {len(enum_scopes)}\"\nE AssertionError: Expected at least 2 enum scopes, got 0\nE assert 0 >= 2\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_symboldatabase.test_namespace_scopes_symboldatabase": {"message": "AssertionError: Expected at least 2 namespace scopes (Outer, Inner), got 0\nassert 0 >= 2\n + where 0 = len([])", "text": "tests/test_symboldatabase.py:362: in test_namespace_scopes_symboldatabase\n assert len(namespace_scopes) >= 2, \\\nE AssertionError: Expected at least 2 namespace scopes (Outer, Inner), got 0\nE assert 0 >= 2\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_programmemory.test_logical_or_value_tracking": {"message": "assert \"Condition 'result' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:917: in test_logical_or_value_tracking\n assert \"Condition 'result' is always true\" in result.stderr\nE assert \"Condition 'result' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_or_value_tracking2/test.c:7:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_undefines": {"message": "assert 1 == 0", "text": "tests/test_importproject.py:551: in test_compile_commands_undefines\n assert returncode == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_programmemory.test_multiple_assignments_tracking": {"message": "assert \"Condition 'x==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: style: Condition 'x==5' is always false [knownConditionTrueFalse]\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: Assignment 'x=15', assigned value is 15\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: note: Condition 'x==5' is always false\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: note: x is initialized\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: note: x is overwritten\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:7: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment]\\n x = 15;\\n ^\\n/tmp/...:11: style: The comparison 'x == 15' is always true. [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: 'x' is assigned value '15' here.\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:6:11: note: The comparison 'x == 15' is always true.\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:10:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 2;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: style: Condition 'x==5' is always false [knownConditionTrueFalse]\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: Assignment 'x=15', assigned value is 15\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: note: Condition 'x==5' is always false\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: note: x is initialized\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: note: x is overwritten\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:7: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment]\\n x = 15;\\n ^\\n/tmp/...:11: style: The comparison 'x == 15' is always true. [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: 'x' is assigned value '15' here.\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:6:11: note: The comparison 'x == 15' is always true.\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:10:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 2;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: style: Condition 'x==5' is always false [knownConditionTrueFalse]\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: Assignment 'x=15', assigned value is 15\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: note: Condition 'x==5' is always false\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: note: x is initialized\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test...11: style: The comparison 'x == 15' is always true. [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: 'x' is assigned value '15' here.\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:6:11: note: The comparison 'x == 15' is always true.\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:10:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 2;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:305: in test_multiple_assignments_tracking\n assert \"Condition 'x==15' is always true\" in result.stderr\nE assert \"Condition 'x==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: style: Condition 'x==5' is always false [knownConditionTrueFalse]\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: Assignment 'x=15', assigned value is 15\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: note: Condition 'x==5' is always false\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: note: x is initialized\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: note: x is overwritten\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:7: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment]\\n x = 15;\\n ^\\n/tmp/...:11: style: The comparison 'x == 15' is always true. [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: 'x' is assigned value '15' here.\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:6:11: note: The comparison 'x == 15' is always true.\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:10:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 2;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: style: Condition 'x==5' is always false [knownConditionTrueFalse]\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: Assignment 'x=15', assigned value is 15\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: note: Condition 'x==5' is always false\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: note: x is initialized\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: note: x is overwritten\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:7: style: Variable 'x' is reassigned a value before the old one has been used. [redundantAssignment]\\n x = 15;\\n ^\\n/tmp/...:11: style: The comparison 'x == 15' is always true. [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: 'x' is assigned value '15' here.\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:6:11: note: The comparison 'x == 15' is always true.\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:10:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 2;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: style: Condition 'x==5' is always false [knownConditionTrueFalse]\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: Assignment 'x=15', assigned value is 15\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:9:11: note: Condition 'x==5' is always false\\n if (x == 5) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Redundant initialization for 'x'. The initialized value is overwritten before it is read. [redundantInitialization]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: note: x is initialized\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test...11: style: The comparison 'x == 15' is always true. [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:5:9: note: 'x' is assigned value '15' here.\\n x = 15;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:6:11: note: The comparison 'x == 15' is always true.\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:3:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:4:7: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n x = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_assignments_trac2/test.c:10:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 2;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_reverseanalyzer.test_dead_code_detection": {"message": "assert \"The condition 'x != 0' is redundant since 'x == 5' is sufficient\" in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:18:16: style: Redundant condition: x == 5. 'x != 0 && x == 5' is equivalent to 'x == 5' [redundantCondition]\\n if (x != 0 && x == 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:17:13: note: 'x' is assigned value '0' here.\\n int x = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:18:16: note: Redundant condition: x == 5. 'x != 0 && x == 5' is equivalent to 'x == 5'\\n if (x != 0 && x == 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:26:21: style: Condition 'x==2' is always false [knownConditionTrueFalse]\\n if (x == 1 || x == 2) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:25:13: note: Assignment 'x=1', assigned value is 1\\n int x = 1;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:26:21: note: Condition 'x==2' is always false\\n if (x == 1 || x == 2) {\\n ^\\n/workspace/eval/test_resources/test_reversea... that is never used. [unreadVariable]\\n x = 10;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:2:6: style: The function 'test_dead_after_return' is never used. [unusedFunction]\\nvoid test_dead_after_return() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:8:6: style: The function 'test_dead_in_false_condition' is never used. [unusedFunction]\\nvoid test_dead_in_false_condition() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:16:6: style: The function 'test_dead_in_and_operator' is never used. [unusedFunction]\\nvoid test_dead_in_and_operator() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:24:6: style: The function 'test_dead_in_or_operator' is never used. [unusedFunction]\\nvoid test_dead_in_or_operator() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:32:6: style: The function 'test_unreachable_after_unconditional_branch' is never used. [unusedFunction]\\nvoid test_unreachable_after_unconditional_branch() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_reverseanalyzer.py:218: in test_dead_code_detection\n assert \"The condition 'x != 0' is redundant since 'x == 5' is sufficient\" in output\nE assert \"The condition 'x != 0' is redundant since 'x == 5' is sufficient\" in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:18:16: style: Redundant condition: x == 5. 'x != 0 && x == 5' is equivalent to 'x == 5' [redundantCondition]\\n if (x != 0 && x == 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:17:13: note: 'x' is assigned value '0' here.\\n int x = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:18:16: note: Redundant condition: x == 5. 'x != 0 && x == 5' is equivalent to 'x == 5'\\n if (x != 0 && x == 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:26:21: style: Condition 'x==2' is always false [knownConditionTrueFalse]\\n if (x == 1 || x == 2) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:25:13: note: Assignment 'x=1', assigned value is 1\\n int x = 1;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:26:21: note: Condition 'x==2' is always false\\n if (x == 1 || x == 2) {\\n ^\\n/workspace/eval/test_resources/test_reversea... that is never used. [unreadVariable]\\n x = 10;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:2:6: style: The function 'test_dead_after_return' is never used. [unusedFunction]\\nvoid test_dead_after_return() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:8:6: style: The function 'test_dead_in_false_condition' is never used. [unusedFunction]\\nvoid test_dead_in_false_condition() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:16:6: style: The function 'test_dead_in_and_operator' is never used. [unusedFunction]\\nvoid test_dead_in_and_operator() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:24:6: style: The function 'test_dead_in_or_operator' is never used. [unusedFunction]\\nvoid test_dead_in_or_operator() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/dead_code.cpp:32:6: style: The function 'test_unreachable_after_unconditional_branch' is never used. [unusedFunction]\\nvoid test_unreachable_after_unconditional_branch() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_simplecpp.test_elif_without_initial_if_error": {"message": "AssertionError: assert 'syntaxError' in 'Checking /tmp/tmp68ifjcpq/test.c ...\\n/tmp/tmp68ifjcpq/test.c:1:2: error: #elif without #if [preprocessorErrorDirective]\\n#elif VERSION == 2\\n ^\\n'", "text": "tests/test_simplecpp.py:605: in test_elif_without_initial_if_error\n assert \"syntaxError\" in output\nE AssertionError: assert 'syntaxError' in 'Checking /tmp/tmp68ifjcpq/test.c ...\\n/tmp/tmp68ifjcpq/test.c:1:2: error: #elif without #if [preprocessorErrorDirective]\\n#elif VERSION == 2\\n ^\\n'"}, "1040f6b8a219/tests.test_programmemory.test_parenthesized_expression_tracking": {"message": "assert \"Condition 'result==20' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:1005: in test_parenthesized_expression_tracking\n assert \"Condition 'result==20' is always true\" in result.stderr\nE assert \"Condition 'result==20' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_parenthesized_expression_2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_programmemory.test_unsigned_value_tracking": {"message": "assert \"Condition 'y==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:665: in test_unsigned_value_tracking\n assert \"Condition 'y==15' is always true\" in result.stderr\nE assert \"Condition 'y==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_unsigned_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_symboldatabase.test_nested_classes_symboldatabase": {"message": "AssertionError: Outer class not found\nassert None is not None", "text": "tests/test_symboldatabase.py:217: in test_nested_classes_symboldatabase\n assert outer_scope is not None, \"Outer class not found\"\nE AssertionError: Outer class not found\nE assert None is not None"}, "1040f6b8a219/tests.test_programmemory.test_logical_not_value_tracking": {"message": "assert \"Condition 'result' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c:6:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c:6:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c:6:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:937: in test_logical_not_value_tracking\n assert \"Condition 'result' is always true\" in result.stderr\nE assert \"Condition 'result' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c:6:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c:6:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_logical_not_value_trackin2/test.c:6:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_symboldatabase.test_friend_declarations_symboldatabase": {"message": "AssertionError: Base class not found\nassert None is not None", "text": "tests/test_symboldatabase.py:420: in test_friend_declarations_symboldatabase\n assert base_scope is not None, \"Base class not found\"\nE AssertionError: Base class not found\nE assert None is not None"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_standard_flag": {"message": "assert 1 == 0", "text": "tests/test_importproject.py:568: in test_compile_commands_standard_flag\n assert returncode == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_programmemory.test_expression_evaluation_in_memory": {"message": "assert \"Condition 'x==20' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:329: in test_expression_evaluation_in_memory\n assert \"Condition 'x==20' is always true\" in result.stderr\nE assert \"Condition 'x==20' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_expression_evaluation_in_2/test.c:7:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_reverseanalyzer.test_struct_and_class_members": {"message": "assert 'knownConditionTrueFalse' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp:7:6: style: The function 'test_struct_member_access' is never used. [unusedFunction]\\nvoid test_struct_member_access() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp:23:10: style: The function 'increment' is never used. [unusedFunction]\\n void increment() { value++; }\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp:26:6: style: The function 'test_class_member' is never used. [unusedFunction]\\nvoid test_class_member() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp:34:6: style: The function 'test_struct_initialization' is never used. [unusedFunction]\\nvoid test_struct_initialization() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_reverseanalyzer.py:233: in test_struct_and_class_members\n assert 'knownConditionTrueFalse' in output\nE assert 'knownConditionTrueFalse' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp:7:6: style: The function 'test_struct_member_access' is never used. [unusedFunction]\\nvoid test_struct_member_access() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp:23:10: style: The function 'increment' is never used. [unusedFunction]\\n void increment() { value++; }\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp:26:6: style: The function 'test_class_member' is never used. [unusedFunction]\\nvoid test_class_member() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/struct_class.cpp:34:6: style: The function 'test_struct_initialization' is never used. [unusedFunction]\\nvoid test_struct_initialization() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_simplecpp.test_else_without_if_error": {"message": "AssertionError: assert 'syntaxError' in 'Checking /tmp/tmpvud0x9jy/test.c ...\\n/tmp/tmpvud0x9jy/test.c:1:2: error: #else without #if [preprocessorErrorDirective]\\n#else\\n ^\\n'", "text": "tests/test_simplecpp.py:627: in test_else_without_if_error\n assert \"syntaxError\" in output\nE AssertionError: assert 'syntaxError' in 'Checking /tmp/tmpvud0x9jy/test.c ...\\n/tmp/tmpvud0x9jy/test.c:1:2: error: #else without #if [preprocessorErrorDirective]\\n#else\\n ^\\n'"}, "1040f6b8a219/tests.test_programmemory.test_unary_minus_value_tracking": {"message": "assert \"Condition 'y==-5' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:1025: in test_unary_minus_value_tracking\n assert \"Condition 'y==-5' is always true\" in result.stderr\nE assert \"Condition 'y==-5' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_minus_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_programmemory.test_char_value_tracking": {"message": "assert \"Condition 'x==66' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:686: in test_char_value_tracking\n assert \"Condition 'x==66' is always true\" in result.stderr\nE assert \"Condition 'x==66' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_char_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_symboldatabase.test_function_overloading_symboldatabase": {"message": "AssertionError: Calculator class not found\nassert None is not None", "text": "tests/test_symboldatabase.py:267: in test_function_overloading_symboldatabase\n assert calc_scope is not None, \"Calculator class not found\"\nE AssertionError: Calculator class not found\nE assert None is not None"}, "1040f6b8a219/tests.test_symboldatabase.test_constructor_destructor_symboldatabase": {"message": "AssertionError: Expected at least 5 functions, got 0\nassert 0 >= 5\n + where 0 = len([])", "text": "tests/test_symboldatabase.py:462: in test_constructor_destructor_symboldatabase\n assert len(functions) >= 5, f\"Expected at least 5 functions, got {len(functions)}\"\nE AssertionError: Expected at least 5 functions, got 0\nE assert 0 >= 5\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_programmemory.test_comparison_operators_tracking": {"message": "assert \"Condition 'greater' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c:8:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c:8:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c:8:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:959: in test_comparison_operators_tracking\n assert \"Condition 'greater' is always true\" in result.stderr\nE assert \"Condition 'greater' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c:8:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c:8:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw0/test_comparison_operators_trac2/test.c:8:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_importproject.test_compile_commands_visual_studio_patterns": {"message": "assert 1 == 0", "text": "tests/test_importproject.py:593: in test_compile_commands_visual_studio_patterns\n assert returncode == 0\nE assert 1 == 0"}, "1040f6b8a219/tests.test_importproject.test_vcxproj_shared_items_project": {"message": "gold-env-limitation: requires Windows library configuration files", "text": "/workspace/eval/tests/test_importproject.py:603: gold-env-limitation: requires Windows library configuration files"}, "1040f6b8a219/tests.test_programmemory.test_string_literal_value_tracking": {"message": "assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tests/test_programmemory.py:1152: in test_string_literal_value_tracking\n assert '' in content\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_reverseanalyzer.test_complex_expressions": {"message": "assert 'knownConditionTrueFalse' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:2:6: style: The function 'test_arithmetic_expressions' is never used. [unusedFunction]\\nvoid test_arithmetic_expressions() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:11:6: style: The function 'test_boolean_expressions' is never used. [unusedFunction]\\nvoid test_boolean_expressions() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:21:6: style: The function 'test_comparison_chain' is never used. [unusedFunction]\\nvoid test_comparison_chain() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:29:6: style: The function 'test_bitwise_operations' is never used. [unusedFunction]\\nvoid test_bitwise_operations() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:37:6: style: The function 'test_modulo_operation' is never used. [unusedFunction]\\nvoid test_modulo_operation() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:45:6: style: The function 'test_division' is never used. [unusedFunction]\\nvoid test_division() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_reverseanalyzer.py:255: in test_complex_expressions\n assert 'knownConditionTrueFalse' in output\nE assert 'knownConditionTrueFalse' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:2:6: style: The function 'test_arithmetic_expressions' is never used. [unusedFunction]\\nvoid test_arithmetic_expressions() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:11:6: style: The function 'test_boolean_expressions' is never used. [unusedFunction]\\nvoid test_boolean_expressions() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:21:6: style: The function 'test_comparison_chain' is never used. [unusedFunction]\\nvoid test_comparison_chain() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:29:6: style: The function 'test_bitwise_operations' is never used. [unusedFunction]\\nvoid test_bitwise_operations() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:37:6: style: The function 'test_modulo_operation' is never used. [unusedFunction]\\nvoid test_modulo_operation() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/expressions.cpp:45:6: style: The function 'test_division' is never used. [unusedFunction]\\nvoid test_division() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_simplecpp.test_endif_without_if_error": {"message": "AssertionError: assert 'syntaxError' in 'Checking /tmp/tmp527o82bm/test.c ...\\n/tmp/tmp527o82bm/test.c:2:2: error: #endif without #if [preprocessorErrorDirective]\\n#endif\\n ^\\n'", "text": "tests/test_simplecpp.py:648: in test_endif_without_if_error\n assert \"syntaxError\" in output\nE AssertionError: assert 'syntaxError' in 'Checking /tmp/tmp527o82bm/test.c ...\\n/tmp/tmp527o82bm/test.c:2:2: error: #endif without #if [preprocessorErrorDirective]\\n#endif\\n ^\\n'"}, "1040f6b8a219/tests.test_programmemory.test_unary_plus_value_tracking": {"message": "assert \"Condition 'y==5' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:1045: in test_unary_plus_value_tracking\n assert \"Condition 'y==5' is always true\" in result.stderr\nE assert \"Condition 'y==5' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_unary_plus_value_tracking2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_programmemory.test_bitwise_or_value_tracking": {"message": "assert \"Condition 'z==7' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:707: in test_bitwise_or_value_tracking\n assert \"Condition 'z==7' is always true\" in result.stderr\nE assert \"Condition 'z==7' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_or_value_tracking2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_variadic_template_class_and_function": {"message": "AssertionError: assert 'unreadVariable' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/variadic_template.cpp ...\\n'", "text": "tests/test_templatesimplifier_gaps.py:64: in test_variadic_template_class_and_function\n assert \"unreadVariable\" in output # Expected warning on 't'\nE AssertionError: assert 'unreadVariable' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/variadic_template.cpp ...\\n'"}, "1040f6b8a219/tests.test_symboldatabase.test_access_specifiers_symboldatabase": {"message": "AssertionError: AccessTest class not found\nassert None is not None", "text": "tests/test_symboldatabase.py:665: in test_access_specifiers_symboldatabase\n assert access_test is not None, \"AccessTest class not found\"\nE AssertionError: AccessTest class not found\nE assert None is not None"}, "1040f6b8a219/tests.test_symboldatabase.test_operator_overloading_symboldatabase": {"message": "AssertionError: Complex class not found\nassert None is not None", "text": "tests/test_symboldatabase.py:522: in test_operator_overloading_symboldatabase\n assert complex_scope is not None, \"Complex class not found\"\nE AssertionError: Complex class not found\nE assert None is not None"}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_template_non_type_parameters": {"message": "assert 'Buffer < 100 >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:3:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass Buffer {\\n^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:22:13: error: Uninitialized struct member: buf1.getSize [uninitStructMember]\\n int x = buf1.getSize();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:23:13: error: Uninitialized struct member: buf2.getSize [uninitStructMember]\\n int y = buf2.getSize();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:4:10: style: class member 'Buffer::data' is never used. [unusedStructMember]\\n char data[SIZE];\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:26:14: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n double w = multiply(3.14);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:28:12: style: Variable 'v1' is assigned a value that is never used. [unreadVariable]\\n int v1 = Conditional::value;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:29:12: style: Variable 'v2' is assigned a value that is never used. [unreadVariable]\\n int v2 = Conditional::value;\\n ^\\n\"", "text": "tests/test_templatesimplifier_gaps.py:218: in test_template_non_type_parameters\n assert \"Buffer < 100 >\" in output\nE assert 'Buffer < 100 >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:3:1: style: The class 'X' does not declare a constructor although it has private member variables which likely require initialization. [noConstructor]\\nclass Buffer {\\n^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:22:13: error: Uninitialized struct member: buf1.getSize [uninitStructMember]\\n int x = buf1.getSize();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:23:13: error: Uninitialized struct member: buf2.getSize [uninitStructMember]\\n int y = buf2.getSize();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:4:10: style: class member 'Buffer::data' is never used. [unusedStructMember]\\n char data[SIZE];\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:26:14: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n double w = multiply(3.14);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:28:12: style: Variable 'v1' is assigned a value that is never used. [unreadVariable]\\n int v1 = Conditional::value;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_non_type_params.cpp:29:12: style: Variable 'v2' is assigned a value that is never used. [unreadVariable]\\n int v2 = Conditional::value;\\n ^\\n\""}, "1040f6b8a219/tests.test_programmemory.test_multiple_operators_precedence_tracking": {"message": "assert \"Condition 'result==14' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:1175: in test_multiple_operators_precedence_tracking\n assert \"Condition 'result==14' is always true\" in result.stderr\nE assert \"Condition 'result==14' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_multiple_operators_preced2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_template_operator_overloading": {"message": "assert 'Value < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp:6:5: style: Class 'Value' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Value(T v) : val(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp:13:31: style: Variable 'factor' can be declared as pointer to const [constVariablePointer]\\n return Value(val * factor);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp:13:31: style: Unused variable: factor [unusedVariable]\\n return Value(val * factor);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp:28:13: style: Variable 'eq' is assigned a value that is never used. [unreadVariable]\\n bool eq = (v1 == v2);\\n ^\\n\"", "text": "tests/test_templatesimplifier_gaps.py:418: in test_template_operator_overloading\n assert \"Value < int >\" in output\nE assert 'Value < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp:6:5: style: Class 'Value' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Value(T v) : val(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp:13:31: style: Variable 'factor' can be declared as pointer to const [constVariablePointer]\\n return Value(val * factor);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp:13:31: style: Unused variable: factor [unusedVariable]\\n return Value(val * factor);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_operator_overload.cpp:28:13: style: Variable 'eq' is assigned a value that is never used. [unreadVariable]\\n bool eq = (v1 == v2);\\n ^\\n\""}, "1040f6b8a219/tests.test_programmemory.test_bitwise_not_value_tracking": {"message": "assert \"Condition 'y==-1' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:1065: in test_bitwise_not_value_tracking\n assert \"Condition 'y==-1' is always true\" in result.stderr\nE assert \"Condition 'y==-1' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_bitwise_not_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_programmemory.test_bitwise_xor_value_tracking": {"message": "assert \"Condition 'z==6' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:728: in test_bitwise_xor_value_tracking\n assert \"Condition 'z==6' is always true\" in result.stderr\nE assert \"Condition 'z==6' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_bitwise_xor_value_trackin2/test.c:7:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_templatesimplifier_round2.test_constexpr_if_conditional_compilation": {"message": "AssertionError: assert False\n + where False = exists()\n + where exists = PosixPath('/workspace/eval/test_resources/test_templatesimplifier_round2/constexpr_if.cpp.dump').exists", "text": "tests/test_templatesimplifier_round2.py:474: in test_constexpr_if_conditional_compilation\n assert dump_file.exists()\nE AssertionError: assert False\nE + where False = exists()\nE + where exists = PosixPath('/workspace/eval/test_resources/test_templatesimplifier_round2/constexpr_if.cpp.dump').exists"}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_template_default_parameters_class_and_function": {"message": "assert 'Array < int , 10 >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/default_template_params.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/default_template_params.cpp:4:7: style: class member 'Array::data' is never used. [unusedStructMember]\\n T data[N];\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/default_template_params.cpp:18:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = convert(3.14); // Uses defaults: T=int, U=double\\n ^\\n\"", "text": "tests/test_templatesimplifier_gaps.py:81: in test_template_default_parameters_class_and_function\n assert \"Array < int , 10 >\" in output\nE assert 'Array < int , 10 >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/default_template_params.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/default_template_params.cpp:4:7: style: class member 'Array::data' is never used. [unusedStructMember]\\n T data[N];\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/default_template_params.cpp:18:11: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = convert(3.14); // Uses defaults: T=int, U=double\\n ^\\n\""}, "1040f6b8a219/tests.test_symboldatabase.test_typedef_using_symboldatabase": {"message": "AssertionError: No types found in symboldatabase\nassert 0 > 0\n + where 0 = len([])", "text": "tests/test_symboldatabase.py:558: in test_typedef_using_symboldatabase\n assert len(types) > 0, \"No types found in symboldatabase\"\nE AssertionError: No types found in symboldatabase\nE assert 0 > 0\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_symboldatabase.test_static_members_symboldatabase": {"message": "AssertionError: Counter class not found\nassert None is not None", "text": "tests/test_symboldatabase.py:726: in test_static_members_symboldatabase\n assert counter_scope is not None, \"Counter class not found\"\nE AssertionError: Counter class not found\nE assert None is not None"}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_template_member_functions": {"message": "assert 'Container < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_member_functions.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_member_functions.cpp:6:5: style: Class 'Container' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Container(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_member_functions.cpp:21:14: style: Variable 'd' is assigned a value that is never used. [unreadVariable]\\n double d = c1.convert();\\n ^\\n\"", "text": "tests/test_templatesimplifier_gaps.py:239: in test_template_member_functions\n assert \"Container < int >\" in output\nE assert 'Container < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_member_functions.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_member_functions.cpp:6:5: style: Class 'Container' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Container(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_member_functions.cpp:21:14: style: Variable 'd' is assigned a value that is never used. [unreadVariable]\\n double d = c1.convert();\\n ^\\n\""}, "1040f6b8a219/tests.test_programmemory.test_mixed_arithmetic_types_tracking": {"message": "assert \"Condition 'result==60' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:1197: in test_mixed_arithmetic_types_tracking\n assert \"Condition 'result==60' is always true\" in result.stderr\nE assert \"Condition 'result==60' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_mixed_arithmetic_types_tr2/test.c:8:15: style: Variable 'x' is assigned a value that is never used. [unreadVariable]\\n int x = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_template_constexpr_recursive_metaprogramming": {"message": "assert 'StaticArray < int , 5 >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_constexpr.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_constexpr.cpp:25:16: style: Variable 'fact10' is assigned a value that is never used. [unreadVariable]\\n int fact10 = Factorial<10>::value;\\n ^\\n\"", "text": "tests/test_templatesimplifier_gaps.py:436: in test_template_constexpr_recursive_metaprogramming\n assert \"StaticArray < int , 5 >\" in output\nE assert 'StaticArray < int , 5 >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_constexpr.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_constexpr.cpp:25:16: style: Variable 'fact10' is assigned a value that is never used. [unreadVariable]\\n int fact10 = Factorial<10>::value;\\n ^\\n\""}, "1040f6b8a219/tests.test_programmemory.test_cast_value_tracking": {"message": "assert \"Condition 'c=='A'' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:1085: in test_cast_value_tracking\n assert \"Condition 'c=='A'' is always true\" in result.stderr\nE assert \"Condition 'c=='A'' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw6/test_cast_value_tracking2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_programmemory.test_right_shift_value_tracking": {"message": "assert \"Condition 'y==4' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:748: in test_right_shift_value_tracking\n assert \"Condition 'y==4' is always true\" in result.stderr\nE assert \"Condition 'y==4' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_right_shift_value_trackin2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_nested_template_classes": {"message": "AssertionError: assert 'Outer < double >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/nested_templates.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/nested_templates.cpp:22:19: style: Unused variable: outer [unusedVariable]\\n Outer outer;\\n ^\\n'", "text": "tests/test_templatesimplifier_gaps.py:106: in test_nested_template_classes\n assert \"Outer < double >\" in output\nE AssertionError: assert 'Outer < double >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/nested_templates.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/nested_templates.cpp:22:19: style: Unused variable: outer [unusedVariable]\\n Outer outer;\\n ^\\n'"}, "1040f6b8a219/tests.test_templatesimplifier_round3.test_recursive_template_factorial": {"message": "AssertionError: Base case Factorial<0> must be instantiated\nassert 'Factorial < 0 >' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tests/test_templatesimplifier_round3.py:46: in test_recursive_template_factorial\n assert 'Factorial < 0 >' in dump_content, \"Base case Factorial<0> must be instantiated\"\nE AssertionError: Base case Factorial<0> must be instantiated\nE assert 'Factorial < 0 >' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_symboldatabase.test_struct_union_symboldatabase": {"message": "AssertionError: SimpleStruct not found\nassert None is not None", "text": "tests/test_symboldatabase.py:601: in test_struct_union_symboldatabase\n assert simple_struct is not None, \"SimpleStruct not found\"\nE AssertionError: SimpleStruct not found\nE assert None is not None"}, "1040f6b8a219/tests.test_symboldatabase.test_function_pointers_symboldatabase": {"message": "AssertionError: FunctionHolder class not found\nassert None is not None", "text": "tests/test_symboldatabase.py:775: in test_function_pointers_symboldatabase\n assert holder_scope is not None, \"FunctionHolder class not found\"\nE AssertionError: FunctionHolder class not found\nE assert None is not None"}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_template_static_members": {"message": "AssertionError: assert 'Counter < int >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_static_members_v3.cpp ...\\n'", "text": "tests/test_templatesimplifier_gaps.py:261: in test_template_static_members\n assert \"Counter < int >\" in output\nE AssertionError: assert 'Counter < int >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_static_members_v3.cpp ...\\n'"}, "1040f6b8a219/tests.test_programmemory.test_short_circuit_and_side_effects": {"message": "assert \"Condition 'y==10' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: style: Condition 'x' is always false [knownConditionTrueFalse]\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:3:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: note: Condition 'x' is always false\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:10:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: style: Condition 'x' is always false [knownConditionTrueFalse]\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:3:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: note: Condition 'x' is always false\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:10:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: style: Condition 'x' is always false [knownConditionTrueFalse]\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:3:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: note: Condition 'x' is always false\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:10:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:1224: in test_short_circuit_and_side_effects\n assert \"Condition 'y==10' is always true\" in result.stderr\nE assert \"Condition 'y==10' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: style: Condition 'x' is always false [knownConditionTrueFalse]\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:3:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: note: Condition 'x' is always false\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:10:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: style: Condition 'x' is always false [knownConditionTrueFalse]\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:3:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: note: Condition 'x' is always false\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:10:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: style: Condition 'x' is always false [knownConditionTrueFalse]\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:3:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:5:9: note: Condition 'x' is always false\\n if (x && (y = 20)) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:4:11: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 10;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:6:15: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = 1;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw2/test_short_circuit_and_side_ef2/test.c:10:15: style: Variable 'w' is assigned a value that is never used. [unreadVariable]\\n int w = 2;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_template_recursive_instantiation": {"message": "assert 'TreeNode < int , 2 >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_recursive.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_recursive.cpp:23:5: style: Class 'TreeNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n TreeNode(T v) : value(v), left(nullptr), right(nullptr) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_recursive.cpp:37:15: style: Variable 'fib10' is assigned a value that is never used. [unreadVariable]\\n int fib10 = Fibonacci<10>::value;\\n ^\\n\"", "text": "tests/test_templatesimplifier_gaps.py:452: in test_template_recursive_instantiation\n assert \"TreeNode < int , 2 >\" in output\nE assert 'TreeNode < int , 2 >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_recursive.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_recursive.cpp:23:5: style: Class 'TreeNode' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n TreeNode(T v) : value(v), left(nullptr), right(nullptr) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_recursive.cpp:37:15: style: Variable 'fib10' is assigned a value that is never used. [unreadVariable]\\n int fib10 = Fibonacci<10>::value;\\n ^\\n\""}, "1040f6b8a219/tests.test_programmemory.test_compound_assignment_tracking": {"message": "assert \"Condition 'x==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: style: Condition 'x==15' is always false [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:3:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: note: Condition 'x==15' is always false\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\n + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: style: Condition 'x==15' is always false [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:3:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: note: Condition 'x==15' is always false\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: style: Condition 'x==15' is always false [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:3:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: note: Condition 'x==15' is always false\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr", "text": "tests/test_programmemory.py:769: in test_compound_assignment_tracking\n assert \"Condition 'x==15' is always true\" in result.stderr\nE assert \"Condition 'x==15' is always true\" in \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: style: Condition 'x==15' is always false [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:3:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: note: Condition 'x==15' is always false\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\"\nE + where \"/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: style: Condition 'x==15' is always false [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:3:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: note: Condition 'x==15' is always false\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\" = CompletedProcess(args=['./executable', '--enable=style', '/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c ...\\n', stderr=\"/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: style: Condition 'x==15' is always false [knownConditionTrueFalse]\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:3:13: note: Assignment 'x=5', assigned value is 5\\n int x = 5;\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:5:11: note: Condition 'x==15' is always false\\n if (x == 15) {\\n ^\\n/tmp/pytest-of-root/pytest-0/popen-gw9/test_compound_assignment_track2/test.c:6:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = 1;\\n ^\\n\").stderr"}, "1040f6b8a219/tests.test_templatesimplifier_round3.test_template_friend_declarations": {"message": "AssertionError: Should mention Wrapper\nassert 'Wrapper < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_friend.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_friend.cpp:14:5: style: Class 'Wrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Wrapper(T v) : value(v) {}\\n ^\\n\"", "text": "tests/test_templatesimplifier_round3.py:320: in test_template_friend_declarations\n assert 'Wrapper < int >' in output, \"Should mention Wrapper\"\nE AssertionError: Should mention Wrapper\nE assert 'Wrapper < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_friend.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_friend.cpp:14:5: style: Class 'Wrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Wrapper(T v) : value(v) {}\\n ^\\n\""}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_template_full_specialization_bool": {"message": "assert 'Calculator < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:19:20: style: Parameter 'a' can be declared as pointer to const [constParameterPointer]\\n T* multiply(T* a, T* b) { return nullptr; }\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:19:26: style: Parameter 'b' can be declared as pointer to const [constParameterPointer]\\n T* multiply(T* a, T* b) { return nullptr; }\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:30:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n double* p = calc_ptr.multiply(nullptr, nullptr);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:27:12: style: Variable 'b' is assigned a value that is never used. [unreadVariable]\\n bool b = calc_bool.multiply(true, false);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:30:15: style: Variable 'p' is assigned a value that is never used. [unreadVariable]\\n double* p = calc_ptr.multiply(nullptr, nullptr);\\n ^\\n\"", "text": "tests/test_templatesimplifier_gaps.py:123: in test_template_full_specialization_bool\n assert \"Calculator < int >\" in output\nE assert 'Calculator < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:19:20: style: Parameter 'a' can be declared as pointer to const [constParameterPointer]\\n T* multiply(T* a, T* b) { return nullptr; }\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:19:26: style: Parameter 'b' can be declared as pointer to const [constParameterPointer]\\n T* multiply(T* a, T* b) { return nullptr; }\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:30:13: style: Variable 'p' can be declared as pointer to const [constVariablePointer]\\n double* p = calc_ptr.multiply(nullptr, nullptr);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:27:12: style: Variable 'b' is assigned a value that is never used. [unreadVariable]\\n bool b = calc_bool.multiply(true, false);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_specialization.cpp:30:15: style: Variable 'p' is assigned a value that is never used. [unreadVariable]\\n double* p = calc_ptr.multiply(nullptr, nullptr);\\n ^\\n\""}, "1040f6b8a219/tests.test_templatesimplifier_round3.test_sfinae_enable_if_pattern": {"message": "AssertionError: Should detect unused struct members\nassert 'unusedStructMember' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/sfinae_enable_if.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/sfinae_enable_if.cpp:38:10: style: Variable 'result_ptr' can be declared as pointer to const [constVariablePointer]\\n int* result_ptr = get_pointer(ptr);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/sfinae_enable_if.cpp:38:21: style: Variable 'result_ptr' is assigned a value that is never used. [unreadVariable]\\n int* result_ptr = get_pointer(ptr);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/sfinae_enable_if.cpp:39:20: style: Variable 'result_val' is assigned a value that is never used. [unreadVariable]\\n int result_val = get_value(val);\\n ^\\n\"", "text": "tests/test_templatesimplifier_round3.py:73: in test_sfinae_enable_if_pattern\n assert 'unusedStructMember' in output, \"Should detect unused struct members\"\nE AssertionError: Should detect unused struct members\nE assert 'unusedStructMember' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/sfinae_enable_if.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/sfinae_enable_if.cpp:38:10: style: Variable 'result_ptr' can be declared as pointer to const [constVariablePointer]\\n int* result_ptr = get_pointer(ptr);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/sfinae_enable_if.cpp:38:21: style: Variable 'result_ptr' is assigned a value that is never used. [unreadVariable]\\n int* result_ptr = get_pointer(ptr);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/sfinae_enable_if.cpp:39:20: style: Variable 'result_val' is assigned a value that is never used. [unreadVariable]\\n int result_val = get_value(val);\\n ^\\n\""}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_template_inheritance": {"message": "assert 'Derived < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_inheritance.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_inheritance.cpp:7:5: style: Class 'Base' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Base(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_inheritance.cpp:33:14: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n double y = d2.getValue();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_inheritance.cpp:37:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n char c = md.getExtra();\\n ^\\n\"", "text": "tests/test_templatesimplifier_gaps.py:284: in test_template_inheritance\n assert \"Derived < int >\" in output\nE assert 'Derived < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_inheritance.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_inheritance.cpp:7:5: style: Class 'Base' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Base(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_inheritance.cpp:33:14: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n double y = d2.getValue();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_inheritance.cpp:37:12: style: Variable 'c' is assigned a value that is never used. [unreadVariable]\\n char c = md.getExtra();\\n ^\\n\""}, "1040f6b8a219/tests.test_templatesimplifier_round3.test_complex_nontype_template_parameters": {"message": "AssertionError: Should detect functions that can be static\nassert 'functionStatic' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:68:19: warning: Found suspicious operator '>', result is not used. [constStatement]\\n CharHolder<'X'> ch;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:71:12: error: Uninitialized struct member: arr.size [uninitStructMember]\\n return arr.size() + mat.rows() + ph1.value() + rh.get() + ct.process() + ch.get();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:71:25: error: Uninitialized struct member: mat.rows [uninitStructMember]\\n return arr.size() + mat.rows() + ph1.value() + rh.get() + ct.process() + ch.get();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:71:63: error: Uninitialized struct member: ct.process [uninitStructMember]\\n return arr.size() + mat.rows() + ph1.value() + rh.get() + ct.process() + ch.get();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:4:9: style: struct member 'Array::data' is never used. [unusedStructMember]\\n int data[N];\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:10:9: style: struct member 'Matrix::data' is never used. [unusedStructMember]\\n int data[N][M];\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:60:36: style: Unused variable: ph2 [unusedVariable]\\n PointerHolder<&another_global> ph2;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:66:24: style: Unused variable: cf [unusedVariable]\\n Conditional cf;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:69:22: style: Unused variable: cr [unusedVariable]\\n ColorHolder cr;\\n ^\\n\"", "text": "tests/test_templatesimplifier_round3.py:169: in test_complex_nontype_template_parameters\n assert 'functionStatic' in output, \"Should detect functions that can be static\"\nE AssertionError: Should detect functions that can be static\nE assert 'functionStatic' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:68:19: warning: Found suspicious operator '>', result is not used. [constStatement]\\n CharHolder<'X'> ch;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:71:12: error: Uninitialized struct member: arr.size [uninitStructMember]\\n return arr.size() + mat.rows() + ph1.value() + rh.get() + ct.process() + ch.get();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:71:25: error: Uninitialized struct member: mat.rows [uninitStructMember]\\n return arr.size() + mat.rows() + ph1.value() + rh.get() + ct.process() + ch.get();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:71:63: error: Uninitialized struct member: ct.process [uninitStructMember]\\n return arr.size() + mat.rows() + ph1.value() + rh.get() + ct.process() + ch.get();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:4:9: style: struct member 'Array::data' is never used. [unusedStructMember]\\n int data[N];\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:10:9: style: struct member 'Matrix::data' is never used. [unusedStructMember]\\n int data[N][M];\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:60:36: style: Unused variable: ph2 [unusedVariable]\\n PointerHolder<&another_global> ph2;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:66:24: style: Unused variable: cf [unusedVariable]\\n Conditional cf;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/nontype_complex.cpp:69:22: style: Unused variable: cr [unusedVariable]\\n ColorHolder cr;\\n ^\\n\""}, "1040f6b8a219/tests.test_symboldatabase.test_array_types_symboldatabase": {"message": "AssertionError: ArrayHolder class not found\nassert None is not None", "text": "tests/test_symboldatabase.py:819: in test_array_types_symboldatabase\n assert holder_scope is not None, \"ArrayHolder class not found\"\nE AssertionError: ArrayHolder class not found\nE assert None is not None"}, "1040f6b8a219/tests.test_reverseanalyzer.test_conditional_reverse_flow": {"message": "assert \"Condition 'result==100' is always true\" in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:4:11: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n if (x == 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:3:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:4:11: note: The comparison 'x == 5' is always true.\\n if (x == 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:24:11: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n if (x == 5 && y == 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:22:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:24:11: note: The comparison 'x == 5' is always true.\\n if (x == 5 && y == 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:24:2...iable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = x + y; // Should be 15\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:2:6: style: The function 'test_if_condition' is never used. [unusedFunction]\\nvoid test_if_condition() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:10:6: style: The function 'test_if_else' is never used. [unusedFunction]\\nvoid test_if_else() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:21:6: style: The function 'test_short_circuit_and' is never used. [unusedFunction]\\nvoid test_short_circuit_and() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:30:6: style: The function 'test_short_circuit_or' is never used. [unusedFunction]\\nvoid test_short_circuit_or() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:38:6: style: The function 'test_ternary' is never used. [unusedFunction]\\nvoid test_ternary() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_reverseanalyzer.py:80: in test_conditional_reverse_flow\n assert \"Condition 'result==100' is always true\" in output\nE assert \"Condition 'result==100' is always true\" in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:4:11: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n if (x == 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:3:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:4:11: note: The comparison 'x == 5' is always true.\\n if (x == 5) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:24:11: style: The comparison 'x == 5' is always true. [knownConditionTrueFalse]\\n if (x == 5 && y == 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:22:13: note: 'x' is assigned value '5' here.\\n int x = 5;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:24:11: note: The comparison 'x == 5' is always true.\\n if (x == 5 && y == 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:24:2...iable 'z' is assigned a value that is never used. [unreadVariable]\\n int z = x + y; // Should be 15\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:2:6: style: The function 'test_if_condition' is never used. [unusedFunction]\\nvoid test_if_condition() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:10:6: style: The function 'test_if_else' is never used. [unusedFunction]\\nvoid test_if_else() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:21:6: style: The function 'test_short_circuit_and' is never used. [unusedFunction]\\nvoid test_short_circuit_and() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:30:6: style: The function 'test_short_circuit_or' is never used. [unusedFunction]\\nvoid test_short_circuit_or() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/conditional_reverse.cpp:38:6: style: The function 'test_ternary' is never used. [unusedFunction]\\nvoid test_ternary() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_template_pointer_to_member": {"message": "assert 'Holder < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_pointer_member.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_pointer_member.cpp:6:5: style: Class 'Holder' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Holder(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_pointer_member.cpp:22:14: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n double y = h2.*ptr2;\\n ^\\n\"", "text": "tests/test_templatesimplifier_gaps.py:470: in test_template_pointer_to_member\n assert \"Holder < int >\" in output\nE assert 'Holder < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_pointer_member.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_pointer_member.cpp:6:5: style: Class 'Holder' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Holder(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_pointer_member.cpp:22:14: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n double y = h2.*ptr2;\\n ^\\n\""}, "1040f6b8a219/tests.test_templatesimplifier_round3.test_crtp_curiously_recurring_template_pattern": {"message": "AssertionError: Should detect functions can be static\nassert 'functionStatic' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:49:5: error: Uninitialized struct member: d1.interface [uninitStructMember]\\n d1.interface();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:52:5: error: Uninitialized struct member: d2.interface [uninitStructMember]\\n d2.interface();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:54:12: style: Unused variable: m1 [unusedVariable]\\n MyType m1, m2, m3;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:54:16: style: Unused variable: m2 [unusedVariable]\\n MyType m1, m2, m3;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:54:20: style: Unused variable: m3 [unusedVariable]\\n MyType m1, m2, m3;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:55:15: style: Unused variable: o1 [unusedVariable]\\n OtherType o1, o2;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:55:19: style: Unused variable: o2 [unusedVariable]\\n OtherType o1, o2;\\n ^\\n'", "text": "tests/test_templatesimplifier_round3.py:498: in test_crtp_curiously_recurring_template_pattern\n assert 'functionStatic' in output, \"Should detect functions can be static\"\nE AssertionError: Should detect functions can be static\nE assert 'functionStatic' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:49:5: error: Uninitialized struct member: d1.interface [uninitStructMember]\\n d1.interface();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:52:5: error: Uninitialized struct member: d2.interface [uninitStructMember]\\n d2.interface();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:54:12: style: Unused variable: m1 [unusedVariable]\\n MyType m1, m2, m3;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:54:16: style: Unused variable: m2 [unusedVariable]\\n MyType m1, m2, m3;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:54:20: style: Unused variable: m3 [unusedVariable]\\n MyType m1, m2, m3;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:55:15: style: Unused variable: o1 [unusedVariable]\\n OtherType o1, o2;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_crtp.cpp:55:19: style: Unused variable: o2 [unusedVariable]\\n OtherType o1, o2;\\n ^\\n'"}, "1040f6b8a219/tests.test_templatesimplifier_round3.test_template_operator_overloading": {"message": "AssertionError: Expected 3 unreadVariable warnings\nassert 2 == 3\n + where 2 = ('unreadVariable')\n + where = \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_operators.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_operators.cpp:7:5: style: Struct 'Value' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Value(T d) : data(d) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_operators.cpp:57:13: style: Variable 'eq' is assigned a value that is never used. [unreadVariable]\\n bool eq = (v1 == v2);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_operators.cpp:58:13: style: Variable 'lt' is assigned a value that is never used. [unreadVariable]\\n bool lt = (v1 < v2);\\n ^\\n\".count", "text": "tests/test_templatesimplifier_round3.py:374: in test_template_operator_overloading\n assert output.count('unreadVariable') == 3, f\"Expected 3 unreadVariable warnings\"\nE AssertionError: Expected 3 unreadVariable warnings\nE assert 2 == 3\nE + where 2 = ('unreadVariable')\nE + where = \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_operators.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_operators.cpp:7:5: style: Struct 'Value' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Value(T d) : data(d) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_operators.cpp:57:13: style: Variable 'eq' is assigned a value that is never used. [unreadVariable]\\n bool eq = (v1 == v2);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_operators.cpp:58:13: style: Variable 'lt' is assigned a value that is never used. [unreadVariable]\\n bool lt = (v1 < v2);\\n ^\\n\".count"}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_template_typename_dependent_types": {"message": "AssertionError: assert 'Container < std :: vector < int > >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_typename.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_typename.cpp:21:33: style: Unused variable: cont [unusedVariable]\\n Container> cont;\\n ^\\n'", "text": "tests/test_templatesimplifier_gaps.py:167: in test_template_typename_dependent_types\n assert \"Container < std :: vector < int > >\" in output\nE AssertionError: assert 'Container < std :: vector < int > >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_typename.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_typename.cpp:21:33: style: Unused variable: cont [unusedVariable]\\n Container> cont;\\n ^\\n'"}, "1040f6b8a219/tests.test_templatesimplifier_round3.test_dependent_typename_and_template_keywords": {"message": "AssertionError: Should detect function can be static\nassert 'functionStatic' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/dependent_typename.cpp ...\\n'", "text": "tests/test_templatesimplifier_round3.py:124: in test_dependent_typename_and_template_keywords\n assert 'functionStatic' in output, \"Should detect function can be static\"\nE AssertionError: Should detect function can be static\nE assert 'functionStatic' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/dependent_typename.cpp ...\\n'"}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_template_template_parameters": {"message": "assert 'Wrapper < SimpleContainer , int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_template_param.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_template_param.cpp:6:5: style: Class 'SimpleContainer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n SimpleContainer(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_template_param.cpp:14:5: style: Class 'Wrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Wrapper(T val) : container(val) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_template_param.cpp:23:14: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n double y = w2.getValue();\\n ^\\n\"", "text": "tests/test_templatesimplifier_gaps.py:304: in test_template_template_parameters\n assert \"Wrapper < SimpleContainer , int >\" in output\nE assert 'Wrapper < SimpleContainer , int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_template_param.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_template_param.cpp:6:5: style: Class 'SimpleContainer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n SimpleContainer(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_template_param.cpp:14:5: style: Class 'Wrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Wrapper(T val) : container(val) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_template_param.cpp:23:14: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n double y = w2.getValue();\\n ^\\n\""}, "1040f6b8a219/tests.test_symboldatabase.test_const_methods_symboldatabase": {"message": "AssertionError: Container class not found\nassert None is not None", "text": "tests/test_symboldatabase.py:863: in test_const_methods_symboldatabase\n assert container_scope is not None, \"Container class not found\"\nE AssertionError: Container class not found\nE assert None is not None"}, "1040f6b8a219/tests.test_templatesimplifier_round3.test_template_aliases_using_keyword": {"message": "AssertionError: Should detect const pointer opportunity\nassert 'constVariablePointer' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/alias_template.cpp ...\\n'", "text": "tests/test_templatesimplifier_round3.py:223: in test_template_aliases_using_keyword\n assert 'constVariablePointer' in output, \"Should detect const pointer opportunity\"\nE AssertionError: Should detect const pointer opportunity\nE assert 'constVariablePointer' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/alias_template.cpp ...\\n'"}, "1040f6b8a219/tests.test_reverseanalyzer.test_loop_reverse_flow": {"message": "assert 'unreadVariable' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:4:14: style: Condition 'x<10' is always true [knownConditionTrueFalse]\\n while (x < 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:3:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:4:14: note: Condition 'x<10' is always true\\n while (x < 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:32:14: style: Condition 'x<100' is always true [knownConditionTrueFalse]\\n while (x < 100) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:31:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:32:14: note: Condition 'x<100' is always true\\n while (x < 100) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:44:18: style: Condition 'count<10' is always true [knownConditionTrueFalse...kspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:44:18: note: Condition 'count<10' is always true\\n while (count < 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:2:6: style: The function 'test_while_loop' is never used. [unusedFunction]\\nvoid test_while_loop() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:12:6: style: The function 'test_for_loop' is never used. [unusedFunction]\\nvoid test_for_loop() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:20:6: style: The function 'test_do_while' is never used. [unusedFunction]\\nvoid test_do_while() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:30:6: style: The function 'test_loop_with_break' is never used. [unusedFunction]\\nvoid test_loop_with_break() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:41:6: style: The function 'test_loop_with_continue' is never used. [unusedFunction]\\nvoid test_loop_with_continue() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_reverseanalyzer.py:102: in test_loop_reverse_flow\n assert 'unreadVariable' in output\nE assert 'unreadVariable' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:4:14: style: Condition 'x<10' is always true [knownConditionTrueFalse]\\n while (x < 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:3:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:4:14: note: Condition 'x<10' is always true\\n while (x < 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:32:14: style: Condition 'x<100' is always true [knownConditionTrueFalse]\\n while (x < 100) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:31:13: note: Assignment 'x=0', assigned value is 0\\n int x = 0;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:32:14: note: Condition 'x<100' is always true\\n while (x < 100) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:44:18: style: Condition 'count<10' is always true [knownConditionTrueFalse...kspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:44:18: note: Condition 'count<10' is always true\\n while (count < 10) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:2:6: style: The function 'test_while_loop' is never used. [unusedFunction]\\nvoid test_while_loop() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:12:6: style: The function 'test_for_loop' is never used. [unusedFunction]\\nvoid test_for_loop() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:20:6: style: The function 'test_do_while' is never used. [unusedFunction]\\nvoid test_do_while() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:30:6: style: The function 'test_loop_with_break' is never used. [unusedFunction]\\nvoid test_loop_with_break() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/loop_reverse.cpp:41:6: style: The function 'test_loop_with_continue' is never used. [unusedFunction]\\nvoid test_loop_with_continue() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_tokenize.test_nested_struct_typedef": {"message": "AssertionError: Should record Nested typedef\nassert None is not None", "text": "tests/test_tokenize.py:306: in test_nested_struct_typedef\n assert typedef_info is not None, \"Should record Nested typedef\"\nE AssertionError: Should record Nested typedef\nE assert None is not None"}, "1040f6b8a219/tests.test_templatesimplifier_round3.test_policy_based_design_with_templates": {"message": "AssertionError: Should detect functions can be static\nassert 'functionStatic' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_policy.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_policy.cpp:19:7: style: struct member 'StaticStorage::data' is never used. [unusedStructMember]\\n T data[100];\\n ^\\n\"", "text": "tests/test_templatesimplifier_round3.py:524: in test_policy_based_design_with_templates\n assert 'functionStatic' in output, \"Should detect functions can be static\"\nE AssertionError: Should detect functions can be static\nE assert 'functionStatic' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_policy.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_policy.cpp:19:7: style: struct member 'StaticStorage::data' is never used. [unusedStructMember]\\n T data[100];\\n ^\\n\""}, "1040f6b8a219/tests.test_templatesimplifier_round3.test_template_compile_time_constraints": {"message": "AssertionError: Should detect function can be static\nassert 'functionStatic' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_static_assert.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_static_assert.cpp:32:5: error: Uninitialized struct member: p10.array [uninitStructMember]\\n p10.array[0] = 1;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_static_assert.cpp:32:18: style: Variable 'p10.array[0]' is assigned a value that is never used. [unreadVariable]\\n p10.array[0] = 1;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_static_assert.cpp:31:22: style: Variable 'p10' is not assigned a value. [unassignedVariable]\\n PositiveOnly<10> p10;\\n ^\\n\"", "text": "tests/test_templatesimplifier_round3.py:393: in test_template_compile_time_constraints\n assert 'functionStatic' in output, \"Should detect function can be static\"\nE AssertionError: Should detect function can be static\nE assert 'functionStatic' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_static_assert.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_static_assert.cpp:32:5: error: Uninitialized struct member: p10.array [uninitStructMember]\\n p10.array[0] = 1;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_static_assert.cpp:32:18: style: Variable 'p10.array[0]' is assigned a value that is never used. [unreadVariable]\\n p10.array[0] = 1;\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_static_assert.cpp:31:22: style: Variable 'p10' is not assigned a value. [unassignedVariable]\\n PositiveOnly<10> p10;\\n ^\\n\""}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_template_using_alias_declaration": {"message": "AssertionError: assert 'Wrapper < int >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_using_v2.cpp ...\\n'", "text": "tests/test_templatesimplifier_gaps.py:192: in test_template_using_alias_declaration\n assert \"Wrapper < int >\" in output\nE AssertionError: assert 'Wrapper < int >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_using_v2.cpp ...\\n'"}, "1040f6b8a219/tests.test_tokenize.test_typedef_pointer_type": {"message": "assert None is not None", "text": "tests/test_tokenize.py:81: in test_typedef_pointer_type\n assert var is not None\nE assert None is not None"}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_template_friend_functions": {"message": "assert 'Printer < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_friend_function.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_friend_function.cpp:6:5: style: Class 'Printer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Printer(T v) : value(v) {}\\n ^\\n\"", "text": "tests/test_templatesimplifier_gaps.py:340: in test_template_friend_functions\n assert \"Printer < int >\" in output\nE assert 'Printer < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_friend_function.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/template_friend_function.cpp:6:5: style: Class 'Printer' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Printer(T v) : value(v) {}\\n ^\\n\""}, "1040f6b8a219/tests.test_symboldatabase.test_default_arguments_symboldatabase": {"message": "AssertionError: Calculator class not found\nassert None is not None", "text": "tests/test_symboldatabase.py:913: in test_default_arguments_symboldatabase\n assert calc_scope is not None, \"Calculator class not found\"\nE AssertionError: Calculator class not found\nE assert None is not None"}, "1040f6b8a219/tests.test_templatesimplifier_round3.test_nested_template_specialization_patterns": {"message": "AssertionError: Should detect unused struct member\nassert 'unusedStructMember' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/nested_specialization.cpp ...\\n'", "text": "tests/test_templatesimplifier_round3.py:249: in test_nested_template_specialization_patterns\n assert 'unusedStructMember' in output, \"Should detect unused struct member\"\nE AssertionError: Should detect unused struct member\nE assert 'unusedStructMember' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/nested_specialization.cpp ...\\n'"}, "1040f6b8a219/tests.test_reverseanalyzer.test_function_call_reverse": {"message": "assert 'knownConditionTrueFalse' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:26:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = x + 1;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:10:6: style: The function 'test_function_return' is never used. [unusedFunction]\\nvoid test_function_return() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:17:6: style: The function 'test_function_parameter' is never used. [unusedFunction]\\nvoid test_function_parameter() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:23:6: style: The function 'test_const_function' is never used. [unusedFunction]\\nvoid test_const_function(const int x) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:30:5: style: The function 'test_return_value' is never used. [unusedFunction]\\nint test_return_value() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\"", "text": "tests/test_reverseanalyzer.py:123: in test_function_call_reverse\n assert 'knownConditionTrueFalse' in output\nE assert 'knownConditionTrueFalse' in \"Checking /workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp ...\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:26:15: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n int y = x + 1;\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:10:6: style: The function 'test_function_return' is never used. [unusedFunction]\\nvoid test_function_return() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:17:6: style: The function 'test_function_parameter' is never used. [unusedFunction]\\nvoid test_function_parameter() {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:23:6: style: The function 'test_const_function' is never used. [unusedFunction]\\nvoid test_const_function(const int x) {\\n ^\\n/workspace/eval/test_resources/test_reverseanalyzer/function_reverse.cpp:30:5: style: The function 'test_return_value' is never used. [unusedFunction]\\nint test_return_value() {\\n ^\\nnofile:0:0: information: Active checkers: 173/186 (use --checkers-report= to see details) [checkersReport]\\n\\n\""}, "1040f6b8a219/tests.test_tokenize.test_template_angle_brackets": {"message": "AssertionError: Should have TemplateSimplifier section\nassert None is not None", "text": "tests/test_tokenize.py:328: in test_template_angle_brackets\n assert template_info is not None, \"Should have TemplateSimplifier section\"\nE AssertionError: Should have TemplateSimplifier section\nE assert None is not None"}, "1040f6b8a219/tests.test_templatesimplifier_round3.test_type_traits_and_template_metaprogramming": {"message": "AssertionError: Should detect known conditions\nassert 'knownConditionTrueFalse' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_traits.cpp ...\\n'", "text": "tests/test_templatesimplifier_round3.py:552: in test_type_traits_and_template_metaprogramming\n assert 'knownConditionTrueFalse' in output, \"Should detect known conditions\"\nE AssertionError: Should detect known conditions\nE assert 'knownConditionTrueFalse' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_traits.cpp ...\\n'"}, "1040f6b8a219/tests.test_templatesimplifier_round3.test_template_conversion_operators": {"message": "AssertionError: Two classes with non-explicit constructors\nassert 1 == 2\n + where 1 = ('noExplicitConstructor')\n + where = \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:6:5: style: Struct 'Wrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Wrapper(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:25:14: style: Parameter 'p' can be declared as pointer to const [constParameterPointer]\\n Smart(T* p = nullptr) : ptr(p) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:44:10: style: Variable 'rawptr' can be declared as pointer to const [constVariablePointer]\\n int* rawptr = sp; // Conversion to int*\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:39:12: style: Variable 'b' is assigned a value that is never used. [unreadVariable]\\n bool b = static_cast(wi);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:44:17: style: Variable 'rawptr' is assigned a value that is never used. [unreadVariable]\\n int* rawptr = sp; // Conversion to int*\\n ^\\n\".count", "text": "tests/test_templatesimplifier_round3.py:422: in test_template_conversion_operators\n assert output.count('noExplicitConstructor') == 2, \"Two classes with non-explicit constructors\"\nE AssertionError: Two classes with non-explicit constructors\nE assert 1 == 2\nE + where 1 = ('noExplicitConstructor')\nE + where = \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:6:5: style: Struct 'Wrapper' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Wrapper(T v) : value(v) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:25:14: style: Parameter 'p' can be declared as pointer to const [constParameterPointer]\\n Smart(T* p = nullptr) : ptr(p) {}\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:44:10: style: Variable 'rawptr' can be declared as pointer to const [constVariablePointer]\\n int* rawptr = sp; // Conversion to int*\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:39:12: style: Variable 'b' is assigned a value that is never used. [unreadVariable]\\n bool b = static_cast(wi);\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_conversion.cpp:44:17: style: Variable 'rawptr' is assigned a value that is never used. [unreadVariable]\\n int* rawptr = sp; // Conversion to int*\\n ^\\n\".count"}, "1040f6b8a219/tests.test_templatesimplifier_round3.test_template_array_with_multi_dimensional": {"message": "AssertionError: Should detect function can be static\nassert 'functionStatic' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_array_operations.cpp ...\\n'", "text": "tests/test_templatesimplifier_round3.py:651: in test_template_array_with_multi_dimensional\n assert 'functionStatic' in output, \"Should detect function can be static\"\nE AssertionError: Should detect function can be static\nE assert 'functionStatic' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_array_operations.cpp ...\\n'"}, "1040f6b8a219/tests.test_tokenize.test_typedef_struct_definition": {"message": "assert None is not None", "text": "tests/test_tokenize.py:105: in test_typedef_struct_definition\n assert typedef_info is not None\nE assert None is not None"}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_template_argument_deduction": {"message": "AssertionError: assert 'Container < int >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_deduction_v2.cpp ...\\n'", "text": "tests/test_templatesimplifier_gaps.py:361: in test_template_argument_deduction\n assert \"Container < int >\" in output\nE AssertionError: assert 'Container < int >' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/template_deduction_v2.cpp ...\\n'"}, "1040f6b8a219/tests.test_templatesimplifier_gaps.test_multiple_template_instantiations_same_template": {"message": "assert 'Stack < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp:8:5: style: Class 'Stack' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Stack(int cap) : capacity(cap), top(-1) {\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp:33:11: style: Variable 'z' can be declared as pointer to const [constVariablePointer]\\n char* z = s3.pop();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp:29:14: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n double y = s2.pop();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp:33:13: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n char* z = s3.pop();\\n ^\\n\"", "text": "tests/test_templatesimplifier_gaps.py:37: in test_multiple_template_instantiations_same_template\n assert \"Stack < int >\" in output\nE assert 'Stack < int >' in \"Checking /workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp:8:5: style: Class 'Stack' has a constructor with 1 argument that is not explicit. [noExplicitConstructor]\\n Stack(int cap) : capacity(cap), top(-1) {\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp:33:11: style: Variable 'z' can be declared as pointer to const [constVariablePointer]\\n char* z = s3.pop();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp:29:14: style: Variable 'y' is assigned a value that is never used. [unreadVariable]\\n double y = s2.pop();\\n ^\\n/workspace/eval/test_resources/test_templatesimplifier_gaps/multiple_instantiations.cpp:33:13: style: Variable 'z' is assigned a value that is never used. [unreadVariable]\\n char* z = s3.pop();\\n ^\\n\""}, "1040f6b8a219/tests.test_tokenize.test_inline_function": {"message": "assert 0 >= 1\n + where 0 = len([])", "text": "tests/test_tokenize.py:805: in test_inline_function\n assert len(functions) >= 1\nE assert 0 >= 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_tokenize.test_function_with_parameters": {"message": "AssertionError: Should have at least 2 functions\nassert 0 >= 2\n + where 0 = len([])", "text": "tests/test_tokenize.py:513: in test_function_with_parameters\n assert len(functions) >= 2, \"Should have at least 2 functions\"\nE AssertionError: Should have at least 2 functions\nE assert 0 >= 2\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_tokenize.test_compound_assignment_operators": {"message": "AssertionError: >>= should be assignment op\nassert None == 'true'\n + where None = ('isAssignmentOp')\n + where = .get", "text": "tests/test_tokenize.py:377: in test_compound_assignment_operators\n assert tok.get(\"isAssignmentOp\") == \"true\", f\"{tok.get('str')} should be assignment op\"\nE AssertionError: >>= should be assignment op\nE assert None == 'true'\nE + where None = ('isAssignmentOp')\nE + where = .get"}, "1040f6b8a219/tests.test_templatesimplifier_round3.test_expression_sfinae_member_detection": {"message": "AssertionError: Two unused members\nassert 1 == 2\n + where 1 = ('unusedStructMember')\n + where = \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_expression_sfinae.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_expression_sfinae.cpp:20:9: style: struct member 'WithoutValueType::data' is never used. [unusedStructMember]\\n int data;\\n ^\\n\".count", "text": "tests/test_templatesimplifier_round3.py:627: in test_expression_sfinae_member_detection\n assert output.count('unusedStructMember') == 2, \"Two unused members\"\nE AssertionError: Two unused members\nE assert 1 == 2\nE + where 1 = ('unusedStructMember')\nE + where = \"Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_expression_sfinae.cpp ...\\n/workspace/eval/test_resources/test_templatesimplifier_round3/template_expression_sfinae.cpp:20:9: style: struct member 'WithoutValueType::data' is never used. [unusedStructMember]\\n int data;\\n ^\\n\".count"}, "1040f6b8a219/tests.test_templatesimplifier_round3.test_template_with_lambda_expressions": {"message": "AssertionError: Should detect functions can be static\nassert 'functionStatic' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_lambda.cpp ...\\n'", "text": "tests/test_templatesimplifier_round3.py:473: in test_template_with_lambda_expressions\n assert 'functionStatic' in output, \"Should detect functions can be static\"\nE AssertionError: Should detect functions can be static\nE assert 'functionStatic' in 'Checking /workspace/eval/test_resources/test_templatesimplifier_round3/template_lambda.cpp ...\\n'"}, "1040f6b8a219/tests.test_tokenize.test_typedef_simple_int_substitution": {"message": "AssertionError: assert None == 'INT'\n + where None = ('originalName')\n + where = .get", "text": "tests/test_tokenize.py:52: in test_typedef_simple_int_substitution\n assert type_token.get(\"originalName\") == \"INT\"\nE AssertionError: assert None == 'INT'\nE + where None = ('originalName')\nE + where = .get"}, "1040f6b8a219/tests.test_tokenize.test_array_size_tokenization": {"message": "assert None is not None", "text": "tests/test_tokenize.py:158: in test_array_size_tokenization\n assert arr_var is not None\nE assert None is not None"}, "1040f6b8a219/tests.test_tokenize.test_array_initialization": {"message": "AssertionError: Expected at least 3 arrays, got 0\nassert 0 >= 3", "text": "tests/test_tokenize.py:1171: in test_array_initialization\n assert array_count >= 3, f\"Expected at least 3 arrays, got {array_count}\"\nE AssertionError: Expected at least 3 arrays, got 0\nE assert 0 >= 3"}, "1040f6b8a219/tests.test_tokenize.test_class_constructor_destructor": {"message": "assert 0 >= 3\n + where 0 = len([])", "text": "tests/test_tokenize.py:669: in test_class_constructor_destructor\n assert len(functions) >= 3\nE assert 0 >= 3\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_tokenize.test_auto_keyword_cpp11": {"message": "assert 0 >= 2\n + where 0 = len([])", "text": "tests/test_tokenize.py:1265: in test_auto_keyword_cpp11\n assert len(variables) >= 2\nE assert 0 >= 2\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_tokenize.test_struct_member_access": {"message": "AssertionError: Should have -> operator (simplified to . with originalName)\nassert False", "text": "tests/test_tokenize.py:555: in test_struct_member_access\n assert arrow_found, \"Should have -> operator (simplified to . with originalName)\"\nE AssertionError: Should have -> operator (simplified to . with originalName)\nE assert False"}, "1040f6b8a219/tests.test_tokenize.test_pointer_and_reference_declarations": {"message": "AssertionError: assert 'p' in {}", "text": "tests/test_tokenize.py:402: in test_pointer_and_reference_declarations\n assert \"p\" in var_map\nE AssertionError: assert 'p' in {}"}, "1040f6b8a219/tests.test_tokenize.test_typedef_function_pointer_complex": {"message": "AssertionError: assert 'CompareFunc' in []", "text": "tests/test_tokenize.py:931: in test_typedef_function_pointer_complex\n assert \"CompareFunc\" in funcptr_names\nE AssertionError: assert 'CompareFunc' in []"}, "1040f6b8a219/tests.test_tokenize.test_hex_octal_literals": {"message": "AssertionError: assert 'hex' in []", "text": "tests/test_tokenize.py:1008: in test_hex_octal_literals\n assert \"hex\" in var_names\nE AssertionError: assert 'hex' in []"}, "1040f6b8a219/tests.test_tokenize.test_long_long_type": {"message": "AssertionError: assert 'x' in {}", "text": "tests/test_tokenize.py:1071: in test_long_long_type\n assert \"x\" in var_map\nE AssertionError: assert 'x' in {}"}, "1040f6b8a219/tests.test_tokenize.test_function_pointer_typedef": {"message": "assert None is not None", "text": "tests/test_tokenize.py:177: in test_function_pointer_typedef\n assert typedef_info is not None\nE assert None is not None"}, "1040f6b8a219/tests.test_tokenize.test_conditional_compilation": {"message": "assert None is not None", "text": "tests/test_tokenize.py:1194: in test_conditional_compilation\n assert directives is not None\nE assert None is not None"}, "1040f6b8a219/tests.test_tokenize.test_for_loop_tokenization": {"message": "AssertionError: assert 'i' in []", "text": "tests/test_tokenize.py:718: in test_for_loop_tokenization\n assert \"i\" in var_names\nE AssertionError: assert 'i' in []"}, "1040f6b8a219/tests.test_tokenize_round2.test_double_minus_to_plus_simplification": {"message": "AssertionError: Should simplify - - to + in expression a - -5\nassert False", "text": "tests/test_tokenize_round2.py:172: in test_double_minus_to_plus_simplification\n assert found_plus_in_b, \"Should simplify - - to + in expression a - -5\"\nE AssertionError: Should simplify - - to + in expression a - -5\nE assert False"}, "1040f6b8a219/tests.test_tokenize_round2.test_raw_string_literals": {"message": "AssertionError: Raw string with newlines should preserve them as actual newline characters\nassert False", "text": "tests/test_tokenize_round2.py:311: in test_raw_string_literals\n assert has_newline, \"Raw string with newlines should preserve them as actual newline characters\"\nE AssertionError: Raw string with newlines should preserve them as actual newline characters\nE assert False"}, "1040f6b8a219/tests.test_tokenize.test_static_and_extern_storage_class": {"message": "AssertionError: assert 's' in {}", "text": "tests/test_tokenize.py:437: in test_static_and_extern_storage_class\n assert \"s\" in var_map\nE AssertionError: assert 's' in {}"}, "1040f6b8a219/tests.test_tokenize.test_character_literal": {"message": "AssertionError: assert 'a' in []", "text": "tests/test_tokenize.py:1044: in test_character_literal\n assert \"a\" in var_names\nE AssertionError: assert 'a' in []"}, "1040f6b8a219/tests.test_tokenize_round2.test_array_access_reversed_syntax": {"message": "AssertionError: Should have dereference operator after array access simplification\nassert '*' in ['int', 'main', '(', ')', '{', 'int', ...]", "text": "tests/test_tokenize_round2.py:106: in test_array_access_reversed_syntax\n assert '*' in token_strs, \"Should have dereference operator after array access simplification\"\nE AssertionError: Should have dereference operator after array access simplification\nE assert '*' in ['int', 'main', '(', ')', '{', 'int', ...]"}, "1040f6b8a219/tests.test_tokenize_round2.test_noexcept_specifier": {"message": "AssertionError: Should find at least 4 noexcept keywords, found 0\nassert 0 >= 4", "text": "tests/test_tokenize_round2.py:478: in test_noexcept_specifier\n assert noexcept_count >= 4, f\"Should find at least 4 noexcept keywords, found {noexcept_count}\"\nE AssertionError: Should find at least 4 noexcept keywords, found 0\nE assert 0 >= 4"}, "1040f6b8a219/tests.test_tokenize.test_nullptr_cpp11": {"message": "AssertionError: assert 'p' in {}", "text": "tests/test_tokenize.py:1246: in test_nullptr_cpp11\n assert \"p\" in var_map\nE AssertionError: assert 'p' in {}"}, "1040f6b8a219/tests.test_tokenize_round2.test_static_assert_cpp11": {"message": "AssertionError: Should find at least 2 static_assert, found 1\nassert 1 >= 2", "text": "tests/test_tokenize_round2.py:704: in test_static_assert_cpp11\n assert static_assert_count >= 2, f\"Should find at least 2 static_assert, found {static_assert_count}\"\nE AssertionError: Should find at least 2 static_assert, found 1\nE assert 1 >= 2"}, "1040f6b8a219/tests.test_tokenize_round2.test_unicode_identifiers": {"message": "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 732: invalid continuation byte", "text": "tests/test_tokenize_round2.py:932: in test_unicode_identifiers\n dump, retcode, stderr = run_cppcheck_dump(code, std='c++11')\ntests/test_tokenize_round2.py:27: in run_cppcheck_dump\n return dumpfile.read_text(), result.returncode, result.stderr\n/usr/lib/python3.10/pathlib.py:1135: in read_text\n return f.read()\n/usr/lib/python3.10/codecs.py:322: in decode\n (result, consumed) = self._buffer_decode(data, self.errors, final)\nE UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc3 in position 732: invalid continuation byte"}, "1040f6b8a219/tests.test_tokenize_round2.test_constexpr_if_cpp17": {"message": "assert None is not None", "text": "tests/test_tokenize_round2.py:1440: in test_constexpr_if_cpp17\n assert dump is not None\nE assert None is not None"}, "1040f6b8a219/tests.test_tokenlist.test_simplify_platform_types_size_t": {"message": "AssertionError: Should find at least 2 simplified size_t tokens\nassert 0 >= 2\n + where 0 = len([])", "text": "tests/test_tokenlist.py:73: in test_simplify_platform_types_size_t\n assert len(size_t_tokens) >= 2, \"Should find at least 2 simplified size_t tokens\"\nE AssertionError: Should find at least 2 simplified size_t tokens\nE assert 0 >= 2\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_tokenize.test_volatile_qualifier": {"message": "AssertionError: assert 'v' in {}", "text": "tests/test_tokenize.py:467: in test_volatile_qualifier\n assert \"v\" in var_map\nE AssertionError: assert 'v' in {}"}, "1040f6b8a219/tests.test_tokenlist.test_simplify_stdtype_long_long": {"message": "AssertionError: Should find at least 2 'long long' variables, got 0\nassert 0 >= 2\n + where 0 = len([])", "text": "tests/test_tokenlist.py:159: in test_simplify_stdtype_long_long\n assert len(ll_vars) >= 2, f\"Should find at least 2 'long long' variables, got {len(ll_vars)}\"\nE AssertionError: Should find at least 2 'long long' variables, got 0\nE assert 0 >= 2\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_tokenize_round2.test_constexpr_keyword": {"message": "AssertionError: Should find at least 3 constexpr keywords, found 0\nassert 0 >= 3\n + where 0 = len([])", "text": "tests/test_tokenize_round2.py:445: in test_constexpr_keyword\n assert len(constexpr_tokens) >= 3, f\"Should find at least 3 constexpr keywords, found {len(constexpr_tokens)}\"\nE AssertionError: Should find at least 3 constexpr keywords, found 0\nE assert 0 >= 3\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_tokenlist.test_tokenlist_multiline_macro": {"message": "AssertionError: Should find at least 1 directive, got 0\nassert 0 >= 1\n + where 0 = len([])", "text": "tests/test_tokenlist.py:295: in test_tokenlist_multiline_macro\n assert len(directives) >= 1, f\"Should find at least 1 directive, got {len(directives)}\"\nE AssertionError: Should find at least 1 directive, got 0\nE assert 0 >= 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_tokenize_round2.test_override_final_cpp11": {"message": "AssertionError: Should find at least 2 'override', found 0\nassert 0 >= 2", "text": "tests/test_tokenize_round2.py:775: in test_override_final_cpp11\n assert override_count >= 2, f\"Should find at least 2 'override', found {override_count}\"\nE AssertionError: Should find at least 2 'override', found 0\nE assert 0 >= 2"}, "1040f6b8a219/tests.test_tokenlist.test_tokenlist_template_basic": {"message": "AssertionError: Should have template instantiation like 'max < int >', got max-related tokens: ['max', 'max']\nassert 0 >= 1\n + where 0 = len([])", "text": "tests/test_tokenlist.py:492: in test_tokenlist_template_basic\n assert len(max_tokens) >= 1, f\"Should have template instantiation like 'max < int >', got max-related tokens: {[t.get('str') for t in tokens if 'max' in (t.get('str') or '')]}\"\nE AssertionError: Should have template instantiation like 'max < int >', got max-related tokens: ['max', 'max']\nE assert 0 >= 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_tokenlist.test_tokenlist_complex_expression": {"message": "AssertionError: Should have at least 3 logical operators (2 && and 1 ||), got 0\nassert 0 >= 3\n + where 0 = len([])", "text": "tests/test_tokenlist.py:615: in test_tokenlist_complex_expression\n assert len(logical_ops) >= 3, f\"Should have at least 3 logical operators (2 && and 1 ||), got {len(logical_ops)}\"\nE AssertionError: Should have at least 3 logical operators (2 && and 1 ||), got 0\nE assert 0 >= 3\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_tokenlist.test_simplify_platform_types_ptrdiff_t": {"message": "AssertionError: Expected 2+ signed ptr tokens, got 0\nassert 0 >= 2\n + where 0 = len([])", "text": "tests/test_tokenlist.py:105: in test_simplify_platform_types_ptrdiff_t\n assert len(signed_ptr_tokens) >= 2, f\"Expected 2+ signed ptr tokens, got {len(signed_ptr_tokens)}\"\nE AssertionError: Expected 2+ signed ptr tokens, got 0\nE assert 0 >= 2\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_tokenlist.test_simplify_stdtype_implicit_int_c": {"message": "AssertionError: Expected at least 3 implicit int tokens, got 0\nassert 0 >= 3\n + where 0 = len([])", "text": "tests/test_tokenlist.py:135: in test_simplify_stdtype_implicit_int_c\n assert len(implicit_int_tokens) >= 3, f\"Expected at least 3 implicit int tokens, got {len(implicit_int_tokens)}\"\nE AssertionError: Expected at least 3 implicit int tokens, got 0\nE assert 0 >= 3\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_tokenlist.test_tokenlist_hexfloat_c99": {"message": "AssertionError: Hex float 0x1.0p0 should be marked as float\nassert None == 'true'\n + where None = ('isFloat')\n + where = .get", "text": "tests/test_tokenlist.py:1089: in test_tokenlist_hexfloat_c99\n assert hf.get('isFloat') == 'true', f\"Hex float {hf.get('str')} should be marked as float\"\nE AssertionError: Hex float 0x1.0p0 should be marked as float\nE assert None == 'true'\nE + where None = ('isFloat')\nE + where = .get"}, "1040f6b8a219/tests.test_tokenlist.test_simplify_stdtype_short": {"message": "AssertionError: Should find variable 's', got 0\nassert 0 >= 1\n + where 0 = len([])", "text": "tests/test_tokenlist.py:206: in test_simplify_stdtype_short\n assert len(s_var) >= 1, f\"Should find variable 's', got {len(s_var)}\"\nE AssertionError: Should find variable 's', got 0\nE assert 0 >= 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_vf_common.test_signed_integer_overflow_detection": {"message": "AssertionError: assert 'Checking eva...rflow.c ...\\n' == 'Checking eva... ^\\n'\n \n Checking eval/test_resources/test_vf_common/signed_overflow.c ...\n - eval/test_resources/test_vf_common/signed_overflow.c:9:11: error: Signed integer overflow for expression 'i+1'. [integerOverflow]\n - i = i + 1; // Overflow\n - ^\n - eval/test_resources/test_vf_common/signed_overflow.c:8:20: note: Assignment 'i=2147483647', assigned value is 2147483647\n - signed int i = 2147483647;...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tests/test_vf_common.py:55: in test_signed_integer_overflow_detection\n assert normalize_paths(output) == normalize_paths((RESOURCES / 'signed_overflow.golden').read_text())\nE AssertionError: assert 'Checking eva...rflow.c ...\\n' == 'Checking eva... ^\\n'\nE \nE Checking eval/test_resources/test_vf_common/signed_overflow.c ...\nE - eval/test_resources/test_vf_common/signed_overflow.c:9:11: error: Signed integer overflow for expression 'i+1'. [integerOverflow]\nE - i = i + 1; // Overflow\nE - ^\nE - eval/test_resources/test_vf_common/signed_overflow.c:8:20: note: Assignment 'i=2147483647', assigned value is 2147483647\nE - signed int i = 2147483647;...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_tokenlist.test_tokenlist_empty_file": {"message": "AssertionError: Dump file should exist even for empty source\nassert False\n + where False = exists()\n + where exists = PosixPath('/tmp/pytest-of-root/pytest-0/popen-gw5/test_tokenlist_empty_file2/empty.c.dump').exists", "text": "tests/test_tokenlist.py:344: in test_tokenlist_empty_file\n assert dump_file.exists(), \"Dump file should exist even for empty source\"\nE AssertionError: Dump file should exist even for empty source\nE assert False\nE + where False = exists()\nE + where exists = PosixPath('/tmp/pytest-of-root/pytest-0/popen-gw5/test_tokenlist_empty_file2/empty.c.dump').exists"}, "1040f6b8a219/tests.test_tokenlist.test_tokenlist_very_long_identifier": {"message": "AssertionError: Should find variable declaration, got 0\nassert 0 >= 1\n + where 0 = len([])", "text": "tests/test_tokenlist.py:381: in test_tokenlist_very_long_identifier\n assert len(var_decl) >= 1, f\"Should find variable declaration, got {len(var_decl)}\"\nE AssertionError: Should find variable declaration, got 0\nE assert 0 >= 1\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_vf_common.test_sizeof_basic_types": {"message": "assert None is not None", "text": "tests/test_vf_common.py:161: in test_sizeof_basic_types\n assert valueflow is not None\nE assert None is not None"}, "1040f6b8a219/tests.test_vf_common.test_float_to_int_conversion_overflow": {"message": "AssertionError: assert 'Checking eva..._cast.c ...\\n' == 'Checking eva... ^\\n'\n \n Checking eval/test_resources/test_vf_common/float_to_int_cast.c ...\n - eval/test_resources/test_vf_common/float_to_int_cast.c:9:14: error: Undefined behaviour: float (1e+20) to integer conversion overflow. [floatConversionOverflow]\n - int i3 = (int)f2; // Undefined behavior\n - ^\n - eval/test_resources/test_vf_common/float_to_int_cast.c:8:16: note: Assignment 'f2=1e20f', assigned value is 1e+20\n - float f2 = 1e20f;...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tests/test_vf_common.py:259: in test_float_to_int_conversion_overflow\n assert normalize_paths(output) == normalize_paths((RESOURCES / 'float_to_int_cast.golden').read_text())\nE AssertionError: assert 'Checking eva..._cast.c ...\\n' == 'Checking eva... ^\\n'\nE \nE Checking eval/test_resources/test_vf_common/float_to_int_cast.c ...\nE - eval/test_resources/test_vf_common/float_to_int_cast.c:9:14: error: Undefined behaviour: float (1e+20) to integer conversion overflow. [floatConversionOverflow]\nE - int i3 = (int)f2; // Undefined behavior\nE - ^\nE - eval/test_resources/test_vf_common/float_to_int_cast.c:8:16: note: Assignment 'f2=1e20f', assigned value is 1e+20\nE - float f2 = 1e20f;...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_vf_common.test_sizeof_multidimensional_array": {"message": "assert 'isArray=\"true\"' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tests/test_vf_common.py:295: in test_sizeof_multidimensional_array\n assert 'isArray=\"true\"' in content\nE assert 'isArray=\"true\"' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_tokenlist.test_tokenlist_cast_expression": {"message": "AssertionError: Should have at least 3 cast parentheses marked, got 0\nassert 0 >= 3\n + where 0 = len([])", "text": "tests/test_tokenlist.py:875: in test_tokenlist_cast_expression\n assert len(cast_parens) >= 3, f\"Should have at least 3 cast parentheses marked, got {len(cast_parens)}\"\nE AssertionError: Should have at least 3 cast parentheses marked, got 0\nE assert 0 >= 3\nE + where 0 = len([])"}, "1040f6b8a219/tests.test_tokenlist.test_tokenlist_wide_string_literals": {"message": "AssertionError: Wide string should be wchar_t, got None\nassert None == 'wchar_t'\n + where None = ('valueType-originalTypeName')\n + where = .get", "text": "tests/test_tokenlist.py:1121: in test_tokenlist_wide_string_literals\n assert wide_strings[0].get('valueType-originalTypeName') == 'wchar_t', f\"Wide string should be wchar_t, got {wide_strings[0].get('valueType-originalTypeName')}\"\nE AssertionError: Wide string should be wchar_t, got None\nE assert None == 'wchar_t'\nE + where None = ('valueType-originalTypeName')\nE + where = .get"}, "1040f6b8a219/tests.test_vf_common.test_value_flow_dump_bool_constants": {"message": "assert None is not None", "text": "tests/test_vf_common.py:78: in test_value_flow_dump_bool_constants\n assert valueflow is not None\nE assert None is not None"}, "1040f6b8a219/tests.test_tokenlist.test_tokenlist_raw_string_literal_cpp11": {"message": "AssertionError: First string should be '\"This is a \\\\\"raw\\\\\" string\\nwith newlines\"', got '\"This is a \\\\\"raw\\\\\" string\\\\nwith newlines\"'\nassert '\"This is a \\...ith newlines\"' == '\"This is a \\...ith newlines\"'\n \n + \"This is a \\\"raw\\\" string\\nwith newlines\"\n - \"This is a \\\"raw\\\" string\n - with newlines\"", "text": "tests/test_tokenlist.py:1178: in test_tokenlist_raw_string_literal_cpp11\n assert first_str.get('str') == expected_first, f\"First string should be {expected_first!r}, got {first_str.get('str')!r}\"\nE AssertionError: First string should be '\"This is a \\\\\"raw\\\\\" string\\nwith newlines\"', got '\"This is a \\\\\"raw\\\\\" string\\\\nwith newlines\"'\nE assert '\"This is a \\...ith newlines\"' == '\"This is a \\...ith newlines\"'\nE \nE + \"This is a \\\"raw\\\" string\\nwith newlines\"\nE - \"This is a \\\"raw\\\" string\nE - with newlines\""}, "1040f6b8a219/tests.test_vf_common.test_value_flow_char_literal_constants": {"message": "assert None is not None", "text": "tests/test_vf_common.py:113: in test_value_flow_char_literal_constants\n assert valueflow is not None\nE assert None is not None"}, "1040f6b8a219/tests.test_vf_common.test_value_flow_float_constants": {"message": "assert 'valueType-type=\"float\"' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tests/test_vf_common.py:132: in test_value_flow_float_constants\n assert 'valueType-type=\"float\"' in content\nE assert 'valueType-type=\"float\"' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_vf_common.test_zero_initialization_patterns": {"message": "AssertionError: assert 'Checking eva...\\n ^\\n' == 'Checking eva...n ^\\n'\n \n Checking eval/test_resources/test_vf_common/zero_initialization.c ...\n - eval/test_resources/test_vf_common/zero_initialization.c:8:10: error: Uninitialized variable: p [legacyUninitvar]\n ? ^ ^^ ^ ^^^^^^^\n + eval/test_resources/test_vf_common/zero_initialization.c:3:9: error: Uninitialized variable: y [uninitvar]\n ? ^ ^ ^ ^\n - int *p = int*();...\n \n ...Full output truncated (6 lines hidden), use '-vv' to show", "text": "tests/test_vf_common.py:275: in test_zero_initialization_patterns\n assert normalize_paths(output) == normalize_paths((RESOURCES / 'zero_initialization.golden').read_text())\nE AssertionError: assert 'Checking eva...\\n ^\\n' == 'Checking eva...n ^\\n'\nE \nE Checking eval/test_resources/test_vf_common/zero_initialization.c ...\nE - eval/test_resources/test_vf_common/zero_initialization.c:8:10: error: Uninitialized variable: p [legacyUninitvar]\nE ? ^ ^^ ^ ^^^^^^^\nE + eval/test_resources/test_vf_common/zero_initialization.c:3:9: error: Uninitialized variable: y [uninitvar]\nE ? ^ ^ ^ ^\nE - int *p = int*();...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show"}, "1040f6b8a219/tests.test_vf_common.test_sizeof_string_literals": {"message": "assert 'strlen=\"5\"' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tests/test_vf_common.py:342: in test_sizeof_string_literals\n assert 'strlen=\"5\"' in content # for \"hello\"\nE assert 'strlen=\"5\"' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'"}, "1040f6b8a219/tests.test_harvest_performance.test_stack_overflow_AST": {"message": "assert -11 == 0", "text": "tests/test_harvest_performance.py:203: in test_stack_overflow_AST\n assert ret == 0\nE assert -11 == 0"}, "1040f6b8a219/tests.test_harvest_performance.test_crash_array_in_namespace": {"message": "assert -11 == 0", "text": "tests/test_harvest_performance.py:305: in test_crash_array_in_namespace\n assert ret == 0\nE assert -11 == 0"}, "1040f6b8a219/tests.test_harvest_performance.test_crash_array_in_array": {"message": "assert -11 == 0", "text": "tests/test_harvest_performance.py:328: in test_crash_array_in_array\n assert ret == 0\nE assert -11 == 0"}, "1040f6b8a219/tests.test_harvest_premium.test_misra_c_builtin_style_checks": {"message": "assert 1 == 0\n + where 1 = CompletedProcess(args=['./cppcheck', '--premium=autosar', '--xml', 'test.cpp'], returncode=1, stdout='cppcheck: error: unrecognized command line option: \"--premium=autosar\".\\n', stderr='').returncode", "text": "tests/test_harvest_premium.py:64: in test_misra_c_builtin_style_checks\n assert result.returncode == 0\nE assert 1 == 0\nE + where 1 = CompletedProcess(args=['./cppcheck', '--premium=autosar', '--xml', 'test.cpp'], returncode=1, stdout='cppcheck: error: unrecognized command line option: \"--premium=autosar\".\\n', stderr='').returncode"}, "1040f6b8a219/tests.test_harvest_premium.test_build_dir_hash_cppcheck_product": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw7/test_build_dir_hash_cppcheck_p2/b/test.a1'", "text": "tests/test_harvest_premium.py:126: in test_build_dir_hash_cppcheck_product\n with open(hash_file, 'rt') as f:\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/popen-gw7/test_build_dir_hash_cppcheck_p2/b/test.a1'"}, "1040f6b8a219/tests.test_harvest_premium.test_misra_py": {"message": "requires missing misra.py addon to test error message - premium misra checks are built-in", "text": "/workspace/eval/tests/test_harvest_premium.py:155: requires missing misra.py addon to test error message - premium misra checks are built-in"}, "1040f6b8a219/tests.test_harvest_premium.test_invalid_license_retry": {"message": "assert 'Invalid license' in '\\n\\n \\n \\n \\n \\n\\n'\n + where '\\n\\n \\n \\n \\n \\n\\n' = CompletedProcess(args=['/workspace/executable', '--addon=/tmp/pytest-of-root/pytest-0/popen-gw7/test_invalid_license_retry2/premiumaddon.py', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/popen-gw7/test_invalid_license_retry2/b', '--xml', '--enable=all', '/tmp/pytest-of-root/pytest-0/popen-gw7/test_invalid_license_retry2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw7/test_invalid_license_retry2/test.c ...\\n', stderr='\\n\\n \\n \\n \\n \\n\\n').stderr", "text": "tests/test_harvest_premium.py:202: in test_invalid_license_retry\n assert 'Invalid license' in result.stderr\nE assert 'Invalid license' in '\\n\\n \\n \\n \\n \\n\\n'\nE + where '\\n\\n \\n \\n \\n \\n\\n' = CompletedProcess(args=['/workspace/executable', '--addon=/tmp/pytest-of-root/pytest-0/popen-gw7/test_invalid_license_retry2/premiumaddon.py', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/popen-gw7/test_invalid_license_retry2/b', '--xml', '--enable=all', '/tmp/pytest-of-root/pytest-0/popen-gw7/test_invalid_license_retry2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw7/test_invalid_license_retry2/test.c ...\\n', stderr='\\n\\n \\n \\n \\n \\n\\n').stderr"}, "1040f6b8a219/tests.test_harvest_premium.test_help": {"message": "assert '--premium=' in 'Cppcheck - A tool for static C/C++ code analysis\\n\\nSyntax:\\n cppcheck [OPTIONS] [files or paths]\\n\\nIf a directory is given instead of a filename, *.cpp, *.cxx, *.cc, *.c++, *.c, *.ipp,\\n*.ixx, *.tpp, and *.txx files are checked recursively from the given directory.\\n\\nOptions:\\n --addon=\\n Execute addon. i.e. --addon=misra. If options must be\\n provided a json configuration is needed.\\n --addon-python=\\n You can specify the python interpreter either in the\\n addon json files or through this command line option.\\n If not present, Cppcheck will try \"python3\" first and\\n then \"python\".\\n --cppcheck-build-dir=\\n Cppcheck work folder. Advantages:\\n * whole program analysis\\n * faster analysis; Cppcheck will reuse the results if\\n the hash for a file is unchanged.\\n * some useful debug information, i.e. commands used to\\n execute clang/clang-tidy/a...> Undefine preprocessor symbol. Use -U to explicitly\\n hide certain #ifdef code paths from checking.\\n Example: \\'-UDEBUG\\'\\n -v, --verbose Output more detailed error information.\\n Note that this option is not mutually exclusive with --quiet.\\n --version Print out version number.\\n --xml Write results in xml format to error stream (stderr).\\n\\nExample usage:\\n # Recursively check the current folder. Print the progress on the screen and\\n # write errors to a file:\\n cppcheck . 2> err.txt\\n\\n # Recursively check ../myproject/ and don\\'t print progress:\\n cppcheck --quiet ../myproject/\\n\\n # Check test.cpp, enable all checks:\\n cppcheck --enable=all --inconclusive --library=posix test.cpp\\n\\n # Check f.cpp and search include files from inc1/ and inc2/:\\n cppcheck -I inc1/ -I inc2/ f.cpp\\n\\nFor more information:\\n https://cppcheck.sourceforge.io/manual.pdf\\n\\nMany thanks to the 3rd party libraries we use:\\n * tinyxml2 -- loading project/library/ctu files.\\n * picojson -- loading compile database.\\n * pcre -- rules.\\n * qt -- used in GUI\\n\\n'\n + where 'Cppcheck - A tool for static C/C++ code analysis\\n\\nSyntax:\\n cppcheck [OPTIONS] [files or paths]\\n\\nIf a directory is given instead of a filename, *.cpp, *.cxx, *.cc, *.c++, *.c, *.ipp,\\n*.ixx, *.tpp, and *.txx files are checked recursively from the given directory.\\n\\nOptions:\\n --addon=\\n Execute addon. i.e. --addon=misra. If options must be\\n provided a json configuration is needed.\\n --addon-python=\\n You can specify the python interpreter either in the\\n addon json files or through this command line option.\\n If not present, Cppcheck will try \"python3\" first and\\n then \"python\".\\n --cppcheck-build-dir=\\n Cppcheck work folder. Advantages:\\n * whole program analysis\\n * faster analysis; Cppcheck will reuse the results if\\n the hash for a file is unchanged.\\n * some useful debug information, i.e. commands used to\\n execute clang/clang-tidy/a...> Undefine preprocessor symbol. Use -U to explicitly\\n hide certain #ifdef code paths from checking.\\n Example: \\'-UDEBUG\\'\\n -v, --verbose Output more detailed error information.\\n Note that this option is not mutually exclusive with --quiet.\\n --version Print out version number.\\n --xml Write results in xml format to error stream (stderr).\\n\\nExample usage:\\n # Recursively check the current folder. Print the progress on the screen and\\n # write errors to a file:\\n cppcheck . 2> err.txt\\n\\n # Recursively check ../myproject/ and don\\'t print progress:\\n cppcheck --quiet ../myproject/\\n\\n # Check test.cpp, enable all checks:\\n cppcheck --enable=all --inconclusive --library=posix test.cpp\\n\\n # Check f.cpp and search include files from inc1/ and inc2/:\\n cppcheck -I inc1/ -I inc2/ f.cpp\\n\\nFor more information:\\n https://cppcheck.sourceforge.io/manual.pdf\\n\\nMany thanks to the 3rd party libraries we use:\\n * tinyxml2 -- loading project/library/ctu files.\\n * picojson -- loading compile database.\\n * pcre -- rules.\\n * qt -- used in GUI\\n\\n' = CompletedProcess(args=['./cppcheck', '--help'], returncode=0, stdout='Cppcheck - A tool for static C/C++ code analysis\\n\\nSyntax:\\n cppcheck [OPTIONS] [files or paths]\\n\\nIf a directory is given instead of a filename, *.cpp, *.cxx, *.cc, *.c++, *.c, *.ipp,\\n*.ixx, *.tpp, and *.txx files are checked recursively from the given directory.\\n\\nOptions:\\n --addon=\\n Execute addon. i.e. --addon=misra. If options must be\\n provided a json configuration is needed.\\n --addon-python=\\n You can specify the python interpreter either in the\\n addon json files or through this command line option.\\n If not present, Cppcheck will try \"python3\" first and\\n then \"python\".\\n --cppcheck-build-dir=\\n Cppcheck work folder. Advantages:\\n * whole program analysis\\n * faster analysis; Cppcheck will reuse the results if\\n the hash for a file is unchanged.\\n * some useful debug information, i.e. com... Undefine preprocessor symbol. Use -U to explicitly\\n hide certain #ifdef code paths from checking.\\n Example: \\'-UDEBUG\\'\\n -v, --verbose Output more detailed error information.\\n Note that this option is not mutually exclusive with --quiet.\\n --version Print out version number.\\n --xml Write results in xml format to error stream (stderr).\\n\\nExample usage:\\n # Recursively check the current folder. Print the progress on the screen and\\n # write errors to a file:\\n cppcheck . 2> err.txt\\n\\n # Recursively check ../myproject/ and don\\'t print progress:\\n cppcheck --quiet ../myproject/\\n\\n # Check test.cpp, enable all checks:\\n cppcheck --enable=all --inconclusive --library=posix test.cpp\\n\\n # Check f.cpp and search include files from inc1/ and inc2/:\\n cppcheck -I inc1/ -I inc2/ f.cpp\\n\\nFor more information:\\n https://cppcheck.sourceforge.io/manual.pdf\\n\\nMany thanks to the 3rd party libraries we use:\\n * tinyxml2 -- loading project/library/ctu files.\\n * picojson -- loading compile database.\\n * pcre -- rules.\\n * qt -- used in GUI\\n\\n', stderr='').stdout", "text": "tests/test_harvest_premium.py:224: in test_help\n assert '--premium=' in result.stdout\nE assert '--premium=' in 'Cppcheck - A tool for static C/C++ code analysis\\n\\nSyntax:\\n cppcheck [OPTIONS] [files or paths]\\n\\nIf a directory is given instead of a filename, *.cpp, *.cxx, *.cc, *.c++, *.c, *.ipp,\\n*.ixx, *.tpp, and *.txx files are checked recursively from the given directory.\\n\\nOptions:\\n --addon=\\n Execute addon. i.e. --addon=misra. If options must be\\n provided a json configuration is needed.\\n --addon-python=\\n You can specify the python interpreter either in the\\n addon json files or through this command line option.\\n If not present, Cppcheck will try \"python3\" first and\\n then \"python\".\\n --cppcheck-build-dir=\\n Cppcheck work folder. Advantages:\\n * whole program analysis\\n * faster analysis; Cppcheck will reuse the results if\\n the hash for a file is unchanged.\\n * some useful debug information, i.e. commands used to\\n execute clang/clang-tidy/a...> Undefine preprocessor symbol. Use -U to explicitly\\n hide certain #ifdef code paths from checking.\\n Example: \\'-UDEBUG\\'\\n -v, --verbose Output more detailed error information.\\n Note that this option is not mutually exclusive with --quiet.\\n --version Print out version number.\\n --xml Write results in xml format to error stream (stderr).\\n\\nExample usage:\\n # Recursively check the current folder. Print the progress on the screen and\\n # write errors to a file:\\n cppcheck . 2> err.txt\\n\\n # Recursively check ../myproject/ and don\\'t print progress:\\n cppcheck --quiet ../myproject/\\n\\n # Check test.cpp, enable all checks:\\n cppcheck --enable=all --inconclusive --library=posix test.cpp\\n\\n # Check f.cpp and search include files from inc1/ and inc2/:\\n cppcheck -I inc1/ -I inc2/ f.cpp\\n\\nFor more information:\\n https://cppcheck.sourceforge.io/manual.pdf\\n\\nMany thanks to the 3rd party libraries we use:\\n * tinyxml2 -- loading project/library/ctu files.\\n * picojson -- loading compile database.\\n * pcre -- rules.\\n * qt -- used in GUI\\n\\n'\nE + where 'Cppcheck - A tool for static C/C++ code analysis\\n\\nSyntax:\\n cppcheck [OPTIONS] [files or paths]\\n\\nIf a directory is given instead of a filename, *.cpp, *.cxx, *.cc, *.c++, *.c, *.ipp,\\n*.ixx, *.tpp, and *.txx files are checked recursively from the given directory.\\n\\nOptions:\\n --addon=\\n Execute addon. i.e. --addon=misra. If options must be\\n provided a json configuration is needed.\\n --addon-python=\\n You can specify the python interpreter either in the\\n addon json files or through this command line option.\\n If not present, Cppcheck will try \"python3\" first and\\n then \"python\".\\n --cppcheck-build-dir=\\n Cppcheck work folder. Advantages:\\n * whole program analysis\\n * faster analysis; Cppcheck will reuse the results if\\n the hash for a file is unchanged.\\n * some useful debug information, i.e. commands used to\\n execute clang/clang-tidy/a...> Undefine preprocessor symbol. Use -U to explicitly\\n hide certain #ifdef code paths from checking.\\n Example: \\'-UDEBUG\\'\\n -v, --verbose Output more detailed error information.\\n Note that this option is not mutually exclusive with --quiet.\\n --version Print out version number.\\n --xml Write results in xml format to error stream (stderr).\\n\\nExample usage:\\n # Recursively check the current folder. Print the progress on the screen and\\n # write errors to a file:\\n cppcheck . 2> err.txt\\n\\n # Recursively check ../myproject/ and don\\'t print progress:\\n cppcheck --quiet ../myproject/\\n\\n # Check test.cpp, enable all checks:\\n cppcheck --enable=all --inconclusive --library=posix test.cpp\\n\\n # Check f.cpp and search include files from inc1/ and inc2/:\\n cppcheck -I inc1/ -I inc2/ f.cpp\\n\\nFor more information:\\n https://cppcheck.sourceforge.io/manual.pdf\\n\\nMany thanks to the 3rd party libraries we use:\\n * tinyxml2 -- loading project/library/ctu files.\\n * picojson -- loading compile database.\\n * pcre -- rules.\\n * qt -- used in GUI\\n\\n' = CompletedProcess(args=['./cppcheck', '--help'], returncode=0, stdout='Cppcheck - A tool for static C/C++ code analysis\\n\\nSyntax:\\n cppcheck [OPTIONS] [files or paths]\\n\\nIf a directory is given instead of a filename, *.cpp, *.cxx, *.cc, *.c++, *.c, *.ipp,\\n*.ixx, *.tpp, and *.txx files are checked recursively from the given directory.\\n\\nOptions:\\n --addon=\\n Execute addon. i.e. --addon=misra. If options must be\\n provided a json configuration is needed.\\n --addon-python=\\n You can specify the python interpreter either in the\\n addon json files or through this command line option.\\n If not present, Cppcheck will try \"python3\" first and\\n then \"python\".\\n --cppcheck-build-dir=\\n Cppcheck work folder. Advantages:\\n * whole program analysis\\n * faster analysis; Cppcheck will reuse the results if\\n the hash for a file is unchanged.\\n * some useful debug information, i.e. com... Undefine preprocessor symbol. Use -U to explicitly\\n hide certain #ifdef code paths from checking.\\n Example: \\'-UDEBUG\\'\\n -v, --verbose Output more detailed error information.\\n Note that this option is not mutually exclusive with --quiet.\\n --version Print out version number.\\n --xml Write results in xml format to error stream (stderr).\\n\\nExample usage:\\n # Recursively check the current folder. Print the progress on the screen and\\n # write errors to a file:\\n cppcheck . 2> err.txt\\n\\n # Recursively check ../myproject/ and don\\'t print progress:\\n cppcheck --quiet ../myproject/\\n\\n # Check test.cpp, enable all checks:\\n cppcheck --enable=all --inconclusive --library=posix test.cpp\\n\\n # Check f.cpp and search include files from inc1/ and inc2/:\\n cppcheck -I inc1/ -I inc2/ f.cpp\\n\\nFor more information:\\n https://cppcheck.sourceforge.io/manual.pdf\\n\\nMany thanks to the 3rd party libraries we use:\\n * tinyxml2 -- loading project/library/ctu files.\\n * picojson -- loading compile database.\\n * pcre -- rules.\\n * qt -- used in GUI\\n\\n', stderr='').stdout"}, "1040f6b8a219/tests.test_harvest_premium.test_cwe": {"message": "assert '\\n\\n \\n \\n \\n\\n'\n + where '\\n\\n \\n \\n \\n\\n' = CompletedProcess(args=['/workspace/executable', '--addon=/tmp/pytest-of-root/pytest-0/popen-gw7/test_cwe2/premiumaddon.py', '--xml', '/tmp/pytest-of-root/pytest-0/popen-gw7/test_cwe2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw7/test_cwe2/test.c ...\\n', stderr='\\n\\n \\n \\n \\n\\n').stderr", "text": "tests/test_harvest_premium.py:243: in test_cwe\n assert '\\n\\n \\n \\n \\n\\n'\nE + where '\\n\\n \\n \\n \\n\\n' = CompletedProcess(args=['/workspace/executable', '--addon=/tmp/pytest-of-root/pytest-0/popen-gw7/test_cwe2/premiumaddon.py', '--xml', '/tmp/pytest-of-root/pytest-0/popen-gw7/test_cwe2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw7/test_cwe2/test.c ...\\n', stderr='\\n\\n \\n \\n \\n\\n').stderr"}, "1040f6b8a219/tests.test_harvest_premium.test_hash": {"message": "assert '\\n\\n \\n \\n \\n\\n'\n + where '\\n\\n \\n \\n \\n\\n' = CompletedProcess(args=['/workspace/executable', '--addon=/tmp/pytest-of-root/pytest-0/popen-gw7/test_hash2/premiumaddon.py', '--xml', '/tmp/pytest-of-root/pytest-0/popen-gw7/test_hash2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw7/test_hash2/test.c ...\\n', stderr='\\n\\n \\n \\n \\n\\n').stderr", "text": "tests/test_harvest_premium.py:259: in test_hash\n assert '\\n\\n \\n \\n \\n\\n'\nE + where '\\n\\n \\n \\n \\n\\n' = CompletedProcess(args=['/workspace/executable', '--addon=/tmp/pytest-of-root/pytest-0/popen-gw7/test_hash2/premiumaddon.py', '--xml', '/tmp/pytest-of-root/pytest-0/popen-gw7/test_hash2/test.c'], returncode=0, stdout='Checking /tmp/pytest-of-root/pytest-0/popen-gw7/test_hash2/test.c ...\\n', stderr='\\n\\n \\n \\n \\n\\n').stderr"}, "1040f6b8a219/tests.test_harvest_proj2.test_file_filter": {"message": "AssertionError: cppcheck: error: could not find any files matching the filter:proj2/b*\n \nassert 1 == 0", "text": "tests/test_harvest_proj2.py:91: in test_file_filter\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find any files matching the filter:proj2/b*\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_proj2.test_local_path": {"message": "AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_proj2.py:103: in test_local_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_proj2.test_local_path_force": {"message": "AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_proj2.py:114: in test_local_path_force\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_proj2.test_local_path_maxconfigs": {"message": "AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_proj2.py:124: in test_local_path_maxconfigs\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0"}, "1040f6b8a219/tests.test_harvest_proj2.test_relative_path": {"message": "AssertionError: cppcheck: error: failed to load project 'proj2/compile_commands.json'. Project files are not supported.\n \nassert 1 == 0", "text": "tests/test_harvest_proj2.py:136: in test_relative_path\n assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0"}, "b9729b57ee68/tests.dumpfile_test.test_libraries": {"message": "assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_libraries2')\n\n def test_libraries(tmpdir): #13701\n test_file = str(tmpdir / 'test.c')\n with open(test_file, 'wt') as f:\n f.write('x=1;\\n')\n \n args = ['--library=posix', '--dump', test_file]\n _, _, _ = cppcheck(args)\n \n dumpfile = test_file + '.dump'\n assert os.path.isfile(dumpfile)\n with open(dumpfile, 'rt') as f:\n dump = f.read()\n> assert '' in dump\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n\ntests/dumpfile_test.py:23: AssertionError"}, "b9729b57ee68/tests.dumpfile_test.test_language_c": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_c2/test.c.dump'", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c2')\n\n def test_language_c(tmp_path):\n> __test_language(tmp_path, 'c', exp_lang='c')\n\ntests/dumpfile_test.py:50: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c2/test.c.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_c2/test.c.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "b9729b57ee68/tests.dumpfile_test.test_language_c_force_c": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_c_force_c2/test.c.dump'", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c_force_c2')\n\n def test_language_c_force_c(tmp_path):\n> __test_language(tmp_path, 'c', force_lang='c', exp_lang='c')\n\ntests/dumpfile_test.py:54: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c_force_c2/test.c.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_c_force_c2/test.c.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "b9729b57ee68/tests.dumpfile_test.test_language_c_force_cpp": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_c_force_cpp2/test.c.dump'", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c_force_cpp2')\n\n def test_language_c_force_cpp(tmp_path):\n> __test_language(tmp_path, 'c', force_lang='c++', exp_lang='cpp')\n\ntests/dumpfile_test.py:58: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_c_force_cpp2/test.c.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_c_force_cpp2/test.c.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "b9729b57ee68/tests.dumpfile_test.test_language_cpp": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_cpp2/test.cpp.dump'", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp2')\n\n def test_language_cpp(tmp_path):\n> __test_language(tmp_path, 'cpp', exp_lang='cpp')\n\ntests/dumpfile_test.py:62: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp2/test.cpp.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_cpp2/test.cpp.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "b9729b57ee68/tests.dumpfile_test.test_language_cpp_force_cpp": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_cpp_force_cpp2/test.cpp.dump'", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp_force_cpp2')\n\n def test_language_cpp_force_cpp(tmp_path):\n> __test_language(tmp_path, 'cpp', force_lang='c++', exp_lang='cpp')\n\ntests/dumpfile_test.py:66: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp_force_cpp2/test.cpp.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_cpp_force_cpp2/test.cpp.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "b9729b57ee68/tests.dumpfile_test.test_language_cpp_force_c": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_cpp_force_c2/test.cpp.dump'", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp_force_c2')\n\n def test_language_cpp_force_c(tmp_path):\n> __test_language(tmp_path, 'cpp', force_lang='c', exp_lang='c')\n\ntests/dumpfile_test.py:70: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_cpp_force_c2/test.cpp.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_cpp_force_c2/test.cpp.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "b9729b57ee68/tests.dumpfile_test.test_language_h": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_h2/test.h.dump'", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h2')\n\n def test_language_h(tmp_path):\n> __test_language(tmp_path, 'h', exp_lang='c')\n\ntests/dumpfile_test.py:75: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h2/test.h.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_h2/test.h.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "b9729b57ee68/tests.dumpfile_test.test_language_h_force_c": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_h_force_c2/test.h.dump'", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h_force_c2')\n\n def test_language_h_force_c(tmp_path):\n> __test_language(tmp_path, 'h', force_lang='c', exp_lang='c')\n\ntests/dumpfile_test.py:79: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h_force_c2/test.h.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_h_force_c2/test.h.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "b9729b57ee68/tests.dumpfile_test.test_language_h_force_cpp": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_h_force_cpp2/test.h.dump'", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h_force_cpp2')\n\n def test_language_h_force_cpp(tmp_path):\n> __test_language(tmp_path, 'h', force_lang='c++', exp_lang='cpp')\n\ntests/dumpfile_test.py:83: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_h_force_cpp2/test.h.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_h_force_cpp2/test.h.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "b9729b57ee68/tests.dumpfile_test.test_language_unk": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_unk2/test.src.dump'", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk2')\n\n def test_language_unk(tmp_path):\n> __test_language(tmp_path, 'src', exp_lang='cpp')\n\ntests/dumpfile_test.py:88: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk2/test.src.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_unk2/test.src.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "b9729b57ee68/tests.dumpfile_test.test_language_unk_force_c": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_unk_force_c2/test.src.dump'", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk_force_c2')\n\n def test_language_unk_force_c(tmp_path):\n> __test_language(tmp_path, 'src', force_lang='c', exp_lang='c')\n\ntests/dumpfile_test.py:92: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk_force_c2/test.src.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_unk_force_c2/test.src.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "b9729b57ee68/tests.dumpfile_test.test_language_unk_force_cpp": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_unk_force_cpp2/test.src.dump'", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk_force_cpp2')\n\n def test_language_unk_force_cpp(tmp_path):\n> __test_language(tmp_path, 'src', force_lang='c++', exp_lang='cpp')\n\ntests/dumpfile_test.py:96: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/dumpfile_test.py:42: in __test_language\n dump_s = pathlib.Path(str(test_file) + '.dump').read_text()\n/usr/lib/python3.10/pathlib.py:1134: in read_text\n with self.open(mode='r', encoding=encoding, errors=errors) as f:\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = PosixPath('/tmp/pytest-of-root/pytest-0/test_language_unk_force_cpp2/test.src.dump')\nmode = 'r', buffering = -1, encoding = 'locale', errors = None, newline = None\n\n def open(self, mode='r', buffering=-1, encoding=None,\n errors=None, newline=None):\n \"\"\"\n Open the file pointed by this path and return a file object, as\n the built-in open() function does.\n \"\"\"\n if \"b\" not in mode:\n encoding = io.text_encoding(encoding)\n> return self._accessor.open(self, mode, buffering, encoding, errors,\n newline)\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_language_unk_force_cpp2/test.src.dump'\n\n/usr/lib/python3.10/pathlib.py:1119: FileNotFoundError"}, "b9729b57ee68/tests.dumpfile_test.test_duplicate_file_entries": {"message": "AssertionError: assert False\n + where False = (('/tmp/pytest-of-root/pytest-0/test_duplicate_file_entries2/test.c' + '.dump'))\n + where = .isfile\n + where = os.path", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_duplicate_file_entries2')\n\n def test_duplicate_file_entries(tmpdir): #13333\n test_file = str(tmpdir / 'test.c')\n with open(test_file, 'wt') as f:\n f.write('x=1;\\n')\n \n project_file = str(tmpdir / 'compile_commands.json')\n with open(project_file, 'wt') as f:\n f.write(json.dumps([{\n \"file\": test_file,\n \"directory\": str(tmpdir),\n \"command\": \"cc -c test.c\"\n },{\n \"file\": test_file,\n \"directory\": str(tmpdir),\n \"command\": \"cc -c test.c\"\n }]))\n \n args = ['--project=compile_commands.json', '--dump']\n _, _, _ = cppcheck(args, cwd=str(tmpdir))\n \n> assert os.path.isfile(test_file + '.dump')\nE AssertionError: assert False\nE + where False = (('/tmp/pytest-of-root/pytest-0/test_duplicate_file_entries2/test.c' + '.dump'))\nE + where = .isfile\nE + where = os.path\n\ntests/dumpfile_test.py:119: AssertionError"}, "b9729b57ee68/tests.dumpfile_test.test_container_methods": {"message": "assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_container_methods2')\n\n def test_container_methods(tmpdir):\n test_file = str(tmpdir / 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write('std::string s;\\n')\n \n exitcode, _, stderr = cppcheck(['--dump', '.'], cwd=str(tmpdir))\n assert exitcode == 0, stderr\n \n dumpfile = test_file + '.dump'\n with open(dumpfile, 'rt') as f:\n dump = f.read()\n> assert '' in dump\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n\ntests/dumpfile_test.py:134: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_addon_local_path": {"message": "AssertionError: assert '[main.c:5]: ...on by zero.\\n' == '[main.c:5]: ...per output)\\n'\n \n [main.c:5]: (error) Division by zero.\n - [main.c:4]: (style) misra violation (use --rule-texts= to get proper output)", "text": "def test_addon_local_path():\n args = [\n '--addon=misra',\n '--enable=style',\n '--template=cppcheck1',\n '.'\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n assert ret == 0, stdout\n> assert stderr == ('[main.c:5]: (error) Division by zero.\\n'\n '[main.c:4]: (style) misra violation (use --rule-texts= to get proper output)\\n')\nE AssertionError: assert '[main.c:5]: ...on by zero.\\n' == '[main.c:5]: ...per output)\\n'\nE \nE [main.c:5]: (error) Division by zero.\nE - [main.c:4]: (style) misra violation (use --rule-texts= to get proper output)\n\ntests/helloworld_test.py:73: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_addon_absolute_path": {"message": "AssertionError: assert '[/workspace/...on by zero.\\n' == '[/workspace/...per output)\\n'\n \n [/workspace/eval/tests/testdata/helloworld/main.c:5]: (error) Division by zero.\n - [/workspace/eval/tests/testdata/helloworld/main.c:4]: (style) misra violation (use --rule-texts= to get proper output)", "text": "def test_addon_absolute_path():\n args = [\n '--addon=misra',\n '--enable=style',\n '--template=cppcheck1',\n __proj_dir\n ]\n ret, stdout, stderr = cppcheck(args)\n filename = os.path.join(__proj_dir, 'main.c')\n assert ret == 0, stdout\n> assert stderr == ('[%s:5]: (error) Division by zero.\\n'\n '[%s:4]: (style) misra violation (use --rule-texts= to get proper output)\\n' % (filename, filename))\nE AssertionError: assert '[/workspace/...on by zero.\\n' == '[/workspace/...per output)\\n'\nE \nE [/workspace/eval/tests/testdata/helloworld/main.c:5]: (error) Division by zero.\nE - [/workspace/eval/tests/testdata/helloworld/main.c:4]: (style) misra violation (use --rule-texts= to get proper output)\n\ntests/helloworld_test.py:96: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_addon_relative_path": {"message": "AssertionError: assert '[helloworld/...on by zero.\\n' == '[helloworld/...per output)\\n'\n \n [helloworld/main.c:5]: (error) Division by zero.\n - [helloworld/main.c:4]: (style) misra violation (use --rule-texts= to get proper output)", "text": "def test_addon_relative_path():\n args = [\n '--addon=misra',\n '--enable=style',\n '--template=cppcheck1',\n 'helloworld'\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n filename = os.path.join('helloworld', 'main.c')\n assert ret == 0, stdout\n assert stdout == ('Checking %s ...\\n'\n 'Checking %s: SOME_CONFIG=SOME_CONFIG...\\n' % (filename, filename))\n> assert stderr == ('[%s:5]: (error) Division by zero.\\n'\n '[%s:4]: (style) misra violation (use --rule-texts= to get proper output)\\n' % (filename, filename))\nE AssertionError: assert '[helloworld/...on by zero.\\n' == '[helloworld/...per output)\\n'\nE \nE [helloworld/main.c:5]: (error) Division by zero.\nE - [helloworld/main.c:4]: (style) misra violation (use --rule-texts= to get proper output)\n\ntests/helloworld_test.py:111: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_addon_with_gui_project": {"message": "AssertionError: cppcheck: error: failed to load project 'helloworld/test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_with_gui_project2')\n\n def test_addon_with_gui_project(tmp_path):\n shutil.copytree(os.path.join(__script_dir, 'helloworld'), tmp_path / 'helloworld')\n project_file = os.path.join('helloworld', 'test.cppcheck')\n create_gui_project_file(tmp_path / project_file, paths=['.'], addon='misra')\n args = [\n '--template=cppcheck1',\n '--enable=style',\n '--project={}'.format(project_file)\n ]\n ret, stdout, stderr = cppcheck(args, cwd=tmp_path)\n filename = os.path.join('helloworld', 'main.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:125: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_vs_project_local_path": {"message": "AssertionError: cppcheck: error: failed to load project 'helloworld.vcxproj'. Project files are not supported.\n \nassert 1 == 0", "text": "def test_vs_project_local_path():\n> __test_vs_project_local_path()\n\ntests/helloworld_test.py:166: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = None\nexp_vs_cfg = 'Debug|Win32 Debug|x64 Release|Win32 Release|x64'\n\n def __test_vs_project_local_path(extra_args=None, exp_vs_cfg='Debug|Win32 Debug|x64 Release|Win32 Release|x64'):\n args = [\n '--template=cppcheck1',\n '--project=helloworld.vcxproj'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:161: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_vs_project_local_path_select_one": {"message": "AssertionError: cppcheck: error: failed to load project 'helloworld.vcxproj'. Project files are not supported.\n \nassert 1 == 0", "text": "def test_vs_project_local_path_select_one():\n> __test_vs_project_local_path(['--project-configuration=Release|Win32'], 'Release|Win32')\n\ntests/helloworld_test.py:169: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--project-configuration=Release|Win32']\nexp_vs_cfg = 'Release|Win32'\n\n def __test_vs_project_local_path(extra_args=None, exp_vs_cfg='Debug|Win32 Debug|x64 Release|Win32 Release|x64'):\n args = [\n '--template=cppcheck1',\n '--project=helloworld.vcxproj'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:161: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_vs_project_local_path_select_one_multiple": {"message": "AssertionError: cppcheck: error: failed to load project 'helloworld.vcxproj'. Project files are not supported.\n \nassert 1 == 0", "text": "def test_vs_project_local_path_select_one_multiple():\n> __test_vs_project_local_path(['--project-configuration=Debug|Win32', '--project-configuration=Release|Win32'], 'Release|Win32')\n\ntests/helloworld_test.py:172: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--project-configuration=Debug|Win32', '--project-configuration=Release|Win32']\nexp_vs_cfg = 'Release|Win32'\n\n def __test_vs_project_local_path(extra_args=None, exp_vs_cfg='Debug|Win32 Debug|x64 Release|Win32 Release|x64'):\n args = [\n '--template=cppcheck1',\n '--project=helloworld.vcxproj'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:161: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_vs_project_local_path_no_analyze_all": {"message": "AssertionError: cppcheck: error: failed to load project 'helloworld.vcxproj'. Project files are not supported.\n \nassert 1 == 0", "text": "def test_vs_project_local_path_no_analyze_all():\n> __test_vs_project_local_path(['--no-analyze-all-vs-configs'], 'Debug|Win32')\n\ntests/helloworld_test.py:175: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--no-analyze-all-vs-configs'], exp_vs_cfg = 'Debug|Win32'\n\n def __test_vs_project_local_path(extra_args=None, exp_vs_cfg='Debug|Win32 Debug|x64 Release|Win32 Release|x64'):\n args = [\n '--template=cppcheck1',\n '--project=helloworld.vcxproj'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:161: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_vs_project_relative_path": {"message": "AssertionError: cppcheck: error: failed to load project '/workspace/eval/tests/testdata/helloworld/helloworld.vcxproj'. Project files are not supported.\n \nassert 1 == 0", "text": "def test_vs_project_relative_path():\n args = [\n '--template=cppcheck1',\n '--project=' + os.path.join(__proj_dir, 'helloworld.vcxproj')\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n filename = os.path.join(__proj_dir, 'main.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/workspace/eval/tests/testdata/helloworld/helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:184: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_vs_project_absolute_path": {"message": "AssertionError: cppcheck: error: failed to load project '/workspace/eval/tests/testdata/helloworld/helloworld.vcxproj'. Project files are not supported.\n \nassert 1 == 0", "text": "def test_vs_project_absolute_path():\n args = [\n '--template=cppcheck1',\n '--project=' + os.path.join(__proj_dir, 'helloworld.vcxproj')\n ]\n ret, stdout, stderr = cppcheck(args)\n filename = os.path.join(__proj_dir, 'main.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/workspace/eval/tests/testdata/helloworld/helloworld.vcxproj'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:195: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_cppcheck_project_local_path": {"message": "AssertionError: cppcheck: error: failed to load project 'helloworld.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "def test_cppcheck_project_local_path():\n> __test_cppcheck_project_local_path()\n\ntests/helloworld_test.py:213: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = None, exp_vs_cfg = 'Debug|x64'\n\n def __test_cppcheck_project_local_path(extra_args=None, exp_vs_cfg='Debug|x64'):\n args = [\n '--template=cppcheck1',\n '--platform=win64',\n '--project=helloworld.cppcheck'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:208: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_cppcheck_project_local_path_analyze_all": {"message": "AssertionError: cppcheck: error: failed to load project 'helloworld.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "def test_cppcheck_project_local_path_analyze_all():\n> __test_cppcheck_project_local_path(['--analyze-all-vs-configs'], 'Debug|Win32 Debug|x64 Release|Win32 Release|x64')\n\ntests/helloworld_test.py:224: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--analyze-all-vs-configs']\nexp_vs_cfg = 'Debug|Win32 Debug|x64 Release|Win32 Release|x64'\n\n def __test_cppcheck_project_local_path(extra_args=None, exp_vs_cfg='Debug|x64'):\n args = [\n '--template=cppcheck1',\n '--platform=win64',\n '--project=helloworld.cppcheck'\n ]\n if extra_args:\n args += extra_args\n ret, stdout, stderr = cppcheck(args, cwd=__proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:208: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_cppcheck_project_relative_path": {"message": "AssertionError: cppcheck: error: failed to load project 'helloworld/helloworld.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "def test_cppcheck_project_relative_path():\n args = [\n '--template=cppcheck1',\n '--platform=win64',\n '--project=' + os.path.join('helloworld', 'helloworld.cppcheck')\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n filename = os.path.join('helloworld', 'main.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld/helloworld.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:234: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_cppcheck_project_absolute_path": {"message": "AssertionError: cppcheck: error: failed to load project '/workspace/eval/tests/testdata/helloworld/helloworld.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "def test_cppcheck_project_absolute_path():\n args = [\n '--template=cppcheck1',\n '--platform=win64',\n '--project=' + os.path.join(__proj_dir, 'helloworld.cppcheck')\n ]\n ret, stdout, stderr = cppcheck(args)\n filename = os.path.join(__proj_dir, 'main.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/workspace/eval/tests/testdata/helloworld/helloworld.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:246: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_suppress_project_relative": {"message": "AssertionError: cppcheck: error: failed to load project 'helloworld/test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_project_relative2')\n\n def test_suppress_project_relative(tmp_path):\n shutil.copytree(os.path.join(__script_dir, 'helloworld'), tmp_path / 'helloworld')\n project_file = os.path.join('helloworld', 'test.cppcheck')\n create_gui_project_file(tmp_path / project_file,\n paths=['.'],\n suppressions=[{'fileName':'main.c', 'id':'zerodiv'}])\n \n args = [\n '--project={}'.format(project_file)\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=tmp_path)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'helloworld/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:280: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_suppress_project_absolute": {"message": "AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_project_absolute2/helloworld/test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_project_absolute2')\n\n def test_suppress_project_absolute(tmp_path):\n shutil.copytree(os.path.join(__script_dir, 'helloworld'), tmp_path / 'helloworld')\n project_file = tmp_path / 'helloworld' / 'test.cppcheck'\n create_gui_project_file(project_file,\n paths=['.'],\n suppressions=[{'fileName':'main.c', 'id':'zerodiv'}])\n \n args = [\n '--project={}'.format(project_file)\n ]\n \n ret, stdout, stderr = cppcheck(args)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_project_absolute2/helloworld/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/helloworld_test.py:296: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_exclude": {"message": "assert ['cppcheck: e...t supported.'] == ['cppcheck: e...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project 'helloworld/helloworld.cppcheck'. Project files are not supported.\" != 'cppcheck: error: no C or C++ source files found.'\n Right contains one more item: 'cppcheck: all paths were ignored'\n \n Full diff:\n [\n - 'cppcheck: error: no C or C++ source files found.',...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "def test_exclude():\n args = [\n '-i' + 'helloworld',\n '--platform=win64',\n '--project=' + os.path.join('helloworld', 'helloworld.cppcheck')\n ]\n ret, stdout, _ = cppcheck(args, cwd=__script_dir)\n assert ret == 1\n lines = stdout.splitlines()\n> assert lines == [\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: e...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project 'helloworld/helloworld.cppcheck'. Project files are not supported.\" != 'cppcheck: error: no C or C++ source files found.'\nE Right contains one more item: 'cppcheck: all paths were ignored'\nE \nE Full diff:\nE [\nE - 'cppcheck: error: no C or C++ source files found.',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/helloworld_test.py:308: AssertionError"}, "b9729b57ee68/tests.helloworld_test.test_checkers_report": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_checkers_report2/1.txt'", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkers_report2')\n\n def test_checkers_report(tmpdir):\n filename = os.path.join(tmpdir, '1.txt')\n args = [\n f'--checkers-report={filename}',\n '--no-cppcheck-build-dir', # TODO: remove this\n 'helloworld'\n ]\n \n cppcheck(args, cwd=__script_dir)\n \n> with open(filename, 'rt') as f:\nE FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pytest-of-root/pytest-0/test_checkers_report2/1.txt'\n\ntests/helloworld_test.py:339: FileNotFoundError"}, "b9729b57ee68/tests.inline_suppress_test.test_1": {"message": "AssertionError: assert 'proj-inline-.... [zerodiv]\\n' == ''\n \n + proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]", "text": "def test_1():\n args = [\n '-q',\n '--template=simple',\n '--inline-suppr',\n 'proj-inline-suppress'\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n> assert stderr == ''\nE AssertionError: assert 'proj-inline-.... [zerodiv]\\n' == ''\nE \nE + proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]\n\ntests/inline_suppress_test.py:39: AssertionError"}, "b9729b57ee68/tests.inline_suppress_test.test_xml": {"message": "assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "def test_xml():\n args = [\n '-q',\n '--template=simple',\n '--inline-suppr',\n '--xml-version=3',\n 'proj-inline-suppress'\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n> assert '' in stderr\nE assert '' in '\\n\\n \\n \\n \\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n\ntests/inline_suppress_test.py:68: AssertionError"}, "b9729b57ee68/tests.inline_suppress_test.test_backwards_compatibility": {"message": "AssertionError: assert ['proj-inline...o. [zerodiv]'] == []\n \n Left contains one more item: 'proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]'\n \n Full diff:\n - []\n + [\n + 'proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]',\n + ]", "text": "def test_backwards_compatibility():\n args = [\n '-q',\n '--template=simple',\n '{}3.cpp'.format(__proj_inline_suppres_path)\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == [\n '{}3.cpp:4:19: error: Division by zero. [zerodiv]'.format(__proj_inline_suppres_path)\n ]\n assert stdout == ''\n assert ret == 0, stdout\n \n args = [\n '-q',\n '--template=simple',\n '--inline-suppr',\n '{}3.cpp'.format(__proj_inline_suppres_path)\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['proj-inline...o. [zerodiv]'] == []\nE \nE Left contains one more item: 'proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]'\nE \nE Full diff:\nE - []\nE + [\nE + 'proj-inline-suppress/3.cpp:4:19: error: Division by zero. [zerodiv]',\nE + ]\n\ntests/inline_suppress_test.py:131: AssertionError"}, "b9729b57ee68/tests.inline_suppress_test.test_compile_commands_unused_function": {"message": "assert [] == ['/workspace/...sedFunction]']\n \n Right contains one more item: \"/workspace/eval/tests/testdata/proj-inline-suppress-unusedFunction/B.cpp:6:9: style: The function 'unusedFunctionTest' is never used. [unusedFunction]\"\n \n Full diff:\n + []\n - [\n - '/workspace/eval/tests/testdata/proj-inline-suppress-unusedFunction/B.cpp:6:9: '\n - \"style: The function 'unusedFunctionTest' is never used. [unusedFunction]\",\n - ]", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_compile_commands_unused_f2')\n\n def test_compile_commands_unused_function(tmpdir):\n> __test_compile_commands_unused_function(tmpdir, False)\n\ntests/inline_suppress_test.py:160: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_compile_commands_unused_f2')\nuse_j = False\n\n def __test_compile_commands_unused_function(tmpdir, use_j):\n compdb_file = __create_unused_function_compile_commands(tmpdir)\n args = [\n '-q',\n '--template=simple',\n '--enable=all',\n '--error-exitcode=1',\n '--project={}'.format(compdb_file)\n ]\n if use_j:\n args.append('-j2')\n else:\n args.append('-j1')\n ret, stdout, stderr = cppcheck(args)\n proj_path_sep = os.path.join(__script_dir, 'proj-inline-suppress-unusedFunction') + os.path.sep\n lines = stderr.splitlines()\n> assert lines == [\n \"{}B.cpp:6:9: style: The function 'unusedFunctionTest' is never used. [unusedFunction]\".format(proj_path_sep)\n ]\nE assert [] == ['/workspace/...sedFunction]']\nE \nE Right contains one more item: \"/workspace/eval/tests/testdata/proj-inline-suppress-unusedFunction/B.cpp:6:9: style: The function 'unusedFunctionTest' is never used. [unusedFunction]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/workspace/eval/tests/testdata/proj-inline-suppress-unusedFunction/B.cpp:6:9: '\nE - \"style: The function 'unusedFunctionTest' is never used. [unusedFunction]\",\nE - ]\n\ntests/inline_suppress_test.py:152: AssertionError"}, "b9729b57ee68/tests.inline_suppress_test.test_compile_commands_unused_function_j": {"message": "unconditional skip", "text": "/workspace/eval/tests/inline_suppress_test.py:163: unconditional skip"}, "b9729b57ee68/tests.inline_suppress_test.test_compile_commands_unused_function_suppression": {"message": "AssertionError: assert 'cppcheck: er... supported.\\n' == ''\n \n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_compile_commands_unused_f5/proj-inline-suppress-unusedFunction/compile_commands.json'. Project files are not supported.", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_compile_commands_unused_f5')\n\n def test_compile_commands_unused_function_suppression(tmpdir):\n> __test_compile_commands_unused_function_suppression(tmpdir, False)\n\ntests/inline_suppress_test.py:190: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_compile_commands_unused_f5')\nuse_j = False\n\n def __test_compile_commands_unused_function_suppression(tmpdir, use_j):\n compdb_file = __create_unused_function_compile_commands(tmpdir)\n args = [\n '-q',\n '--template=simple',\n '--enable=all',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compdb_file)\n ]\n if use_j:\n args.append('-j2')\n else:\n args.append('-j1')\n ret, stdout, stderr = cppcheck(args)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er... supported.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_compile_commands_unused_f5/proj-inline-suppress-unusedFunction/compile_commands.json'. Project files are not supported.\n\ntests/inline_suppress_test.py:185: AssertionError"}, "b9729b57ee68/tests.inline_suppress_test.test_compile_commands_unused_function_suppression_j": {"message": "unconditional skip", "text": "/workspace/eval/tests/inline_suppress_test.py:193: unconditional skip"}, "b9729b57ee68/tests.inline_suppress_test.test_build_dir_jobs_suppressions": {"message": "AssertionError: assert False\n + where False = ('/tmp/pytest-of-root/pytest-0/test_build_dir_jobs_suppressio2/d.a1')\n + where = .exists\n + where = os.path", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_build_dir_jobs_suppressio2')\n\n def test_build_dir_jobs_suppressions(tmpdir): #14064\n args = [\n '-q',\n '--template=simple',\n '--cppcheck-build-dir={}'.format(tmpdir),\n '--enable=style',\n '--inline-suppr',\n '-j4',\n 'reanalysis'\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n assert stdout == ''\n assert ret == 0, stdout\n \n a1Path = os.path.join(tmpdir, 'd.a1')\n> assert os.path.exists(a1Path)\nE AssertionError: assert False\nE + where False = ('/tmp/pytest-of-root/pytest-0/test_build_dir_jobs_suppressio2/d.a1')\nE + where = .exists\nE + where = os.path\n\ntests/inline_suppress_test.py:269: AssertionError"}, "b9729b57ee68/tests.inline_suppress_test.test_build_dir_unused_template": {"message": "assert 'cppcheck: er...build-dir\".\\n' == ''\n \n + cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_build_dir_unused_template2')\n\n def test_build_dir_unused_template(tmpdir):\n> __test_build_dir_unused_template(tmpdir, ['-j1', '--no-cppcheck-build-dir'])\n\ntests/inline_suppress_test.py:301: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_build_dir_unused_template2')\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_build_dir_unused_template(tmpdir, extra_args):\n args = [\n '-q',\n '--template=simple',\n '--cppcheck-build-dir={}'.format(tmpdir),\n '--enable=all',\n '--inline-suppr',\n '{}template.cpp'.format(__proj_inline_suppres_path)\n ]\n \n args = args + extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE assert 'cppcheck: er...build-dir\".\\n' == ''\nE \nE + cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\n\ntests/inline_suppress_test.py:296: AssertionError"}, "b9729b57ee68/tests.inline_suppress_test.test_duplicate": {"message": "unconditional skip", "text": "/workspace/eval/tests/inline_suppress_test.py:329: unconditional skip"}, "b9729b57ee68/tests.inline_suppress_test.test_duplicate_cmd": {"message": "unconditional skip", "text": "/workspace/eval/tests/inline_suppress_test.py:371: unconditional skip"}, "b9729b57ee68/tests.inline_suppress_test.test_duplicate_cmd_j": {"message": "unconditional skip", "text": "/workspace/eval/tests/inline_suppress_test.py:376: unconditional skip"}, "b9729b57ee68/tests.inline_suppress_test.test_duplicate_file": {"message": "unconditional skip", "text": "/workspace/eval/tests/inline_suppress_test.py:408: unconditional skip"}, "b9729b57ee68/tests.inline_suppress_test.test_duplicate_file_j": {"message": "unconditional skip", "text": "/workspace/eval/tests/inline_suppress_test.py:413: unconditional skip"}, "b9729b57ee68/tests.inline_suppress_test.test_unused_function_unmatched": {"message": "AssertionError: assert [] == ['proj-inline...Suppression]']\n \n Right contains 2 more items, first extra item: 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n \n Full diff:\n + []\n - [\n - 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_function_unmatched2')\n\n def test_unused_function_unmatched(tmpdir):\n> __test_unused_function_unmatched(tmpdir, ['-j1', '--no-cppcheck-build-dir'])\n\ntests/inline_suppress_test.py:442: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_function_unmatched2')\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_unused_function_unmatched(tmpdir, extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=all',\n '--inline-suppr',\n 'proj-inline-suppress/unusedFunctionUnmatched.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n lines.sort()\n> assert lines == [\n '{}unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'.format(__proj_inline_suppres_path),\n '{}unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: unusedFunction [unmatchedSuppression]'.format(__proj_inline_suppres_path)\n ]\nE AssertionError: assert [] == ['proj-inline...Suppression]']\nE \nE Right contains 2 more items, first extra item: 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/inline_suppress_test.py:433: AssertionError"}, "b9729b57ee68/tests.inline_suppress_test.test_unused_function_disabled_unmatched_j": {"message": "AssertionError: assert [] == ['proj-inline...Suppression]']\n \n Right contains one more item: 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n \n Full diff:\n + []\n - [\n - 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: '\n - 'Unmatched suppression: uninitvar [unmatchedSuppression]',\n - ]", "text": "def test_unused_function_disabled_unmatched_j():\n args = [\n '-q',\n '--template=simple',\n '--enable=warning,information',\n '--inline-suppr',\n '-j2',\n '--no-cppcheck-build-dir',\n 'proj-inline-suppress/unusedFunctionUnmatched.cpp'\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n> assert stderr.splitlines() == [\n '{}unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'.format(__proj_inline_suppres_path)\n ]\nE AssertionError: assert [] == ['proj-inline...Suppression]']\nE \nE Right contains one more item: 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'proj-inline-suppress/unusedFunctionUnmatched.cpp:5:0: information: '\nE - 'Unmatched suppression: uninitvar [unmatchedSuppression]',\nE - ]\n\ntests/inline_suppress_test.py:520: AssertionError"}, "b9729b57ee68/tests.inline_suppress_test.test_misra_disabled_unmatched": {"message": "AssertionError: assert ['proj-inline...Suppression]'] == ['proj-inline...Suppression]']\n \n At index 0 diff: 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: misra-c2012-20.5 [unmatchedSuppression]' != 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n Left contains one more item: 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n \n Full diff:\n [\n + 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "def test_misra_disabled_unmatched(): #14232\n args = [\n '-q',\n '--template=simple',\n '--enable=warning,information',\n '--inline-suppr',\n 'proj-inline-suppress/misraUnmatched.c'\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n> assert stderr.splitlines() == [\n '{}misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'.format(__proj_inline_suppres_path)\n ]\nE AssertionError: assert ['proj-inline...Suppression]'] == ['proj-inline...Suppression]']\nE \nE At index 0 diff: 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: misra-c2012-20.5 [unmatchedSuppression]' != 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'proj-inline-suppress/misraUnmatched.c:5:0: information: Unmatched '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/inline_suppress_test.py:538: AssertionError"}, "b9729b57ee68/tests.inline_suppress_test.test_premium_disabled_unmatched": {"message": "AssertionError: assert ['proj-inline...Suppression]'] == ['proj-inline...Suppression]']\n \n At index 0 diff: 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: premium-misra-cpp-2023-12.2.1 [unmatchedSuppression]' != 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n Left contains one more item: 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n \n Full diff:\n [\n + 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "def test_premium_disabled_unmatched(): #13663\n args = [\n '-q',\n '--template=simple',\n '--enable=warning,information',\n '--inline-suppr',\n 'proj-inline-suppress/premiumUnmatched.cpp'\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n> assert stderr.splitlines() == [\n '{}premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'.format(__proj_inline_suppres_path)\n ]\nE AssertionError: assert ['proj-inline...Suppression]'] == ['proj-inline...Suppression]']\nE \nE At index 0 diff: 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: premium-misra-cpp-2023-12.2.1 [unmatchedSuppression]' != 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'proj-inline-suppress/premiumUnmatched.cpp:5:0: information: Unmatched '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/inline_suppress_test.py:556: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_lib_lookup_notfound": {"message": "assert [\"looking for...le not found'] == [\"looking for...le not found']\n \n At index 3 diff: \"looking for library '/usr/local/share/Cppcheck/cfg/none.cfg'\" != \"library not found: 'none'\"\n Left contains one more item: \"cppcheck: Failed to load library configuration file 'none'. File not found\"\n \n Full diff:\n [\n \"looking for library 'none.cfg'\",...\n \n ...Full output truncated (7 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_notfound2')\n\n def test_lib_lookup_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=library', '--library=none', test_file])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout\n lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n> assert lines == [\n # TODO: specify which folder is actually used for lookup here\n \"looking for library 'none.cfg'\",\n \"looking for library '{}/none.cfg'\".format(exepath),\n \"looking for library '{}/cfg/none.cfg'\".format(exepath),\n \"library not found: 'none'\",\n \"cppcheck: Failed to load library configuration file 'none'. File not found\"\n ]\nE assert [\"looking for...le not found'] == [\"looking for...le not found']\nE \nE At index 3 diff: \"looking for library '/usr/local/share/Cppcheck/cfg/none.cfg'\" != \"library not found: 'none'\"\nE Left contains one more item: \"cppcheck: Failed to load library configuration file 'none'. File not found\"\nE \nE Full diff:\nE [\nE \"looking for library 'none.cfg'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:107: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_lib_lookup_notfound_project": {"message": "ValueError: list.remove(x): x not in list", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_notfound_proje2')\n\n def test_lib_lookup_notfound_project(tmpdir): # #13938\n project_file, _ = __create_gui_project(tmpdir)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=library', '--library=none', '--project={}'.format(project_file)])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout\n> lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n\ntests/lookup_test.py:125: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nl = [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_lib_lookup_notfound_proje2/project.cppcheck'. Project files are not supported.\"]\nexepath = '/workspace'\n\n def __remove_std_lookup_log(l : list, exepath):\n> l.remove(\"looking for library 'std.cfg'\")\nE ValueError: list.remove(x): x not in list\n\ntests/lookup_test.py:10: ValueError"}, "b9729b57ee68/tests.lookup_test.test_lib_lookup_notfound_compdb": {"message": "ValueError: list.remove(x): x not in list", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_notfound_compd2')\n\n def test_lib_lookup_notfound_compdb(tmpdir):\n compdb_file, _ = __create_compdb(tmpdir)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=library', '--library=none', '--project={}'.format(compdb_file)])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout\n> lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n\ntests/lookup_test.py:145: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nl = [\"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_lib_lookup_notfound_compd2/compile_commands.json'. Project files are not supported.\"]\nexepath = '/workspace'\n\n def __remove_std_lookup_log(l : list, exepath):\n> l.remove(\"looking for library 'std.cfg'\")\nE ValueError: list.remove(x): x not in list\n\ntests/lookup_test.py:10: ValueError"}, "b9729b57ee68/tests.lookup_test.test_lib_lookup_ext_notfound": {"message": "assert [\"looking for...le not found'] == [\"looking for...le not found']\n \n At index 3 diff: \"looking for library '/usr/local/share/Cppcheck/cfg/none.cfg'\" != \"library not found: 'none.cfg'\"\n Left contains one more item: \"cppcheck: Failed to load library configuration file 'none.cfg'. File not found\"\n \n Full diff:\n [\n \"looking for library 'none.cfg'\",...\n \n ...Full output truncated (7 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_ext_notfound2')\n\n def test_lib_lookup_ext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=library', '--library=none.cfg', test_file])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n> assert lines == [\n \"looking for library 'none.cfg'\",\n \"looking for library '{}/none.cfg'\".format(exepath),\n \"looking for library '{}/cfg/none.cfg'\".format(exepath),\n \"library not found: 'none.cfg'\",\n \"cppcheck: Failed to load library configuration file 'none.cfg'. File not found\"\n ]\nE assert [\"looking for...le not found'] == [\"looking for...le not found']\nE \nE At index 3 diff: \"looking for library '/usr/local/share/Cppcheck/cfg/none.cfg'\" != \"library not found: 'none.cfg'\"\nE Left contains one more item: \"cppcheck: Failed to load library configuration file 'none.cfg'. File not found\"\nE \nE Full diff:\nE [\nE \"looking for library 'none.cfg'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:167: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_lib_lookup_relative_notfound": {"message": "assert [\"looking for...le not found'] == [\"looking for...le not found']\n \n At index 3 diff: \"looking for library '/usr/local/share/Cppcheck/cfg/config/gnu.xml'\" != \"library not found: 'config/gnu.xml'\"\n Left contains one more item: \"cppcheck: Failed to load library configuration file 'config/gnu.xml'. File not found\"\n \n Full diff:\n [\n \"looking for library 'config/gnu.xml'\",...\n \n ...Full output truncated (7 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_relative_notfo2')\n\n def test_lib_lookup_relative_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=library', '--library=config/gnu.xml', test_file])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n> assert lines == [\n \"looking for library 'config/gnu.xml'\",\n \"looking for library '{}/config/gnu.xml'\".format(exepath),\n \"looking for library '{}/cfg/config/gnu.xml'\".format(exepath),\n \"library not found: 'config/gnu.xml'\",\n \"cppcheck: Failed to load library configuration file 'config/gnu.xml'. File not found\"\n ]\nE assert [\"looking for...le not found'] == [\"looking for...le not found']\nE \nE At index 3 diff: \"looking for library '/usr/local/share/Cppcheck/cfg/config/gnu.xml'\" != \"library not found: 'config/gnu.xml'\"\nE Left contains one more item: \"cppcheck: Failed to load library configuration file 'config/gnu.xml'. File not found\"\nE \nE Full diff:\nE [\nE \"looking for library 'config/gnu.xml'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:187: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_lib_lookup_relative_noext_notfound": {"message": "assert [\"looking for...le not found'] == [\"looking for...le not found']\n \n At index 3 diff: \"looking for library '/usr/local/share/Cppcheck/cfg/config/gnu.cfg'\" != \"library not found: 'config/gnu'\"\n Left contains one more item: \"cppcheck: Failed to load library configuration file 'config/gnu'. File not found\"\n \n Full diff:\n [\n \"looking for library 'config/gnu.cfg'\",...\n \n ...Full output truncated (7 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_relative_noext2')\n\n def test_lib_lookup_relative_noext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=library', '--library=config/gnu', test_file])\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n> assert lines == [\n \"looking for library 'config/gnu.cfg'\",\n \"looking for library '{}/config/gnu.cfg'\".format(exepath),\n \"looking for library '{}/cfg/config/gnu.cfg'\".format(exepath),\n \"library not found: 'config/gnu'\",\n \"cppcheck: Failed to load library configuration file 'config/gnu'. File not found\"\n ]\nE assert [\"looking for...le not found'] == [\"looking for...le not found']\nE \nE At index 3 diff: \"looking for library '/usr/local/share/Cppcheck/cfg/config/gnu.cfg'\" != \"library not found: 'config/gnu'\"\nE Left contains one more item: \"cppcheck: Failed to load library configuration file 'config/gnu'. File not found\"\nE \nE Full diff:\nE [\nE \"looking for library 'config/gnu.cfg'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:207: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_lib_lookup_invalid": {"message": "assert [\"looking for...nu'. Bad XML\"] == [\"looking for...nu'. Bad XML\"]\n \n At index 1 diff: 'Error=XML_ERROR_PARSING_TEXT ErrorID=8 (0x8) Line number=1' != \"library not found: 'gnu'\"\n Right contains one more item: \"cppcheck: Failed to load library configuration file 'gnu'. Bad XML\"\n \n Full diff:\n [\n \"looking for library 'gnu.cfg'\",...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_lib_lookup_invalid2')\n\n def test_lib_lookup_invalid(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n gnu_cfg_file = os.path.join(tmpdir, 'gnu.cfg')\n with open(gnu_cfg_file, 'wt') as f:\n f.write('''{}''')\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=library', '--library=gnu', test_file], cwd=tmpdir)\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = __remove_std_lookup_log(stdout.splitlines(), exepath)\n> assert lines == [\n \"looking for library 'gnu.cfg'\",\n \"library not found: 'gnu'\",\n \"Error=XML_ERROR_PARSING_TEXT ErrorID=8 (0x8) Line number=1\", # TODO: log the failure before saying the library was not found\n \"cppcheck: Failed to load library configuration file 'gnu'. Bad XML\"\n ]\nE assert [\"looking for...nu'. Bad XML\"] == [\"looking for...nu'. Bad XML\"]\nE \nE At index 1 diff: 'Error=XML_ERROR_PARSING_TEXT ErrorID=8 (0x8) Line number=1' != \"library not found: 'gnu'\"\nE Right contains one more item: \"cppcheck: Failed to load library configuration file 'gnu'. Bad XML\"\nE \nE Full diff:\nE [\nE \"looking for library 'gnu.cfg'\",...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:300: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_platform_lookup": {"message": "unconditional skip", "text": "/workspace/eval/tests/lookup_test.py:344: unconditional skip"}, "b9729b57ee68/tests.lookup_test.test_platform_lookup_ext": {"message": "unconditional skip", "text": "/workspace/eval/tests/lookup_test.py:364: unconditional skip"}, "b9729b57ee68/tests.lookup_test.test_platform_lookup_path": {"message": "FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_path2')\n\n def test_platform_lookup_path(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n cppcheck = 'cppcheck' # No path\n path = os.path.dirname(__lookup_cppcheck_exe())\n env = os.environ.copy()\n env['PATH'] = path\n> exitcode, stdout, stderr, _ = cppcheck_ex(args=['--debug-lookup=platform', '--platform=avr8.xml', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n\ntests/lookup_test.py:393: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/testutils.py:134: in cppcheck_ex\n return_code, stdout, stderr = __run_subprocess([exe] + args, env=env, cwd=cwd, timeout=timeout)\ntests/testutils.py:84: in __run_subprocess\n p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env, cwd=cwd)\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \nargs = ['cppcheck', '--debug-lookup=platform', '--platform=avr8.xml', '/tmp/pytest-of-root/pytest-0/test_platform_lookup_path2/test.c']\nexecutable = b'cppcheck', preexec_fn = None, close_fds = True, pass_fds = ()\ncwd = '/tmp/pytest-of-root/pytest-0/test_platform_lookup_path2'\nenv = {'CARGO_HOME': '/usr/local/cargo', 'DEBIAN_FRONTEND': 'noninteractive', 'GOMODCACHE': '/usr/local/go/mod-cache', 'HOME': '/root', ...}\nstartupinfo = None, creationflags = 0, shell = False, p2cread = -1\np2cwrite = -1, c2pread = 13, c2pwrite = 14, errread = 15, errwrite = 16\nrestore_signals = True, gid = None, gids = None, uid = None, umask = -1\nstart_new_session = False\n\n def _execute_child(self, args, executable, preexec_fn, close_fds,\n pass_fds, cwd, env,\n startupinfo, creationflags, shell,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite,\n restore_signals,\n gid, gids, uid, umask,\n start_new_session):\n \"\"\"Execute program (POSIX version)\"\"\"\n \n if isinstance(args, (str, bytes)):\n args = [args]\n elif isinstance(args, os.PathLike):\n if shell:\n raise TypeError('path-like args is not allowed when '\n 'shell is true')\n args = [args]\n else:\n args = list(args)\n \n if shell:\n # On Android the default shell is at '/system/bin/sh'.\n unix_shell = ('/system/bin/sh' if\n hasattr(sys, 'getandroidapilevel') else '/bin/sh')\n args = [unix_shell, \"-c\"] + args\n if executable:\n args[0] = executable\n \n if executable is None:\n executable = args[0]\n \n sys.audit(\"subprocess.Popen\", executable, args, cwd, env)\n \n if (_USE_POSIX_SPAWN\n and os.path.dirname(executable)\n and preexec_fn is None\n and not close_fds\n and not pass_fds\n and cwd is None\n and (p2cread == -1 or p2cread > 2)\n and (c2pwrite == -1 or c2pwrite > 2)\n and (errwrite == -1 or errwrite > 2)\n and not start_new_session\n and gid is None\n and gids is None\n and uid is None\n and umask < 0):\n self._posix_spawn(args, executable, env, restore_signals,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n return\n \n orig_executable = executable\n \n # For transferring possible exec failure from child to parent.\n # Data format: \"exception name:hex errno:description\"\n # Pickle is not used; it is complex and involves memory allocation.\n errpipe_read, errpipe_write = os.pipe()\n # errpipe_write must not be in the standard io 0, 1, or 2 fd range.\n low_fds_to_close = []\n while errpipe_write < 3:\n low_fds_to_close.append(errpipe_write)\n errpipe_write = os.dup(errpipe_write)\n for low_fd in low_fds_to_close:\n os.close(low_fd)\n try:\n try:\n # We must avoid complex work that could involve\n # malloc or free in the child process to avoid\n # potential deadlocks, thus we do all this here.\n # and pass it to fork_exec()\n \n if env is not None:\n env_list = []\n for k, v in env.items():\n k = os.fsencode(k)\n if b'=' in k:\n raise ValueError(\"illegal environment variable name\")\n env_list.append(k + b'=' + os.fsencode(v))\n else:\n env_list = None # Use execv instead of execve.\n executable = os.fsencode(executable)\n if os.path.dirname(executable):\n executable_list = (executable,)\n else:\n # This matches the behavior of os._execvpe().\n executable_list = tuple(\n os.path.join(os.fsencode(dir), executable)\n for dir in os.get_exec_path(env))\n fds_to_keep = set(pass_fds)\n fds_to_keep.add(errpipe_write)\n self.pid = _posixsubprocess.fork_exec(\n args, executable_list,\n close_fds, tuple(sorted(map(int, fds_to_keep))),\n cwd, env_list,\n p2cread, p2cwrite, c2pread, c2pwrite,\n errread, errwrite,\n errpipe_read, errpipe_write,\n restore_signals, start_new_session,\n gid, gids, uid, umask,\n preexec_fn)\n self._child_created = True\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_write)\n \n self._close_pipe_fds(p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n \n # Wait for exec to fail or succeed; possibly raising an\n # exception (limited in size)\n errpipe_data = bytearray()\n while True:\n part = os.read(errpipe_read, 50000)\n errpipe_data += part\n if not part or len(errpipe_data) > 50000:\n break\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_read)\n \n if errpipe_data:\n try:\n pid, sts = os.waitpid(self.pid, 0)\n if pid == self.pid:\n self._handle_exitstatus(sts)\n else:\n self.returncode = sys.maxsize\n except ChildProcessError:\n pass\n \n try:\n exception_name, hex_errno, err_msg = (\n errpipe_data.split(b':', 2))\n # The encoding here should match the encoding\n # written in by the subprocess implementations\n # like _posixsubprocess\n err_msg = err_msg.decode()\n except ValueError:\n exception_name = b'SubprocessError'\n hex_errno = b'0'\n err_msg = 'Bad exception data from child: {!r}'.format(\n bytes(errpipe_data))\n child_exception_type = getattr(\n builtins, exception_name.decode('ascii'),\n SubprocessError)\n if issubclass(child_exception_type, OSError) and hex_errno:\n errno_num = int(hex_errno, 16)\n child_exec_never_called = (err_msg == \"noexec\")\n if child_exec_never_called:\n err_msg = \"\"\n # The error must be from chdir(cwd).\n err_filename = cwd\n else:\n err_filename = orig_executable\n if errno_num != 0:\n err_msg = os.strerror(errno_num)\n> raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'\n\n/usr/lib/python3.10/subprocess.py:1863: FileNotFoundError"}, "b9729b57ee68/tests.lookup_test.test_platform_lookup_notfound": {"message": "assert [\"looking for...one.xml', ...] == [\"looking for...orm: 'none'.\"]\n \n At index 5 diff: \"try to load platform file '/usr/local/share/Cppcheck/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/none.xml\" != \"cppcheck: error: unrecognized platform: 'none'.\"\n Left contains one more item: \"cppcheck: error: unrecognized platform: 'none'.\"\n \n Full diff:\n [\n \"looking for platform 'none'\",...\n \n ...Full output truncated (17 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_notfound2')\n\n def test_platform_lookup_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=none', test_file])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'none'\",\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'none'.\"\n ]\nE assert [\"looking for...one.xml', ...] == [\"looking for...orm: 'none'.\"]\nE \nE At index 5 diff: \"try to load platform file '/usr/local/share/Cppcheck/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/none.xml\" != \"cppcheck: error: unrecognized platform: 'none'.\"\nE Left contains one more item: \"cppcheck: error: unrecognized platform: 'none'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'none'\",...\nE \nE ...Full output truncated (17 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:427: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_platform_lookup_notfound_project": {"message": "assert [\"looking for...one.xml', ...] == [\"looking for...one.xml', ...]\n \n At index 1 diff: \"try to load platform file '/workspace/eval/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/none.xml\" != \"try to load platform file '/tmp/pytest-of-root/pytest-0/test_platform_lookup_notfound_2/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/test_platform_lookup_notfound_2/none.xml\"\n Right contains one more item: \"cppcheck: error: unrecognized platform: 'none'.\"\n \n Full diff:\n [\n \"looking for platform 'none'\",...\n \n ...Full output truncated (25 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_notfound_2')\n\n def test_platform_lookup_notfound_project(tmpdir): # #13939\n project_file, _ = __create_gui_project(tmpdir)\n project_path = os.path.dirname(project_file)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=none', '--project={}'.format(project_file)])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n project_path = project_path.replace('\\\\', '/')\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'none'\",\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(project_path, project_path),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(project_path, project_path),\n # TODO: the following lookups are in CWD - is this intended?\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'none'.\"\n ]\nE assert [\"looking for...one.xml', ...] == [\"looking for...one.xml', ...]\nE \nE At index 1 diff: \"try to load platform file '/workspace/eval/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/none.xml\" != \"try to load platform file '/tmp/pytest-of-root/pytest-0/test_platform_lookup_notfound_2/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/test_platform_lookup_notfound_2/none.xml\"\nE Right contains one more item: \"cppcheck: error: unrecognized platform: 'none'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'none'\",...\nE \nE ...Full output truncated (25 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:452: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_platform_lookup_notfound_compdb": {"message": "assert [\"looking for...one.xml', ...] == [\"looking for...orm: 'none'.\"]\n \n At index 5 diff: \"try to load platform file '/usr/local/share/Cppcheck/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/none.xml\" != \"cppcheck: error: unrecognized platform: 'none'.\"\n Left contains one more item: \"cppcheck: error: unrecognized platform: 'none'.\"\n \n Full diff:\n [\n \"looking for platform 'none'\",...\n \n ...Full output truncated (17 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_notfound_5')\n\n def test_platform_lookup_notfound_compdb(tmpdir):\n compdb_file, _ = __create_compdb(tmpdir)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=none', '--project={}'.format(compdb_file)])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'none'\",\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'none'.\"\n ]\nE assert [\"looking for...one.xml', ...] == [\"looking for...orm: 'none'.\"]\nE \nE At index 5 diff: \"try to load platform file '/usr/local/share/Cppcheck/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/none.xml\" != \"cppcheck: error: unrecognized platform: 'none'.\"\nE Left contains one more item: \"cppcheck: error: unrecognized platform: 'none'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'none'\",...\nE \nE ...Full output truncated (17 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:476: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_platform_lookup_ext_notfound": {"message": "assert [\"looking for...xml.xml', ...] == [\"looking for... 'none.xml'.\"]\n \n At index 1 diff: \"try to load platform file '/workspace/eval/none.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/none.xml.xml\" != \"try to load platform file '/workspace/eval/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/none.xml\"\n Left contains one more item: \"cppcheck: error: unrecognized platform: 'none.xml'.\"\n \n Full diff:\n [\n \"looking for platform 'none.xml'\",...\n \n ...Full output truncated (34 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_ext_notfo2')\n\n def test_platform_lookup_ext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=none.xml', test_file])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'none.xml'\",\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'none.xml'.\"\n ]\nE assert [\"looking for...xml.xml', ...] == [\"looking for... 'none.xml'.\"]\nE \nE At index 1 diff: \"try to load platform file '/workspace/eval/none.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/none.xml.xml\" != \"try to load platform file '/workspace/eval/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/none.xml\"\nE Left contains one more item: \"cppcheck: error: unrecognized platform: 'none.xml'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'none.xml'\",...\nE \nE ...Full output truncated (34 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:499: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_platform_lookup_relative_notfound": {"message": "assert [\"looking for...xml.xml', ...] == [\"looking for...m/none.xml'.\"]\n \n At index 1 diff: \"try to load platform file '/workspace/eval/platform/none.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platform/none.xml.xml\" != \"try to load platform file '/workspace/eval/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platform/none.xml\"\n Left contains one more item: \"cppcheck: error: unrecognized platform: 'platform/none.xml'.\"\n \n Full diff:\n [\n \"looking for platform 'platform/none.xml'\",...\n \n ...Full output truncated (36 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_relative_2')\n\n def test_platform_lookup_relative_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=platform/none.xml', test_file])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'platform/none.xml'\",\n \"try to load platform file '{}/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platform/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/platform/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platform/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/platform/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'platform/none.xml'.\"\n ]\nE assert [\"looking for...xml.xml', ...] == [\"looking for...m/none.xml'.\"]\nE \nE At index 1 diff: \"try to load platform file '/workspace/eval/platform/none.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platform/none.xml.xml\" != \"try to load platform file '/workspace/eval/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platform/none.xml\"\nE Left contains one more item: \"cppcheck: error: unrecognized platform: 'platform/none.xml'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'platform/none.xml'\",...\nE \nE ...Full output truncated (36 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:522: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_platform_lookup_relative_noext_notfound": {"message": "assert [\"looking for...one.xml', ...] == [\"looking for...tform/none'.\"]\n \n At index 5 diff: \"try to load platform file '/usr/local/share/Cppcheck/platforms/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/platform/none.xml\" != \"cppcheck: error: unrecognized platform: 'platform/none'.\"\n Left contains one more item: \"cppcheck: error: unrecognized platform: 'platform/none'.\"\n \n Full diff:\n [\n \"looking for platform 'platform/none'\",...\n \n ...Full output truncated (18 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_relative_5')\n\n def test_platform_lookup_relative_noext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=platform', '--platform=platform/none', test_file])\n cwd = os.getcwd()\n exepath = os.path.dirname(exe)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n exepath = exepath.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'platform/none'\",\n \"try to load platform file '{}/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platform/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platforms/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/platform/none.xml\".format(cwd, cwd),\n \"try to load platform file '{}/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platform/none.xml\".format(exepath, exepath),\n \"try to load platform file '{}/platforms/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}/platforms/platform/none.xml\".format(exepath, exepath),\n \"cppcheck: error: unrecognized platform: 'platform/none'.\"\n ]\nE assert [\"looking for...one.xml', ...] == [\"looking for...tform/none'.\"]\nE \nE At index 5 diff: \"try to load platform file '/usr/local/share/Cppcheck/platforms/platform/none.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms/platform/none.xml\" != \"cppcheck: error: unrecognized platform: 'platform/none'.\"\nE Left contains one more item: \"cppcheck: error: unrecognized platform: 'platform/none'.\"\nE \nE Full diff:\nE [\nE \"looking for platform 'platform/none'\",...\nE \nE ...Full output truncated (18 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:545: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_platform_lookup_absolute": {"message": "AssertionError: looking for platform '/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml'\n try to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\n try to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\n try to load platform file '/workspace//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\n try to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\n try to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\n cppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml'.\n \nassert 1 == 0", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2')\n\n def test_platform_lookup_absolute(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n platform_file = os.path.join(tmpdir, 'test.xml')\n with open(platform_file, 'wt') as f:\n f.write('''\n \n ''')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=platform', '--platform={}'.format(platform_file), test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: looking for platform '/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml'\nE try to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/workspace/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\nE try to load platform file '/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/usr/local/share/Cppcheck/platforms//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml.xml\nE cppcheck: error: unrecognized platform: '/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute2/test.xml'.\nE \nE assert 1 == 0\n\ntests/lookup_test.py:567: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_platform_lookup_absolute_notfound": {"message": "assert [\"looking for...xml.xml', ...] == [\"looking for...2/test.xml'.\"]\n \n At index 1 diff: \"try to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2/test.xml.xml\" != \"try to load platform file '/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2/test.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2/test.xml\"\n Left contains 4 more items,...\n \n ...Full output truncated (33 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2')\n\n def test_platform_lookup_absolute_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n platform_file = os.path.join(tmpdir, 'test.xml')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=platform', '--platform={}'.format(platform_file), test_file])\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform '{}'\".format(platform_file),\n \"try to load platform file '{}' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename={}\".format(platform_file, platform_file),\n \"cppcheck: error: unrecognized platform: '{}'.\".format(platform_file)\n ]\nE assert [\"looking for...xml.xml', ...] == [\"looking for...2/test.xml'.\"]\nE \nE At index 1 diff: \"try to load platform file '/workspace/eval//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2/test.xml.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/workspace/eval//tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2/test.xml.xml\" != \"try to load platform file '/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2/test.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/test_platform_lookup_absolute_2/test.xml\"\nE Left contains 4 more items,...\nE \nE ...Full output truncated (33 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:586: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_platform_lookup_nofile": {"message": "unconditional skip", "text": "/workspace/eval/tests/lookup_test.py:593: unconditional skip"}, "b9729b57ee68/tests.lookup_test.test_platform_lookup_invalid": {"message": "assert [\"looking for...vr8.xml', ...] == [\"looking for...orm: 'avr8'.\"]\n \n At index 1 diff: \"try to load platform file '/tmp/pytest-of-root/pytest-0/test_platform_lookup_invalid2/avr8.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/test_platform_lookup_invalid2/avr8.xml\" != \"try to load platform file '/tmp/pytest-of-root/pytest-0/test_platform_lookup_invalid2/avr8.xml' ... Error=XML_ERROR_PARSING_TEXT ErrorID=8 (0x8) Line number=1\"\n Left contains 4 more items, first extra item: \"try to load platform file '/workspace/avr8.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line numb...\n \n ...Full output truncated (27 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_platform_lookup_invalid2')\n\n def test_platform_lookup_invalid(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n avr8_file = os.path.join(tmpdir, 'avr8.xml')\n with open(avr8_file, 'wt') as f:\n f.write('''{}''')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=platform', '--platform=avr8', test_file], cwd=tmpdir)\n cwd = str(tmpdir)\n if sys.platform == 'win32':\n cwd = cwd.replace('\\\\', '/')\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for platform 'avr8'\",\n \"try to load platform file '{}/avr8.xml' ... Error=XML_ERROR_PARSING_TEXT ErrorID=8 (0x8) Line number=1\".format(cwd),\n \"cppcheck: error: unrecognized platform: 'avr8'.\"\n ]\nE assert [\"looking for...vr8.xml', ...] == [\"looking for...orm: 'avr8'.\"]\nE \nE At index 1 diff: \"try to load platform file '/tmp/pytest-of-root/pytest-0/test_platform_lookup_invalid2/avr8.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line number=0: filename=/tmp/pytest-of-root/pytest-0/test_platform_lookup_invalid2/avr8.xml\" != \"try to load platform file '/tmp/pytest-of-root/pytest-0/test_platform_lookup_invalid2/avr8.xml' ... Error=XML_ERROR_PARSING_TEXT ErrorID=8 (0x8) Line number=1\"\nE Left contains 4 more items, first extra item: \"try to load platform file '/workspace/avr8.xml' ... Error=XML_ERROR_FILE_NOT_FOUND ErrorID=3 (0x3) Line numb...\nE \nE ...Full output truncated (27 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:632: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_addon_lookup": {"message": "assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\n \n At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/misra.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup2/test.c ...'\n Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/misra.py'\"\n \n Full diff:\n [\n \"looking for addon 'misra.py'\",...\n \n ...Full output truncated (6 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup2')\n\n def test_addon_lookup(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=misra', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'misra.py'\",\n \"looking for addon '{}misra.py'\".format(exepath_sep),\n \"looking for addon '{}addons/misra.py'\".format(exepath_sep), # TODO: mixed separators\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/misra.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup2/test.c ...'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'misra.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:649: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_addon_lookup_ext": {"message": "assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\n \n At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/misra.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup_ext2/test.c ...'\n Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/misra.py'\"\n \n Full diff:\n [\n \"looking for addon 'misra.py'\",...\n \n ...Full output truncated (6 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_ext2')\n\n def test_addon_lookup_ext(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=misra.py', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'misra.py'\",\n \"looking for addon '{}misra.py'\".format(exepath_sep),\n \"looking for addon '{}addons/misra.py'\".format(exepath_sep), # TODO: mixed separators\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/misra.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup_ext2/test.c ...'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'misra.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:667: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_addon_lookup_notfound": {"message": "assert [\"looking for...ddon none.py'] == [\"looking for...ddon none.py']\n \n At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/none.py'\" != 'Did not find addon none.py'\n Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/none.py'\"\n \n Full diff:\n [\n \"looking for addon 'none.py'\",...\n \n ...Full output truncated (6 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_notfound2')\n\n def test_addon_lookup_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=none', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'none.py'\",\n \"looking for addon '{}none.py'\".format(exepath_sep),\n \"looking for addon '{}addons/none.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon none.py'\n ]\nE assert [\"looking for...ddon none.py'] == [\"looking for...ddon none.py']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/none.py'\" != 'Did not find addon none.py'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/none.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'none.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:685: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_addon_lookup_notfound_project": {"message": "assert ['cppcheck: e...t supported.'] == [\"looking for...ddon none.py']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_addon_lookup_notfound_pro2/project.cppcheck'. Project files are not supported.\" != \"looking for addon 'none.py'\"\n Right contains 3 more items, first extra item: \"looking for addon '/workspace/none.py'\"\n \n Full diff:\n [\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (7 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_notfound_pro2')\n\n def test_addon_lookup_notfound_project(tmpdir): # #13940 / #13941\n project_file, _ = __create_gui_project(tmpdir)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=none', '--project={}'.format(project_file)])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n # TODO: needs to look relative to the project file first\n \"looking for addon 'none.py'\",\n \"looking for addon '{}none.py'\".format(exepath_sep),\n \"looking for addon '{}addons/none.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon none.py'\n ]\nE assert ['cppcheck: e...t supported.'] == [\"looking for...ddon none.py']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_addon_lookup_notfound_pro2/project.cppcheck'. Project files are not supported.\" != \"looking for addon 'none.py'\"\nE Right contains 3 more items, first extra item: \"looking for addon '/workspace/none.py'\"\nE \nE Full diff:\nE [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:701: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_addon_lookup_notfound_compdb": {"message": "assert ['cppcheck: e...t supported.'] == [\"looking for...ddon none.py']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_addon_lookup_notfound_com2/compile_commands.json'. Project files are not supported.\" != \"looking for addon 'none.py'\"\n Right contains 3 more items, first extra item: \"looking for addon '/workspace/none.py'\"\n \n Full diff:\n [\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (7 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_notfound_com2')\n\n def test_addon_lookup_notfound_compdb(tmpdir):\n compdb_file, _ = __create_compdb(tmpdir)\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=none', '--project={}'.format(compdb_file)])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'none.py'\",\n \"looking for addon '{}none.py'\".format(exepath_sep),\n \"looking for addon '{}addons/none.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon none.py'\n ]\nE assert ['cppcheck: e...t supported.'] == [\"looking for...ddon none.py']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_addon_lookup_notfound_com2/compile_commands.json'. Project files are not supported.\" != \"looking for addon 'none.py'\"\nE Right contains 3 more items, first extra item: \"looking for addon '/workspace/none.py'\"\nE \nE Full diff:\nE [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:718: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_addon_lookup_ext_notfound": {"message": "assert [\"looking for...ddon none.py'] == [\"looking for...ddon none.py']\n \n At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/none.py'\" != 'Did not find addon none.py'\n Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/none.py'\"\n \n Full diff:\n [\n \"looking for addon 'none.py'\",...\n \n ...Full output truncated (6 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_ext_notfound2')\n\n def test_addon_lookup_ext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=none.py', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'none.py'\",\n \"looking for addon '{}none.py'\".format(exepath_sep),\n \"looking for addon '{}addons/none.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon none.py'\n ]\nE assert [\"looking for...ddon none.py'] == [\"looking for...ddon none.py']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/none.py'\" != 'Did not find addon none.py'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/none.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'none.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:736: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_addon_lookup_relative_notfound": {"message": "assert [\"looking for...don/misra.py'] == [\"looking for...don/misra.py']\n \n At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/addon/misra.py'\" != 'Did not find addon addon/misra.py'\n Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/addon/misra.py'\"\n \n Full diff:\n [\n \"looking for addon 'addon/misra.py'\",...\n \n ...Full output truncated (6 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_relative_not2')\n\n def test_addon_lookup_relative_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=addon/misra.py', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'addon/misra.py'\",\n \"looking for addon '{}addon/misra.py'\".format(exepath_sep),\n \"looking for addon '{}addons/addon/misra.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon addon/misra.py'\n ]\nE assert [\"looking for...don/misra.py'] == [\"looking for...don/misra.py']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/addon/misra.py'\" != 'Did not find addon addon/misra.py'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/addon/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'addon/misra.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:754: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_addon_lookup_relative_noext_notfound": {"message": "assert [\"looking for...don/misra.py'] == [\"looking for...don/misra.py']\n \n At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/addon/misra.py'\" != 'Did not find addon addon/misra.py'\n Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/addon/misra.py'\"\n \n Full diff:\n [\n \"looking for addon 'addon/misra.py'\",...\n \n ...Full output truncated (6 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_relative_noe2')\n\n def test_addon_lookup_relative_noext_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, _, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=addon/misra', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 1, stdout\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'addon/misra.py'\",\n \"looking for addon '{}addon/misra.py'\".format(exepath_sep),\n \"looking for addon '{}addons/addon/misra.py'\".format(exepath_sep), # TODO: mixed separators\n 'Did not find addon addon/misra.py'\n ]\nE assert [\"looking for...don/misra.py'] == [\"looking for...don/misra.py']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/addon/misra.py'\" != 'Did not find addon addon/misra.py'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/addon/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'addon/misra.py'\",...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:772: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_addon_lookup_absolute": {"message": "assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\n \n At index 1 diff: \"looking for addon '/workspace//tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute2/test.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute2/test.c ...'\n Left contains 4 more items, first extra item: \"looking for addon '/workspace/addons//tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute2/test.py'\"\n \n Full diff:\n [\n 'looking for addon '...\n \n ...Full output truncated (12 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute2')\n\n def test_addon_lookup_absolute(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n addon_file = os.path.join(tmpdir, 'test.py')\n with open(addon_file, 'wt') as f:\n f.write('''''')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=addon', '--addon={}'.format(addon_file), test_file])\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon '{}'\".format(addon_file),\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 1 diff: \"looking for addon '/workspace//tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute2/test.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute2/test.c ...'\nE Left contains 4 more items, first extra item: \"looking for addon '/workspace/addons//tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute2/test.py'\"\nE \nE Full diff:\nE [\nE 'looking for addon '...\nE \nE ...Full output truncated (12 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:792: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_addon_lookup_absolute_notfound": {"message": "assert [\"looking for...not2/test.py'] == [\"looking for...not2/test.py']\n \n At index 1 diff: \"looking for addon '/workspace//tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute_not2/test.py'\" != 'Did not find addon /tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute_not2/test.py'\n Left contains 4 more items, first extra item: \"looking for addon '/workspace/addons//tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute_not2/test.py'\"\n \n Full diff:\n [\n 'looking for addon '...\n \n ...Full output truncated (12 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute_not2')\n\n def test_addon_lookup_absolute_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n addon_file = os.path.join(tmpdir, 'test.py')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=addon', '--addon={}'.format(addon_file), test_file])\n assert exitcode == 1, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon '{}'\".format(addon_file),\n 'Did not find addon {}'.format(addon_file)\n ]\nE assert [\"looking for...not2/test.py'] == [\"looking for...not2/test.py']\nE \nE At index 1 diff: \"looking for addon '/workspace//tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute_not2/test.py'\" != 'Did not find addon /tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute_not2/test.py'\nE Left contains 4 more items, first extra item: \"looking for addon '/workspace/addons//tmp/pytest-of-root/pytest-0/test_addon_lookup_absolute_not2/test.py'\"\nE \nE Full diff:\nE [\nE 'looking for addon '...\nE \nE ...Full output truncated (12 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:808: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_addon_lookup_nofile": {"message": "assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\n \n At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/misra.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup_nofile2/test.c ...'\n Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/misra.py'\"\n \n Full diff:\n [\n \"looking for addon 'misra.py'\",...\n \n ...Full output truncated (7 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_nofile2')\n\n def test_addon_lookup_nofile(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n # make sure we do not produce an error when the attempted lookup path is a directory and not a file\n misra_dir = os.path.join(tmpdir, 'misra')\n os.mkdir(misra_dir)\n misra_cfg_dir = os.path.join(tmpdir, 'misra.py')\n os.mkdir(misra_cfg_dir)\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=addon', '--addon=misra', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'misra.py'\",\n \"looking for addon '{}misra.py'\".format(exepath_sep),\n \"looking for addon '{}addons/misra.py'\".format(exepath_sep), # TODO: mixed separators\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 3 diff: \"looking for addon '/usr/local/share/Cppcheck/misra.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup_nofile2/test.c ...'\nE Left contains 2 more items, first extra item: \"looking for addon '/usr/local/share/Cppcheck/addons/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'misra.py'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:830: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_addon_lookup_invalid": {"message": "assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\n \n At index 1 diff: \"looking for addon '/workspace/misra.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup_invalid2/test.c ...'\n Left contains 4 more items, first extra item: \"looking for addon '/workspace/addons/misra.py'\"\n \n Full diff:\n [\n \"looking for addon 'misra.py'\",...\n \n ...Full output truncated (7 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_lookup_invalid2')\n\n def test_addon_lookup_invalid(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n misra_py_file = os.path.join(tmpdir, 'misra.py')\n with open(misra_py_file, 'wt') as f:\n f.write('''''')\n \n exitcode, stdout, stderr = cppcheck(['--debug-lookup=addon', '--addon=misra', test_file], cwd=tmpdir)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for addon 'misra.py'\",\n 'Checking {} ...'.format(test_file) # TODO: should bail out\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 1 diff: \"looking for addon '/workspace/misra.py'\" != 'Checking /tmp/pytest-of-root/pytest-0/test_addon_lookup_invalid2/test.c ...'\nE Left contains 4 more items, first extra item: \"looking for addon '/workspace/addons/misra.py'\"\nE \nE Full diff:\nE [\nE \"looking for addon 'misra.py'\",...\nE \nE ...Full output truncated (7 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:851: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_config_lookup": {"message": "assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\n \n At index 0 diff: \"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\" != \"looking for '/tmp/pytest-of-root/pytest-0/test_config_lookup2/cppcheck.cfg'\"\n Left contains 2 more items, first extra item: 'no configuration found'\n \n Full diff:\n [\n + \"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\",...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_config_lookup2')\n\n def test_config_lookup(tmpdir):\n cppcheck_exe = __lookup_cppcheck_exe()\n bin_dir = os.path.dirname(cppcheck_exe)\n tmp_cppcheck_exe = shutil.copy2(cppcheck_exe, tmpdir)\n if sys.platform == 'win32':\n shutil.copy2(os.path.join(bin_dir, 'cppcheck-core.dll'), tmpdir)\n shutil.copytree(os.path.join(bin_dir, 'cfg'), os.path.join(tmpdir, 'cfg'))\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n config_file = os.path.join(tmpdir, 'cppcheck.cfg')\n with open(config_file, 'wt') as f:\n f.write('{}')\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=config', test_file], cwd=tmpdir, cppcheck_exe=tmp_cppcheck_exe)\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n exepath_sep = exepath_sep.replace('\\\\', '/')\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for '{}cppcheck.cfg'\".format(exepath_sep),\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 0 diff: \"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\" != \"looking for '/tmp/pytest-of-root/pytest-0/test_config_lookup2/cppcheck.cfg'\"\nE Left contains 2 more items, first extra item: 'no configuration found'\nE \nE Full diff:\nE [\nE + \"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\",...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:879: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_config_lookup_notfound": {"message": "assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\n \n At index 0 diff: \"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\" != \"looking for '/workspace/cppcheck.cfg'\"\n Left contains one more item: 'Checking /tmp/pytest-of-root/pytest-0/test_config_lookup_notfound2/test.c ...'\n \n Full diff:\n [\n + \"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\",...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_config_lookup_notfound2')\n\n def test_config_lookup_notfound(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=config', test_file])\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n exepath_sep = exepath_sep.replace('\\\\', '/')\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n \"looking for '{}cppcheck.cfg'\".format(exepath_sep),\n 'no configuration found',\n 'Checking {} ...'.format(test_file)\n ]\nE assert [\"looking for...2/test.c ...'] == [\"looking for...2/test.c ...']\nE \nE At index 0 diff: \"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\" != \"looking for '/workspace/cppcheck.cfg'\"\nE Left contains one more item: 'Checking /tmp/pytest-of-root/pytest-0/test_config_lookup_notfound2/test.c ...'\nE \nE Full diff:\nE [\nE + \"looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\",...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n\ntests/lookup_test.py:896: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_config_invalid": {"message": "AssertionError: looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\n looking for '/tmp/pytest-of-root/pytest-0/test_config_invalid2/cppcheck.cfg'\n no configuration found\n Checking /tmp/pytest-of-root/pytest-0/test_config_invalid2/test.c ...\n \nassert 0 == 1", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_config_invalid2')\n\n def test_config_invalid(tmpdir):\n cppcheck_exe = __lookup_cppcheck_exe()\n bin_dir = os.path.dirname(cppcheck_exe)\n tmp_cppcheck_exe = shutil.copy2(cppcheck_exe, tmpdir)\n if sys.platform == 'win32':\n shutil.copy2(os.path.join(bin_dir, 'cppcheck-core.dll'), tmpdir)\n shutil.copytree(os.path.join(bin_dir, 'cfg'), os.path.join(tmpdir, 'cfg'))\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n config_file = os.path.join(tmpdir, 'cppcheck.cfg')\n with open(config_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex(['--debug-lookup=config', test_file], cwd=tmpdir, cppcheck_exe=tmp_cppcheck_exe)\n exepath = os.path.dirname(exe)\n exepath_sep = exepath + os.path.sep\n exepath_sep = exepath_sep.replace('\\\\', '/')\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: looking for '/usr/local/share/Cppcheck/cppcheck.cfg'\nE looking for '/tmp/pytest-of-root/pytest-0/test_config_invalid2/cppcheck.cfg'\nE no configuration found\nE Checking /tmp/pytest-of-root/pytest-0/test_config_invalid2/test.c ...\nE \nE assert 0 == 1\n\ntests/lookup_test.py:923: AssertionError"}, "b9729b57ee68/tests.lookup_test.test_lookup_path[addon-misra.py]": {"message": "FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_lookup_path_addon_misra_p2')\ntype = 'addon', file = 'misra.py'\n\n @pytest.mark.parametrize(\"type,file\", [(\"addon\", \"misra.py\"), (\"config\", \"cppcheck.cfg\"), (\"library\", \"gnu.cfg\"), (\"platform\", \"avr8.xml\")])\n def test_lookup_path(tmpdir, type, file):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n cppcheck = 'cppcheck' # No path\n path = os.path.dirname(__lookup_cppcheck_exe())\n env = os.environ.copy()\n env['PATH'] = path + (';' if sys.platform == 'win32' else ':') + env.get('PATH', '')\n if type == 'config':\n with open(os.path.join(path, \"cppcheck.cfg\"), 'wt') as f:\n f.write('{}')\n exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n os.remove(os.path.join(path, \"cppcheck.cfg\")) # clean up otherwise other tests may fail\n else:\n> exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', f'--{type}={file}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n\ntests/lookup_test.py:948: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/testutils.py:134: in cppcheck_ex\n return_code, stdout, stderr = __run_subprocess([exe] + args, env=env, cwd=cwd, timeout=timeout)\ntests/testutils.py:84: in __run_subprocess\n p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env, cwd=cwd)\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \nargs = ['cppcheck', '--debug-lookup=addon', '--addon=misra.py', '/tmp/pytest-of-root/pytest-0/test_lookup_path_addon_misra_p2/test.c']\nexecutable = b'cppcheck', preexec_fn = None, close_fds = True, pass_fds = ()\ncwd = '/tmp/pytest-of-root/pytest-0/test_lookup_path_addon_misra_p2'\nenv = {'CARGO_HOME': '/usr/local/cargo', 'DEBIAN_FRONTEND': 'noninteractive', 'GOMODCACHE': '/usr/local/go/mod-cache', 'HOME': '/root', ...}\nstartupinfo = None, creationflags = 0, shell = False, p2cread = -1\np2cwrite = -1, c2pread = 13, c2pwrite = 14, errread = 15, errwrite = 16\nrestore_signals = True, gid = None, gids = None, uid = None, umask = -1\nstart_new_session = False\n\n def _execute_child(self, args, executable, preexec_fn, close_fds,\n pass_fds, cwd, env,\n startupinfo, creationflags, shell,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite,\n restore_signals,\n gid, gids, uid, umask,\n start_new_session):\n \"\"\"Execute program (POSIX version)\"\"\"\n \n if isinstance(args, (str, bytes)):\n args = [args]\n elif isinstance(args, os.PathLike):\n if shell:\n raise TypeError('path-like args is not allowed when '\n 'shell is true')\n args = [args]\n else:\n args = list(args)\n \n if shell:\n # On Android the default shell is at '/system/bin/sh'.\n unix_shell = ('/system/bin/sh' if\n hasattr(sys, 'getandroidapilevel') else '/bin/sh')\n args = [unix_shell, \"-c\"] + args\n if executable:\n args[0] = executable\n \n if executable is None:\n executable = args[0]\n \n sys.audit(\"subprocess.Popen\", executable, args, cwd, env)\n \n if (_USE_POSIX_SPAWN\n and os.path.dirname(executable)\n and preexec_fn is None\n and not close_fds\n and not pass_fds\n and cwd is None\n and (p2cread == -1 or p2cread > 2)\n and (c2pwrite == -1 or c2pwrite > 2)\n and (errwrite == -1 or errwrite > 2)\n and not start_new_session\n and gid is None\n and gids is None\n and uid is None\n and umask < 0):\n self._posix_spawn(args, executable, env, restore_signals,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n return\n \n orig_executable = executable\n \n # For transferring possible exec failure from child to parent.\n # Data format: \"exception name:hex errno:description\"\n # Pickle is not used; it is complex and involves memory allocation.\n errpipe_read, errpipe_write = os.pipe()\n # errpipe_write must not be in the standard io 0, 1, or 2 fd range.\n low_fds_to_close = []\n while errpipe_write < 3:\n low_fds_to_close.append(errpipe_write)\n errpipe_write = os.dup(errpipe_write)\n for low_fd in low_fds_to_close:\n os.close(low_fd)\n try:\n try:\n # We must avoid complex work that could involve\n # malloc or free in the child process to avoid\n # potential deadlocks, thus we do all this here.\n # and pass it to fork_exec()\n \n if env is not None:\n env_list = []\n for k, v in env.items():\n k = os.fsencode(k)\n if b'=' in k:\n raise ValueError(\"illegal environment variable name\")\n env_list.append(k + b'=' + os.fsencode(v))\n else:\n env_list = None # Use execv instead of execve.\n executable = os.fsencode(executable)\n if os.path.dirname(executable):\n executable_list = (executable,)\n else:\n # This matches the behavior of os._execvpe().\n executable_list = tuple(\n os.path.join(os.fsencode(dir), executable)\n for dir in os.get_exec_path(env))\n fds_to_keep = set(pass_fds)\n fds_to_keep.add(errpipe_write)\n self.pid = _posixsubprocess.fork_exec(\n args, executable_list,\n close_fds, tuple(sorted(map(int, fds_to_keep))),\n cwd, env_list,\n p2cread, p2cwrite, c2pread, c2pwrite,\n errread, errwrite,\n errpipe_read, errpipe_write,\n restore_signals, start_new_session,\n gid, gids, uid, umask,\n preexec_fn)\n self._child_created = True\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_write)\n \n self._close_pipe_fds(p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n \n # Wait for exec to fail or succeed; possibly raising an\n # exception (limited in size)\n errpipe_data = bytearray()\n while True:\n part = os.read(errpipe_read, 50000)\n errpipe_data += part\n if not part or len(errpipe_data) > 50000:\n break\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_read)\n \n if errpipe_data:\n try:\n pid, sts = os.waitpid(self.pid, 0)\n if pid == self.pid:\n self._handle_exitstatus(sts)\n else:\n self.returncode = sys.maxsize\n except ChildProcessError:\n pass\n \n try:\n exception_name, hex_errno, err_msg = (\n errpipe_data.split(b':', 2))\n # The encoding here should match the encoding\n # written in by the subprocess implementations\n # like _posixsubprocess\n err_msg = err_msg.decode()\n except ValueError:\n exception_name = b'SubprocessError'\n hex_errno = b'0'\n err_msg = 'Bad exception data from child: {!r}'.format(\n bytes(errpipe_data))\n child_exception_type = getattr(\n builtins, exception_name.decode('ascii'),\n SubprocessError)\n if issubclass(child_exception_type, OSError) and hex_errno:\n errno_num = int(hex_errno, 16)\n child_exec_never_called = (err_msg == \"noexec\")\n if child_exec_never_called:\n err_msg = \"\"\n # The error must be from chdir(cwd).\n err_filename = cwd\n else:\n err_filename = orig_executable\n if errno_num != 0:\n err_msg = os.strerror(errno_num)\n> raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'\n\n/usr/lib/python3.10/subprocess.py:1863: FileNotFoundError"}, "b9729b57ee68/tests.lookup_test.test_lookup_path[config-cppcheck.cfg]": {"message": "FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_lookup_path_config_cppche2')\ntype = 'config', file = 'cppcheck.cfg'\n\n @pytest.mark.parametrize(\"type,file\", [(\"addon\", \"misra.py\"), (\"config\", \"cppcheck.cfg\"), (\"library\", \"gnu.cfg\"), (\"platform\", \"avr8.xml\")])\n def test_lookup_path(tmpdir, type, file):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n cppcheck = 'cppcheck' # No path\n path = os.path.dirname(__lookup_cppcheck_exe())\n env = os.environ.copy()\n env['PATH'] = path + (';' if sys.platform == 'win32' else ':') + env.get('PATH', '')\n if type == 'config':\n with open(os.path.join(path, \"cppcheck.cfg\"), 'wt') as f:\n f.write('{}')\n> exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n\ntests/lookup_test.py:945: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/testutils.py:134: in cppcheck_ex\n return_code, stdout, stderr = __run_subprocess([exe] + args, env=env, cwd=cwd, timeout=timeout)\ntests/testutils.py:84: in __run_subprocess\n p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env, cwd=cwd)\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \nargs = ['cppcheck', '--debug-lookup=config', '/tmp/pytest-of-root/pytest-0/test_lookup_path_config_cppche2/test.c']\nexecutable = b'cppcheck', preexec_fn = None, close_fds = True, pass_fds = ()\ncwd = '/tmp/pytest-of-root/pytest-0/test_lookup_path_config_cppche2'\nenv = {'CARGO_HOME': '/usr/local/cargo', 'DEBIAN_FRONTEND': 'noninteractive', 'GOMODCACHE': '/usr/local/go/mod-cache', 'HOME': '/root', ...}\nstartupinfo = None, creationflags = 0, shell = False, p2cread = -1\np2cwrite = -1, c2pread = 13, c2pwrite = 14, errread = 15, errwrite = 16\nrestore_signals = True, gid = None, gids = None, uid = None, umask = -1\nstart_new_session = False\n\n def _execute_child(self, args, executable, preexec_fn, close_fds,\n pass_fds, cwd, env,\n startupinfo, creationflags, shell,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite,\n restore_signals,\n gid, gids, uid, umask,\n start_new_session):\n \"\"\"Execute program (POSIX version)\"\"\"\n \n if isinstance(args, (str, bytes)):\n args = [args]\n elif isinstance(args, os.PathLike):\n if shell:\n raise TypeError('path-like args is not allowed when '\n 'shell is true')\n args = [args]\n else:\n args = list(args)\n \n if shell:\n # On Android the default shell is at '/system/bin/sh'.\n unix_shell = ('/system/bin/sh' if\n hasattr(sys, 'getandroidapilevel') else '/bin/sh')\n args = [unix_shell, \"-c\"] + args\n if executable:\n args[0] = executable\n \n if executable is None:\n executable = args[0]\n \n sys.audit(\"subprocess.Popen\", executable, args, cwd, env)\n \n if (_USE_POSIX_SPAWN\n and os.path.dirname(executable)\n and preexec_fn is None\n and not close_fds\n and not pass_fds\n and cwd is None\n and (p2cread == -1 or p2cread > 2)\n and (c2pwrite == -1 or c2pwrite > 2)\n and (errwrite == -1 or errwrite > 2)\n and not start_new_session\n and gid is None\n and gids is None\n and uid is None\n and umask < 0):\n self._posix_spawn(args, executable, env, restore_signals,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n return\n \n orig_executable = executable\n \n # For transferring possible exec failure from child to parent.\n # Data format: \"exception name:hex errno:description\"\n # Pickle is not used; it is complex and involves memory allocation.\n errpipe_read, errpipe_write = os.pipe()\n # errpipe_write must not be in the standard io 0, 1, or 2 fd range.\n low_fds_to_close = []\n while errpipe_write < 3:\n low_fds_to_close.append(errpipe_write)\n errpipe_write = os.dup(errpipe_write)\n for low_fd in low_fds_to_close:\n os.close(low_fd)\n try:\n try:\n # We must avoid complex work that could involve\n # malloc or free in the child process to avoid\n # potential deadlocks, thus we do all this here.\n # and pass it to fork_exec()\n \n if env is not None:\n env_list = []\n for k, v in env.items():\n k = os.fsencode(k)\n if b'=' in k:\n raise ValueError(\"illegal environment variable name\")\n env_list.append(k + b'=' + os.fsencode(v))\n else:\n env_list = None # Use execv instead of execve.\n executable = os.fsencode(executable)\n if os.path.dirname(executable):\n executable_list = (executable,)\n else:\n # This matches the behavior of os._execvpe().\n executable_list = tuple(\n os.path.join(os.fsencode(dir), executable)\n for dir in os.get_exec_path(env))\n fds_to_keep = set(pass_fds)\n fds_to_keep.add(errpipe_write)\n self.pid = _posixsubprocess.fork_exec(\n args, executable_list,\n close_fds, tuple(sorted(map(int, fds_to_keep))),\n cwd, env_list,\n p2cread, p2cwrite, c2pread, c2pwrite,\n errread, errwrite,\n errpipe_read, errpipe_write,\n restore_signals, start_new_session,\n gid, gids, uid, umask,\n preexec_fn)\n self._child_created = True\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_write)\n \n self._close_pipe_fds(p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n \n # Wait for exec to fail or succeed; possibly raising an\n # exception (limited in size)\n errpipe_data = bytearray()\n while True:\n part = os.read(errpipe_read, 50000)\n errpipe_data += part\n if not part or len(errpipe_data) > 50000:\n break\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_read)\n \n if errpipe_data:\n try:\n pid, sts = os.waitpid(self.pid, 0)\n if pid == self.pid:\n self._handle_exitstatus(sts)\n else:\n self.returncode = sys.maxsize\n except ChildProcessError:\n pass\n \n try:\n exception_name, hex_errno, err_msg = (\n errpipe_data.split(b':', 2))\n # The encoding here should match the encoding\n # written in by the subprocess implementations\n # like _posixsubprocess\n err_msg = err_msg.decode()\n except ValueError:\n exception_name = b'SubprocessError'\n hex_errno = b'0'\n err_msg = 'Bad exception data from child: {!r}'.format(\n bytes(errpipe_data))\n child_exception_type = getattr(\n builtins, exception_name.decode('ascii'),\n SubprocessError)\n if issubclass(child_exception_type, OSError) and hex_errno:\n errno_num = int(hex_errno, 16)\n child_exec_never_called = (err_msg == \"noexec\")\n if child_exec_never_called:\n err_msg = \"\"\n # The error must be from chdir(cwd).\n err_filename = cwd\n else:\n err_filename = orig_executable\n if errno_num != 0:\n err_msg = os.strerror(errno_num)\n> raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'\n\n/usr/lib/python3.10/subprocess.py:1863: FileNotFoundError"}, "b9729b57ee68/tests.lookup_test.test_lookup_path[library-gnu.cfg]": {"message": "FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_lookup_path_library_gnu_c2')\ntype = 'library', file = 'gnu.cfg'\n\n @pytest.mark.parametrize(\"type,file\", [(\"addon\", \"misra.py\"), (\"config\", \"cppcheck.cfg\"), (\"library\", \"gnu.cfg\"), (\"platform\", \"avr8.xml\")])\n def test_lookup_path(tmpdir, type, file):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n cppcheck = 'cppcheck' # No path\n path = os.path.dirname(__lookup_cppcheck_exe())\n env = os.environ.copy()\n env['PATH'] = path + (';' if sys.platform == 'win32' else ':') + env.get('PATH', '')\n if type == 'config':\n with open(os.path.join(path, \"cppcheck.cfg\"), 'wt') as f:\n f.write('{}')\n exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n os.remove(os.path.join(path, \"cppcheck.cfg\")) # clean up otherwise other tests may fail\n else:\n> exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', f'--{type}={file}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n\ntests/lookup_test.py:948: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/testutils.py:134: in cppcheck_ex\n return_code, stdout, stderr = __run_subprocess([exe] + args, env=env, cwd=cwd, timeout=timeout)\ntests/testutils.py:84: in __run_subprocess\n p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env, cwd=cwd)\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \nargs = ['cppcheck', '--debug-lookup=library', '--library=gnu.cfg', '/tmp/pytest-of-root/pytest-0/test_lookup_path_library_gnu_c2/test.c']\nexecutable = b'cppcheck', preexec_fn = None, close_fds = True, pass_fds = ()\ncwd = '/tmp/pytest-of-root/pytest-0/test_lookup_path_library_gnu_c2'\nenv = {'CARGO_HOME': '/usr/local/cargo', 'DEBIAN_FRONTEND': 'noninteractive', 'GOMODCACHE': '/usr/local/go/mod-cache', 'HOME': '/root', ...}\nstartupinfo = None, creationflags = 0, shell = False, p2cread = -1\np2cwrite = -1, c2pread = 13, c2pwrite = 14, errread = 15, errwrite = 16\nrestore_signals = True, gid = None, gids = None, uid = None, umask = -1\nstart_new_session = False\n\n def _execute_child(self, args, executable, preexec_fn, close_fds,\n pass_fds, cwd, env,\n startupinfo, creationflags, shell,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite,\n restore_signals,\n gid, gids, uid, umask,\n start_new_session):\n \"\"\"Execute program (POSIX version)\"\"\"\n \n if isinstance(args, (str, bytes)):\n args = [args]\n elif isinstance(args, os.PathLike):\n if shell:\n raise TypeError('path-like args is not allowed when '\n 'shell is true')\n args = [args]\n else:\n args = list(args)\n \n if shell:\n # On Android the default shell is at '/system/bin/sh'.\n unix_shell = ('/system/bin/sh' if\n hasattr(sys, 'getandroidapilevel') else '/bin/sh')\n args = [unix_shell, \"-c\"] + args\n if executable:\n args[0] = executable\n \n if executable is None:\n executable = args[0]\n \n sys.audit(\"subprocess.Popen\", executable, args, cwd, env)\n \n if (_USE_POSIX_SPAWN\n and os.path.dirname(executable)\n and preexec_fn is None\n and not close_fds\n and not pass_fds\n and cwd is None\n and (p2cread == -1 or p2cread > 2)\n and (c2pwrite == -1 or c2pwrite > 2)\n and (errwrite == -1 or errwrite > 2)\n and not start_new_session\n and gid is None\n and gids is None\n and uid is None\n and umask < 0):\n self._posix_spawn(args, executable, env, restore_signals,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n return\n \n orig_executable = executable\n \n # For transferring possible exec failure from child to parent.\n # Data format: \"exception name:hex errno:description\"\n # Pickle is not used; it is complex and involves memory allocation.\n errpipe_read, errpipe_write = os.pipe()\n # errpipe_write must not be in the standard io 0, 1, or 2 fd range.\n low_fds_to_close = []\n while errpipe_write < 3:\n low_fds_to_close.append(errpipe_write)\n errpipe_write = os.dup(errpipe_write)\n for low_fd in low_fds_to_close:\n os.close(low_fd)\n try:\n try:\n # We must avoid complex work that could involve\n # malloc or free in the child process to avoid\n # potential deadlocks, thus we do all this here.\n # and pass it to fork_exec()\n \n if env is not None:\n env_list = []\n for k, v in env.items():\n k = os.fsencode(k)\n if b'=' in k:\n raise ValueError(\"illegal environment variable name\")\n env_list.append(k + b'=' + os.fsencode(v))\n else:\n env_list = None # Use execv instead of execve.\n executable = os.fsencode(executable)\n if os.path.dirname(executable):\n executable_list = (executable,)\n else:\n # This matches the behavior of os._execvpe().\n executable_list = tuple(\n os.path.join(os.fsencode(dir), executable)\n for dir in os.get_exec_path(env))\n fds_to_keep = set(pass_fds)\n fds_to_keep.add(errpipe_write)\n self.pid = _posixsubprocess.fork_exec(\n args, executable_list,\n close_fds, tuple(sorted(map(int, fds_to_keep))),\n cwd, env_list,\n p2cread, p2cwrite, c2pread, c2pwrite,\n errread, errwrite,\n errpipe_read, errpipe_write,\n restore_signals, start_new_session,\n gid, gids, uid, umask,\n preexec_fn)\n self._child_created = True\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_write)\n \n self._close_pipe_fds(p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n \n # Wait for exec to fail or succeed; possibly raising an\n # exception (limited in size)\n errpipe_data = bytearray()\n while True:\n part = os.read(errpipe_read, 50000)\n errpipe_data += part\n if not part or len(errpipe_data) > 50000:\n break\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_read)\n \n if errpipe_data:\n try:\n pid, sts = os.waitpid(self.pid, 0)\n if pid == self.pid:\n self._handle_exitstatus(sts)\n else:\n self.returncode = sys.maxsize\n except ChildProcessError:\n pass\n \n try:\n exception_name, hex_errno, err_msg = (\n errpipe_data.split(b':', 2))\n # The encoding here should match the encoding\n # written in by the subprocess implementations\n # like _posixsubprocess\n err_msg = err_msg.decode()\n except ValueError:\n exception_name = b'SubprocessError'\n hex_errno = b'0'\n err_msg = 'Bad exception data from child: {!r}'.format(\n bytes(errpipe_data))\n child_exception_type = getattr(\n builtins, exception_name.decode('ascii'),\n SubprocessError)\n if issubclass(child_exception_type, OSError) and hex_errno:\n errno_num = int(hex_errno, 16)\n child_exec_never_called = (err_msg == \"noexec\")\n if child_exec_never_called:\n err_msg = \"\"\n # The error must be from chdir(cwd).\n err_filename = cwd\n else:\n err_filename = orig_executable\n if errno_num != 0:\n err_msg = os.strerror(errno_num)\n> raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'\n\n/usr/lib/python3.10/subprocess.py:1863: FileNotFoundError"}, "b9729b57ee68/tests.lookup_test.test_lookup_path[platform-avr8.xml]": {"message": "FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_lookup_path_platform_avr82')\ntype = 'platform', file = 'avr8.xml'\n\n @pytest.mark.parametrize(\"type,file\", [(\"addon\", \"misra.py\"), (\"config\", \"cppcheck.cfg\"), (\"library\", \"gnu.cfg\"), (\"platform\", \"avr8.xml\")])\n def test_lookup_path(tmpdir, type, file):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n cppcheck = 'cppcheck' # No path\n path = os.path.dirname(__lookup_cppcheck_exe())\n env = os.environ.copy()\n env['PATH'] = path + (';' if sys.platform == 'win32' else ':') + env.get('PATH', '')\n if type == 'config':\n with open(os.path.join(path, \"cppcheck.cfg\"), 'wt') as f:\n f.write('{}')\n exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n os.remove(os.path.join(path, \"cppcheck.cfg\")) # clean up otherwise other tests may fail\n else:\n> exitcode, stdout, stderr, _ = cppcheck_ex(args=[f'--debug-lookup={type}', f'--{type}={file}', test_file], cppcheck_exe=cppcheck, cwd=str(tmpdir), env=env)\n\ntests/lookup_test.py:948: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \ntests/testutils.py:134: in cppcheck_ex\n return_code, stdout, stderr = __run_subprocess([exe] + args, env=env, cwd=cwd, timeout=timeout)\ntests/testutils.py:84: in __run_subprocess\n p = subprocess.Popen(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, env=env, cwd=cwd)\n/usr/lib/python3.10/subprocess.py:971: in __init__\n self._execute_child(args, executable, preexec_fn, close_fds,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = \nargs = ['cppcheck', '--debug-lookup=platform', '--platform=avr8.xml', '/tmp/pytest-of-root/pytest-0/test_lookup_path_platform_avr82/test.c']\nexecutable = b'cppcheck', preexec_fn = None, close_fds = True, pass_fds = ()\ncwd = '/tmp/pytest-of-root/pytest-0/test_lookup_path_platform_avr82'\nenv = {'CARGO_HOME': '/usr/local/cargo', 'DEBIAN_FRONTEND': 'noninteractive', 'GOMODCACHE': '/usr/local/go/mod-cache', 'HOME': '/root', ...}\nstartupinfo = None, creationflags = 0, shell = False, p2cread = -1\np2cwrite = -1, c2pread = 13, c2pwrite = 14, errread = 15, errwrite = 16\nrestore_signals = True, gid = None, gids = None, uid = None, umask = -1\nstart_new_session = False\n\n def _execute_child(self, args, executable, preexec_fn, close_fds,\n pass_fds, cwd, env,\n startupinfo, creationflags, shell,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite,\n restore_signals,\n gid, gids, uid, umask,\n start_new_session):\n \"\"\"Execute program (POSIX version)\"\"\"\n \n if isinstance(args, (str, bytes)):\n args = [args]\n elif isinstance(args, os.PathLike):\n if shell:\n raise TypeError('path-like args is not allowed when '\n 'shell is true')\n args = [args]\n else:\n args = list(args)\n \n if shell:\n # On Android the default shell is at '/system/bin/sh'.\n unix_shell = ('/system/bin/sh' if\n hasattr(sys, 'getandroidapilevel') else '/bin/sh')\n args = [unix_shell, \"-c\"] + args\n if executable:\n args[0] = executable\n \n if executable is None:\n executable = args[0]\n \n sys.audit(\"subprocess.Popen\", executable, args, cwd, env)\n \n if (_USE_POSIX_SPAWN\n and os.path.dirname(executable)\n and preexec_fn is None\n and not close_fds\n and not pass_fds\n and cwd is None\n and (p2cread == -1 or p2cread > 2)\n and (c2pwrite == -1 or c2pwrite > 2)\n and (errwrite == -1 or errwrite > 2)\n and not start_new_session\n and gid is None\n and gids is None\n and uid is None\n and umask < 0):\n self._posix_spawn(args, executable, env, restore_signals,\n p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n return\n \n orig_executable = executable\n \n # For transferring possible exec failure from child to parent.\n # Data format: \"exception name:hex errno:description\"\n # Pickle is not used; it is complex and involves memory allocation.\n errpipe_read, errpipe_write = os.pipe()\n # errpipe_write must not be in the standard io 0, 1, or 2 fd range.\n low_fds_to_close = []\n while errpipe_write < 3:\n low_fds_to_close.append(errpipe_write)\n errpipe_write = os.dup(errpipe_write)\n for low_fd in low_fds_to_close:\n os.close(low_fd)\n try:\n try:\n # We must avoid complex work that could involve\n # malloc or free in the child process to avoid\n # potential deadlocks, thus we do all this here.\n # and pass it to fork_exec()\n \n if env is not None:\n env_list = []\n for k, v in env.items():\n k = os.fsencode(k)\n if b'=' in k:\n raise ValueError(\"illegal environment variable name\")\n env_list.append(k + b'=' + os.fsencode(v))\n else:\n env_list = None # Use execv instead of execve.\n executable = os.fsencode(executable)\n if os.path.dirname(executable):\n executable_list = (executable,)\n else:\n # This matches the behavior of os._execvpe().\n executable_list = tuple(\n os.path.join(os.fsencode(dir), executable)\n for dir in os.get_exec_path(env))\n fds_to_keep = set(pass_fds)\n fds_to_keep.add(errpipe_write)\n self.pid = _posixsubprocess.fork_exec(\n args, executable_list,\n close_fds, tuple(sorted(map(int, fds_to_keep))),\n cwd, env_list,\n p2cread, p2cwrite, c2pread, c2pwrite,\n errread, errwrite,\n errpipe_read, errpipe_write,\n restore_signals, start_new_session,\n gid, gids, uid, umask,\n preexec_fn)\n self._child_created = True\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_write)\n \n self._close_pipe_fds(p2cread, p2cwrite,\n c2pread, c2pwrite,\n errread, errwrite)\n \n # Wait for exec to fail or succeed; possibly raising an\n # exception (limited in size)\n errpipe_data = bytearray()\n while True:\n part = os.read(errpipe_read, 50000)\n errpipe_data += part\n if not part or len(errpipe_data) > 50000:\n break\n finally:\n # be sure the FD is closed no matter what\n os.close(errpipe_read)\n \n if errpipe_data:\n try:\n pid, sts = os.waitpid(self.pid, 0)\n if pid == self.pid:\n self._handle_exitstatus(sts)\n else:\n self.returncode = sys.maxsize\n except ChildProcessError:\n pass\n \n try:\n exception_name, hex_errno, err_msg = (\n errpipe_data.split(b':', 2))\n # The encoding here should match the encoding\n # written in by the subprocess implementations\n # like _posixsubprocess\n err_msg = err_msg.decode()\n except ValueError:\n exception_name = b'SubprocessError'\n hex_errno = b'0'\n err_msg = 'Bad exception data from child: {!r}'.format(\n bytes(errpipe_data))\n child_exception_type = getattr(\n builtins, exception_name.decode('ascii'),\n SubprocessError)\n if issubclass(child_exception_type, OSError) and hex_errno:\n errno_num = int(hex_errno, 16)\n child_exec_never_called = (err_msg == \"noexec\")\n if child_exec_never_called:\n err_msg = \"\"\n # The error must be from chdir(cwd).\n err_filename = cwd\n else:\n err_filename = orig_executable\n if errno_num != 0:\n err_msg = os.strerror(errno_num)\n> raise child_exception_type(errno_num, err_msg, err_filename)\nE FileNotFoundError: [Errno 2] No such file or directory: 'cppcheck'\n\n/usr/lib/python3.10/subprocess.py:1863: FileNotFoundError"}, "b9729b57ee68/tests.metrics_test.test_dummy_metrics_xml_report": {"message": "assert -1 >= 0\n + where -1 = ('')\n + where = '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ...seWholeProgram\"/>\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'.find", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_dummy_metrics_xml_report2')\n\n def test_dummy_metrics_xml_report(tmpdir):\n output_file = os.path.join(tmpdir, \"results.xml\")\n source_path = __create_source_file(tmpdir)\n addon_path = __create_addon(tmpdir)\n args = [\n f'--output-file={output_file}',\n f'--addon={addon_path}',\n '--xml-version=3',\n source_path\n ]\n \n ret, stdout, stderr = cppcheck(args)\n assert ret == 0\n assert stderr == ''\n assert stdout == f'Checking {source_path} ...\\n'\n \n with open(output_file, 'r') as file:\n xml = file.read()\n \n for expected in __expected_xml:\n> assert xml.find(expected) >= 0\nE assert -1 >= 0\nE + where -1 = ('')\nE + where = '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ...seWholeProgram\"/>\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'.find\n\ntests/metrics_test.py:61: AssertionError"}, "b9729b57ee68/tests.metrics_test.test_dummy_metrics_stdout": {"message": "assert -1 >= 0\n + where -1 = ('')\n + where = '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ...seWholeProgram\"/>\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'.find", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_dummy_metrics_stdout2')\n\n def test_dummy_metrics_stdout(tmpdir):\n source_path = __create_source_file(tmpdir)\n addon_path = __create_addon(tmpdir)\n args = [\n f'--addon={addon_path}',\n '--xml-version=3',\n source_path\n ]\n \n ret, stdout, stderr = cppcheck(args)\n assert ret == 0\n assert stdout == f'Checking {source_path} ...\\n'\n \n for expected in __expected_xml:\n> assert stderr.find(expected) >= 0\nE assert -1 >= 0\nE + where -1 = ('')\nE + where = '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n ...seWholeProgram\"/>\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'.find\n\ntests/metrics_test.py:77: AssertionError"}, "b9729b57ee68/tests.other_test.test_color_non_tty[env0-True]": {"message": "AssertionError: assert ('\\x1b[1m' in '/tmp/pytest-of-root/pytest-0/test_color_non_tty_env0_True_2/test.c:1:2: error: #error test [preprocessorErrorDirective]\\n#error test\\n ^\\n') == True", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_color_non_tty_env0_True_2')\nenv = {'CLICOLOR_FORCE': '1'}, color_expected = True\n\n @pytest.mark.parametrize(\"env,color_expected\", [({\"CLICOLOR_FORCE\":\"1\"}, True), ({\"NO_COLOR\": \"1\", \"CLICOLOR_FORCE\":\"1\"}, False)])\n def test_color_non_tty(tmpdir, env, color_expected):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('#error test\\nx=1;\\n')\n exitcode, stdout, stderr = cppcheck([test_file], env=env)\n \n assert exitcode == 0, stdout if stdout else stderr\n assert stderr\n> assert (__ANSI_BOLD in stderr) == color_expected\nE AssertionError: assert ('\\x1b[1m' in '/tmp/pytest-of-root/pytest-0/test_color_non_tty_env0_True_2/test.c:1:2: error: #error test [preprocessorErrorDirective]\\n#error test\\n ^\\n') == True\n\ntests/other_test.py:101: AssertionError"}, "b9729b57ee68/tests.other_test.test_color_tty[env0-True]": {"message": "AssertionError: assert ('\\x1b[1m' in '/tmp/pytest-of-root/pytest-0/test_color_tty_env0_True_2/test.c:1:2: error: #error test [preprocessorErrorDirective]\\n#error test\\n ^\\n') == True", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_color_tty_env0_True_2')\nenv = {}, color_expected = True\n\n @pytest.mark.skipif(sys.platform == \"win32\", reason=\"TTY not supported in Windows\")\n @pytest.mark.parametrize(\"env,color_expected\", [({}, True), ({\"NO_COLOR\": \"1\"}, False)])\n def test_color_tty(tmpdir, env, color_expected):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('#error test\\nx=1;\\n')\n exitcode, stdout, stderr = cppcheck([test_file], env=env, tty=True)\n \n assert exitcode == 0, stdout if stdout else stderr\n assert stderr\n> assert (__ANSI_BOLD in stderr) == color_expected\nE AssertionError: assert ('\\x1b[1m' in '/tmp/pytest-of-root/pytest-0/test_color_tty_env0_True_2/test.c:1:2: error: #error test [preprocessorErrorDirective]\\n#error test\\n ^\\n') == True\n\ntests/other_test.py:117: AssertionError"}, "b9729b57ee68/tests.other_test.test_progress": {"message": "AssertionError: cppcheck: error: unrecognized command line option: \"--report-progress=0\".\n \nassert 1 == 0", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_progress2')\n\n def test_progress(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n int main(int argc)\n {\n }\n \"\"\")\n \n args = ['--report-progress=0', '--enable=all', '--inconclusive', '-j1', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: unrecognized command line option: \"--report-progress=0\".\nE \nE assert 1 == 0\n\ntests/other_test.py:158: AssertionError"}, "b9729b57ee68/tests.other_test.test_progress_j": {"message": "AssertionError: cppcheck: error: unrecognized command line option: \"--report-progress=0\".\n \nassert 1 == 0", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_progress_j2')\n\n def test_progress_j(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n int main(int argc)\n {\n }\n \"\"\")\n \n args = ['--report-progress=0', '--enable=all', '--inconclusive', '-j2', '--disable=unusedFunction', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: unrecognized command line option: \"--report-progress=0\".\nE \nE assert 1 == 0\n\ntests/other_test.py:191: AssertionError"}, "b9729b57ee68/tests.other_test.test_execute_addon_failure_py_auto": {"message": "AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\n \n - /tmp/pytest-of-root/pytest-0/test_execute_addon_failure_py_2/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to auto detect python [internalError]\n - \n - ^", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_py_2')\n\n def test_execute_addon_failure_py_auto(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f();\n \"\"\")\n \n args = ['--addon=naming', test_file]\n \n # provide empty PATH environment variable so python is not found and execution of addon fails\n env = {'PATH': ''}\n _, _, stderr = cppcheck(args, env)\n> assert stderr == '{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to auto detect python [internalError]\\n\\n^\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_execute_addon_failure_py_2/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to auto detect python [internalError]\nE - \nE - ^\n\ntests/other_test.py:208: AssertionError"}, "b9729b57ee68/tests.other_test.test_execute_addon_failure_py_notexist": {"message": "AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\n \n - /tmp/pytest-of-root/pytest-0/test_execute_addon_failure_py_5/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'naming' - exitcode is 127 [internalError]\n - \n - ^", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_py_5')\n\n def test_execute_addon_failure_py_notexist(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f();\n \"\"\")\n \n # specify non-existent python executable so execution of addon fails\n args = ['--addon=naming', '--addon-python=python5.x', test_file]\n \n _, _, stderr = cppcheck(args)\n ec = 1 if os.name == 'nt' else 127\n> assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'naming' - exitcode is {} [internalError]\\n\\n^\\n\".format(test_file, ec)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_execute_addon_failure_py_5/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'naming' - exitcode is 127 [internalError]\nE - \nE - ^\n\ntests/other_test.py:223: AssertionError"}, "b9729b57ee68/tests.other_test.test_execute_addon_failure_json_notexist": {"message": "AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\n \n - /tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso2/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is 127 [internalError]\n - \n - ^", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso2')\n\n def test_execute_addon_failure_json_notexist(tmpdir):\n # specify non-existent python executable so execution of addon fails\n addon_json = os.path.join(tmpdir, 'addon.json')\n with open(addon_json, 'wt') as f:\n f.write(json.dumps({'executable': 'notexist'}))\n \n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f();\n \"\"\")\n \n args = [\n '--addon={}'.format(addon_json),\n test_file\n ]\n \n _, _, stderr = cppcheck(args)\n ec = 1 if os.name == 'nt' else 127\n> assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is {} [internalError]\\n\\n^\\n\".format(test_file, ec)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso2/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is 127 [internalError]\nE - \nE - ^\n\ntests/other_test.py:245: AssertionError"}, "b9729b57ee68/tests.other_test.test_execute_addon_path_with_spaces": {"message": "Windows specific issue", "text": "/workspace/eval/tests/other_test.py:248: Windows specific issue"}, "b9729b57ee68/tests.other_test.test_execute_addon_failure_json_ctu_notexist": {"message": "assert [] == ['/tmp/pytest...ternalError]']\n \n Right contains 2 more items, first extra item: \"/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso5/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is 127 [internalError]\"\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso5/test.cpp:0:0: '...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso5')\n\n def test_execute_addon_failure_json_ctu_notexist(tmpdir):\n # specify non-existent python executable so execution of addon fails\n addon_json = os.path.join(tmpdir, 'addon.json')\n with open(addon_json, 'wt') as f:\n f.write(json.dumps({\n 'executable': 'notexist',\n 'ctu': True\n }))\n \n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f(); \"\"\")\n \n args = [\n '--template=simple',\n '--addon={}'.format(addon_json),\n test_file\n ]\n \n _, _, stderr = cppcheck(args)\n ec = 1 if os.name == 'nt' else 127\n> assert stderr.splitlines() == [\n \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is {} [internalError]\".format(test_file, ec),\n \":0:0: error: Bailing out from analysis: Whole program analysis failed: Failed to execute addon 'addon.json' - exitcode is {} [internalError]\".format(ec)\n ]\nE assert [] == ['/tmp/pytest...ternalError]']\nE \nE Right contains 2 more items, first extra item: \"/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso5/test.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon.json' - exitcode is 127 [internalError]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_execute_addon_failure_jso5/test.cpp:0:0: '...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n\ntests/other_test.py:299: AssertionError"}, "b9729b57ee68/tests.other_test.test_execute_addon_file0": {"message": "assert 'misra-c2012-8.2' in '\\n\\n \\n \\n \\n\\n'", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_execute_addon_file02')\n\n def test_execute_addon_file0(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('void foo() {}\\n')\n \n args = ['--xml', '--addon=misra', '--enable=style', test_file]\n \n _, _, stderr = cppcheck(args)\n> assert 'misra-c2012-8.2' in stderr\nE assert 'misra-c2012-8.2' in '\\n\\n \\n \\n \\n\\n'\n\ntests/other_test.py:313: AssertionError"}, "b9729b57ee68/tests.other_test.test_internal_error": {"message": "unconditional skip", "text": "/workspace/eval/tests/other_test.py:318: unconditional skip"}, "b9729b57ee68/tests.other_test.test_addon_ctu_exitcode": {"message": "AssertionError: \nassert '2.3' in ''", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_ctu_exitcode2')\n\n def test_addon_ctu_exitcode(tmpdir):\n \"\"\" #12440 - Misra ctu violations found => exit code should be non-zero \"\"\"\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"typedef enum { BLOCK = 0x80U, } E;\"\"\")\n args = ['--addon=misra', '--enable=style', '--error-exitcode=1', test_file]\n exitcode, _, stderr = cppcheck(args)\n> assert '2.3' in stderr, stderr\nE AssertionError: \nE assert '2.3' in ''\n\ntests/other_test.py:345: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_misra": {"message": "AssertionError: assert '' == '/tmp/pytest-...OLATION;\\n^\\n'\n \n - /tmp/pytest-of-root/pytest-0/test_addon_misra2/test.cpp:2:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]\n - typedef int MISRA_5_6_VIOLATION;\n - ^", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_misra2')\n\n def test_addon_misra(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n typedef int MISRA_5_6_VIOLATION;\n \"\"\")\n \n args = ['--addon=misra', '--enable=all', '--disable=unusedFunction', '-j1', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:2:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]\\ntypedef int MISRA_5_6_VIOLATION;\\n^\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...OLATION;\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_misra2/test.cpp:2:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]\nE - typedef int MISRA_5_6_VIOLATION;\nE - ^\n\ntests/other_test.py:365: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_y2038": {"message": "AssertionError: assert '' == '/tmp/pytest-...nsafe-call]\\n'\n \n - /tmp/pytest-of-root/pytest-0/test_addon_y20382/test.cpp:4:21: warning: time is Y2038-unsafe [y2038-unsafe-call]", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_y20382')\n\n def test_addon_y2038(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n # TODO: trigger warning\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n extern void f()\n {\n time_t t = std::time(nullptr);\n (void)t;\n }\n \"\"\")\n \n args = ['--addon=y2038', '--enable=all', '--disable=unusedFunction', '--template=simple', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:4:21: warning: time is Y2038-unsafe [y2038-unsafe-call]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nsafe-call]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_y20382/test.cpp:4:21: warning: time is Y2038-unsafe [y2038-unsafe-call]\n\ntests/other_test.py:388: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_threadsafety": {"message": "AssertionError: assert '' == '/tmp/pytest-...nsafe-call]\\n'\n \n - /tmp/pytest-of-root/pytest-0/test_addon_threadsafety2/test.cpp:4:12: warning: strerror is MT-unsafe [threadsafety-unsafe-call]", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_threadsafety2')\n\n def test_addon_threadsafety(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n extern const char* f()\n {\n return strerror(1);\n }\n \"\"\")\n \n args = ['--addon=threadsafety', '--enable=all', '--disable=unusedFunction', '--template=simple', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:4:12: warning: strerror is MT-unsafe [threadsafety-unsafe-call]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nsafe-call]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_threadsafety2/test.cpp:4:12: warning: strerror is MT-unsafe [threadsafety-unsafe-call]\n\ntests/other_test.py:409: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_naming": {"message": "AssertionError: assert '' == '/tmp/pytest-...ng-varname]\\n'\n \n - /tmp/pytest-of-root/pytest-0/test_addon_naming2/test.cpp:2:1: style: Variable Var violates naming convention [naming-varname]", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_naming2')\n\n def test_addon_naming(tmpdir):\n # the addon does nothing without a config\n addon_file = os.path.join(tmpdir, 'naming1.json')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n {\n \"script\": \"addons/naming.py\",\n \"args\": [\n \"--var=[_a-z].*\"\n ]\n }\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n int Var;\n \"\"\")\n \n args = ['--addon={}'.format(addon_file), '--enable=all', '--disable=unusedFunction', '--template=simple', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:2:1: style: Variable Var violates naming convention [naming-varname]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...ng-varname]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_naming2/test.cpp:2:1: style: Variable Var violates naming convention [naming-varname]\n\ntests/other_test.py:439: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_namingng": {"message": "AssertionError: assert [' ^', '#incl...singInclude]'] == [' ... ^', ...]\n \n At index 0 diff: ' ^' != ' ^'\n Right contains 56 more items, first extra item: ' ^'\n \n Full diff:\n [\n - ' ^',...\n \n ...Full output truncated (108 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_namingng2')\n\n def test_addon_namingng(tmpdir):\n addon_file = os.path.join(tmpdir, 'namingng.json')\n addon_config_file = os.path.join(tmpdir, 'namingng.config.json')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n {\n \"script\": \"addons/namingng.py\",\n \"args\": [\n \"--configfile=%s\"\n ]\n }\n \"\"\"%(addon_config_file).replace('\\\\','\\\\\\\\'))\n \n with open(addon_config_file, 'wt') as f:\n f.write(\"\"\"\n {\n \"RE_FILE\": [\n \"[^/]*[a-z][a-z0-9_]*[a-z0-9]\\\\.c\\\\Z\"\n ],\n \"RE_CLASS_NAME\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"RE_NAMESPACE\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"RE_VARNAME\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"RE_PUBLIC_MEMBER_VARIABLE\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"RE_PRIVATE_MEMBER_VARIABLE\": {\n \".*_tmp\\\\Z\":[true,\"illegal suffix _tmp\"],\n \"priv_.*\\\\Z\":[false,\"required prefix priv_ missing\"]\n },\n \"RE_GLOBAL_VARNAME\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"RE_FUNCTIONNAME\": [\"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\"],\n \"include_guard\": {\n \"input\": \"basename\",\n \"prefix\": \"_\",\n \"suffix\": \"\",\n \"case\": \"upper\",\n \"max_linenr\": 5,\n \"RE_HEADERFILE\": \".*\\\\.h\\\\Z\",\n \"required\": true\n },\n \"var_prefixes\": {\"uint32_t\": \"ui32\"},\n \"function_prefixes\": {\"uint16_t\": \"ui16\",\n \"uint32_t\": \"ui32\"},\n \"skip_one_char_variables\": false\n }\n \"\"\".replace('\\\\','\\\\\\\\'))\n \n test_unguarded_include_file_basename = 'test_unguarded.h'\n test_unguarded_include_file = os.path.join(tmpdir, test_unguarded_include_file_basename)\n with open(test_unguarded_include_file, 'wt') as f:\n f.write(\"\"\"\n void InvalidFunctionUnguarded();\n \"\"\")\n \n test_include_file_basename = '_test.h'\n test_include_file = os.path.join(tmpdir, test_include_file_basename)\n with open(test_include_file, 'wt') as f:\n f.write(\"\"\"\n #ifndef TEST_H\n #define TEST_H\n \n void InvalidFunction();\n extern int _invalid_extern_global;\n \n #include \"{}\"\n \n #endif\n \"\"\".format(test_unguarded_include_file))\n \n test_file_basename = 'test_.cpp'\n test_file = os.path.join(tmpdir, test_file_basename)\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n #include \"%s\"\n \n void invalid_function_();\n void _invalid_function();\n void valid_function1();\n void valid_function2(int _invalid_arg);\n void valid_function3(int invalid_arg_);\n void valid_function4(int valid_arg32);\n void valid_function5(uint32_t invalid_arg32);\n void valid_function6(uint32_t ui32_valid_arg);\n uint16_t invalid_function7(int valid_arg);\n uint16_t ui16_valid_function8(int valid_arg);\n \n int _invalid_global;\n static int _invalid_static_global;\n \n class _clz {\n public:\n _clz() : _invalid_public(0), _invalid_private(0), priv_good(0), priv_bad_tmp(0) { }\n int _invalid_public;\n private:\n char _invalid_private;\n int priv_good;\n int priv_bad_tmp;\n };\n \n namespace _invalid_namespace { }\n \"\"\"%(test_include_file_basename))\n \n args = ['--addon='+addon_file, '--verbose', '--enable=all', '--disable=unusedFunction', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = __remove_verbose_log(stdout.splitlines())\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n lines = [line for line in stderr.splitlines() if line != '']\n expect = [\n '{}:0:0: style: File name {} violates naming convention [namingng-namingConvention]'.format(test_include_file,test_include_file_basename),\n '^',\n '{}:2:9: style: include guard naming violation; TEST_H != _TEST_H [namingng-includeGuardName]'.format(test_include_file),\n '#ifndef TEST_H',\n ' ^',\n '{}:5:6: style: Function InvalidFunction violates naming convention [namingng-namingConvention]'.format(test_include_file),\n 'void InvalidFunction();',\n ' ^',\n '{}:6:12: style: Global variable _invalid_extern_global violates naming convention [namingng-namingConvention]'.format(test_include_file),\n 'extern int _invalid_extern_global;',\n ' ^',\n \n '{}:0:0: style: File name {} violates naming convention [namingng-namingConvention]'.format(test_unguarded_include_file,test_unguarded_include_file_basename),\n '^',\n '{}:0:0: style: Missing include guard [namingng-includeGuardMissing]'.format(test_unguarded_include_file),\n '^',\n '{}:2:6: style: Function InvalidFunctionUnguarded violates naming convention [namingng-namingConvention]'.format(test_unguarded_include_file),\n 'void InvalidFunctionUnguarded();',\n ' ^',\n \n '{}:0:0: style: File name {} violates naming convention [namingng-namingConvention]'.format(test_file,test_file_basename),\n '^',\n '{}:7:26: style: Variable _invalid_arg violates naming convention [namingng-namingConvention]'.format(test_file),\n 'void valid_function2(int _invalid_arg);',\n ' ^',\n '{}:8:26: style: Variable invalid_arg_ violates naming convention [namingng-namingConvention]'.format(test_file),\n 'void valid_function3(int invalid_arg_);',\n ' ^',\n '{}:10:31: style: Variable invalid_arg32 violates naming convention [namingng-namingConvention]'.format(test_file),\n 'void valid_function5(uint32_t invalid_arg32);',\n ' ^',\n '{}:4:6: style: Function invalid_function_ violates naming convention [namingng-namingConvention]'.format(test_file),\n 'void invalid_function_();',\n ' ^',\n '{}:5:6: style: Function _invalid_function violates naming convention [namingng-namingConvention]'.format(test_file),\n 'void _invalid_function();',\n ' ^',\n '{}:12:10: style: Function invalid_function7 violates naming convention [namingng-namingConvention]'.format(test_file),\n 'uint16_t invalid_function7(int valid_arg);',\n ' ^',\n '{}:15:5: style: Global variable _invalid_global violates naming convention [namingng-namingConvention]'.format(test_file),\n 'int _invalid_global;',\n ' ^',\n '{}:16:12: style: Global variable _invalid_static_global violates naming convention [namingng-namingConvention]'.format(test_file),\n 'static int _invalid_static_global;',\n ' ^',\n '{}:20:5: style: Class Constructor _clz violates naming convention [namingng-namingConvention]'.format(test_file),\n ' _clz() : _invalid_public(0), _invalid_private(0), priv_good(0), priv_bad_tmp(0) { }',\n ' ^',\n '{}:21:9: style: Public member variable _invalid_public violates naming convention [namingng-namingConvention]'.format(test_file),\n ' int _invalid_public;',\n ' ^',\n '{}:23:10: style: Private member variable _invalid_private violates naming convention: required prefix priv_ missing [namingng-namingConvention]'.format(test_file),\n ' char _invalid_private;',\n ' ^',\n '{}:25:9: style: Private member variable priv_bad_tmp violates naming convention: illegal suffix _tmp [namingng-namingConvention]'.format(test_file),\n ' int priv_bad_tmp;',\n ' ^',\n '{}:28:11: style: Namespace _invalid_namespace violates naming convention [namingng-namingConvention]'.format(test_file),\n 'namespace _invalid_namespace { }',\n ' ^',\n ]\n # test sorted lines; the order of messages may vary and is not of importance\n lines.sort()\n expect.sort()\n> assert lines == expect\nE AssertionError: assert [' ^', '#incl...singInclude]'] == [' ... ^', ...]\nE \nE At index 0 diff: ' ^' != ' ^'\nE Right contains 56 more items, first extra item: ' ^'\nE \nE Full diff:\nE [\nE - ' ^',...\nE \nE ...Full output truncated (108 lines hidden), use '-vv' to show\n\ntests/other_test.py:617: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_namingng_config": {"message": "IndexError: pop from empty list", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_namingng_config2')\n\n def test_addon_namingng_config(tmpdir):\n addon_file = os.path.join(tmpdir, 'namingng.json')\n addon_config_file = os.path.join(tmpdir, 'namingng.config.json')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n {\n \"script\": \"addons/namingng.py\",\n \"args\": [\n \"--configfile=%s\"\n ]\n }\n \"\"\"%(addon_config_file).replace('\\\\','\\\\\\\\'))\n \n with open(addon_config_file, 'wt') as f:\n f.write(\"\"\"\n {\n \"RE_FILE\": \"[^/]*[a-z][a-z0-9_]*[a-z0-9]\\\\.c\\\\Z\",\n \"RE_NAMESPACE\": false,\n \"RE_VARNAME\": [\"+bad pattern\",\"[a-z]_good_pattern\\\\Z\",\"(parentheses?\"],\n \"RE_PRIVATE_MEMBER_VARIABLE\": \"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\",\n \"RE_PUBLIC_MEMBER_VARIABLE\": {\n \"tmp_.*\\\\Z\":[true,\"illegal prefix tmp_\"],\n \"bad_.*\\\\Z\":true,\n \"public_.*\\\\Z\":[false],\n \"pub_.*\\\\Z\":[0,\"required prefix pub_ missing\"]\n },\n \"RE_GLOBAL_VARNAME\": \"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\",\n \"RE_FUNCTIONNAME\": \"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\",\n \"RE_CLASS_NAME\": \"[a-z][a-z0-9_]*[a-z0-9]\\\\Z\",\n \"_comment1\": \"these should all be arrays, or null, or not set\",\n \n \"include_guard\": true,\n \"var_prefixes\": [\"bad\"],\n \"function_prefixes\": false,\n \"_comment2\": \"these should all be dict\",\n \n \"skip_one_char_variables\": \"false\",\n \"_comment3\": \"this should be bool\",\n \n \"RE_VAR_NAME\": \"typo\"\n }\n \"\"\".replace('\\\\','\\\\\\\\'))\n \n test_file_basename = 'test.c'\n test_file = os.path.join(tmpdir, test_file_basename)\n with open(test_file, 'a'):\n # only create the file\n pass\n \n args = ['--addon='+addon_file, '--verbose', '--enable=all', '-j1', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n \n lines = __remove_verbose_log(stdout.splitlines())\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n lines = stderr.splitlines()\n # ignore the first line, stating that the addon failed to run properly\n> lines.pop(0)\nE IndexError: pop from empty list\n\ntests/other_test.py:681: IndexError"}, "b9729b57ee68/tests.other_test.test_addon_findcasts": {"message": "AssertionError: assert '' == '/tmp/pytest-...casts-cast]\\n'\n \n - /tmp/pytest-of-root/pytest-0/test_addon_findcasts2/test.cpp:4:21: information: found a cast [findcasts-cast]", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_findcasts2')\n\n def test_addon_findcasts(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n extern void f(char c)\n {\n int i = (int)c;\n (void)i;\n }\n \"\"\")\n \n args = ['--addon=findcasts', '--enable=all', '--disable=unusedFunction', '--template=simple', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:4:21: information: found a cast [findcasts-cast]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...casts-cast]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_findcasts2/test.cpp:4:21: information: found a cast [findcasts-cast]\n\ntests/other_test.py:724: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_misc": {"message": "AssertionError: assert '' == '/tmp/pytest-...nArrayInit]\\n'\n \n - /tmp/pytest-of-root/pytest-0/test_addon_misc2/test.cpp:4:26: style: String concatenation in array initialization, missing comma? [misc-stringConcatInArrayInit]", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_misc2')\n\n def test_addon_misc(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n extern void f()\n {\n char char* [] = {\"a\" \"b\"}\n }\n \"\"\")\n \n args = ['--addon=misc', '--enable=all', '--disable=unusedFunction', '--template=simple', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == '{}:4:26: style: String concatenation in array initialization, missing comma? [misc-stringConcatInArrayInit]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...nArrayInit]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_addon_misc2/test.cpp:4:26: style: String concatenation in array initialization, missing comma? [misc-stringConcatInArrayInit]\n\ntests/other_test.py:745: AssertionError"}, "b9729b57ee68/tests.other_test.test_invalid_addon_json": {"message": "assert 0 == 1", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_invalid_addon_json2')\n\n def test_invalid_addon_json(tmpdir):\n addon_file = os.path.join(tmpdir, 'addon1.json')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:761: AssertionError"}, "b9729b57ee68/tests.other_test.test_invalid_addon_py": {"message": "AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\n \n - /tmp/pytest-of-root/pytest-0/test_invalid_addon_py2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1 [internalError]\n - \n - ^", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_invalid_addon_py2')\n\n def test_invalid_addon_py(tmpdir):\n addon_file = os.path.join(tmpdir, 'addon1.py')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n raise Exception()\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n typedef int MISRA_5_6_VIOLATION;\n \"\"\")\n \n args = ['--addon={}'.format(addon_file), '--enable=all', '--disable=unusedFunction', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0 # TODO: needs to be 1\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1 [internalError]\\n\\n^\\n\".format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...Error]\\n\\n^\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_invalid_addon_py2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1 [internalError]\nE - \nE - ^\n\ntests/other_test.py:790: AssertionError"}, "b9729b57ee68/tests.other_test.test_invalid_addon_py_verbose": {"message": "assert False\n + where False = (\"/tmp/pytest-of-root/pytest-0/test_invalid_addon_py_verbose2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \")\n + where = ''.startswith\n + and \"/tmp/pytest-of-root/pytest-0/test_invalid_addon_py_verbose2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \" = ('/tmp/pytest-of-root/pytest-0/test_invalid_addon_py_verbose2/file.cpp')\n + where = \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \".format", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_invalid_addon_py_verbose2')\n\n def test_invalid_addon_py_verbose(tmpdir):\n addon_file = os.path.join(tmpdir, 'addon1.py')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n raise Exception()\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n typedef int MISRA_5_6_VIOLATION;\n \"\"\")\n \n args = ['--addon={}'.format(addon_file), '--enable=all', '--disable=unusedFunction', '--verbose', '-j1', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0 # TODO: needs to be 1\n lines = __remove_verbose_log(stdout.splitlines())\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n \"\"\"\n /tmp/pytest-of-user/pytest-11/test_invalid_addon_py_20/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: python3 /home/user/CLionProjects/cppcheck/addons/runaddon.py /tmp/pytest-of-user/pytest-11/test_invalid_addon_py_20/addon1.py --cli /tmp/pytest-of-user/pytest-11/test_invalid_addon_py_20/file.cpp.24762.dump\n Output:\n Traceback (most recent call last):\n File \"/home/user/CLionProjects/cppcheck/addons/runaddon.py\", line 8, in \n runpy.run_path(addon, run_name='__main__')\n File \"\", line 291, in run_path\n File \"\", line 98, in _run_module_code\n File \"\", line 88, in _run_code\n File \"/tmp/pytest-of-user/pytest-11/test_invalid_addon_py_20/addon1.py\", line 2, in \n raise Exception()\n Exceptio [internalError]\n \"\"\"\n # /tmp/pytest-of-user/pytest-10/test_invalid_addon_py_20/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 256.: python3 /home/user/CLionProjects/cppcheck/addons/runaddon.py /tmp/pytest-of-user/pytest-10/test_invalid_addon_py_20/addon1.py --cli /tmp/pytest-of-user/pytest-10/test_invalid_addon_py_20/file.cpp.24637.dump\n> assert stderr.startswith(\"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \".format(test_file))\nE assert False\nE + where False = (\"/tmp/pytest-of-root/pytest-0/test_invalid_addon_py_verbose2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \")\nE + where = ''.startswith\nE + and \"/tmp/pytest-of-root/pytest-0/test_invalid_addon_py_verbose2/file.cpp:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \" = ('/tmp/pytest-of-root/pytest-0/test_invalid_addon_py_verbose2/file.cpp')\nE + where = \"{}:0:0: error: Bailing out from analysis: Checking file failed: Failed to execute addon 'addon1' - exitcode is 1: \".format\n\ntests/other_test.py:829: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_result": {"message": "AssertionError: assert '' == 'test.cpp:1:1...n1-id]\\n\\n^\\n'\n \n - test.cpp:1:1: style: msg [addon1-id]\n - \n - ^", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_result2')\n\n def test_addon_result(tmpdir):\n addon_file = os.path.join(tmpdir, 'addon1.py')\n with open(addon_file, 'wt') as f:\n f.write(\"\"\"\n print(\"Checking ...\")\n print(\"\")\n print('{\"file\": \"test.cpp\", \"linenr\": 1, \"column\": 1, \"severity\": \"style\", \"message\": \"msg\", \"addon\": \"addon1\", \"errorId\": \"id\", \"extra\": \"\"}')\n print('{\"loc\": [{\"file\": \"test.cpp\", \"linenr\": 1, \"column\": 1, \"info\": \"\"}], \"severity\": \"style\", \"message\": \"msg\", \"addon\": \"addon1\", \"errorId\": \"id\", \"extra\": \"\"}')\n \"\"\")\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n typedef int MISRA_5_6_VIOLATION;\n \"\"\")\n \n args = ['--addon={}'.format(addon_file), '--enable=all', '--disable=unusedFunction', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0 # TODO: needs to be 1\n lines = stdout.splitlines()\n assert lines == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr == 'test.cpp:1:1: style: msg [addon1-id]\\n\\n^\\n'\nE AssertionError: assert '' == 'test.cpp:1:1...n1-id]\\n\\n^\\n'\nE \nE - test.cpp:1:1: style: msg [addon1-id]\nE - \nE - ^\n\ntests/other_test.py:858: AssertionError"}, "b9729b57ee68/tests.other_test.test_unused_function_include": {"message": "AssertionError: assert '' == '/tmp/pytest-...edFunction]\\n'\n \n - /tmp/pytest-of-root/pytest-0/test_unused_function_include2/test.h:4:26: style: The function 'f' is never used. [unusedFunction]", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_function_include2')\n\n def test_unused_function_include(tmpdir):\n> __test_unused_function_include(tmpdir, [])\n\ntests/other_test.py:896: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_function_include2')\nextra_args = []\n\n def __test_unused_function_include(tmpdir, extra_args):\n test_cpp_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_cpp_file, 'wt') as f:\n f.write(\"\"\"\n #include \"test.h\"\n \"\"\")\n \n test_h_file = os.path.join(tmpdir, 'test.h')\n with open(test_h_file, 'wt') as f:\n f.write(\"\"\"\n class A {\n public:\n void f() {}\n // cppcheck-suppress unusedFunction\n void f2() {}\n };\n \"\"\")\n \n args = [\n '--enable=unusedFunction',\n '--inline-suppr',\n '--template=simple',\n '-j1',\n test_cpp_file\n ]\n \n args += extra_args\n \n _, _, stderr = cppcheck(args)\n> assert stderr == \"{}:4:26: style: The function 'f' is never used. [unusedFunction]\\n\".format(test_h_file)\nE AssertionError: assert '' == '/tmp/pytest-...edFunction]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_unused_function_include2/test.h:4:26: style: The function 'f' is never used. [unusedFunction]\n\ntests/other_test.py:892: AssertionError"}, "b9729b57ee68/tests.other_test.test_showtime_top5_file": {"message": "assert 0 == 7\n + where 0 = len([])", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_showtime_top5_file2')\n\n def test_showtime_top5_file(tmpdir):\n test_file = os.path.join(tmpdir, 'test.cpp')\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n int main(int argc)\n {\n }\n \"\"\")\n \n args = ['--showtime=top5_file', '--quiet', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0 # TODO: needs to be 1\n lines = stdout.splitlines()\n> assert len(lines) == 7\nE assert 0 == 7\nE + where 0 = len([])\n\ntests/other_test.py:914: AssertionError"}, "b9729b57ee68/tests.other_test.test_missing_addon": {"message": "AssertionError: assert ['Did not fin...on misra3.py'] == ['Did not fin...on misra3.py']\n \n At index 0 diff: 'Did not find addon misra3.py' != 'Did not find addon misra2.py'\n Right contains one more item: 'Did not find addon misra3.py'\n \n Full diff:\n [\n - 'Did not find addon misra2.py',\n 'Did not find addon misra3.py',\n ]", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_missing_addon2')\n\n def test_missing_addon(tmpdir):\n args = ['--addon=misra3', '--addon=misra', '--addon=misra2', 'file.c']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 1\n lines = stdout.splitlines()\n lines.sort()\n> assert lines == [\n 'Did not find addon misra2.py',\n 'Did not find addon misra3.py'\n ]\nE AssertionError: assert ['Did not fin...on misra3.py'] == ['Did not fin...on misra3.py']\nE \nE At index 0 diff: 'Did not find addon misra3.py' != 'Did not find addon misra2.py'\nE Right contains one more item: 'Did not find addon misra3.py'\nE \nE Full diff:\nE [\nE - 'Did not find addon misra2.py',\nE 'Did not find addon misra3.py',\nE ]\n\ntests/other_test.py:933: AssertionError"}, "b9729b57ee68/tests.other_test.test_file_order": {"message": "AssertionError: assert ['Checking /t...0% done', ...] == ['Checking /t...5% done', ...]\n \n At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/test_file_order2/a.c ...' != 'Checking /tmp/pytest-of-root/pytest-0/test_file_order2/c.c ...'\n \n Full diff:\n [\n + 'Checking /tmp/pytest-of-root/pytest-0/test_file_order2/a.c ...',\n + '1/4 files checked 0% done',...\n \n ...Full output truncated (16 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_file_order2')\n\n def test_file_order(tmpdir):\n test_file_a = os.path.join(tmpdir, 'a.c')\n with open(test_file_a, 'wt'):\n pass\n test_file_b = os.path.join(tmpdir, 'b.c')\n with open(test_file_b, 'wt'):\n pass\n test_file_c = os.path.join(tmpdir, 'c.c')\n with open(test_file_c, 'wt'):\n pass\n test_file_d = os.path.join(tmpdir, 'd.c')\n with open(test_file_d, 'wt'):\n pass\n \n args = [test_file_c, test_file_d, test_file_b, test_file_a, '-j1']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n 'Checking {} ...'.format(test_file_c),\n '1/4 files checked 25% done',\n 'Checking {} ...'.format(test_file_d),\n '2/4 files checked 50% done',\n 'Checking {} ...'.format(test_file_b),\n '3/4 files checked 75% done',\n 'Checking {} ...'.format(test_file_a),\n '4/4 files checked 100% done'\n ]\nE AssertionError: assert ['Checking /t...0% done', ...] == ['Checking /t...5% done', ...]\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/test_file_order2/a.c ...' != 'Checking /tmp/pytest-of-root/pytest-0/test_file_order2/c.c ...'\nE \nE Full diff:\nE [\nE + 'Checking /tmp/pytest-of-root/pytest-0/test_file_order2/a.c ...',\nE + '1/4 files checked 0% done',...\nE \nE ...Full output truncated (16 lines hidden), use '-vv' to show\n\ntests/other_test.py:1017: AssertionError"}, "b9729b57ee68/tests.other_test.test_markup": {"message": "AssertionError: ['Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_1.qml ...', '1/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_2.cpp ...', '2/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_3.qml ...', '3/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_4.cpp ...', '4/4 files checked 0% done']", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_markup2')\n\n def test_markup(tmpdir):\n test_file_1 = os.path.join(tmpdir, 'test_1.qml')\n with open(test_file_1, 'wt'):\n pass\n test_file_2 = os.path.join(tmpdir, 'test_2.cpp')\n with open(test_file_2, 'wt'):\n pass\n test_file_3 = os.path.join(tmpdir, 'test_3.qml')\n with open(test_file_3, 'wt'):\n pass\n test_file_4 = os.path.join(tmpdir, 'test_4.cpp')\n with open(test_file_4, 'wt'):\n pass\n \n args = ['--library=qt', test_file_1, test_file_2, test_file_3, test_file_4, '-j1']\n out_lines = [\n 'Checking {} ...'.format(test_file_2),\n '1/4 files checked 25% done',\n 'Checking {} ...'.format(test_file_4),\n '2/4 files checked 50% done',\n 'Checking {} ...'.format(test_file_1),\n '3/4 files checked 75% done',\n 'Checking {} ...'.format(test_file_3),\n '4/4 files checked 100% done'\n ]\n \n> assert_cppcheck(args, ec_exp=0, err_exp=[], out_exp=out_lines)\n\ntests/other_test.py:1056: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nargs = ['--library=qt', '/tmp/pytest-of-root/pytest-0/test_markup2/test_1.qml', '/tmp/pytest-of-root/pytest-0/test_markup2/te... '/tmp/pytest-of-root/pytest-0/test_markup2/test_3.qml', '/tmp/pytest-of-root/pytest-0/test_markup2/test_4.cpp', '-j1']\nec_exp = 0\nout_exp = ['Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_2.cpp ...', '1/4 files checked 25% done', 'Checking /tmp/pyt...cked 50% done', 'Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_1.qml ...', '3/4 files checked 75% done', ...]\nerr_exp = [], env = None, cwd = None\n\n def assert_cppcheck(args, ec_exp=None, out_exp=None, err_exp=None, env=None, cwd=None):\n exitcode, stdout, stderr = cppcheck(args, env=env, cwd=cwd)\n if ec_exp is not None:\n assert exitcode == ec_exp, stdout\n if out_exp is not None:\n out_lines = stdout.splitlines()\n> assert out_lines == out_exp, out_lines\nE AssertionError: ['Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_1.qml ...', '1/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_2.cpp ...', '2/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_3.qml ...', '3/4 files checked 0% done', 'Checking /tmp/pytest-of-root/pytest-0/test_markup2/test_4.cpp ...', '4/4 files checked 0% done']\n\ntests/testutils.py:170: AssertionError"}, "b9729b57ee68/tests.other_test.test_markup_j": {"message": "AssertionError: assert ['1/4 files c...cpp ...', ...] == ['1/4 files c...cpp ...', ...]\n \n At index 0 diff: '1/4 files checked 0% done' != '1/4 files checked 25% done'\n \n Full diff:\n [\n - '1/4 files checked 25% done',\n ? ^^...\n \n ...Full output truncated (17 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_markup_j2')\n\n def test_markup_j(tmpdir):\n test_file_1 = os.path.join(tmpdir, 'test_1.qml')\n with open(test_file_1, 'wt'):\n pass\n test_file_2 = os.path.join(tmpdir, 'test_2.cpp')\n with open(test_file_2, 'wt'):\n pass\n test_file_3 = os.path.join(tmpdir, 'test_3.qml')\n with open(test_file_3, 'wt'):\n pass\n test_file_4 = os.path.join(tmpdir, 'test_4.cpp')\n with open(test_file_4, 'wt'):\n pass\n \n args = ['--library=qt', '-j2', test_file_1, test_file_2, test_file_3, test_file_4]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n \n> assert sorted(lines) == [\n '1/4 files checked 25% done',\n '2/4 files checked 50% done',\n '3/4 files checked 75% done',\n '4/4 files checked 100% done',\n 'Checking {} ...'.format(test_file_1),\n 'Checking {} ...'.format(test_file_2),\n 'Checking {} ...'.format(test_file_3),\n 'Checking {} ...'.format(test_file_4)\n ]\nE AssertionError: assert ['1/4 files c...cpp ...', ...] == ['1/4 files c...cpp ...', ...]\nE \nE At index 0 diff: '1/4 files checked 0% done' != '1/4 files checked 25% done'\nE \nE Full diff:\nE [\nE - '1/4 files checked 25% done',\nE ? ^^...\nE \nE ...Full output truncated (17 lines hidden), use '-vv' to show\n\ntests/other_test.py:1079: AssertionError"}, "b9729b57ee68/tests.other_test.test_valueflow_debug": {"message": "AssertionError: assert '##file /tmp/...i = 0 ;\\n7: }' == '##file /tmp/...n 0 always 0'\n \n - ##file /tmp/pytest-of-root/pytest-0/test_valueflow_debug2/test2.h\n ? ^ ^\n + ##file /tmp/pytest-of-root/pytest-0/test_valueflow_debug2/test_1.cpp\n ? ^^ ^^^\n 2: void f2 ( )\n 3: {...\n \n ...Full output truncated (45 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_valueflow_debug2')\n\n def test_valueflow_debug(tmpdir):\n test_file_cpp = os.path.join(tmpdir, 'test_1.cpp')\n with open(test_file_cpp, 'wt') as f:\n f.write(\"\"\"\n #include \"test.h\"\n \n void f()\n {\n int i = 0;\n }\n \"\"\"\n )\n test_file_h = os.path.join(tmpdir, 'test.h')\n with open(test_file_h, 'wt') as f:\n f.write(\"\"\"\n #include \"test2.h\"\n inline void f1()\n {\n int i = 0;\n }\n \"\"\"\n )\n test_file_h_2 = os.path.join(tmpdir, 'test2.h')\n with open(test_file_h_2, 'wt') as f:\n f.write(\"\"\"\n inline void f2()\n {\n int i = 0;\n }\n \"\"\"\n )\n \n args = ['--debug', test_file_cpp]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n if sys.platform == \"win32\":\n stdout = stdout.replace('/', '\\\\')\n assert f'Checking {test_file_cpp} ...' in stdout\n stdout = stdout.replace(f'Checking {test_file_cpp} ...\\n', '').strip()\n> assert stdout == '''##file {}\n 2: void f2 ( )\n 3: {{\n 4: int i@var1 ; i@var1 = 0 ;\n 5: }}\n \n ##file {}\n \n 1:\n 2:\n 3: void f1 ( )\n 4: {{\n 5: int i@var2 ; i@var2 = 0 ;\n 6: }}\n \n ##file {}\n \n 1:\n 2:\n 3:\n 4: void f ( )\n 5: {{\n 6: int i@var3 ; i@var3 = 0 ;\n 7: }}\n \n \n \n ##Value flow\n File {}\n Line 4\n = always 0\n 0 always 0\n File {}\n Line 5\n = always 0\n 0 always 0\n File {}\n Line 6\n = always 0\n 0 always 0'''.format(test_file_h_2, test_file_h, test_file_cpp,\n test_file_h_2, test_file_h, test_file_cpp)\nE AssertionError: assert '##file /tmp/...i = 0 ;\\n7: }' == '##file /tmp/...n 0 always 0'\nE \nE - ##file /tmp/pytest-of-root/pytest-0/test_valueflow_debug2/test2.h\nE ? ^ ^\nE + ##file /tmp/pytest-of-root/pytest-0/test_valueflow_debug2/test_1.cpp\nE ? ^^ ^^^\nE 2: void f2 ( )\nE 3: {...\nE \nE ...Full output truncated (45 lines hidden), use '-vv' to show\n\ntests/other_test.py:1132: AssertionError"}, "b9729b57ee68/tests.other_test.test_file_duplicate_2": {"message": "AssertionError: assert ['Checking /t...cked 0% done'] == ['Checking /t...ed 100% done']\n \n At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_22/a.c ...' != 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_22/c.c ...'\n \n Full diff:\n [\n + 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_22/a.c ...',\n + '1/3 files checked 0% done',...\n \n ...Full output truncated (11 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_file_duplicate_22')\n\n def test_file_duplicate_2(tmpdir):\n test_file_a = os.path.join(tmpdir, 'a.c')\n with open(test_file_a, 'wt'):\n pass\n test_file_b = os.path.join(tmpdir, 'b.c')\n with open(test_file_b, 'wt'):\n pass\n test_file_c = os.path.join(tmpdir, 'c.c')\n with open(test_file_c, 'wt'):\n pass\n \n args = [test_file_c, test_file_a, test_file_b, str(tmpdir), test_file_b, test_file_c, test_file_a, str(tmpdir), '-j1']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n 'Checking {} ...'.format(test_file_c),\n '1/3 files checked 33% done',\n 'Checking {} ...'.format(test_file_a),\n '2/3 files checked 66% done',\n 'Checking {} ...'.format(test_file_b),\n '3/3 files checked 100% done'\n ]\nE AssertionError: assert ['Checking /t...cked 0% done'] == ['Checking /t...ed 100% done']\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_22/a.c ...' != 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_22/c.c ...'\nE \nE Full diff:\nE [\nE + 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_22/a.c ...',\nE + '1/3 files checked 0% done',...\nE \nE ...Full output truncated (11 lines hidden), use '-vv' to show\n\ntests/other_test.py:1208: AssertionError"}, "b9729b57ee68/tests.other_test.test_file_duplicate_3": {"message": "AssertionError: assert ['Checking /t...cked 0% done'] == ['Checking a.c ...']\n \n At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_32/a.c ...' != 'Checking a.c ...'\n Left contains 3 more items, first extra item: '1/2 files checked 0% done'\n \n Full diff:\n [\n + 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_32/a.c ...',...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_file_duplicate_32')\n\n def test_file_duplicate_3(tmpdir): # #12834\n test_file_a = os.path.join(tmpdir, 'a.c')\n with open(test_file_a, 'wt'):\n pass\n \n # multiple ways to specify the same file\n in_file_a = 'a.c'\n in_file_b = os.path.join('.', 'a.c')\n in_file_c = os.path.join('dummy', '..', 'a.c')\n in_file_d = os.path.join(tmpdir, 'a.c')\n in_file_e = os.path.join(tmpdir, '.', 'a.c')\n in_file_f = os.path.join(tmpdir, 'dummy', '..', 'a.c')\n \n args = [in_file_a, in_file_b, in_file_c, in_file_d, in_file_e, in_file_f, str(tmpdir)]\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == [\n 'Checking {} ...'.format('a.c')\n ]\nE AssertionError: assert ['Checking /t...cked 0% done'] == ['Checking a.c ...']\nE \nE At index 0 diff: 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_32/a.c ...' != 'Checking a.c ...'\nE Left contains 3 more items, first extra item: '1/2 files checked 0% done'\nE \nE Full diff:\nE [\nE + 'Checking /tmp/pytest-of-root/pytest-0/test_file_duplicate_32/a.c ...',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:1237: AssertionError"}, "b9729b57ee68/tests.other_test.test_file_duplicate_4": {"message": "requires Windows", "text": "/workspace/eval/tests/other_test.py:1243: requires Windows"}, "b9729b57ee68/tests.other_test.test_addon_json_invalid_no_obj": {"message": "assert 0 == 1", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_no_obj2')\n\n def test_addon_json_invalid_no_obj(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps([]), \"JSON is not an object.\")\n\ntests/other_test.py:1324: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_no_obj2')\naddon_json = '[]', expected = 'JSON is not an object.'\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_json_invalid_args_1": {"message": "assert 0 == 1", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_args_12')\n\n def test_addon_json_invalid_args_1(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'args':0}), \"'args' must be an array.\")\n\ntests/other_test.py:1328: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_args_12')\naddon_json = '{\"args\": 0}', expected = \"'args' must be an array.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_json_invalid_args_2": {"message": "assert 0 == 1", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_args_22')\n\n def test_addon_json_invalid_args_2(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'args':[0]}), \"'args' entry is not a string.\")\n\ntests/other_test.py:1332: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_args_22')\naddon_json = '{\"args\": [0]}', expected = \"'args' entry is not a string.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_json_invalid_ctu": {"message": "assert 0 == 1", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_ctu2')\n\n def test_addon_json_invalid_ctu(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'ctu':0}), \"'ctu' must be a boolean.\")\n\ntests/other_test.py:1336: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_ctu2')\naddon_json = '{\"ctu\": 0}', expected = \"'ctu' must be a boolean.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_json_invalid_python": {"message": "assert 0 == 1", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_python2')\n\n def test_addon_json_invalid_python(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'python':0}), \"'python' must be a string.\")\n\ntests/other_test.py:1340: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_python2')\naddon_json = '{\"python\": 0}', expected = \"'python' must be a string.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_json_invalid_executable": {"message": "assert 0 == 1", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_execut2')\n\n def test_addon_json_invalid_executable(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'executable':0}), \"'executable' must be a string.\")\n\ntests/other_test.py:1344: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_execut2')\naddon_json = '{\"executable\": 0}', expected = \"'executable' must be a string.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_json_invalid_script_1": {"message": "assert 0 == 1", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_script2')\n\n def test_addon_json_invalid_script_1(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'Script':''}), \"'script' is missing.\")\n\ntests/other_test.py:1348: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_script2')\naddon_json = '{\"Script\": \"\"}', expected = \"'script' is missing.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_json_invalid_script_2": {"message": "assert 0 == 1", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_script5')\n\n def test_addon_json_invalid_script_2(tmpdir):\n> __test_addon_json_invalid(tmpdir, json.dumps({'script':0}), \"'script' must be a string.\")\n\ntests/other_test.py:1352: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_json_invalid_script5')\naddon_json = '{\"script\": 0}', expected = \"'script' must be a string.\"\n\n def __test_addon_json_invalid(tmpdir, addon_json, expected):\n addon_file = os.path.join(tmpdir, 'invalid.json')\n with open(addon_file, 'wt') as f:\n f.write(addon_json)\n \n test_file = os.path.join(tmpdir, 'file.cpp')\n with open(test_file, 'wt'):\n pass\n \n args = ['--addon={}'.format(addon_file), test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1\nE assert 0 == 1\n\ntests/other_test.py:1314: AssertionError"}, "b9729b57ee68/tests.other_test.test_rule_file_define_multiple": {"message": "AssertionError: cppcheck: error: Option --rule-file cannot be used as Cppcheck has not been built with rules support.\n \nassert 1 == 0", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule_file_define_multiple2')\n\n def test_rule_file_define_multiple(tmpdir):\n rule_file = os.path.join(tmpdir, 'rule_file.xml')\n with open(rule_file, 'wt') as f:\n f.write(\"\"\"\n \n \n define\n DEF_1\n \n error\n ruleId1\n \n \n \n define\n DEF_2\n \n error\n ruleId2\n define2\n \n \n \"\"\")\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n void f() { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['--template=simple', '--rule-file={}'.format(rule_file), '-DDEF_3', test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule-file cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1401: AssertionError"}, "b9729b57ee68/tests.other_test.test_rule_file_define": {"message": "AssertionError: cppcheck: error: Option --rule-file cannot be used as Cppcheck has not been built with rules support.\n \nassert 1 == 0", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule_file_define2')\n\n def test_rule_file_define(tmpdir):\n rule_file = os.path.join(tmpdir, 'rule_file.xml')\n with open(rule_file, 'wt') as f:\n f.write(\"\"\"\n \n define\n DEF_.\n \n \"\"\")\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n void f() { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['--template=simple', '--rule-file={}'.format(rule_file), '-DDEF_3', test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule-file cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1435: AssertionError"}, "b9729b57ee68/tests.other_test.test_rule_file_normal": {"message": "AssertionError: cppcheck: error: Option --rule-file cannot be used as Cppcheck has not been built with rules support.\n \nassert 1 == 0", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule_file_normal2')\n\n def test_rule_file_normal(tmpdir):\n rule_file = os.path.join(tmpdir, 'rule_file.xml')\n with open(rule_file, 'wt') as f:\n f.write(\"\"\"\n \n int\n \n \"\"\")\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n typedef int i32;\n void f(i32) { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['--template=simple', '--rule-file={}'.format(rule_file), test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule-file cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1468: AssertionError"}, "b9729b57ee68/tests.other_test.test_rule_file_raw": {"message": "AssertionError: cppcheck: error: Option --rule-file cannot be used as Cppcheck has not been built with rules support.\n \nassert 1 == 0", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule_file_raw2')\n\n def test_rule_file_raw(tmpdir):\n rule_file = os.path.join(tmpdir, 'rule_file.xml')\n with open(rule_file, 'wt') as f:\n f.write(\"\"\"\n \n raw\n i32\n \n \"\"\")\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n typedef int i32;\n void f(i32) { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['--template=simple', '--rule-file={}'.format(rule_file), test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule-file cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1500: AssertionError"}, "b9729b57ee68/tests.other_test.test_rule": {"message": "AssertionError: cppcheck: error: Option --rule cannot be used as Cppcheck has not been built with rules support.\n \nassert 1 == 0", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule2')\n\n def test_rule(tmpdir):\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n void f() { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['--template=simple', '--rule=f', test_file])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1523: AssertionError"}, "b9729b57ee68/tests.other_test.test_rule_multiple_files": {"message": "AssertionError: cppcheck: error: Option --rule cannot be used as Cppcheck has not been built with rules support.\n \nassert 1 == 0", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_rule_multiple_files2')\n\n def test_rule_multiple_files(tmpdir):\n stderr_exp = []\n for i in range(10):\n test_file = os.path.join(tmpdir, f'test_{i}.c')\n stderr_exp.append(\"{}:4:0: style: found 'f' [rule]\".format(test_file))\n with open(test_file, 'wt') as f:\n f.write('''\n #define DEF_1\n #define DEF_2\n void f() { }\n ''')\n \n exitcode, stdout, stderr = cppcheck(['-q', '--template=simple', '--rule=f', str(tmpdir)])\n> assert exitcode == 0, stdout if stdout else stderr\nE AssertionError: cppcheck: error: Option --rule cannot be used as Cppcheck has not been built with rules support.\nE \nE assert 1 == 0\n\ntests/other_test.py:1548: AssertionError"}, "b9729b57ee68/tests.other_test.test_filelist": {"message": "ValueError: list.remove(x): x not in list", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_filelist2')\n\n def test_filelist(tmpdir):\n list_dir = os.path.join(tmpdir, 'list-dir')\n os.mkdir(list_dir)\n \n with open(os.path.join(list_dir, 'aaa.c'), 'wt'):\n pass\n with open(os.path.join(list_dir, 'zzz.c'), 'wt'):\n pass\n with open(os.path.join(list_dir, 'valueflow.cpp'), 'wt'):\n pass\n with open(os.path.join(list_dir, 'vfvalue.cpp'), 'wt'):\n pass\n with open(os.path.join(list_dir, 'vf_enumvalue.cpp'), 'wt'):\n pass\n with open(os.path.join(list_dir, 'vf_analyze.h'), 'wt'):\n pass\n \n sub_dir_1 = os.path.join(list_dir, 'valueflow')\n os.mkdir(sub_dir_1)\n with open(os.path.join(sub_dir_1, 'file.cpp'), 'wt'):\n pass\n with open(os.path.join(sub_dir_1, 'file.c'), 'wt'):\n pass\n with open(os.path.join(sub_dir_1, 'file.h'), 'wt'):\n pass\n \n sub_dir_2 = os.path.join(list_dir, 'vfvalue')\n os.mkdir(sub_dir_2)\n with open(os.path.join(sub_dir_2, 'file.cpp'), 'wt'):\n pass\n with open(os.path.join(sub_dir_2, 'file.c'), 'wt'):\n pass\n with open(os.path.join(sub_dir_2, 'file.h'), 'wt'):\n pass\n \n sub_dir_3 = os.path.join(list_dir, 'vf_enumvalue')\n os.mkdir(sub_dir_3)\n with open(os.path.join(sub_dir_3, 'file.cpp'), 'wt'):\n pass\n with open(os.path.join(sub_dir_3, 'file.c'), 'wt'):\n pass\n with open(os.path.join(sub_dir_3, 'file.h'), 'wt'):\n pass\n \n # TODO: -rp is not applied to \"Checking\" messages\n #exitcode, stdout, stderr = cppcheck(['-j1', '-rp', list_dir])\n exitcode, stdout, stderr = cppcheck(['-j1', '.'], cwd=list_dir)\n assert exitcode == 0, stdout if stdout else stderr\n if sys.platform == \"win32\":\n stdout = stdout.replace('\\\\', '/')\n lines = stdout.splitlines()\n expected = [\n 'Checking aaa.c ...',\n 'Checking valueflow.cpp ...',\n 'Checking valueflow/file.c ...',\n 'Checking valueflow/file.cpp ...',\n 'Checking vf_enumvalue.cpp ...',\n 'Checking vf_enumvalue/file.c ...',\n 'Checking vf_enumvalue/file.cpp ...',\n 'Checking vfvalue.cpp ...',\n 'Checking vfvalue/file.c ...',\n 'Checking vfvalue/file.cpp ...',\n 'Checking zzz.c ...'\n ]\n assert len(expected), len(lines)\n for i in range(1, len(expected)+1):\n> lines.remove('{}/{} files checked {}% done'.format(i, len(expected), int(100 * i // len(expected))))\nE ValueError: list.remove(x): x not in list\n\ntests/other_test.py:1622: ValueError"}, "b9729b57ee68/tests.other_test.test_cpp_probe": {"message": "AssertionError: assert ['Defines:', ...tform:native'] == []\n \n Left contains 4 more items, first extra item: 'Defines:'\n \n Full diff:\n - []\n + [\n + 'Defines:',...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_cpp_probe2')\n\n def test_cpp_probe(tmpdir):\n test_file = os.path.join(tmpdir, 'test.h')\n with open(test_file, 'wt') as f:\n f.writelines([\n 'class A {};'\n ])\n \n args = ['-q', '--template=simple', '--cpp-header-probe', '--verbose', test_file]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n lines = stdout.splitlines()\n> assert lines == []\nE AssertionError: assert ['Defines:', ...tform:native'] == []\nE \nE Left contains 4 more items, first extra item: 'Defines:'\nE \nE Full diff:\nE - []\nE + [\nE + 'Defines:',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:1660: AssertionError"}, "b9729b57ee68/tests.other_test.test_config_invalid": {"message": "AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_config_invalid5/test.c ...\n \nassert 0 == 1", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_config_invalid5')\n\n def test_config_invalid(tmpdir):\n # cppcheck.cfg needs to be next to executable\n exe = shutil.copy2(__lookup_cppcheck_exe(), tmpdir)\n if sys.platform == 'win32':\n shutil.copy2(os.path.join(os.path.dirname(__lookup_cppcheck_exe()), 'cppcheck-core.dll'), tmpdir)\n shutil.copytree(os.path.join(os.path.dirname(__lookup_cppcheck_exe()), 'cfg'), os.path.join(tmpdir, 'cfg'))\n \n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt'):\n pass\n \n config_file = os.path.join(tmpdir, 'cppcheck.cfg')\n with open(config_file, 'wt'):\n pass\n \n exitcode, stdout, stderr, exe = cppcheck_ex([test_file], cwd=tmpdir, cppcheck_exe=exe)\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_config_invalid5/test.c ...\nE \nE assert 0 == 1\n\ntests/other_test.py:1697: AssertionError"}, "b9729b57ee68/tests.other_test.test_checkers_report_misra_json": {"message": "assert '' in '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkers_report_misra_jso2')\n\n def test_checkers_report_misra_json(tmpdir):\n \"\"\"check that misra checkers are reported properly when --addon=misra.json is used\"\"\"\n test_file = os.path.join(tmpdir, 'test.c')\n with open(test_file, 'wt') as f:\n f.write('x=1;')\n misra_json = os.path.join(tmpdir, 'misra.json')\n with open(misra_json, 'wt') as f:\n f.write('{\"script\":\"misra.py\"}')\n exitcode, stdout, stderr = cppcheck('--enable=style --addon=misra.json --xml-version=3 test.c'.split(), cwd=tmpdir)\n assert exitcode == 0, stdout if stdout else stderr\n> assert '' in stderr\nE assert '' in '\\n\\n \\n \\n \\n\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n\\n'\n\ntests/other_test.py:1747: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_file_relative_backslash": {"message": "AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_ignore_file_relative_back2/src/test.cpp ...\n \nassert 0 == 1", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_file_relative_back2')\n\n def test_ignore_file_relative_backslash(tmpdir):\n> __test_ignore_file(tmpdir, 'src\\\\test.cpp')\n\ntests/other_test.py:1806: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_file_relative_back2')\nign = 'src\\\\test.cpp', append = False, inject_path = False\n\n def __test_ignore_file(tmpdir, ign, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths are ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n args = [\n '--debug-ignore',\n test_file\n ]\n \n if inject_path:\n ign = ign.replace('$path', str(test_file))\n \n if append:\n args += ['-i{}'.format(ign)]\n else:\n args = ['-i{}'.format(ign)] + args\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_ignore_file_relative_back2/src/test.cpp ...\nE \nE assert 0 == 1\n\ntests/other_test.py:1777: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_file_relative_wildcard_backslash": {"message": "AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_ignore_file_relative_wild3/src/test.cpp ...\n \nassert 0 == 1", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_file_relative_wild3')\n\n def test_ignore_file_relative_wildcard_backslash(tmpdir):\n> __test_ignore_file(tmpdir, 'src\\\\test.c*')\n\ntests/other_test.py:1814: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_file_relative_wild3')\nign = 'src\\\\test.c*', append = False, inject_path = False\n\n def __test_ignore_file(tmpdir, ign, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths are ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n args = [\n '--debug-ignore',\n test_file\n ]\n \n if inject_path:\n ign = ign.replace('$path', str(test_file))\n \n if append:\n args += ['-i{}'.format(ign)]\n else:\n args = ['-i{}'.format(ign)] + args\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_ignore_file_relative_wild3/src/test.cpp ...\nE \nE assert 0 == 1\n\ntests/other_test.py:1777: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_path_relative_backslash": {"message": "AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_ignore_path_relative_back2/src/test.cpp ...\n \nassert 0 == 1", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_path_relative_back2')\n\n def test_ignore_path_relative_backslash(tmpdir):\n> __test_ignore_file(tmpdir, 'src\\\\')\n\ntests/other_test.py:1822: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_path_relative_back2')\nign = 'src\\\\', append = False, inject_path = False\n\n def __test_ignore_file(tmpdir, ign, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths are ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n args = [\n '--debug-ignore',\n test_file\n ]\n \n if inject_path:\n ign = ign.replace('$path', str(test_file))\n \n if append:\n args += ['-i{}'.format(ign)]\n else:\n args = ['-i{}'.format(ign)] + args\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_ignore_path_relative_back2/src/test.cpp ...\nE \nE assert 0 == 1\n\ntests/other_test.py:1777: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_path_relative_wildcard_backslash": {"message": "AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_ignore_path_relative_wild3/src/test.cpp ...\n \nassert 0 == 1", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_path_relative_wild3')\n\n def test_ignore_path_relative_wildcard_backslash(tmpdir):\n> __test_ignore_file(tmpdir, 'src*\\\\')\n\ntests/other_test.py:1830: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_path_relative_wild3')\nign = 'src*\\\\', append = False, inject_path = False\n\n def __test_ignore_file(tmpdir, ign, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths are ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n args = [\n '--debug-ignore',\n test_file\n ]\n \n if inject_path:\n ign = ign.replace('$path', str(test_file))\n \n if append:\n args += ['-i{}'.format(ign)]\n else:\n args = ['-i{}'.format(ign)] + args\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n> assert exitcode == 1, stdout if stdout else stderr\nE AssertionError: Checking /tmp/pytest-of-root/pytest-0/test_ignore_path_relative_wild3/src/test.cpp ...\nE \nE assert 0 == 1\n\ntests/other_test.py:1777: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_file": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file2')\n\n def test_ignore_project_file(tmpdir):\n> __test_ignore_project(tmpdir, 'test.cpp')\n\ntests/other_test.py:1887: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file2')\nign_proj = 'test.cpp', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_file_cli_prepend": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_p2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_p2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_p2')\n\n def test_ignore_project_file_cli_prepend(tmpdir):\n> __test_ignore_project(tmpdir, ign_proj='test2.cpp', ign_cli='test.cpp')\n\ntests/other_test.py:1891: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_p2')\nign_proj = 'test2.cpp', ign_cli = 'test.cpp', append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_p2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_p2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_file_cli_append": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_a2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_a2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_a2')\n\n def test_ignore_project_file_cli_append(tmpdir):\n> __test_ignore_project(tmpdir, ign_proj='test2.cpp', ign_cli='test.cpp', append_cli=True)\n\ntests/other_test.py:1895: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_a2')\nign_proj = 'test2.cpp', ign_cli = 'test.cpp', append_cli = True\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_a2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_cli_a2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_file_wildcard_back": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc2')\n\n def test_ignore_project_file_wildcard_back(tmpdir):\n> __test_ignore_project(tmpdir, 'test.c*')\n\ntests/other_test.py:1899: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc2')\nign_proj = 'test.c*', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_file_wildcard_front": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc5/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc5')\n\n def test_ignore_project_file_wildcard_front(tmpdir):\n> __test_ignore_project(tmpdir, '*test.cpp')\n\ntests/other_test.py:1903: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc5')\nign_proj = '*test.cpp', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_wildc5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_file_placeholder": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_place2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_place2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_place2')\n\n def test_ignore_project_file_placeholder(tmpdir):\n> __test_ignore_project(tmpdir, 't?st.cpp')\n\ntests/other_test.py:1907: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_place2')\nign_proj = 't?st.cpp', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_place2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_place2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_file_relative": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat2')\n\n def test_ignore_project_file_relative(tmpdir):\n> __test_ignore_project(tmpdir, 'src/test.cpp')\n\ntests/other_test.py:1911: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat2')\nign_proj = 'src/test.cpp', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_file_relative_backslash": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat5/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat5')\n\n def test_ignore_project_file_relative_backslash(tmpdir):\n> __test_ignore_project(tmpdir, 'src\\\\test.cpp')\n\ntests/other_test.py:1915: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat5')\nign_proj = 'src\\\\test.cpp', ign_cli = None, append_cli = False\ninject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_file_relat5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_path_relative": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat2')\n\n def test_ignore_project_path_relative(tmpdir):\n> __test_ignore_project(tmpdir, 'src/')\n\ntests/other_test.py:1919: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat2')\nign_proj = 'src/', ign_cli = None, append_cli = False, inject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_path_relative_backslash": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat5/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat5')\n\n def test_ignore_project_path_relative_backslash(tmpdir):\n> __test_ignore_project(tmpdir, 'src\\\\')\n\ntests/other_test.py:1923: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat5')\nign_proj = 'src\\\\', ign_cli = None, append_cli = False, inject_path_proj = False\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat5/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_path_relat5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_abspath": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_abspath2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_abspath2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_abspath2')\n\n def test_ignore_project_abspath(tmpdir):\n> __test_ignore_project(tmpdir, '$path', inject_path_proj=True)\n\ntests/other_test.py:1927: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_abspath2')\nign_proj = '/tmp/pytest-of-root/pytest-0/test_ignore_project_abspath2/src/test.cpp'\nign_cli = None, append_cli = False, inject_path_proj = True\n\n def __test_ignore_project(tmpdir, ign_proj, ign_cli=None, append_cli=False, inject_path_proj=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n # TODO: this should say that all paths were ignored\n lines_exp = [\n 'ignored path: {}'.format(test_file),\n 'cppcheck: error: could not find or open any of the paths given.',\n 'cppcheck: Maybe all paths were ignored?'\n ]\n \n if inject_path_proj:\n ign_proj = ign_proj.replace('$path', str(test_file))\n \n project_file = __write_gui_project(tmpdir, test_file, ign_proj)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if append_cli:\n args += ['-i{}'.format(ign_cli)]\n else:\n args = ['-i{}'.format(ign_cli)] + args\n \n exitcode, stdout, _ = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...ere ignored?']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_abspath2/test.cppcheck'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_abspath2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: could not find or open any of the paths given.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1883: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_2_file": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file2')\n\n def test_ignore_project_2_file(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-itest.cpp'])\n\ntests/other_test.py:1975: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file2')\nextra_args = ['-itest.cpp'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_2_file_append": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_app2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_app2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_app2')\n\n def test_ignore_project_2_file_append(tmpdir):\n # make sure it also matches when specified after project\n> __test_ignore_project_2(tmpdir, ['-itest.cpp'], append=True)\n\ntests/other_test.py:1980: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_app2')\nextra_args = ['-itest.cpp'], append = True, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_app2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_app2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_2_file_wildcard_back": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil2')\n\n def test_ignore_project_2_file_wildcard_back(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-itest.c*'])\n\ntests/other_test.py:1984: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil2')\nextra_args = ['-itest.c*'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_2_file_wildcard_front": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil5/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil5')\n\n def test_ignore_project_2_file_wildcard_front(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-i*test.cpp'])\n\ntests/other_test.py:1988: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil5')\nextra_args = ['-i*test.cpp'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_wil5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_2_file_placeholder": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_pla2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_pla2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_pla2')\n\n def test_ignore_project_2_file_placeholder(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-it?st.cpp'])\n\ntests/other_test.py:1992: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_pla2')\nextra_args = ['-it?st.cpp'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_pla2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_pla2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_2_file_relative": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel2')\n\n def test_ignore_project_2_file_relative(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc/test.cpp'])\n\ntests/other_test.py:1996: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel2')\nextra_args = ['-isrc/test.cpp'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_2_file_relative_backslash": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel5/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel5')\n\n def test_ignore_project_2_file_relative_backslash(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc\\\\test.cpp'])\n\ntests/other_test.py:2000: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel5')\nextra_args = ['-isrc\\\\test.cpp'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_2_file_relative_wildcard": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel8/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel8/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel8')\n\n def test_ignore_project_2_file_relative_wildcard(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc/test.c*'])\n\ntests/other_test.py:2004: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel8')\nextra_args = ['-isrc/test.c*'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel8/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel8/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_2_file_relative_wildcard_backslash": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel11/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel11/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel11')\n\n def test_ignore_project_2_file_relative_wildcard_backslash(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc\\\\test.c*'])\n\ntests/other_test.py:2008: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel11')\nextra_args = ['-isrc\\\\test.c*'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel11/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_file_rel11/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_2_path_relative": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel2')\n\n def test_ignore_project_2_path_relative(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc/'])\n\ntests/other_test.py:2012: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel2')\nextra_args = ['-isrc/'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_2_path_relative_backslash": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel5/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel5')\n\n def test_ignore_project_2_path_relative_backslash(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc\\\\'])\n\ntests/other_test.py:2016: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel5')\nextra_args = ['-isrc\\\\'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel5/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel5/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_2_path_relative_wildcard": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel8/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel8/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel8')\n\n def test_ignore_project_2_path_relative_wildcard(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc*/'])\n\ntests/other_test.py:2020: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel8')\nextra_args = ['-isrc*/'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel8/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel8/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_2_path_relative_wildcard_backslash": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel11/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel11/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel11')\n\n def test_ignore_project_2_path_relative_wildcard_backslash(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-isrc*\\\\'])\n\ntests/other_test.py:2024: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel11')\nextra_args = ['-isrc*\\\\'], append = False, inject_path = False\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel11/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_path_rel11/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError"}, "b9729b57ee68/tests.other_test.test_ignore_project_2_abspath": {"message": "assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2/src/test.cpp'\n Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\n \n Full diff:\n [\n - 'ignored path: '...\n \n ...Full output truncated (9 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2')\n\n def test_ignore_project_2_abspath(tmpdir):\n> __test_ignore_project_2(tmpdir, ['-i$path'], inject_path=True)\n\ntests/other_test.py:2028: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2')\nextra_args = ['-i/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2/src/test.cpp']\nappend = False, inject_path = True\n\n def __test_ignore_project_2(tmpdir, extra_args, append=False, inject_path=False):\n os.mkdir(os.path.join(tmpdir, 'src'))\n test_file = os.path.join(tmpdir, 'src', 'test.cpp')\n with open(test_file, 'wt'):\n pass\n \n lines_exp = [\n 'ignored path: {}'.format(str(test_file).replace('\\\\', '/')),\n 'cppcheck: error: no C or C++ source files found.',\n 'cppcheck: all paths were ignored'\n ]\n project_file = __write_compdb(tmpdir, test_file)\n args = [\n '--debug-ignore',\n '--project={}'.format(project_file)\n ]\n \n if inject_path:\n extra_args = [ extra_args[0].replace('$path', str(test_file)) ]\n if append:\n args += extra_args\n else:\n args = extra_args + args\n print(args)\n \n exitcode, stdout, stderr = cppcheck(args, cwd=tmpdir)\n assert exitcode == 1, stdout if stdout else stderr\n> assert stdout.splitlines() == lines_exp\nE assert ['cppcheck: e...t supported.'] == ['ignored pat...were ignored']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2/compile_commands.json'. Project files are not supported.\" != 'ignored path: /tmp/pytest-of-root/pytest-0/test_ignore_project_2_abspath2/src/test.cpp'\nE Right contains 2 more items, first extra item: 'cppcheck: error: no C or C++ source files found.'\nE \nE Full diff:\nE [\nE - 'ignored path: '...\nE \nE ...Full output truncated (9 lines hidden), use '-vv' to show\n\ntests/other_test.py:1971: AssertionError"}, "b9729b57ee68/tests.other_test.test_builddir_hash_check_level": {"message": "AssertionError: assert '' == '/tmp/pytest-...axBranches]\\n'\n \n - /tmp/pytest-of-root/pytest-0/test_builddir_hash_check_level2/test.c:0:0: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches]", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_builddir_hash_check_level2')\n\n def test_builddir_hash_check_level(tmp_path): # #13376\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f(bool b)\n {\n for (int i = 0; i < 2; ++i)\n {\n if (i == 0) {}\n if (b) continue;\n }\n }\n \"\"\")\n \n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n \n args = [ # // #14029\n '--enable=warning', # to execute the code which generates the normalCheckLevelMaxBranches message\n '--cppcheck-build-dir={}'.format(build_dir),\n '--template=simple',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stderr == ''\n \n args = [\n '--enable=warning', # to execute the code which generates the normalCheckLevelMaxBranches message\n '--enable=information', # to show the normalCheckLevelMaxBranches message\n '--cppcheck-build-dir={}'.format(build_dir),\n '--template=simple',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n> assert stderr == '{}:0:0: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches]\\n'.format(test_file)\nE AssertionError: assert '' == '/tmp/pytest-...axBranches]\\n'\nE \nE - /tmp/pytest-of-root/pytest-0/test_builddir_hash_check_level2/test.c:0:0: information: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. [normalCheckLevelMaxBranches]\n\ntests/other_test.py:2084: AssertionError"}, "b9729b57ee68/tests.other_test.test_def_undef": {"message": "AssertionError: assert [] == ['/tmp/pytest...nullPointer]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_def_undef2/test.c:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/test_def_undef2/test.c:5:14: error: Null '\n - 'pointer dereference: (int*)0 [nullPointer]',\n - ]", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_def_undef2')\n\n def test_def_undef(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f()\n {\n #ifndef DEF_1\n (void)(*((int*)0));\n #endif\n }\n \"\"\")\n \n args = [\n '--template=simple',\n '-DDEF_1',\n '-UDEF_1',\n str(test_file)\n ]\n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0\n assert stdout.splitlines() == [\n 'Checking {} ...'.format(test_file),\n 'Checking {}: DEF_1=1...'.format(test_file) # TODO: should not print DEF_1 - see #13335\n ]\n> assert stderr.splitlines() == [\n '{}:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...nullPointer]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_def_undef2/test.c:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_def_undef2/test.c:5:14: error: Null '\nE - 'pointer dereference: (int*)0 [nullPointer]',\nE - ]\n\ntests/other_test.py:2127: AssertionError"}, "b9729b57ee68/tests.other_test.test_undef": {"message": "AssertionError: assert [] == ['/tmp/pytest...nullPointer]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_undef2/test.c:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/test_undef2/test.c:5:14: error: Null pointer '\n - 'dereference: (int*)0 [nullPointer]',\n - ]", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_undef2')\n\n def test_undef(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f()\n {\n #ifndef DEF_1\n (void)(*((int*)0));\n #endif\n }\n \"\"\")\n \n args = [\n '--template=simple',\n '-UDEF_1',\n str(test_file)\n ]\n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0\n assert stdout.splitlines() == [\n 'Checking {} ...'.format(test_file)\n ]\n> assert stderr.splitlines() == [\n '{}:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...nullPointer]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_undef2/test.c:5:14: error: Null pointer dereference: (int*)0 [nullPointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_undef2/test.c:5:14: error: Null pointer '\nE - 'dereference: (int*)0 [nullPointer]',\nE - ]\n\ntests/other_test.py:2218: AssertionError"}, "b9729b57ee68/tests.other_test.test_inline_suppr_builddir_cached": {"message": "[XPASS(strict)] ", "text": "[XPASS(strict)] "}, "b9729b57ee68/tests.other_test.test_inline_suppr_builddir_j_cached": {"message": "[XPASS(strict)] ", "text": "[XPASS(strict)] "}, "b9729b57ee68/tests.other_test.test_duplicate_suppression": {"message": "AssertionError: \nassert 0 == 1", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_duplicate_suppression2')\n\n def test_duplicate_suppression(tmp_path):\n test_file = tmp_path / 'file.cpp'\n with open(test_file, 'wt'):\n pass\n \n args = [\n '-q',\n '--suppress=uninitvar',\n '--suppress=uninitvar',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1\n\ntests/other_test.py:2355: AssertionError"}, "b9729b57ee68/tests.other_test.test_duplicate_suppressions_list": {"message": "AssertionError: \nassert 0 == 1", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_duplicate_suppressions_li2')\n\n def test_duplicate_suppressions_list(tmp_path):\n suppr_file = tmp_path / 'suppressions'\n with open(suppr_file, 'wt') as f:\n f.write('''\n uninitvar\n uninitvar\n ''')\n \n test_file = tmp_path / 'file.cpp'\n with open(test_file, 'wt'):\n pass\n \n args = [\n '-q',\n '--suppressions-list={}'.format(suppr_file),\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1\n\ntests/other_test.py:2381: AssertionError"}, "b9729b57ee68/tests.other_test.test_duplicate_suppressions_mixed": {"message": "AssertionError: \nassert 0 == 1", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_duplicate_suppressions_mi2')\n\n def test_duplicate_suppressions_mixed(tmp_path):\n suppr_file = tmp_path / 'suppressions'\n with open(suppr_file, 'wt') as f:\n f.write('uninitvar')\n \n test_file = tmp_path / 'file.cpp'\n with open(test_file, 'wt'):\n pass\n \n args = [\n '-q',\n '--suppress=uninitvar',\n '--suppressions-list={}'.format(suppr_file),\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 1, stdout\nE AssertionError: \nE assert 0 == 1\n\ntests/other_test.py:2405: AssertionError"}, "b9729b57ee68/tests.other_test.test_xml_output": {"message": "assert '\\n' == '\\n'\n \n \n \n \n \n - \n - ...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_xml_output2')\n\n def test_xml_output(tmp_path): # #13391 / #13485\n test_file = tmp_path / 'test.cpp'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f(const void* p)\n {\n if(p) {}\n (void)*p; // REMARK: boom\n }\n \"\"\")\n \n _, version_str, _ = cppcheck(['--version'])\n version_str = version_str.replace('Cppcheck ', '').strip()\n \n args = [\n '-q',\n '--enable=style',\n '--xml',\n str(test_file)\n ]\n exitcode_1, stdout_1, stderr_1 = cppcheck(args)\n assert exitcode_1 == 0, stdout_1\n assert stdout_1 == ''\n test_file_exp = str(test_file).replace('\\\\', '/')\n> assert (stderr_1 ==\n '''\n \n \n \n \n \n \n p\n \n \n \n '''.format(version_str, test_file_exp, test_file_exp, test_file_exp))\nE assert '\\n' == '\\n'\nE \nE \nE \nE \nE \nE - \nE - ...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n\ntests/other_test.py:2436: AssertionError"}, "b9729b57ee68/tests.other_test.test_internal_error_loc_int": {"message": "AssertionError: assert [] == ['/tmp/pytest...ternalError]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_internal_error_loc_int2/test.c:3:13: error: Internal Error. MathLib::toBigUNumber: out_of_range: 0x10000000000000000 [internalError]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/test_internal_error_loc_int2/test.c:3:13: '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_internal_error_loc_int2')\n\n def test_internal_error_loc_int(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\n \"\"\"\n void f() {\n int i = 0x10000000000000000;\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n str(test_file)\n ]\n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n '{}:3:13: error: Internal Error. MathLib::toBigUNumber: out_of_range: 0x10000000000000000 [internalError]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...ternalError]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_internal_error_loc_int2/test.c:3:13: error: Internal Error. MathLib::toBigUNumber: out_of_range: 0x10000000000000000 [internalError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_internal_error_loc_int2/test.c:3:13: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2504: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_suppr_inline": {"message": "AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline2/test.c:4:1: style: '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline2')\n\n def test_addon_suppr_inline(tmp_path):\n> __test_addon_suppr(tmp_path, ['--inline-suppr', '-j1'])\n\ntests/other_test.py:2538: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline2')\nextra_args = ['--inline-suppr', '-j1']\n\n def __test_addon_suppr(tmp_path, extra_args):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n // cppcheck-suppress misra-c2012-2.3\n typedef int MISRA_5_6_VIOLATION;\n typedef int MISRA_5_6_VIOLATION_1;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--enable=style',\n '--addon=misra',\n str(test_file)\n ]\n \n args += extra_args\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout == ''\n> assert stderr.splitlines() == [\n '{}:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'.format(test_file),\n ]\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline2/test.c:4:1: style: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2531: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_suppr_inline_j": {"message": "AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline_j2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline_j2/test.c:4:1: '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline_j2')\n\n def test_addon_suppr_inline_j(tmp_path):\n> __test_addon_suppr(tmp_path, ['--inline-suppr', '-j2'])\n\ntests/other_test.py:2542: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline_j2')\nextra_args = ['--inline-suppr', '-j2']\n\n def __test_addon_suppr(tmp_path, extra_args):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n // cppcheck-suppress misra-c2012-2.3\n typedef int MISRA_5_6_VIOLATION;\n typedef int MISRA_5_6_VIOLATION_1;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--enable=style',\n '--addon=misra',\n str(test_file)\n ]\n \n args += extra_args\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout == ''\n> assert stderr.splitlines() == [\n '{}:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'.format(test_file),\n ]\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline_j2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_inline_j2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2531: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_suppr_cli_line": {"message": "AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_line2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_line2/test.c:4:1: '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_line2')\n\n def test_addon_suppr_cli_line(tmp_path):\n> __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:*:3'])\n\ntests/other_test.py:2546: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_line2')\nextra_args = ['--suppress=misra-c2012-2.3:*:3']\n\n def __test_addon_suppr(tmp_path, extra_args):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n // cppcheck-suppress misra-c2012-2.3\n typedef int MISRA_5_6_VIOLATION;\n typedef int MISRA_5_6_VIOLATION_1;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--enable=style',\n '--addon=misra',\n str(test_file)\n ]\n \n args += extra_args\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout == ''\n> assert stderr.splitlines() == [\n '{}:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'.format(test_file),\n ]\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_line2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_line2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2531: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_suppr_cli_file_line": {"message": "AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_file_line2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_file_line2/test.c:4:1: '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_file_line2')\n\n def test_addon_suppr_cli_file_line(tmp_path):\n> __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:test.c:3'])\n\ntests/other_test.py:2550: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_file_line2')\nextra_args = ['--suppress=misra-c2012-2.3:test.c:3']\n\n def __test_addon_suppr(tmp_path, extra_args):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n // cppcheck-suppress misra-c2012-2.3\n typedef int MISRA_5_6_VIOLATION;\n typedef int MISRA_5_6_VIOLATION_1;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--enable=style',\n '--addon=misra',\n str(test_file)\n ]\n \n args += extra_args\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout == ''\n> assert stderr.splitlines() == [\n '{}:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'.format(test_file),\n ]\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_file_line2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_file_line2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2531: AssertionError"}, "b9729b57ee68/tests.other_test.test_addon_suppr_cli_absfile_line": {"message": "AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_absfile_l2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_absfile_l2/test.c:4:1: '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_absfile_l2')\n\n def test_addon_suppr_cli_absfile_line(tmp_path):\n test_file = tmp_path / 'test.c'\n> __test_addon_suppr(tmp_path, ['--suppress=misra-c2012-2.3:{}:3'.format(test_file)])\n\ntests/other_test.py:2555: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_absfile_l2')\nextra_args = ['--suppress=misra-c2012-2.3:/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_absfile_l2/test.c:3']\n\n def __test_addon_suppr(tmp_path, extra_args):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n // cppcheck-suppress misra-c2012-2.3\n typedef int MISRA_5_6_VIOLATION;\n typedef int MISRA_5_6_VIOLATION_1;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--enable=style',\n '--addon=misra',\n str(test_file)\n ]\n \n args += extra_args\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout == ''\n> assert stderr.splitlines() == [\n '{}:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'.format(test_file),\n ]\nE AssertionError: assert [] == ['/tmp/pytest...a-c2012-2.3]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_absfile_l2/test.c:4:1: style: misra violation (use --rule-texts= to get proper output) [misra-c2012-2.3]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_addon_suppr_cli_absfile_l2/test.c:4:1: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:2531: AssertionError"}, "b9729b57ee68/tests.other_test.test_ctu_path_builddir": {"message": "AssertionError: assert [] == ['/tmp/pytest... ^', ...]\n \n Right contains 12 more items, first extra item: '/tmp/pytest-of-root/pytest-0/test_ctu_path_builddir2/test.c:2:19: error: Null pointer dereference: p [ctunullpointer]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/test_ctu_path_builddir2/test.c:2:19: error: '...\n \n ...Full output truncated (16 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_ctu_path_builddir2')\n\n def test_ctu_path_builddir(tmp_path): # #11883\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n \n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\"\"\"\n void f(int *p) { *p = 3; }\n int main() {\n int *p = 0;\n f(p);\n }\n \"\"\")\n \n args = [\n '-q',\n '--enable=style',\n '--suppress=nullPointer', # we only care about the CTU findings\n '--cppcheck-build-dir={}'.format(build_dir),\n str(test_file)\n ]\n \n # the CTU path was not properly read leading to missing location information\n stderr_exp = [\n '{}:2:19: error: Null pointer dereference: p [ctunullpointer]'.format(test_file),\n 'void f(int *p) { *p = 3; }',\n ' ^',\n \"{}:4:14: note: Assignment 'p=0', assigned value is 0\".format(test_file),\n ' int *p = 0;',\n ' ^',\n '{}:5:2: note: Calling function f, 1st argument is null'.format(test_file),\n 'f(p);',\n ' ^',\n '{}:2:19: note: Dereferencing argument p that is null'.format(test_file),\n 'void f(int *p) { *p = 3; }',\n ' ^'\n ]\n \n exitcode_1, stdout_1, stderr_1 = cppcheck(args)\n assert exitcode_1 == 0, stdout_1\n assert stdout_1 == ''\n> assert stderr_1.splitlines() == stderr_exp\nE AssertionError: assert [] == ['/tmp/pytest... ^', ...]\nE \nE Right contains 12 more items, first extra item: '/tmp/pytest-of-root/pytest-0/test_ctu_path_builddir2/test.c:2:19: error: Null pointer dereference: p [ctunullpointer]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_ctu_path_builddir2/test.c:2:19: error: '...\nE \nE ...Full output truncated (16 lines hidden), use '-vv' to show\n\ntests/other_test.py:2599: AssertionError"}, "b9729b57ee68/tests.other_test.test_debug": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##Value flow')\n + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug2')\n\n def test_debug(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') != -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find\n\ntests/other_test.py:2661: AssertionError"}, "b9729b57ee68/tests.other_test.test_debug_xml": {"message": "xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 3, column 1", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_xml2')\n\n def test_debug_xml(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug',\n '--xml',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n \n assert stderr\n assert ElementTree.fromstring(stderr) is not None\n \n assert stdout.find('##file ') != -1 # also exists in CDATA\n assert stdout.find('##Value flow') == -1\n assert stdout.find('### Symbol database ###') == -1\n assert stdout.find('##AST') == -1\n assert stdout.find('### Template Simplifier pass ') == -1\n \n> debug_xml = ElementTree.fromstring(stdout)\n\ntests/other_test.py:2697: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_xml2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'\nparser = \n\n def XML(text, parser=None):\n \"\"\"Parse XML document from string constant.\n \n This function can be used to embed \"XML Literals\" in Python code.\n \n *text* is a string containing XML data, *parser* is an\n optional parser instance, defaulting to the standard XMLParser.\n \n Returns an Element instance.\n \n \"\"\"\n if not parser:\n parser = XMLParser(target=TreeBuilder())\n> parser.feed(text)\nE xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 3, column 1\n\n/usr/lib/python3.10/xml/etree/ElementTree.py:1342: ParseError"}, "b9729b57ee68/tests.other_test.test_debug_verbose": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##Value flow')\n + where = 'Defines:\\nUndefines:\\nIncludes:\\nPlatform:native\\n\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_verbose2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_verbose2')\n\n def test_debug_verbose(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug',\n '--verbose',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') != -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = 'Defines:\\nUndefines:\\nIncludes:\\nPlatform:native\\n\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_verbose2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find\n\ntests/other_test.py:2730: AssertionError"}, "b9729b57ee68/tests.other_test.test_debug_verbose_xml": {"message": "xml.etree.ElementTree.ParseError: syntax error: line 1, column 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_verbose_xml2')\n\n def test_debug_verbose_xml(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug',\n '--verbose',\n '--xml',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n \n assert stderr\n assert ElementTree.fromstring(stderr) is not None\n \n assert stdout.find('##file ') != -1 # also exists in CDATA\n assert stdout.find('##Value flow') == -1\n assert stdout.find('### Symbol database ###') == -1\n assert stdout.find('##AST') == -1\n assert stdout.find('### Template Simplifier pass ') == -1\n \n> debug_xml = ElementTree.fromstring(stdout)\n\ntests/other_test.py:2767: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = 'Defines:\\nUndefines:\\nIncludes:\\nPlatform:native\\n\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_verbose_xml2/test.c\\n1: void f\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'\nparser = \n\n def XML(text, parser=None):\n \"\"\"Parse XML document from string constant.\n \n This function can be used to embed \"XML Literals\" in Python code.\n \n *text* is a string containing XML data, *parser* is an\n optional parser instance, defaulting to the standard XMLParser.\n \n Returns an Element instance.\n \n \"\"\"\n if not parser:\n parser = XMLParser(target=TreeBuilder())\n> parser.feed(text)\nE xml.etree.ElementTree.ParseError: syntax error: line 1, column 0\n\n/usr/lib/python3.10/xml/etree/ElementTree.py:1342: ParseError"}, "b9729b57ee68/tests.other_test.test_debug_template": {"message": "AssertionError: assert 0 == 1\n + where 0 = ('### Template Simplifier pass ')\n + where = ''.count", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template2')\n\n def test_debug_template(tmp_path):\n> __test_debug_template(tmp_path, verbose=False)\n\ntests/other_test.py:2834: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template2')\nverbose = False, debug = False\n\n def __test_debug_template(tmp_path, verbose=False, debug=False):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"template class TemplCl;\n void f()\n {\n (void)(*((int*)nullptr));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-template',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n if debug:\n args += ['--debug']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n if debug:\n assert stdout.find('##file ') != -1\n else:\n assert stdout.find('##file ') == -1\n if debug:\n assert stdout.find('##Value flow') != -1\n else:\n assert stdout.find('##Value flow') == -1\n if debug and verbose:\n assert stdout.find('### Symbol database ###') != -1\n else:\n assert stdout.find('### Symbol database ###') == -1\n if debug and verbose:\n assert stdout.find('##AST') != -1\n else:\n assert stdout.find('##AST') == -1\n if debug:\n assert stdout.count('### Template Simplifier pass ') == 2\n else:\n> assert stdout.count('### Template Simplifier pass ') == 1\nE AssertionError: assert 0 == 1\nE + where 0 = ('### Template Simplifier pass ')\nE + where = ''.count\n\ntests/other_test.py:2826: AssertionError"}, "b9729b57ee68/tests.other_test.test_debug_template_verbose_nodiff": {"message": "AssertionError: assert 0 == 1\n + where 0 = ('### Template Simplifier pass ')\n + where = ''.count", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template_verbose_no2')\n\n def test_debug_template_verbose_nodiff(tmp_path):\n # make sure --verbose does not change the output\n> assert __test_debug_template(tmp_path, verbose=False) == __test_debug_template(tmp_path, verbose=True)\n\ntests/other_test.py:2839: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template_verbose_no2')\nverbose = False, debug = False\n\n def __test_debug_template(tmp_path, verbose=False, debug=False):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"template class TemplCl;\n void f()\n {\n (void)(*((int*)nullptr));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-template',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n if debug:\n args += ['--debug']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n if debug:\n assert stdout.find('##file ') != -1\n else:\n assert stdout.find('##file ') == -1\n if debug:\n assert stdout.find('##Value flow') != -1\n else:\n assert stdout.find('##Value flow') == -1\n if debug and verbose:\n assert stdout.find('### Symbol database ###') != -1\n else:\n assert stdout.find('### Symbol database ###') == -1\n if debug and verbose:\n assert stdout.find('##AST') != -1\n else:\n assert stdout.find('##AST') == -1\n if debug:\n assert stdout.count('### Template Simplifier pass ') == 2\n else:\n> assert stdout.count('### Template Simplifier pass ') == 1\nE AssertionError: assert 0 == 1\nE + where 0 = ('### Template Simplifier pass ')\nE + where = ''.count\n\ntests/other_test.py:2826: AssertionError"}, "b9729b57ee68/tests.other_test.test_debug_template_debug": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##Value flow')\n + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_template_debug2/test.cpp\\n1: template < class T > class TemplCl ;\\n2: void f ( )\\n3: {\\n4: ( void ) ( * ( ( int * ) nullptr ) ) ;\\n5: }\\n'.find", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template_debug2')\n\n def test_debug_template_debug(tmp_path):\n> __test_debug_template(tmp_path, debug=True)\n\ntests/other_test.py:2843: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_template_debug2')\nverbose = False, debug = True\n\n def __test_debug_template(tmp_path, verbose=False, debug=False):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"template class TemplCl;\n void f()\n {\n (void)(*((int*)nullptr));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-template',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n if debug:\n args += ['--debug']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n if debug:\n assert stdout.find('##file ') != -1\n else:\n assert stdout.find('##file ') == -1\n if debug:\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_template_debug2/test.cpp\\n1: template < class T > class TemplCl ;\\n2: void f ( )\\n3: {\\n4: ( void ) ( * ( ( int * ) nullptr ) ) ;\\n5: }\\n'.find\n\ntests/other_test.py:2812: AssertionError"}, "b9729b57ee68/tests.other_test.test_debug_valueflow_data": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##Value flow')\n + where = ''.find", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow_data2')\n\n def test_debug_valueflow_data(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"int f()\n {\n double d = 1.0 / 0.5;\n return d;\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug-valueflow',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n \n # check sections in output\n assert stdout.find('##file ') == -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = ''.find\n\ntests/other_test.py:2900: AssertionError"}, "b9729b57ee68/tests.other_test.test_debug_valueflow_data_xml": {"message": "xml.etree.ElementTree.ParseError: no element found: line 1, column 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow_data_xml2')\n\n def test_debug_valueflow_data_xml(tmp_path): # #13606\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"double f()\n {\n double d = 0.0000001;\n return d;\n }\n \"\"\")\n \n args = [\n '-q',\n '--debug-valueflow',\n '--xml',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n \n assert stderr\n assert ElementTree.fromstring(stderr) is not None\n \n # check sections in output\n assert stdout.find('##file ') == -1\n assert stdout.find('##Value flow') == -1\n assert stdout.find('### Symbol database ###') == -1\n assert stdout.find('##AST') == -1\n assert stdout.find('### Template Simplifier pass ') == -1\n \n # check XML nodes in output\n> debug_xml = ElementTree.fromstring(stdout)\n\ntests/other_test.py:2953: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntext = '', parser = \n\n def XML(text, parser=None):\n \"\"\"Parse XML document from string constant.\n \n This function can be used to embed \"XML Literals\" in Python code.\n \n *text* is a string containing XML data, *parser* is an\n optional parser instance, defaulting to the standard XMLParser.\n \n Returns an Element instance.\n \n \"\"\"\n if not parser:\n parser = XMLParser(target=TreeBuilder())\n parser.feed(text)\n> return parser.close()\nE xml.etree.ElementTree.ParseError: no element found: line 1, column 0\n\n/usr/lib/python3.10/xml/etree/ElementTree.py:1343: ParseError"}, "b9729b57ee68/tests.other_test.test_check_headers": {"message": "AssertionError: cppcheck: error: unrecognized command line option: \"--no-check-headers\".\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_check_headers2')\n\n def test_check_headers(tmp_path):\n test_file_h = tmp_path / 'test.h'\n with open(test_file_h, 'wt') as f:\n f.write(\n \"\"\"\n inline void hdr()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n test_file_c = tmp_path / 'test.c'\n with open(test_file_c, 'wt') as f:\n f.write(\n \"\"\"\n #include \"test.h\"\n \n void f() {}\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--no-check-headers',\n str(test_file_c)\n ]\n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-check-headers\".\nE \nE assert 1 == 0\n\ntests/other_test.py:3026: AssertionError"}, "b9729b57ee68/tests.other_test.test_unique_error": {"message": "assert [] == ['/tmp/pytest...OutOfBounds]']\n \n Right contains 2 more items, first extra item: \"/tmp/pytest-of-root/pytest-0/test_unique_error2/test.c:4:13: error: Array 'm[9]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds]\"\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/test_unique_error2/test.c:4:13: error: Array '...\n \n ...Full output truncated (6 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_unique_error2')\n\n def test_unique_error(tmp_path): # #6366\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\n \"\"\"void f()\n {\n const long m[9] = {};\n long a=m[9], b=m[9];\n (void)a;\n (void)b;\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n str(test_file)\n ]\n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n \"{}:4:13: error: Array 'm[9]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds]\".format(test_file),\n \"{}:4:21: error: Array 'm[9]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds]\".format(test_file)\n ]\nE assert [] == ['/tmp/pytest...OutOfBounds]']\nE \nE Right contains 2 more items, first extra item: \"/tmp/pytest-of-root/pytest-0/test_unique_error2/test.c:4:13: error: Array 'm[9]' accessed at index 9, which is out of bounds. [arrayIndexOutOfBounds]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_unique_error2/test.c:4:13: error: Array '...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/other_test.py:3052: AssertionError"}, "b9729b57ee68/tests.other_test.test_clang_tidy": {"message": "clang-tidy is not available", "text": "/workspace/eval/tests/other_test.py:3240: clang-tidy is not available"}, "b9729b57ee68/tests.other_test.test_clang_tidy_project": {"message": "clang-tidy is not available", "text": "/workspace/eval/tests/other_test.py:3246: clang-tidy is not available"}, "b9729b57ee68/tests.other_test.test_clang_tidy_error_exit": {"message": "clang-tidy is not available", "text": "/workspace/eval/tests/other_test.py:3251: clang-tidy is not available"}, "b9729b57ee68/tests.other_test.test_suppress_unmatched_wildcard": {"message": "AssertionError: assert ['test*.c:-1:...ession]', ...] == ['test*.c:-1:...Suppression]']\n \n At index 0 diff: 'test*.c:-1:0: information: Unmatched suppression: nullPointer [unmatchedSuppression]' != 'test*.c:-1:0: information: Unmatched suppression: id [unmatchedSuppression]'\n Left contains 4 more items, first extra item: 'tes?.c:-1:0: information: Unmatched suppression: id2 [unmatchedSuppression]'\n \n Full diff:\n [\n + 'test*.c:-1:0: information: Unmatched suppression: nullPointer '...\n \n ...Full output truncated (14 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_unmatched_wildca2')\n\n def test_suppress_unmatched_wildcard(tmp_path): # #13660\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n # need to run in the temporary folder because the path of the suppression has to match\n args = [\n '-q',\n '--template=simple',\n '--enable=information',\n '--suppress=nullPointer:test*.c', # checked and matched\n '--suppress=id:test*.c', # checked and unmatched\n '--suppress=id2:test*.c', # checked and unmatched\n '--suppress=id2:tes?.c', # checked and unmatched\n '--suppress=*:test*.c', # checked and unmatched\n '--suppress=id:test*.cpp', # unchecked\n '--suppress=id2:test?.cpp', # unchecked\n 'test.c'\n ]\n exitcode, stdout, stderr = cppcheck(args, cwd=tmp_path)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n # TODO: invalid locations - see #13659\n> assert stderr.splitlines() == [\n 'test*.c:-1:0: information: Unmatched suppression: id [unmatchedSuppression]',\n 'test*.c:-1:0: information: Unmatched suppression: id2 [unmatchedSuppression]',\n 'tes?.c:-1:0: information: Unmatched suppression: id2 [unmatchedSuppression]'\n ]\nE AssertionError: assert ['test*.c:-1:...ession]', ...] == ['test*.c:-1:...Suppression]']\nE \nE At index 0 diff: 'test*.c:-1:0: information: Unmatched suppression: nullPointer [unmatchedSuppression]' != 'test*.c:-1:0: information: Unmatched suppression: id [unmatchedSuppression]'\nE Left contains 4 more items, first extra item: 'tes?.c:-1:0: information: Unmatched suppression: id2 [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'test*.c:-1:0: information: Unmatched suppression: nullPointer '...\nE \nE ...Full output truncated (14 lines hidden), use '-vv' to show\n\ntests/other_test.py:3317: AssertionError"}, "b9729b57ee68/tests.other_test.test_preprocess_enforced_cpp": {"message": "assert ['/tmp/pytest...orDirective]'] == ['/tmp/pytest...orDirective]']\n \n At index 0 diff: '/tmp/pytest-of-root/pytest-0/test_preprocess_enforced_cpp2/test.c:2:2: error: #error\"err\" [preprocessorErrorDirective]' != '/tmp/pytest-of-root/pytest-0/test_preprocess_enforced_cpp2/test.c:2:2: error: #error \"err\" [preprocessorErrorDirective]'\n \n Full diff:\n [\n '/tmp/pytest-of-root/pytest-0/test_preprocess_enforced_cpp2/test.c:2:2: '\n - 'error: #error \"err\" [preprocessorErrorDirective]',...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_preprocess_enforced_cpp2')\n\n def test_preprocess_enforced_cpp(tmp_path): # #10989\n test_file = tmp_path / 'test.c'\n with open(test_file, 'wt') as f:\n f.write(\n \"\"\"#ifdef __cplusplus\n #error \"err\"\n #endif\"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--language=c++',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout if stdout else stderr\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n '{}:2:2: error: #error \"err\" [preprocessorErrorDirective]'.format(test_file)\n ]\nE assert ['/tmp/pytest...orDirective]'] == ['/tmp/pytest...orDirective]']\nE \nE At index 0 diff: '/tmp/pytest-of-root/pytest-0/test_preprocess_enforced_cpp2/test.c:2:2: error: #error\"err\" [preprocessorErrorDirective]' != '/tmp/pytest-of-root/pytest-0/test_preprocess_enforced_cpp2/test.c:2:2: error: #error \"err\" [preprocessorErrorDirective]'\nE \nE Full diff:\nE [\nE '/tmp/pytest-of-root/pytest-0/test_preprocess_enforced_cpp2/test.c:2:2: '\nE - 'error: #error \"err\" [preprocessorErrorDirective]',...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:3393: AssertionError"}, "b9729b57ee68/tests.other_test.test_debug_normal": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##Value flow')\n + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_normal2/test.c\\n1: void f ( )\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_normal2')\n\n def test_debug_normal(tmp_path):\n> __test_debug_normal(tmp_path, False)\n\ntests/other_test.py:3467: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_normal2')\nverbose = False\n\n def __test_debug_normal(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-normal',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') != -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_normal2/test.c\\n1: void f ( )\\n2: {\\n3: ( void ) ( * ( ( int * ) 0 ) ) ;\\n4: }\\n'.find\n\ntests/other_test.py:3450: AssertionError"}, "b9729b57ee68/tests.other_test.test_debug_simplified": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##file ')\n + where = ''.find", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_simplified2')\n\n def test_debug_simplified(tmp_path):\n> __test_debug_simplified(tmp_path, False)\n\ntests/other_test.py:3511: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_simplified2')\nverbose = False\n\n def __test_debug_simplified(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-simplified',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n> assert stdout.find('##file ') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##file ')\nE + where = ''.find\n\ntests/other_test.py:3499: AssertionError"}, "b9729b57ee68/tests.other_test.test_debug_simplified_verbose_nodiff": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##file ')\n + where = ''.find", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_simplified_verbose_2')\n\n def test_debug_simplified_verbose_nodiff(tmp_path):\n # make sure --verbose does not change the output\n> assert __test_debug_simplified(tmp_path, False) == __test_debug_simplified(tmp_path, True)\n\ntests/other_test.py:3516: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_simplified_verbose_2')\nverbose = False\n\n def __test_debug_simplified(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-simplified',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n> assert stdout.find('##file ') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##file ')\nE + where = ''.find\n\ntests/other_test.py:3499: AssertionError"}, "b9729b57ee68/tests.other_test.test_debug_symdb": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('### Symbol database ###')\n + where = ''.find", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_symdb2')\n\n def test_debug_symdb(tmp_path):\n> __test_debug_symdb(tmp_path, False)\n\ntests/other_test.py:3554: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_symdb2')\nverbose = False\n\n def __test_debug_symdb(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-symdb',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') == -1\n assert stdout.find('##Value flow') == -1\n> assert stdout.find('### Symbol database ###') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('### Symbol database ###')\nE + where = ''.find\n\ntests/other_test.py:3544: AssertionError"}, "b9729b57ee68/tests.other_test.test_debug_symdb_verbose_nodiff": {"message": "unconditional skip", "text": "/workspace/eval/tests/other_test.py:3557: unconditional skip"}, "b9729b57ee68/tests.other_test.test_debug_ast": {"message": "assert -1 != -1\n + where -1 = ('##AST')\n + where = \"1:1 'void' varId=0 type=12 scope=0\\n1:6 'f' varId=0 type=14 scope=0\\n1:7 '(' varId=0 type=9 scope=0\\n1:8 ')' varId=0 type=9 scope=0\\n2:1 '{' varId=0 type=9 scope=0\\n3:5 '(' varId=0 type=9 op1='*' scope=5\\n3:6 'void' varId=0 type=12 scope=5\\n3:10 ')' varId=0 type=9 scope=5\\n3:11 '(' varId=0 type=9 scope=5\\n3:12 '*' varId=0 type=8 parent='(' op1='(' scope=5\\n3:13 '(' varId=0 type=9 scope=5\\n3:14 '(' varId=0 type=9 parent='*' op1='0' scope=5 val=0K\\n3:15 'int' varId=0 type=12 scope=5\\n3:18 '*' varId=0 type=8 scope=5\\n3:19 ')' varId=0 type=9 scope=5\\n3:20 '0' varId=0 type=3 parent='(' scope=5 val=0K\\n3:21 ')' varId=0 type=9 scope=5\\n3:22 ')' varId=0 type=9 scope=5\\n3:23 ';' varId=0 type=8 scope=5\\n4:1 '}' varId=0 type=9 scope=0\\n\\n\".find", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_ast2')\n\n def test_debug_ast(tmp_path):\n> __test_debug_ast(tmp_path, False)\n\ntests/other_test.py:3598: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_ast2')\nverbose = False\n\n def __test_debug_ast(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-ast',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') == -1\n assert stdout.find('##Value flow') == -1\n assert stdout.find('### Symbol database ###') == -1\n> assert stdout.find('##AST') != -1\nE assert -1 != -1\nE + where -1 = ('##AST')\nE + where = \"1:1 'void' varId=0 type=12 scope=0\\n1:6 'f' varId=0 type=14 scope=0\\n1:7 '(' varId=0 type=9 scope=0\\n1:8 ')' varId=0 type=9 scope=0\\n2:1 '{' varId=0 type=9 scope=0\\n3:5 '(' varId=0 type=9 op1='*' scope=5\\n3:6 'void' varId=0 type=12 scope=5\\n3:10 ')' varId=0 type=9 scope=5\\n3:11 '(' varId=0 type=9 scope=5\\n3:12 '*' varId=0 type=8 parent='(' op1='(' scope=5\\n3:13 '(' varId=0 type=9 scope=5\\n3:14 '(' varId=0 type=9 parent='*' op1='0' scope=5 val=0K\\n3:15 'int' varId=0 type=12 scope=5\\n3:18 '*' varId=0 type=8 scope=5\\n3:19 ')' varId=0 type=9 scope=5\\n3:20 '0' varId=0 type=3 parent='(' scope=5 val=0K\\n3:21 ')' varId=0 type=9 scope=5\\n3:22 ')' varId=0 type=9 scope=5\\n3:23 ';' varId=0 type=8 scope=5\\n4:1 '}' varId=0 type=9 scope=0\\n\\n\".find\n\ntests/other_test.py:3589: AssertionError"}, "b9729b57ee68/tests.other_test.test_debug_ast_verbose_nodiff": {"message": "assert -1 != -1\n + where -1 = ('##AST')\n + where = \"1:1 'void' varId=0 type=12 scope=0\\n1:6 'f' varId=0 type=14 scope=0\\n1:7 '(' varId=0 type=9 scope=0\\n1:8 ')' varId=0 type=9 scope=0\\n2:1 '{' varId=0 type=9 scope=0\\n3:5 '(' varId=0 type=9 op1='*' scope=5\\n3:6 'void' varId=0 type=12 scope=5\\n3:10 ')' varId=0 type=9 scope=5\\n3:11 '(' varId=0 type=9 scope=5\\n3:12 '*' varId=0 type=8 parent='(' op1='(' scope=5\\n3:13 '(' varId=0 type=9 scope=5\\n3:14 '(' varId=0 type=9 parent='*' op1='0' scope=5 val=0K\\n3:15 'int' varId=0 type=12 scope=5\\n3:18 '*' varId=0 type=8 scope=5\\n3:19 ')' varId=0 type=9 scope=5\\n3:20 '0' varId=0 type=3 parent='(' scope=5 val=0K\\n3:21 ')' varId=0 type=9 scope=5\\n3:22 ')' varId=0 type=9 scope=5\\n3:23 ';' varId=0 type=8 scope=5\\n4:1 '}' varId=0 type=9 scope=0\\n\\n\".find", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_ast_verbose_nodiff2')\n\n def test_debug_ast_verbose_nodiff(tmp_path):\n # make sure --verbose does not change the output\n> assert __test_debug_ast(tmp_path, False) == __test_debug_ast(tmp_path, True)\n\ntests/other_test.py:3603: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_ast_verbose_nodiff2')\nverbose = False\n\n def __test_debug_ast(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-ast',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') == -1\n assert stdout.find('##Value flow') == -1\n assert stdout.find('### Symbol database ###') == -1\n> assert stdout.find('##AST') != -1\nE assert -1 != -1\nE + where -1 = ('##AST')\nE + where = \"1:1 'void' varId=0 type=12 scope=0\\n1:6 'f' varId=0 type=14 scope=0\\n1:7 '(' varId=0 type=9 scope=0\\n1:8 ')' varId=0 type=9 scope=0\\n2:1 '{' varId=0 type=9 scope=0\\n3:5 '(' varId=0 type=9 op1='*' scope=5\\n3:6 'void' varId=0 type=12 scope=5\\n3:10 ')' varId=0 type=9 scope=5\\n3:11 '(' varId=0 type=9 scope=5\\n3:12 '*' varId=0 type=8 parent='(' op1='(' scope=5\\n3:13 '(' varId=0 type=9 scope=5\\n3:14 '(' varId=0 type=9 parent='*' op1='0' scope=5 val=0K\\n3:15 'int' varId=0 type=12 scope=5\\n3:18 '*' varId=0 type=8 scope=5\\n3:19 ')' varId=0 type=9 scope=5\\n3:20 '0' varId=0 type=3 parent='(' scope=5 val=0K\\n3:21 ')' varId=0 type=9 scope=5\\n3:22 ')' varId=0 type=9 scope=5\\n3:23 ';' varId=0 type=8 scope=5\\n4:1 '}' varId=0 type=9 scope=0\\n\\n\".find\n\ntests/other_test.py:3589: AssertionError"}, "b9729b57ee68/tests.other_test.test_debug_valueflow": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##Value flow')\n + where = ''.find", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow2')\n\n def test_debug_valueflow(tmp_path):\n> __test_debug_valueflow(tmp_path, False)\n\ntests/other_test.py:3641: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow2')\nverbose = False\n\n def __test_debug_valueflow(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-valueflow',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') == -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = ''.find\n\ntests/other_test.py:3630: AssertionError"}, "b9729b57ee68/tests.other_test.test_debug_valueflow_verbose_nodiff": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##Value flow')\n + where = ''.find", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow_verbose_n2')\n\n def test_debug_valueflow_verbose_nodiff(tmp_path):\n # make sure --verbose does not change the output\n> assert __test_debug_valueflow(tmp_path, False) == __test_debug_valueflow(tmp_path, True)\n\ntests/other_test.py:3646: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_valueflow_verbose_n2')\nverbose = False\n\n def __test_debug_valueflow(tmp_path, verbose):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-valueflow',\n str(test_file)\n ]\n \n if verbose:\n args += ['--verbose']\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') == -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = ''.find\n\ntests/other_test.py:3630: AssertionError"}, "b9729b57ee68/tests.other_test.test_debug_syntaxerror_c": {"message": "AssertionError: assert -1 != -1\n + where -1 = ('##Value flow')\n + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_syntaxerror_c2/test.c\\n2: template < class T > class TemplCl ;\\n3: void f ( )\\n4: {\\n5: ( void ) ( * ( ( int * ) 0 ) ) ;\\n6: }\\n'.find", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_syntaxerror_c2')\n\n def test_debug_syntaxerror_c(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"\n template class TemplCl;\n void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--debug-normal',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.find('##file ') != -1\n> assert stdout.find('##Value flow') != -1\nE AssertionError: assert -1 != -1\nE + where -1 = ('##Value flow')\nE + where = '\\n\\n##file /tmp/pytest-of-root/pytest-0/test_debug_syntaxerror_c2/test.c\\n2: template < class T > class TemplCl ;\\n3: void f ( )\\n4: {\\n5: ( void ) ( * ( ( int * ) 0 ) ) ;\\n6: }\\n'.find\n\ntests/other_test.py:3671: AssertionError"}, "b9729b57ee68/tests.other_test.test_ast_max_depth": {"message": "AssertionError: assert [] == ['/tmp/pytest...nalAstError]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_ast_max_depth2/test.cpp:12:5: error: maximum AST depth exceeded [internalAstError]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/test_ast_max_depth2/test.cpp:12:5: error: '\n - 'maximum AST depth exceeded [internalAstError]',\n - ]", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_ast_max_depth2')\n\n def test_ast_max_depth(tmp_path):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"\n #define PTR1 (* (* (* (*\n #define PTR2 PTR1 PTR1 PTR1 PTR1\n #define PTR3 PTR2 PTR2 PTR2 PTR2\n #define PTR4 PTR3 PTR3 PTR3 PTR3\n \n #define RBR1 ) ) ) )\n #define RBR2 RBR1 RBR1 RBR1 RBR1\n #define RBR3 RBR2 RBR2 RBR2 RBR2\n #define RBR4 RBR3 RBR3 RBR3 RBR3\n \n int PTR4 q4_var RBR4 = 0;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n '{}:12:5: error: maximum AST depth exceeded [internalAstError]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...nalAstError]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_ast_max_depth2/test.cpp:12:5: error: maximum AST depth exceeded [internalAstError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_ast_max_depth2/test.cpp:12:5: error: '\nE - 'maximum AST depth exceeded [internalAstError]',\nE - ]\n\ntests/other_test.py:3707: AssertionError"}, "b9729b57ee68/tests.other_test.test_misra_disabled_unmatched": {"message": "AssertionError: assert ['nofile:0:0:...Suppression]'] == ['nofile:0:0:...Suppression]']\n \n At index 0 diff: 'nofile:0:0: information: Unmatched suppression: misra-c2012-20.5 [unmatchedSuppression]' != 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n Left contains one more item: 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n \n Full diff:\n [\n + 'nofile:0:0: information: Unmatched suppression: misra-c2012-20.5 '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_misra_disabled_unmatched2')\n\n def test_misra_disabled_unmatched(tmp_path): #14232\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\"):\n pass\n \n args = [\n '-q',\n '--template=simple',\n '--enable=warning,information',\n '--suppress=misra-c2012-20.5',\n '--suppress=uninitvar',\n str(test_file)\n ]\n \n ret, stdout, stderr = cppcheck(args)\n> assert stderr.splitlines() == [\n 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n ]\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['nofile:0:0:...Suppression]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: misra-c2012-20.5 [unmatchedSuppression]' != 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: misra-c2012-20.5 '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3728: AssertionError"}, "b9729b57ee68/tests.other_test.test_premium_disabled_unmatched": {"message": "AssertionError: assert ['nofile:0:0:...Suppression]'] == ['nofile:0:0:...Suppression]']\n \n At index 0 diff: 'nofile:0:0: information: Unmatched suppression: premium-misra-cpp-2023-12.2.1 [unmatchedSuppression]' != 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n Left contains one more item: 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n \n Full diff:\n [\n + 'nofile:0:0: information: Unmatched suppression: '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_premium_disabled_unmatche2')\n\n def test_premium_disabled_unmatched(tmp_path): #13663\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\"):\n pass\n \n args = [\n '-q',\n '--template=simple',\n '--enable=warning,information',\n '--suppress=premium-misra-cpp-2023-12.2.1',\n '--suppress=uninitvar',\n str(test_file)\n ]\n \n ret, stdout, stderr = cppcheck(args)\n> assert stderr.splitlines() == [\n 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\n ]\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['nofile:0:0:...Suppression]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: premium-misra-cpp-2023-12.2.1 [unmatchedSuppression]' != 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE Left contains one more item: 'nofile:0:0: information: Unmatched suppression: uninitvar [unmatchedSuppression]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3751: AssertionError"}, "b9729b57ee68/tests.other_test.test_unmatched_file": {"message": "AssertionError: assert [] == ['lib/test.c:...Suppression]']\n \n Right contains 6 more items, first extra item: 'lib/test.c:-1:0: information: Unmatched suppression: error [unmatchedSuppression]'\n \n Full diff:\n + []\n - [\n - 'lib/test.c:-1:0: information: Unmatched suppression: error '...\n \n ...Full output truncated (12 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_unmatched_file2')\n\n def test_unmatched_file(tmp_path): # #14248 / #14249\n lib_path = tmp_path / 'lib'\n os.makedirs(lib_path)\n \n test_file = lib_path / 'test.c'\n with open(test_file, \"w\"):\n pass\n \n suppr_txt = tmp_path / 'suppr.txt'\n with open(suppr_txt, \"w\") as f:\n f.write('''\n error:lib/test.c\n error2:lib\\\\test.c\n ''')\n \n suppr_xml = tmp_path / 'suppr.xml'\n with open(suppr_xml, \"w\") as f:\n f.write('''\n \n \n error3\n lib/test.c\n \n \n error4\n lib\\\\test.c\n \n \n ''')\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information',\n f'--suppressions-list={suppr_txt}',\n f'--suppress-xml={suppr_xml}',\n '--suppress=error5:lib/test.c',\n '--suppress=error6:lib\\\\test.c',\n str(test_file)\n ]\n \n lib_file = 'lib' + os.path.sep + 'test.c'\n \n ret, stdout, stderr = cppcheck(args)\n assert stdout == ''\n> assert stderr.splitlines() == [\n f'{lib_file}:-1:0: information: Unmatched suppression: error [unmatchedSuppression]',\n f'{lib_file}:-1:0: information: Unmatched suppression: error2 [unmatchedSuppression]',\n f'{lib_file}:-1:0: information: Unmatched suppression: error3 [unmatchedSuppression]',\n f'{lib_file}:-1:0: information: Unmatched suppression: error4 [unmatchedSuppression]',\n f'{lib_file}:-1:0: information: Unmatched suppression: error5 [unmatchedSuppression]',\n f'{lib_file}:-1:0: information: Unmatched suppression: error6 [unmatchedSuppression]'\n ]\nE AssertionError: assert [] == ['lib/test.c:...Suppression]']\nE \nE Right contains 6 more items, first extra item: 'lib/test.c:-1:0: information: Unmatched suppression: error [unmatchedSuppression]'\nE \nE Full diff:\nE + []\nE - [\nE - 'lib/test.c:-1:0: information: Unmatched suppression: error '...\nE \nE ...Full output truncated (12 lines hidden), use '-vv' to show\n\ntests/other_test.py:3803: AssertionError"}, "b9729b57ee68/tests.other_test.test_simplecpp_unhandled_char": {"message": "AssertionError: assert [] == ['/tmp/pytest...handledChar]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_simplecpp_unhandled_char2/test.c:2:5: error: The code contains unhandled character(s) (character code=228). Neither unicode nor extended ascii is supported. [unhandledChar]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/test_simplecpp_unhandled_char2/test.c:2:5: '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_simplecpp_unhandled_char2')\n\n def test_simplecpp_unhandled_char(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\", encoding='utf-8') as f:\n f.write(\n \"\"\"\n int \u4f60=0;\n \"\"\")\n \n args = [\n '-q',\n '--template=simple',\n '--emit-duplicates',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n '{}:2:5: error: The code contains unhandled character(s) (character code=228). Neither unicode nor extended ascii is supported. [unhandledChar]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...handledChar]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_simplecpp_unhandled_char2/test.c:2:5: error: The code contains unhandled character(s) (character code=228). Neither unicode nor extended ascii is supported. [unhandledChar]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_simplecpp_unhandled_char2/test.c:2:5: '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/other_test.py:3852: AssertionError"}, "b9729b57ee68/tests.other_test.test_simplecpp_include_nested_too_deeply": {"message": "AssertionError: assert [] == ['/tmp/pytest...edTooDeeply]']\n \n Right contains 2 more items, first extra item: '/tmp/pytest-of-root/pytest-0/test_simplecpp_include_nested_2/test_398.h:1:2: error: #include nested too deeply [includeNestedTooDeeply]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/test_simplecpp_include_nested_2/test_398.h:1:2: '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_simplecpp_include_nested_2')\n\n def test_simplecpp_include_nested_too_deeply(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write('#include \"test.h\"')\n \n test_h = tmp_path / 'test.h'\n with open(test_h, \"w\") as f:\n f.write('#include \"test_0.h\"')\n \n for i in range(400):\n test_h = tmp_path / f'test_{i}.h'\n with open(test_h, \"w\") as f:\n f.write('#include \"test_{}.h\"'.format(i+1))\n \n args = [\n '-q',\n '--template=simple',\n '--emit-duplicates',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n test_h = tmp_path / 'test_398.h'\n> assert stderr.splitlines() == [\n # TODO: should only report the error once\n '{}:1:2: error: #include nested too deeply [includeNestedTooDeeply]'.format(test_h),\n '{}:1:2: error: #include nested too deeply [includeNestedTooDeeply]'.format(test_h)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...edTooDeeply]']\nE \nE Right contains 2 more items, first extra item: '/tmp/pytest-of-root/pytest-0/test_simplecpp_include_nested_2/test_398.h:1:2: error: #include nested too deeply [includeNestedTooDeeply]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_simplecpp_include_nested_2/test_398.h:1:2: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3882: AssertionError"}, "b9729b57ee68/tests.other_test.test_simplecpp_syntax_error": {"message": "AssertionError: assert [] == ['/tmp/pytest...syntaxError]']\n \n Right contains 2 more items, first extra item: '/tmp/pytest-of-root/pytest-0/test_simplecpp_syntax_error2/test.c:1:2: error: No header in #include [syntaxError]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/test_simplecpp_syntax_error2/test.c:1:2: '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_simplecpp_syntax_error2')\n\n def test_simplecpp_syntax_error(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write('#include \"\"')\n \n args = [\n '-q',\n '--template=simple',\n '--emit-duplicates',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n # TODO: should only report the error once\n '{}:1:2: error: No header in #include [syntaxError]'.format(test_file),\n '{}:1:2: error: No header in #include [syntaxError]'.format(test_file)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...syntaxError]']\nE \nE Right contains 2 more items, first extra item: '/tmp/pytest-of-root/pytest-0/test_simplecpp_syntax_error2/test.c:1:2: error: No header in #include [syntaxError]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_simplecpp_syntax_error2/test.c:1:2: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3904: AssertionError"}, "b9729b57ee68/tests.other_test.test_max_configs[None-20-True-True]": {"message": "AssertionError: assert [] == ['/tmp/pytest...manyconfigs]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_max_configs_None_20_True_2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/test_max_configs_None_20_True_2/test.cpp:0:0: '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_max_configs_None_20_True_2')\nmax_configs = 12, number_of_configs = 20, check_config = True\nexpected_warn = True\n\n @pytest.mark.parametrize('max_configs,number_of_configs,check_config,expected_warn', [\n # max configs = default, max configs < number of configs => warn\n (None, 20, False, True),\n (None, 20, True, True),\n \n # max configs != default, max configs < number of configs => warn if --check-config\n (6, 20, False, False),\n (6, 20, True, True),\n \n # max configs >= number of configs => no warning\n (20, 20, False, False),\n (20, 20, False, False)\n ])\n def test_max_configs(tmp_path, max_configs, number_of_configs, check_config, expected_warn):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n for i in range(1,number_of_configs):\n dir = 'if' if i == 1 else 'elif'\n f.write(f'#{dir} defined(X{i})\\nx = {i};\\n')\n f.write('#endif\\n')\n \n args = ['--enable=information', '--template=simple', str(test_file)]\n \n if max_configs is None:\n max_configs = 12 # default value\n else:\n args = [f'--max-configs={max_configs}'] + args\n \n if check_config:\n args = ['--check-config'] + args\n \n # default max configs is set to 12, warn if code contains more configurations than that\n _, _, stderr = cppcheck(args)\n if not expected_warn:\n assert stderr.splitlines() == []\n else:\n> assert stderr.splitlines() == [\n '{}:0:0: information: Too many #ifdef configurations - cppcheck only checks {} of {} configurations. Use --force to check all configurations. [toomanyconfigs]'\n .format(test_file, max_configs, number_of_configs)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...manyconfigs]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_max_configs_None_20_True_2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 12 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_max_configs_None_20_True_2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3947: AssertionError"}, "b9729b57ee68/tests.other_test.test_max_configs[6-20-False-False]": {"message": "AssertionError: assert ['/tmp/pytest...manyconfigs]'] == []\n \n Left contains one more item: '/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_False_Fa2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 6 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\n \n Full diff:\n - []\n + [\n + '/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_False_Fa2/test.cpp:0:0: '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_False_Fa2')\nmax_configs = 6, number_of_configs = 20, check_config = False\nexpected_warn = False\n\n @pytest.mark.parametrize('max_configs,number_of_configs,check_config,expected_warn', [\n # max configs = default, max configs < number of configs => warn\n (None, 20, False, True),\n (None, 20, True, True),\n \n # max configs != default, max configs < number of configs => warn if --check-config\n (6, 20, False, False),\n (6, 20, True, True),\n \n # max configs >= number of configs => no warning\n (20, 20, False, False),\n (20, 20, False, False)\n ])\n def test_max_configs(tmp_path, max_configs, number_of_configs, check_config, expected_warn):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n for i in range(1,number_of_configs):\n dir = 'if' if i == 1 else 'elif'\n f.write(f'#{dir} defined(X{i})\\nx = {i};\\n')\n f.write('#endif\\n')\n \n args = ['--enable=information', '--template=simple', str(test_file)]\n \n if max_configs is None:\n max_configs = 12 # default value\n else:\n args = [f'--max-configs={max_configs}'] + args\n \n if check_config:\n args = ['--check-config'] + args\n \n # default max configs is set to 12, warn if code contains more configurations than that\n _, _, stderr = cppcheck(args)\n if not expected_warn:\n> assert stderr.splitlines() == []\nE AssertionError: assert ['/tmp/pytest...manyconfigs]'] == []\nE \nE Left contains one more item: '/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_False_Fa2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 6 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE - []\nE + [\nE + '/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_False_Fa2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3945: AssertionError"}, "b9729b57ee68/tests.other_test.test_max_configs[6-20-True-True]": {"message": "AssertionError: assert [] == ['/tmp/pytest...manyconfigs]']\n \n Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_True_Tru2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 6 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\n \n Full diff:\n + []\n - [\n - '/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_True_Tru2/test.cpp:0:0: '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_True_Tru2')\nmax_configs = 6, number_of_configs = 20, check_config = True\nexpected_warn = True\n\n @pytest.mark.parametrize('max_configs,number_of_configs,check_config,expected_warn', [\n # max configs = default, max configs < number of configs => warn\n (None, 20, False, True),\n (None, 20, True, True),\n \n # max configs != default, max configs < number of configs => warn if --check-config\n (6, 20, False, False),\n (6, 20, True, True),\n \n # max configs >= number of configs => no warning\n (20, 20, False, False),\n (20, 20, False, False)\n ])\n def test_max_configs(tmp_path, max_configs, number_of_configs, check_config, expected_warn):\n test_file = tmp_path / 'test.cpp'\n with open(test_file, \"w\") as f:\n for i in range(1,number_of_configs):\n dir = 'if' if i == 1 else 'elif'\n f.write(f'#{dir} defined(X{i})\\nx = {i};\\n')\n f.write('#endif\\n')\n \n args = ['--enable=information', '--template=simple', str(test_file)]\n \n if max_configs is None:\n max_configs = 12 # default value\n else:\n args = [f'--max-configs={max_configs}'] + args\n \n if check_config:\n args = ['--check-config'] + args\n \n # default max configs is set to 12, warn if code contains more configurations than that\n _, _, stderr = cppcheck(args)\n if not expected_warn:\n assert stderr.splitlines() == []\n else:\n> assert stderr.splitlines() == [\n '{}:0:0: information: Too many #ifdef configurations - cppcheck only checks {} of {} configurations. Use --force to check all configurations. [toomanyconfigs]'\n .format(test_file, max_configs, number_of_configs)\n ]\nE AssertionError: assert [] == ['/tmp/pytest...manyconfigs]']\nE \nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_True_Tru2/test.cpp:0:0: information: Too many #ifdef configurations - cppcheck only checks 6 of 20 configurations. Use --force to check all configurations. [toomanyconfigs]'\nE \nE Full diff:\nE + []\nE - [\nE - '/tmp/pytest-of-root/pytest-0/test_max_configs_6_20_True_Tru2/test.cpp:0:0: '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3947: AssertionError"}, "b9729b57ee68/tests.other_test.test_no_valid_configuration": {"message": "AssertionError: assert ['Checking /t...F_1=DEF_1...'] == ['Checking /t...2/test.c ...']\n \n Left contains one more item: 'Checking /tmp/pytest-of-root/pytest-0/test_no_valid_configuration2/test.c: DEF_1=DEF_1...'\n \n Full diff:\n [\n 'Checking /tmp/pytest-of-root/pytest-0/test_no_valid_configuration2/test.c '\n '...',...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_no_valid_configuration2')\n\n def test_no_valid_configuration(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"#include \"\"\n #ifdef DEF_1\n #include \"\"\n #endif\n \"\"\")\n \n args = [\n '--template=simple',\n '--emit-duplicates',\n '--enable=information',\n '--suppress=checkersReport',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n> assert stdout.splitlines() == [\n 'Checking {} ...'.format(test_file)\n ]\nE AssertionError: assert ['Checking /t...F_1=DEF_1...'] == ['Checking /t...2/test.c ...']\nE \nE Left contains one more item: 'Checking /tmp/pytest-of-root/pytest-0/test_no_valid_configuration2/test.c: DEF_1=DEF_1...'\nE \nE Full diff:\nE [\nE 'Checking /tmp/pytest-of-root/pytest-0/test_no_valid_configuration2/test.c '\nE '...',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:3973: AssertionError"}, "b9729b57ee68/tests.other_test.test_no_valid_configuration_check_config": {"message": "AssertionError: assert ['nofile:0:0:...Suppression]'] == ['/tmp/pytest...syntaxError]']\n \n At index 0 diff: 'nofile:0:0: information: Unmatched suppression: checkersReport [unmatchedSuppression]' != '/tmp/pytest-of-root/pytest-0/test_no_valid_configuration_ch2/test.c:1:2: error: No header in #include [syntaxError]'\n Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_no_valid_configuration_ch2/test.c:1:2: error: No header in #include [syntaxError]'\n \n Full diff:\n [\n + 'nofile:0:0: information: Unmatched suppression: checkersReport '...\n \n ...Full output truncated (6 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_no_valid_configuration_ch2')\n\n def test_no_valid_configuration_check_config(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"#include \"\"\n #ifdef DEF_1\n #include \"\"\n #endif\n \"\"\")\n \n args = [\n '--template=simple',\n '--emit-duplicates',\n '--enable=information',\n '--suppress=checkersReport',\n '--check-config',\n str(test_file)\n ]\n \n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == [\n 'Checking {} ...'.format(test_file)\n ]\n # TODO: this lacks context about the configuration which encounters these errors\n # TODO: add message when a configuration is dropped\n> assert stderr.splitlines() == [\n '{}:1:2: error: No header in #include [syntaxError]'.format(test_file),\n '{}:1:2: error: No header in #include [syntaxError]'.format(test_file)\n ]\nE AssertionError: assert ['nofile:0:0:...Suppression]'] == ['/tmp/pytest...syntaxError]']\nE \nE At index 0 diff: 'nofile:0:0: information: Unmatched suppression: checkersReport [unmatchedSuppression]' != '/tmp/pytest-of-root/pytest-0/test_no_valid_configuration_ch2/test.c:1:2: error: No header in #include [syntaxError]'\nE Right contains one more item: '/tmp/pytest-of-root/pytest-0/test_no_valid_configuration_ch2/test.c:1:2: error: No header in #include [syntaxError]'\nE \nE Full diff:\nE [\nE + 'nofile:0:0: information: Unmatched suppression: checkersReport '...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/other_test.py:4013: AssertionError"}, "b9729b57ee68/tests.other_test.test_active_unusedfunction_only": {"message": "AssertionError: cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl2')\n\n def test_active_unusedfunction_only(tmp_path):\n> __test_active_checkers(tmp_path, 1, 186, use_unusedfunction_only=True)\n\ntests/other_test.py:4065: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl2')\nactive_cnt = 1, total_cnt = 186, use_misra = False\nuse_unusedfunction_only = True, checkers_exp = None\n\n def __test_active_checkers(tmp_path, active_cnt, total_cnt, use_misra=False, use_unusedfunction_only=False, checkers_exp=None):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'w') as f:\n f.write('int i;')\n \n build_dir = None\n if checkers_exp is not None:\n build_dir = tmp_path / 'b1'\n os.makedirs(build_dir)\n \n args = [\n '-q',\n '--enable=information',\n '-j1',\n str(test_file)\n ]\n \n if use_misra:\n args += ['--addon=misra']\n if build_dir:\n args += ['--cppcheck-build-dir={}'.format(build_dir)]\n else:\n args += ['--no-cppcheck-build-dir']\n \n env = {}\n if use_unusedfunction_only:\n env = {'UNUSEDFUNCTION_ONLY': '1'}\n args += ['--enable=unusedFunction']\n exitcode, stdout, stderr, _ = cppcheck_ex(args, remove_checkers_report=False, env=env)\n> assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\nE \nE assert 1 == 0\n\ntests/other_test.py:4048: AssertionError"}, "b9729b57ee68/tests.other_test.test_active_unusedfunction_only_builddir": {"message": "AssertionError: assert ['nofile:0:0:...sReport]', ''] == ['nofile:0:0:...sReport]', '']\n \n At index 0 diff: 'nofile:0:0: information: Active checkers: 41/186 (use --checkers-report= to see details) [checkersReport]' != 'nofile:0:0: information: Active checkers: 1/186 (use --checkers-report= to see details) [checkersReport]'\n \n Full diff:\n [\n - 'nofile:0:0: information: Active checkers: 1/186 (use '\n + 'nofile:0:0: information: Active checkers: 41/186 (use '...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl5')\n\n def test_active_unusedfunction_only_builddir(tmp_path):\n checkers_exp = [\n 'CheckUnusedFunctions::check'\n ]\n> __test_active_checkers(tmp_path, 1, 186, use_unusedfunction_only=True, checkers_exp=checkers_exp)\n\ntests/other_test.py:4072: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl5')\nactive_cnt = 1, total_cnt = 186, use_misra = False\nuse_unusedfunction_only = True, checkers_exp = ['CheckUnusedFunctions::check']\n\n def __test_active_checkers(tmp_path, active_cnt, total_cnt, use_misra=False, use_unusedfunction_only=False, checkers_exp=None):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'w') as f:\n f.write('int i;')\n \n build_dir = None\n if checkers_exp is not None:\n build_dir = tmp_path / 'b1'\n os.makedirs(build_dir)\n \n args = [\n '-q',\n '--enable=information',\n '-j1',\n str(test_file)\n ]\n \n if use_misra:\n args += ['--addon=misra']\n if build_dir:\n args += ['--cppcheck-build-dir={}'.format(build_dir)]\n else:\n args += ['--no-cppcheck-build-dir']\n \n env = {}\n if use_unusedfunction_only:\n env = {'UNUSEDFUNCTION_ONLY': '1'}\n args += ['--enable=unusedFunction']\n exitcode, stdout, stderr, _ = cppcheck_ex(args, remove_checkers_report=False, env=env)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n f'nofile:0:0: information: Active checkers: {active_cnt}/{total_cnt} (use --checkers-report= to see details) [checkersReport]',\n '' # TODO: get rid of extra newline\n ]\nE AssertionError: assert ['nofile:0:0:...sReport]', ''] == ['nofile:0:0:...sReport]', '']\nE \nE At index 0 diff: 'nofile:0:0: information: Active checkers: 41/186 (use --checkers-report= to see details) [checkersReport]' != 'nofile:0:0: information: Active checkers: 1/186 (use --checkers-report= to see details) [checkersReport]'\nE \nE Full diff:\nE [\nE - 'nofile:0:0: information: Active checkers: 1/186 (use '\nE + 'nofile:0:0: information: Active checkers: 41/186 (use '...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/other_test.py:4050: AssertionError"}, "b9729b57ee68/tests.other_test.test_active_unusedfunction_only_misra": {"message": "AssertionError: cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl8')\n\n def test_active_unusedfunction_only_misra(tmp_path):\n> __test_active_checkers(tmp_path, 1, 386, use_unusedfunction_only=True, use_misra=True)\n\ntests/other_test.py:4076: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl8')\nactive_cnt = 1, total_cnt = 386, use_misra = True\nuse_unusedfunction_only = True, checkers_exp = None\n\n def __test_active_checkers(tmp_path, active_cnt, total_cnt, use_misra=False, use_unusedfunction_only=False, checkers_exp=None):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'w') as f:\n f.write('int i;')\n \n build_dir = None\n if checkers_exp is not None:\n build_dir = tmp_path / 'b1'\n os.makedirs(build_dir)\n \n args = [\n '-q',\n '--enable=information',\n '-j1',\n str(test_file)\n ]\n \n if use_misra:\n args += ['--addon=misra']\n if build_dir:\n args += ['--cppcheck-build-dir={}'.format(build_dir)]\n else:\n args += ['--no-cppcheck-build-dir']\n \n env = {}\n if use_unusedfunction_only:\n env = {'UNUSEDFUNCTION_ONLY': '1'}\n args += ['--enable=unusedFunction']\n exitcode, stdout, stderr, _ = cppcheck_ex(args, remove_checkers_report=False, env=env)\n> assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\nE \nE assert 1 == 0\n\ntests/other_test.py:4048: AssertionError"}, "b9729b57ee68/tests.other_test.test_active_unusedfunction_only_misra_builddir": {"message": "AssertionError: assert ['nofile:0:0:...sReport]', ''] == ['nofile:0:0:...sReport]', '']\n \n At index 0 diff: 'nofile:0:0: information: Active checkers: 41/186 (use --checkers-report= to see details) [checkersReport]' != 'nofile:0:0: information: Active checkers: 1/386 (use --checkers-report= to see details) [checkersReport]'\n \n Full diff:\n [\n - 'nofile:0:0: information: Active checkers: 1/386 (use '\n ? ^...\n \n ...Full output truncated (5 lines hidden), use '-vv' to show", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl11')\n\n def test_active_unusedfunction_only_misra_builddir(tmp_path):\n checkers_exp = [\n 'CheckUnusedFunctions::check'\n ]\n> __test_active_checkers(tmp_path, 1, 386, use_unusedfunction_only=True, use_misra=True, checkers_exp=checkers_exp)\n\ntests/other_test.py:4083: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_active_unusedfunction_onl11')\nactive_cnt = 1, total_cnt = 386, use_misra = True\nuse_unusedfunction_only = True, checkers_exp = ['CheckUnusedFunctions::check']\n\n def __test_active_checkers(tmp_path, active_cnt, total_cnt, use_misra=False, use_unusedfunction_only=False, checkers_exp=None):\n test_file = tmp_path / 'test.c'\n with open(test_file, 'w') as f:\n f.write('int i;')\n \n build_dir = None\n if checkers_exp is not None:\n build_dir = tmp_path / 'b1'\n os.makedirs(build_dir)\n \n args = [\n '-q',\n '--enable=information',\n '-j1',\n str(test_file)\n ]\n \n if use_misra:\n args += ['--addon=misra']\n if build_dir:\n args += ['--cppcheck-build-dir={}'.format(build_dir)]\n else:\n args += ['--no-cppcheck-build-dir']\n \n env = {}\n if use_unusedfunction_only:\n env = {'UNUSEDFUNCTION_ONLY': '1'}\n args += ['--enable=unusedFunction']\n exitcode, stdout, stderr, _ = cppcheck_ex(args, remove_checkers_report=False, env=env)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == []\n> assert stderr.splitlines() == [\n f'nofile:0:0: information: Active checkers: {active_cnt}/{total_cnt} (use --checkers-report= to see details) [checkersReport]',\n '' # TODO: get rid of extra newline\n ]\nE AssertionError: assert ['nofile:0:0:...sReport]', ''] == ['nofile:0:0:...sReport]', '']\nE \nE At index 0 diff: 'nofile:0:0: information: Active checkers: 41/186 (use --checkers-report= to see details) [checkersReport]' != 'nofile:0:0: information: Active checkers: 1/386 (use --checkers-report= to see details) [checkersReport]'\nE \nE Full diff:\nE [\nE - 'nofile:0:0: information: Active checkers: 1/386 (use '\nE ? ^...\nE \nE ...Full output truncated (5 lines hidden), use '-vv' to show\n\ntests/other_test.py:4050: AssertionError"}, "b9729b57ee68/tests.other_test.test_analyzerinfo": {"message": "AssertionError: cppcheck: error: unrecognized command line option: \"--debug-analyzerinfo\".\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_analyzerinfo2')\n\n def test_analyzerinfo(tmp_path):\n test_file = tmp_path / 'test.c'\n with open(test_file, \"w\") as f:\n f.write(\n \"\"\"void f()\n {\n (void)(*((int*)0));\n }\n \"\"\")\n \n build_dir = tmp_path / 'b1'\n os.makedirs(build_dir)\n \n test_a1_file = build_dir / 'test.a1'\n \n args = [\n '-q',\n '--debug-analyzerinfo',\n '--template=simple',\n '--cppcheck-build-dir={}'.format(build_dir),\n '--enable=all',\n str(test_file)\n ]\n \n stderr_exp = [\n '{}:3:14: error: Null pointer dereference: (int*)0 [nullPointer]'.format(test_file),\n \"{}:1:6: style: The function 'f' is never used. [unusedFunction]\".format(test_file)\n ]\n \n def run_and_assert_cppcheck(stdout_exp):\n exitcode, stdout, stderr = cppcheck(args)\n assert exitcode == 0, stdout\n assert stdout.splitlines() == stdout_exp\n assert stderr.splitlines() == stderr_exp\n \n test_a1_file_s = str(test_a1_file).replace('\\\\', '/')\n \n # no cached results\n> run_and_assert_cppcheck([\n \"no cached result '{}' found\".format(test_a1_file_s)\n ])\n\ntests/other_test.py:4124: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nstdout_exp = [\"no cached result '/tmp/pytest-of-root/pytest-0/test_analyzerinfo2/b1/test.a1' found\"]\n\n def run_and_assert_cppcheck(stdout_exp):\n exitcode, stdout, stderr = cppcheck(args)\n> assert exitcode == 0, stdout\nE AssertionError: cppcheck: error: unrecognized command line option: \"--debug-analyzerinfo\".\nE \nE assert 1 == 0\n\ntests/other_test.py:4117: AssertionError"}, "b9729b57ee68/tests.proj2_test.test_file_filter": {"message": "AssertionError: cppcheck: error: could not find any files matching the filter:proj2/b*\n \nassert 1 == 0", "text": "def test_file_filter():\n ret, stdout, _ = cppcheck(['proj2/','--file-filter=proj2/a/*'], cwd=__script_dir)\n file1 = os.path.join('proj2', 'a', 'a.c')\n file2 = os.path.join('proj2', 'b', 'b.c')\n assert ret == 0, stdout\n assert stdout.find('Checking %s ...' % file1) >= 0\n ret, stdout, _ = cppcheck(['proj2/','--file-filter=proj2/b*'], cwd=__script_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: could not find any files matching the filter:proj2/b*\nE \nE assert 1 == 0\n\ntests/proj2_test.py:36: AssertionError"}, "b9729b57ee68/tests.proj2_test.test_local_path": {"message": "AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_local_path2')\n\n def test_local_path(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=compile_commands.json'], cwd=proj_dir)\n file1 = os.path.join('a', 'a.c')\n file2 = os.path.join('b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:46: AssertionError"}, "b9729b57ee68/tests.proj2_test.test_local_path_force": {"message": "AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_local_path_force2')\n\n def test_local_path_force(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=compile_commands.json', '--force'], cwd=proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:55: AssertionError"}, "b9729b57ee68/tests.proj2_test.test_local_path_maxconfigs": {"message": "AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_local_path_maxconfigs2')\n\n def test_local_path_maxconfigs(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=compile_commands.json', '--max-configs=2'], cwd=proj_dir)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:63: AssertionError"}, "b9729b57ee68/tests.proj2_test.test_relative_path": {"message": "AssertionError: cppcheck: error: failed to load project 'proj2/compile_commands.json'. Project files are not supported.\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_relative_path2')\n\n def test_relative_path(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=proj2/' + __COMPILE_COMMANDS_JSON], cwd=tmp_path)\n file1 = os.path.join('proj2', 'a', 'a.c')\n file2 = os.path.join('proj2', 'b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:73: AssertionError"}, "b9729b57ee68/tests.proj2_test.test_absolute_path": {"message": "AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_absolute_path2/proj2/compile_commands.json'. Project files are not supported.\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_absolute_path2')\n\n def test_absolute_path(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=' + os.path.join(proj_dir, __COMPILE_COMMANDS_JSON)], cwd=tmp_path)\n file1 = os.path.join(proj_dir, 'a', 'a.c')\n file2 = os.path.join(proj_dir, 'b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_absolute_path2/proj2/compile_commands.json'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:84: AssertionError"}, "b9729b57ee68/tests.proj2_test.test_gui_project_loads_compile_commands_1": {"message": "AssertionError: cppcheck: error: failed to load project 'proj2/proj2.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_compile2')\n\n def test_gui_project_loads_compile_commands_1(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n ret, stdout, _ = cppcheck(['--project=proj2/proj2.cppcheck'], cwd=tmp_path)\n file1 = os.path.join('proj2', 'a', 'a.c')\n file2 = os.path.join('proj2', 'b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/proj2.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:95: AssertionError"}, "b9729b57ee68/tests.proj2_test.test_gui_project_loads_compile_commands_2": {"message": "AssertionError: cppcheck: error: failed to load project 'proj2/test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_compile5')\n\n def test_gui_project_loads_compile_commands_2(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n __create_compile_commands(proj_dir)\n exclude_path_1 = 'proj2/b'\n create_gui_project_file(os.path.join(proj_dir, 'test.cppcheck'),\n import_project='compile_commands.json',\n exclude_paths=[exclude_path_1])\n ret, stdout, _ = cppcheck(['--project=' + os.path.join('proj2','test.cppcheck')], cwd=tmp_path)\n file1 = os.path.join('proj2', 'a', 'a.c')\n file2 = os.path.join('proj2', 'b', 'b.c') # Excluded by test.cppcheck\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'proj2/test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:110: AssertionError"}, "b9729b57ee68/tests.proj2_test.test_gui_project_loads_relative_vs_solution": {"message": "AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_relativ2')\n\n def test_gui_project_loads_relative_vs_solution(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n create_gui_project_file(os.path.join(tmp_path, 'test.cppcheck'), import_project='proj2/proj2.sln')\n ret, stdout, _ = cppcheck(['--project=test.cppcheck'], cwd=tmp_path)\n file1 = os.path.join('proj2', 'a', 'a.c')\n file2 = os.path.join('proj2', 'b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:122: AssertionError"}, "b9729b57ee68/tests.proj2_test.test_gui_project_loads_absolute_vs_solution": {"message": "AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_absolut2')\n\n def test_gui_project_loads_absolute_vs_solution(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n create_gui_project_file(os.path.join(tmp_path, 'test.cppcheck'), import_project=os.path.join(proj_dir, 'proj2.sln'))\n ret, stdout, _ = cppcheck(['--project=test.cppcheck'], cwd=tmp_path)\n file1 = os.path.join(proj_dir, 'a', 'a.c')\n file2 = os.path.join(proj_dir, 'b', 'b.c')\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:139: AssertionError"}, "b9729b57ee68/tests.proj2_test.test_gui_project_loads_relative_vs_solution_2": {"message": "AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_relativ5')\n\n def test_gui_project_loads_relative_vs_solution_2(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n create_gui_project_file(os.path.join(tmp_path, 'test.cppcheck'), root_path='proj2', import_project='proj2/proj2.sln')\n ret, stdout, stderr = cppcheck(['--project=test.cppcheck'], cwd=tmp_path)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:154: AssertionError"}, "b9729b57ee68/tests.proj2_test.test_gui_project_loads_relative_vs_solution_with_exclude": {"message": "AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_relativ8')\n\n def test_gui_project_loads_relative_vs_solution_with_exclude(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n create_gui_project_file(os.path.join(tmp_path, 'test.cppcheck'), root_path='proj2', import_project='proj2/proj2.sln', exclude_paths=['b'])\n ret, stdout, stderr = cppcheck(['--project=test.cppcheck'], cwd=tmp_path)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:162: AssertionError"}, "b9729b57ee68/tests.proj2_test.test_gui_project_loads_absolute_vs_solution_2": {"message": "AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\n \nassert 1 == 0", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_gui_project_loads_absolut5')\n\n def test_gui_project_loads_absolute_vs_solution_2(tmp_path):\n proj_dir = tmp_path / 'proj2'\n shutil.copytree(__proj_dir, proj_dir)\n create_gui_project_file(os.path.join(tmp_path, 'test.cppcheck'),\n root_path=str(proj_dir),\n import_project=os.path.join(proj_dir, 'proj2.sln'))\n ret, stdout, stderr = cppcheck(['--project=test.cppcheck'], cwd=tmp_path)\n> assert ret == 0, stdout\nE AssertionError: cppcheck: error: failed to load project 'test.cppcheck'. Project files are not supported.\nE \nE assert 1 == 0\n\ntests/proj2_test.py:172: AssertionError"}, "b9729b57ee68/tests.samples_test.test_samples": {"message": "FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/samples'", "text": "def test_samples():\n failures = {}\n \n samples_dir = os.path.join(__root_dir, 'samples')\n> for entry in os.listdir(samples_dir):\nE FileNotFoundError: [Errno 2] No such file or directory: '/workspace/eval/samples'\n\ntests/samples_test.py:14: FileNotFoundError"}, "b9729b57ee68/tests.suppress_syntaxError_test.test_safety_suppress_syntax_error_implicitly": {"message": "AssertionError: \nassert 0 == 1", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_safety_suppress_syntax_er2')\n\n def test_safety_suppress_syntax_error_implicitly(tmpdir):\n ret, stdout, stderr = cppcheck(['-q', '--safety', '--suppress=*', 'proj-suppress-syntaxError', '-j1'], remove_checkers_report=False, cwd=__script_dir)\n> assert ret == 1, stdout\nE AssertionError: \nE assert 0 == 1\n\ntests/suppress_syntaxError_test.py:22: AssertionError"}, "b9729b57ee68/tests.suppress_syntaxError_test.test_safety_suppress_syntax_error_explicitly": {"message": "AssertionError: \nassert 0 == 1", "text": "def test_safety_suppress_syntax_error_explicitly():\n ret, stdout, stderr = cppcheck(['-q', '--safety', '--suppress=syntaxError', 'proj-suppress-syntaxError', '-j1'], remove_checkers_report=False, cwd=__script_dir)\n> assert ret == 1, stdout\nE AssertionError: \nE assert 0 == 1\n\ntests/suppress_syntaxError_test.py:29: AssertionError"}, "b9729b57ee68/tests.unused_function_test.test_unused_functions": {"message": "assert ['cppcheck: e...-build-dir\".'] == []\n \n Left contains one more item: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".'\n \n Full diff:\n - []\n + [\n + 'cppcheck: error: unrecognized command line option: '\n + '\"--no-cppcheck-build-dir\".',\n + ]", "text": "def test_unused_functions():\n> __test_unused_functions(['-j1', '--no-cppcheck-build-dir'])\n\ntests/unused_function_test.py:53: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_unused_functions(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n __project_dir\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...-build-dir\".'] == []\nE \nE Left contains one more item: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".'\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: unrecognized command line option: '\nE + '\"--no-cppcheck-build-dir\".',\nE + ]\n\ntests/unused_function_test.py:45: AssertionError"}, "b9729b57ee68/tests.unused_function_test.test_unused_functions_j": {"message": "assert ['cppcheck: e...-build-dir\".'] == ['cppcheck: u...ive with -j.']\n \n At index 0 diff: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".' != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\n \n Full diff:\n [\n - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\n - 'with -j.',...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "def test_unused_functions_j():\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '-j2',\n '--no-cppcheck-build-dir',\n __project_dir\n ]\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == [\n \"cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.\"\n ]\nE assert ['cppcheck: e...-build-dir\".'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: 'cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".' != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:67: AssertionError"}, "b9729b57ee68/tests.unused_function_test.test_unused_functions_project": {"message": "assert ['cppcheck: e...t supported.'] == []\n \n Left contains one more item: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\n \n Full diff:\n - []\n + [\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "def test_unused_functions_project():\n> __test_unused_functions_project(['-j1', '--no-cppcheck-build-dir'])\n\ntests/unused_function_test.py:112: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_unused_functions_project(extra_args):\n project_file = os.path.join(__project_dir, 'unusedFunction.cppcheck')\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(project_file),\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:104: AssertionError"}, "b9729b57ee68/tests.unused_function_test.test_unused_functions_project_j": {"message": "assert ['cppcheck: e...t supported.'] == ['cppcheck: u...ive with -j.']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\" != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\n \n Full diff:\n [\n - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\n - 'with -j.',...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "def test_unused_functions_project_j():\n project_file = os.path.join(__project_dir, 'unusedFunction.cppcheck')\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(project_file),\n '-j2',\n '--no-cppcheck-build-dir'\n ]\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == [\n \"cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.\"\n ]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\" != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:127: AssertionError"}, "b9729b57ee68/tests.unused_function_test.test_unused_functions_project_builddir": {"message": "assert ['cppcheck: e...t supported.'] == []\n \n Left contains one more item: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\n \n Full diff:\n - []\n + [\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_project_2')\n\n def test_unused_functions_project_builddir(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_unused_functions_project(['-j1', '--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/unused_function_test.py:137: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_unused_functions_project_2/b1']\n\n def __test_unused_functions_project(extra_args):\n project_file = os.path.join(__project_dir, 'unusedFunction.cppcheck')\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(project_file),\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:104: AssertionError"}, "b9729b57ee68/tests.unused_function_test.test_unused_functions_project_builddir_j_thread": {"message": "assert ['cppcheck: e...t supported.'] == []\n \n Left contains one more item: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\n \n Full diff:\n - []\n + [\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_project_5')\n\n def test_unused_functions_project_builddir_j_thread(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_unused_functions_project(['-j2', '--cppcheck-build-dir={}'.format(build_dir), '--executor=thread'])\n\ntests/unused_function_test.py:143: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_unused_functions_project_5/b1', '--executor=thread']\n\n def __test_unused_functions_project(extra_args):\n project_file = os.path.join(__project_dir, 'unusedFunction.cppcheck')\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(project_file),\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:104: AssertionError"}, "b9729b57ee68/tests.unused_function_test.test_unused_functions_project_builddir_j_process": {"message": "assert ['cppcheck: e...t supported.'] == []\n \n Left contains one more item: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\n \n Full diff:\n - []\n + [\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_project_8')\n\n @pytest.mark.skipif(sys.platform == 'win32', reason='ProcessExecutor not available on Windows')\n def test_unused_functions_project_builddir_j_process(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_unused_functions_project(['-j2', '--cppcheck-build-dir={}'.format(build_dir), '--executor=process'])\n\ntests/unused_function_test.py:150: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_unused_functions_project_8/b1', '--executor=process']\n\n def __test_unused_functions_project(extra_args):\n project_file = os.path.join(__project_dir, 'unusedFunction.cppcheck')\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(project_file),\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/workspace/eval/tests/testdata/unusedFunction/unusedFunction.cppcheck'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:104: AssertionError"}, "b9729b57ee68/tests.unused_function_test.test_unused_functions_compdb": {"message": "assert ['cppcheck: e...t supported.'] == []\n \n Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb2/compile_commands.json'. Project files are not supported.\"\n \n Full diff:\n - []\n + [\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb2')\n\n def test_unused_functions_compdb(tmpdir):\n> __test_unused_functions_compdb(tmpdir, ['-j1', '--no-cppcheck-build-dir'])\n\ntests/unused_function_test.py:172: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb2')\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_unused_functions_compdb(tmpdir, extra_args):\n compdb_file = __create_compdb(tmpdir, __project_dir)\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(compdb_file)\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb2/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:164: AssertionError"}, "b9729b57ee68/tests.unused_function_test.test_unused_functions_compdb_j": {"message": "assert ['cppcheck: e...t supported.'] == ['cppcheck: u...ive with -j.']\n \n At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_j2/compile_commands.json'. Project files are not supported.\" != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\n \n Full diff:\n [\n - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\n - 'with -j.',...\n \n ...Full output truncated (4 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_j2')\n\n def test_unused_functions_compdb_j(tmpdir):\n compdb_file = __create_compdb(tmpdir, __project_dir)\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(compdb_file),\n '-j2',\n '--no-cppcheck-build-dir'\n ]\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == [\n \"cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.\"\n ]\nE assert ['cppcheck: e...t supported.'] == ['cppcheck: u...ive with -j.']\nE \nE At index 0 diff: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_j2/compile_commands.json'. Project files are not supported.\" != 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active with -j.'\nE \nE Full diff:\nE [\nE - 'cppcheck: unusedFunction check requires --cppcheck-build-dir to be active '\nE - 'with -j.',...\nE \nE ...Full output truncated (4 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:187: AssertionError"}, "b9729b57ee68/tests.unused_function_test.test_unused_functions_compdb_buildir_j_thread": {"message": "assert ['cppcheck: e...t supported.'] == []\n \n Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b2/compile_commands.json'. Project files are not supported.\"\n \n Full diff:\n - []\n + [\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b2')\n\n def test_unused_functions_compdb_buildir_j_thread(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_unused_functions_compdb(tmpdir, ['-j2', '--cppcheck-build-dir={}'.format(build_dir), '--executor=thread'])\n\ntests/unused_function_test.py:197: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b2')\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b2/b1', '--executor=thread']\n\n def __test_unused_functions_compdb(tmpdir, extra_args):\n compdb_file = __create_compdb(tmpdir, __project_dir)\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(compdb_file)\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b2/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:164: AssertionError"}, "b9729b57ee68/tests.unused_function_test.test_unused_functions_compdb_builddir_j_process": {"message": "assert ['cppcheck: e...t supported.'] == []\n \n Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b5/compile_commands.json'. Project files are not supported.\"\n \n Full diff:\n - []\n + [\n + 'cppcheck: error: failed to load project '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b5')\n\n @pytest.mark.skipif(sys.platform == 'win32', reason='ProcessExecutor not available on Windows')\n def test_unused_functions_compdb_builddir_j_process(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_unused_functions_compdb(tmpdir, ['-j2', '--cppcheck-build-dir={}'.format(build_dir), '--executor=process'])\n\ntests/unused_function_test.py:204: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b5')\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b5/b1', '--executor=process']\n\n def __test_unused_functions_compdb(tmpdir, extra_args):\n compdb_file = __create_compdb(tmpdir, __project_dir)\n args = [\n '-q',\n '--template=simple',\n '--enable=unusedFunction',\n '--inline-suppr',\n '--project={}'.format(compdb_file)\n ]\n args += extra_args\n ret, stdout, stderr = cppcheck(args)\n> assert stdout.splitlines() == []\nE assert ['cppcheck: e...t supported.'] == []\nE \nE Left contains one more item: \"cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_unused_functions_compdb_b5/compile_commands.json'. Project files are not supported.\"\nE \nE Full diff:\nE - []\nE + [\nE + 'cppcheck: error: failed to load project '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/unused_function_test.py:164: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_addon_suppress_inline": {"message": "AssertionError: assert ['whole-progr...Suppression]'] == []\n \n Left contains 3 more items, first extra item: 'whole-program/whole1.c:3:0: information: Unmatched suppression: misra-c2012-8.4 [unmatchedSuppression]'\n \n Full diff:\n - []\n + [\n + 'whole-program/whole1.c:3:0: information: Unmatched suppression: '...\n \n ...Full output truncated (6 lines hidden), use '-vv' to show", "text": "def test_addon_suppress_inline():\n args = [\n '-q',\n '--addon=misra',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/whole1.c',\n 'whole-program/whole2.c'\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['whole-progr...Suppression]'] == []\nE \nE Left contains 3 more items, first extra item: 'whole-program/whole1.c:3:0: information: Unmatched suppression: misra-c2012-8.4 [unmatchedSuppression]'\nE \nE Full diff:\nE - []\nE + [\nE + 'whole-program/whole1.c:3:0: information: Unmatched suppression: '...\nE \nE ...Full output truncated (6 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:46: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_addon_suppress_inline_project": {"message": "AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\n \n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_addon_suppress_inline_pro2/compile_commmands.json'. The format is unknown.", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_addon_suppress_inline_pro2')\n\n def test_addon_suppress_inline_project(tmpdir):\n compile_db = __create_compile_commands(tmpdir, [\n os.path.join(__script_dir, 'whole-program', 'whole1.c'),\n os.path.join(__script_dir, 'whole-program', 'whole2.c')\n ])\n \n args = [\n '-q',\n '--addon=misra',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_addon_suppress_inline_pro2/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:69: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_suppress_inline": {"message": "assert 'cppcheck: er...build-dir\".\\n' == ''\n \n + cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".", "text": "def test_suppress_inline():\n> __test_suppress_inline(['-j1', '--no-cppcheck-build-dir'])\n\ntests/whole_program_test.py:95: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_suppress_inline(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE assert 'cppcheck: er...build-dir\".\\n' == ''\nE \nE + cppcheck: error: unrecognized command line option: \"--no-cppcheck-build-dir\".\n\ntests/whole_program_test.py:90: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_suppress_inline_builddir": {"message": "AssertionError: assert ['whole-progr...Suppression]'] == []\n \n Left contains one more item: 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: ctuOneDefinitionRuleViolation [unmatchedSuppression]'\n \n Full diff:\n - []\n + [\n + 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: '\n + 'ctuOneDefinitionRuleViolation [unmatchedSuppression]',\n + ]", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir2')\n\n def test_suppress_inline_builddir(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\n\ntests/whole_program_test.py:106: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir2/b1', '-j1']\n\n def __test_suppress_inline(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['whole-progr...Suppression]'] == []\nE \nE Left contains one more item: 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: ctuOneDefinitionRuleViolation [unmatchedSuppression]'\nE \nE Full diff:\nE - []\nE + [\nE + 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: '\nE + 'ctuOneDefinitionRuleViolation [unmatchedSuppression]',\nE + ]\n\ntests/whole_program_test.py:89: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_suppress_inline_builddir_cached": {"message": "AssertionError: assert ['whole-progr...Suppression]'] == []\n \n Left contains one more item: 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: ctuOneDefinitionRuleViolation [unmatchedSuppression]'\n \n Full diff:\n - []\n + [\n + 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: '\n + 'ctuOneDefinitionRuleViolation [unmatchedSuppression]',\n + ]", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir_2')\n\n def test_suppress_inline_builddir_cached(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\n\ntests/whole_program_test.py:112: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir_2/b1', '-j1']\n\n def __test_suppress_inline(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['whole-progr...Suppression]'] == []\nE \nE Left contains one more item: 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: ctuOneDefinitionRuleViolation [unmatchedSuppression]'\nE \nE Full diff:\nE - []\nE + [\nE + 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: '\nE + 'ctuOneDefinitionRuleViolation [unmatchedSuppression]',\nE + ]\n\ntests/whole_program_test.py:89: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_suppress_inline_builddir_j": {"message": "AssertionError: assert ['whole-progr...Suppression]'] == []\n \n Left contains one more item: 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: ctuOneDefinitionRuleViolation [unmatchedSuppression]'\n \n Full diff:\n - []\n + [\n + 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: '\n + 'ctuOneDefinitionRuleViolation [unmatchedSuppression]',\n + ]", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir_5')\n\n def test_suppress_inline_builddir_j(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\n\ntests/whole_program_test.py:119: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_builddir_5/b1', '-j2']\n\n def __test_suppress_inline(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['whole-progr...Suppression]'] == []\nE \nE Left contains one more item: 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: ctuOneDefinitionRuleViolation [unmatchedSuppression]'\nE \nE Full diff:\nE - []\nE + [\nE + 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: '\nE + 'ctuOneDefinitionRuleViolation [unmatchedSuppression]',\nE + ]\n\ntests/whole_program_test.py:89: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_inline_suppr_builddir_j_cached": {"message": "AssertionError: assert ['whole-progr...Suppression]'] == []\n \n Left contains one more item: 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: ctuOneDefinitionRuleViolation [unmatchedSuppression]'\n \n Full diff:\n - []\n + [\n + 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: '\n + 'ctuOneDefinitionRuleViolation [unmatchedSuppression]',\n + ]", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_inline_suppr_builddir_j_c5')\n\n def test_inline_suppr_builddir_j_cached(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline(['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\n\ntests/whole_program_test.py:125: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_inline_suppr_builddir_j_c5/b1', '-j2']\n\n def __test_suppress_inline(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == []\nE AssertionError: assert ['whole-progr...Suppression]'] == []\nE \nE Left contains one more item: 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: ctuOneDefinitionRuleViolation [unmatchedSuppression]'\nE \nE Full diff:\nE - []\nE + [\nE + 'whole-program/odr1.cpp:6:0: information: Unmatched suppression: '\nE + 'ctuOneDefinitionRuleViolation [unmatchedSuppression]',\nE + ]\n\ntests/whole_program_test.py:89: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_suppress_inline_project": {"message": "AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\n \n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project2/compile_commmands.json'. The format is unknown.", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project2')\n\n def test_suppress_inline_project(tmp_path):\n> __test_suppress_inline_project(tmp_path, ['-j1', '--no-cppcheck-build-dir'])\n\ntests/whole_program_test.py:156: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project2')\nextra_args = ['-j1', '--no-cppcheck-build-dir']\n\n def __test_suppress_inline_project(tmp_path, extra_args):\n compile_db = __create_compile_commands(str(tmp_path), [\n os.path.join(__script_dir, 'whole-program', 'odr1.cpp'),\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project2/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:150: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_suppress_inline_project_builddir": {"message": "AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\n \n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b2/compile_commmands.json'. The format is unknown.", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b2')\n\n def test_suppress_inline_project_builddir(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\n\ntests/whole_program_test.py:167: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b2')\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b2/b1', '-j1']\n\n def __test_suppress_inline_project(tmp_path, extra_args):\n compile_db = __create_compile_commands(str(tmp_path), [\n os.path.join(__script_dir, 'whole-program', 'odr1.cpp'),\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b2/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:150: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_suppress_inline_project_builddir_cached": {"message": "AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\n \n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b5/compile_commmands.json'. The format is unknown.", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b5')\n\n def test_suppress_inline_project_builddir_cached(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j1'])\n\ntests/whole_program_test.py:173: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b5')\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b5/b1', '-j1']\n\n def __test_suppress_inline_project(tmp_path, extra_args):\n compile_db = __create_compile_commands(str(tmp_path), [\n os.path.join(__script_dir, 'whole-program', 'odr1.cpp'),\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b5/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:150: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_suppress_inline_project_builddir_j": {"message": "AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\n \n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b8/compile_commmands.json'. The format is unknown.", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b8')\n\n def test_suppress_inline_project_builddir_j(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\n\ntests/whole_program_test.py:180: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b8')\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b8/b1', '-j2']\n\n def __test_suppress_inline_project(tmp_path, extra_args):\n compile_db = __create_compile_commands(str(tmp_path), [\n os.path.join(__script_dir, 'whole-program', 'odr1.cpp'),\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b8/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:150: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_suppress_inline_project_builddir_j_cached": {"message": "AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\n \n + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b11/compile_commmands.json'. The format is unknown.", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b11')\n\n def test_suppress_inline_project_builddir_j_cached(tmp_path):\n build_dir = tmp_path / 'b1'\n os.mkdir(build_dir)\n> __test_suppress_inline_project(tmp_path, ['--cppcheck-build-dir={}'.format(build_dir), '-j2'])\n\ntests/whole_program_test.py:186: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b11')\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b11/b1', '-j2']\n\n def __test_suppress_inline_project(tmp_path, extra_args):\n compile_db = __create_compile_commands(str(tmp_path), [\n os.path.join(__script_dir, 'whole-program', 'odr1.cpp'),\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--inline-suppr',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n assert lines == []\n> assert stdout == ''\nE AssertionError: assert 'cppcheck: er...is unknown.\\n' == ''\nE \nE + cppcheck: error: failed to load project '/tmp/pytest-of-root/pytest-0/test_suppress_inline_project_b11/compile_commmands.json'. The format is unknown.\n\ntests/whole_program_test.py:150: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_addon_rerun[False]": {"message": "AssertionError: assert 'misra-c2012-5.8' in ''", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_rerun_False_2')\nbuilddir = False\n\n @pytest.mark.parametrize(\"builddir\", (False,True))\n def test_addon_rerun(tmp_path, builddir):\n \"\"\"Rerun analysis and ensure that misra CTU works; with and without build dir\"\"\"\n args = [\n '--addon=misra',\n '--enable=style',\n '--template={id}',\n 'whole-program']\n # do not use the injection because the directory needs to survive runs\n if builddir:\n args.append('--cppcheck-build-dir=' + str(tmp_path))\n else:\n args.append('--no-cppcheck-build-dir')\n _, _, stderr = cppcheck(args, cwd=__script_dir)\n> assert 'misra-c2012-5.8' in stderr\nE AssertionError: assert 'misra-c2012-5.8' in ''\n\ntests/whole_program_test.py:204: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_addon_rerun[True]": {"message": "AssertionError: assert 'misra-c2012-5.8' in ''", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_rerun_True_2')\nbuilddir = True\n\n @pytest.mark.parametrize(\"builddir\", (False,True))\n def test_addon_rerun(tmp_path, builddir):\n \"\"\"Rerun analysis and ensure that misra CTU works; with and without build dir\"\"\"\n args = [\n '--addon=misra',\n '--enable=style',\n '--template={id}',\n 'whole-program']\n # do not use the injection because the directory needs to survive runs\n if builddir:\n args.append('--cppcheck-build-dir=' + str(tmp_path))\n else:\n args.append('--no-cppcheck-build-dir')\n _, _, stderr = cppcheck(args, cwd=__script_dir)\n> assert 'misra-c2012-5.8' in stderr\nE AssertionError: assert 'misra-c2012-5.8' in ''\n\ntests/whole_program_test.py:204: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_addon_builddir_use_ctuinfo": {"message": "AssertionError: assert 'misra-c2012-5.8' in ''", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_builddir_use_ctuinf2')\n\n def test_addon_builddir_use_ctuinfo(tmp_path):\n \"\"\"Test that ctu-info files are used when builddir is used\"\"\"\n args = [\n '--cppcheck-build-dir=' + str(tmp_path),\n '--addon=misra',\n '--enable=style',\n '--template={id}',\n 'whole-program']\n _, _, stderr = cppcheck(args, cwd=__script_dir)\n> assert 'misra-c2012-5.8' in stderr\nE AssertionError: assert 'misra-c2012-5.8' in ''\n\ntests/whole_program_test.py:217: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_addon_no_artifacts[False]": {"message": "AssertionError: assert 'misra-c2012-5.8' in ''", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_no_artifacts_False_2')\nbuilddir = False\n\n @pytest.mark.parametrize(\"builddir\", (False,True))\n def test_addon_no_artifacts(tmp_path, builddir):\n \"\"\"Test that there are no artifacts left after analysis\"\"\"\n shutil.copyfile(os.path.join(__script_dir, 'whole-program', 'whole1.c'), tmp_path / 'whole1.c')\n shutil.copyfile(os.path.join(__script_dir, 'whole-program', 'whole2.c'), tmp_path / 'whole2.c')\n build_dir = str(tmp_path / 'b1')\n os.mkdir(build_dir)\n args = [\n '--addon=misra',\n '--enable=style',\n '--template={id}',\n str(tmp_path)]\n if builddir:\n args.append('--cppcheck-build-dir=' + build_dir)\n _, _, stderr = cppcheck(args, cwd=__script_dir)\n> assert 'misra-c2012-5.8' in stderr\nE AssertionError: assert 'misra-c2012-5.8' in ''\n\ntests/whole_program_test.py:241: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_addon_no_artifacts[True]": {"message": "AssertionError: assert 'misra-c2012-5.8' in ''", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_addon_no_artifacts_True_2')\nbuilddir = True\n\n @pytest.mark.parametrize(\"builddir\", (False,True))\n def test_addon_no_artifacts(tmp_path, builddir):\n \"\"\"Test that there are no artifacts left after analysis\"\"\"\n shutil.copyfile(os.path.join(__script_dir, 'whole-program', 'whole1.c'), tmp_path / 'whole1.c')\n shutil.copyfile(os.path.join(__script_dir, 'whole-program', 'whole2.c'), tmp_path / 'whole2.c')\n build_dir = str(tmp_path / 'b1')\n os.mkdir(build_dir)\n args = [\n '--addon=misra',\n '--enable=style',\n '--template={id}',\n str(tmp_path)]\n if builddir:\n args.append('--cppcheck-build-dir=' + build_dir)\n _, _, stderr = cppcheck(args, cwd=__script_dir)\n> assert 'misra-c2012-5.8' in stderr\nE AssertionError: assert 'misra-c2012-5.8' in ''\n\ntests/whole_program_test.py:241: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_checkclass": {"message": "assert [] == ['whole-progr...leViolation]']\n \n Right contains one more item: \"whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\n \n Full diff:\n + []\n - [\n - 'whole-program/odr1.cpp:6:1: error: The one definition rule is violated, '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "def test_checkclass():\n> __test_checkclass(['-j1'])\n\ntests/whole_program_test.py:273: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1']\n\n def __test_checkclass(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp',\n 'whole-program/odr3.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"whole-program{}odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(os.path.sep)\n ]\nE assert [] == ['whole-progr...leViolation]']\nE \nE Right contains one more item: \"whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - 'whole-program/odr1.cpp:6:1: error: The one definition rule is violated, '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:265: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_checkclass_builddir": {"message": "assert [] == ['whole-progr...leViolation]']\n \n Right contains one more item: \"whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\n \n Full diff:\n + []\n - [\n - 'whole-program/odr1.cpp:6:1: error: The one definition rule is violated, '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_builddir2')\n\n def test_checkclass_builddir(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_checkclass(['--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/whole_program_test.py:284: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_checkclass_builddir2/b1']\n\n def __test_checkclass(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp',\n 'whole-program/odr3.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"whole-program{}odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(os.path.sep)\n ]\nE assert [] == ['whole-progr...leViolation]']\nE \nE Right contains one more item: \"whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - 'whole-program/odr1.cpp:6:1: error: The one definition rule is violated, '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:265: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_checkclass_builddir_j": {"message": "assert [] == ['whole-progr...leViolation]']\n \n Right contains one more item: \"whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\n \n Full diff:\n + []\n - [\n - 'whole-program/odr1.cpp:6:1: error: The one definition rule is violated, '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_builddir_j2')\n\n def test_checkclass_builddir_j(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_checkclass(['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/whole_program_test.py:290: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_checkclass_builddir_j2/b1']\n\n def __test_checkclass(extra_args):\n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n 'whole-program/odr1.cpp',\n 'whole-program/odr2.cpp',\n 'whole-program/odr3.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"whole-program{}odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(os.path.sep)\n ]\nE assert [] == ['whole-progr...leViolation]']\nE \nE Right contains one more item: \"whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - 'whole-program/odr1.cpp:6:1: error: The one definition rule is violated, '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:265: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_checkclass_project": {"message": "assert [] == ['/workspace/...leViolation]']\n \n Right contains one more item: \"/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\n \n Full diff:\n + []\n - [\n - '/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project2')\n\n def test_checkclass_project(tmpdir):\n> __test_checkclass_project(tmpdir, ['-j1'])\n\ntests/whole_program_test.py:321: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project2')\nextra_args = ['-j1']\n\n def __test_checkclass_project(tmpdir, extra_args):\n odr_file_1 = os.path.join(__script_dir, 'whole-program', 'odr1.cpp')\n \n compile_db = __create_compile_commands(tmpdir, [\n odr_file_1,\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"{}:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(odr_file_1)\n ]\nE assert [] == ['/workspace/...leViolation]']\nE \nE Right contains one more item: \"/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:313: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_checkclass_project_builddir": {"message": "assert [] == ['/workspace/...leViolation]']\n \n Right contains one more item: \"/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\n \n Full diff:\n + []\n - [\n - '/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd2')\n\n def test_checkclass_project_builddir(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_checkclass_project(tmpdir, ['-j1', '--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/whole_program_test.py:332: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd2')\nextra_args = ['-j1', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd2/b1']\n\n def __test_checkclass_project(tmpdir, extra_args):\n odr_file_1 = os.path.join(__script_dir, 'whole-program', 'odr1.cpp')\n \n compile_db = __create_compile_commands(tmpdir, [\n odr_file_1,\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"{}:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(odr_file_1)\n ]\nE assert [] == ['/workspace/...leViolation]']\nE \nE Right contains one more item: \"/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:313: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_checkclass_project_builddir_j": {"message": "assert [] == ['/workspace/...leViolation]']\n \n Right contains one more item: \"/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\n \n Full diff:\n + []\n - [\n - '/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd5')\n\n def test_checkclass_project_builddir_j(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_checkclass_project(tmpdir, ['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/whole_program_test.py:338: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\ntmpdir = local('/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd5')\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_checkclass_project_buildd5/b1']\n\n def __test_checkclass_project(tmpdir, extra_args):\n odr_file_1 = os.path.join(__script_dir, 'whole-program', 'odr1.cpp')\n \n compile_db = __create_compile_commands(tmpdir, [\n odr_file_1,\n os.path.join(__script_dir, 'whole-program', 'odr2.cpp')\n ])\n \n args = [\n '-q',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n '--project={}'.format(compile_db)\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"{}:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\".format(odr_file_1)\n ]\nE assert [] == ['/workspace/...leViolation]']\nE \nE Right contains one more item: \"/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one definition rule is violated, different classes/structs have the same name 'C' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - '/workspace/eval/tests/testdata/whole-program/odr1.cpp:6:1: error: The one '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:313: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_ctu_odr_config": {"message": "assert [] == ['whole-progr...leViolation]']\n \n Right contains one more item: \"whole-program/odr_cfg1.cpp:2:1: error: The one definition rule is violated, different classes/structs have the same name 'S' [ctuOneDefinitionRuleViolation]\"\n \n Full diff:\n + []\n - [\n - 'whole-program/odr_cfg1.cpp:2:1: error: The one definition rule is '...\n \n ...Full output truncated (3 lines hidden), use '-vv' to show", "text": "def test_ctu_odr_config():\n args = [\n '-q',\n '-j1',\n '--template=simple',\n '--enable=information,style',\n '--error-exitcode=1',\n 'whole-program/odr_cfg1.cpp',\n 'whole-program/odr_cfg2.cpp'\n ]\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n lines = stderr.splitlines()\n> assert lines == [\n \"whole-program{}odr_cfg1.cpp:2:1: error: The one definition rule is violated, different classes/structs have the same name 'S' [ctuOneDefinitionRuleViolation]\".format(os.path.sep)\n ]\nE assert [] == ['whole-progr...leViolation]']\nE \nE Right contains one more item: \"whole-program/odr_cfg1.cpp:2:1: error: The one definition rule is violated, different classes/structs have the same name 'S' [ctuOneDefinitionRuleViolation]\"\nE \nE Full diff:\nE + []\nE - [\nE - 'whole-program/odr_cfg1.cpp:2:1: error: The one definition rule is '...\nE \nE ...Full output truncated (3 lines hidden), use '-vv' to show\n\ntests/whole_program_test.py:353: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_nullpointer_file0": {"message": "AssertionError: \n \n \n \n \n \n \nassert 0 == 1", "text": "def test_nullpointer_file0():\n> __test_nullpointer_file0(['-j1'])\n\ntests/whole_program_test.py:382: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j1']\n\n def __test_nullpointer_file0(extra_args):\n args = [\n '-q',\n '--xml',\n '--error-exitcode=1',\n 'whole-program/nullpointer1.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n results = ET.fromstring(stderr)\n file0 = ''\n for e in results.findall('errors/error[@id=\"ctunullpointer\"]'):\n file0 = e.attrib['file0']\n \n> assert ret == 1, stdout if stdout else stderr\nE AssertionError: \nE \nE \nE \nE \nE \nE \nE assert 0 == 1\n\ntests/whole_program_test.py:376: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_nullpointer_file0_builddir_j": {"message": "AssertionError: \n \n \n \n \n \n \nassert 0 == 1", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_nullpointer_file0_builddi2')\n\n def test_nullpointer_file0_builddir_j(tmpdir):\n build_dir = os.path.join(tmpdir, 'b1')\n os.mkdir(build_dir)\n> __test_nullpointer_file0(['-j2', '--cppcheck-build-dir={}'.format(build_dir)])\n\ntests/whole_program_test.py:393: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nextra_args = ['-j2', '--cppcheck-build-dir=/tmp/pytest-of-root/pytest-0/test_nullpointer_file0_builddi2/b1']\n\n def __test_nullpointer_file0(extra_args):\n args = [\n '-q',\n '--xml',\n '--error-exitcode=1',\n 'whole-program/nullpointer1.cpp'\n ]\n \n args += extra_args\n \n ret, stdout, stderr = cppcheck(args, cwd=__script_dir)\n results = ET.fromstring(stderr)\n file0 = ''\n for e in results.findall('errors/error[@id=\"ctunullpointer\"]'):\n file0 = e.attrib['file0']\n \n> assert ret == 1, stdout if stdout else stderr\nE AssertionError: \nE \nE \nE \nE \nE \nE \nE assert 0 == 1\n\ntests/whole_program_test.py:376: AssertionError"}, "b9729b57ee68/tests.whole_program_test.test_nullpointer_out_of_memory[False]": {"message": "AssertionError: assert [] == ['[ctunullpoi...OutOfMemory]']\n \n Right contains one more item: '[ctunullpointerOutOfMemory]'\n \n Full diff:\n + []\n - [\n - '[ctunullpointerOutOfMemory]',\n - ]", "text": "tmpdir = local('/tmp/pytest-of-root/pytest-0/test_nullpointer_out_of_memory2')\nsingle_file = False\n\n @pytest.mark.parametrize(\"single_file\", [\n False,\n pytest.param(True, marks=pytest.mark.xfail(strict=True)),\n ])\n def test_nullpointer_out_of_memory(tmpdir, single_file):\n \"\"\"Ensure that there are not duplicate warnings related to memory/resource allocation failures\n https://trac.cppcheck.net/ticket/13521\n \"\"\"\n code1 = 'void f(int* p) { *p = 0; }\\n'\n code2 = 'int main() { int* p = malloc(10); f(p); return 0; }\\n'\n if single_file:\n with open(tmpdir / 'test.c', 'wt') as f:\n f.write(code1 + code2)\n else:\n with open(tmpdir / 'header.h', 'wt') as f:\n f.write('void f(int* p);\\n')\n with open(tmpdir / 'test1.c', 'wt') as f:\n f.write('#include \"header.h\"\\n' + code1)\n with open(tmpdir / 'test2.c', 'wt') as f:\n f.write('#include \"header.h\"\\n' + code2)\n args = [\n '--cppcheck-build-dir=.',\n '--enable=style',\n '.']\n _, _, stderr = cppcheck(args, cwd=tmpdir)\n results = []\n for line in stderr.splitlines():\n if line.endswith(']'):\n results.append(line[line.find('['):])\n \n if single_file:\n # the bug is found and reported using normal valueflow analysis\n # ctu finding is not reported\n assert results == ['[nullPointerOutOfMemory]']\n else:\n # the bug is found using ctu analysis\n> assert results == ['[ctunullpointerOutOfMemory]']\nE AssertionError: assert [] == ['[ctunullpoi...OutOfMemory]']\nE \nE Right contains one more item: '[ctunullpointerOutOfMemory]'\nE \nE Full diff:\nE + []\nE - [\nE - '[ctunullpointerOutOfMemory]',\nE - ]\n\ntests/whole_program_test.py:432: AssertionError"}, "f889f70b446b/eval.tests.test_config_and_env.test_cppcheck_cfg_next_to_executable_overrides_product_name": {"message": "AssertionError: assert b'Cppcheck 2.19 dev' == b'MyProduct 9.9'\n \n At index 0 diff: b'C' != b'M'\n \n Full diff:\n - (b'MyProduct 9.9')\n + (b'Cppcheck 2.19 dev')", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_cppcheck_cfg_next_to_exec2')\n\n def test_cppcheck_cfg_next_to_executable_overrides_product_name(tmp_path):\n exedir = Path(EXECUTABLE).parent\n with ensure_no_cppcheck_cfg(exedir):\n with temp_cppcheck_cfg(exedir, json.dumps({\"productName\": \"MyProduct 9.9\"})):\n r = run(\"--version\", cwd=tmp_path)\n assert r.returncode == 0\n> assert r.stdout.strip() == b\"MyProduct 9.9\"\nE AssertionError: assert b'Cppcheck 2.19 dev' == b'MyProduct 9.9'\nE \nE At index 0 diff: b'C' != b'M'\nE \nE Full diff:\nE - (b'MyProduct 9.9')\nE + (b'Cppcheck 2.19 dev')\n\neval/tests/test_config_and_env.py:67: AssertionError"}, "f889f70b446b/eval.tests.test_config_and_env.test_debug_lookup_config_reports_search_paths": {"message": "AssertionError: assert 'looking for' in 'Cppcheck 2.19 dev\\n'", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_debug_lookup_config_repor2')\n\n def test_debug_lookup_config_reports_search_paths(tmp_path):\n exedir = Path(EXECUTABLE).parent\n with ensure_no_cppcheck_cfg(exedir):\n r = run(\"--debug-lookup=config\", \"--version\", cwd=tmp_path)\n assert r.returncode == 0\n out = r.stdout.decode(\"utf-8\", errors=\"replace\")\n> assert \"looking for\" in out\nE AssertionError: assert 'looking for' in 'Cppcheck 2.19 dev\\n'\n\neval/tests/test_config_and_env.py:76: AssertionError"}, "f889f70b446b/eval.tests.test_config_and_env.test_malformed_cppcheck_cfg_fails": {"message": "AssertionError: assert 0 == 1\n + where 0 = CompletedProcess(args=['/workspace/executable', '--version'], returncode=0, stdout=b'Cppcheck 2.19 dev\\n', stderr=b'').returncode", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_malformed_cppcheck_cfg_fa2')\n\n def test_malformed_cppcheck_cfg_fails(tmp_path):\n exedir = Path(EXECUTABLE).parent\n with ensure_no_cppcheck_cfg(exedir):\n with temp_cppcheck_cfg(exedir, \"not json\"):\n r = run(\"--version\", cwd=tmp_path)\n> assert r.returncode == 1\nE AssertionError: assert 0 == 1\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--version'], returncode=0, stdout=b'Cppcheck 2.19 dev\\n', stderr=b'').returncode\n\neval/tests/test_config_and_env.py:85: AssertionError"}, "f889f70b446b/eval.tests.test_config_and_env.test_cppcheck_cfg_type_error_fails": {"message": "AssertionError: assert 0 == 1\n + where 0 = CompletedProcess(args=['/workspace/executable', '--version'], returncode=0, stdout=b'Cppcheck 2.19 dev\\n', stderr=b'').returncode", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_cppcheck_cfg_type_error_f2')\n\n def test_cppcheck_cfg_type_error_fails(tmp_path):\n exedir = Path(EXECUTABLE).parent\n with ensure_no_cppcheck_cfg(exedir):\n with temp_cppcheck_cfg(exedir, json.dumps({\"productName\": 123})):\n r = run(\"--version\", cwd=tmp_path)\n> assert r.returncode == 1\nE AssertionError: assert 0 == 1\nE + where 0 = CompletedProcess(args=['/workspace/executable', '--version'], returncode=0, stdout=b'Cppcheck 2.19 dev\\n', stderr=b'').returncode\n\neval/tests/test_config_and_env.py:94: AssertionError"}, "f889f70b446b/eval.tests.test_config_and_env.test_env_clicolor_force_enables_ansi_colors_even_without_tty": {"message": "AssertionError: assert b'\\x1b[' in b'Checking /tmp/pytest-of-root/pytest-0/test_env_clicolor_force_enable2/a.c ...\\n/tmp/pytest-of-root/pytest-0/test_env_clicolor_force_enable2/a.c:1:16: style: Unused variable: x [unusedVariable]\\nint main(){int x;return 0;}\\n ^\\n'", "text": "tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_env_clicolor_force_enable2')\n\n def test_env_clicolor_force_enables_ansi_colors_even_without_tty(tmp_path):\n exedir = Path(EXECUTABLE).parent\n with ensure_no_cppcheck_cfg(exedir):\n src = tmp_path / \"a.c\"\n src.write_text(\"int main(){int x;return 0;}\\n\")\n r = run(\"--enable=style\", str(src), env={\"CLICOLOR_FORCE\": \"1\"}, cwd=tmp_path)\n combined = r.stdout + r.stderr\n> assert b\"\\x1b[\" in combined\nE AssertionError: assert b'\\x1b[' in b'Checking /tmp/pytest-of-root/pytest-0/test_env_clicolor_force_enable2/a.c ...\\n/tmp/pytest-of-root/pytest-0/test_env_clicolor_force_enable2/a.c:1:16: style: Unused variable: x [unusedVariable]\\nint main(){int x;return 0;}\\n ^\\n'\n\neval/tests/test_config_and_env.py:115: AssertionError"}}}