Ericsson / CodecheckerVSCodePlugin

VSCode plugin that shows bugs detected by the Clang Static Analyzer and Clang Tidy analyzers using CodeChecker as a backend.
Apache License 2.0
24 stars 7 forks source link

`codechecker.executor.logBuildCommand` setting is ignored #122

Closed julian-poidevin closed 1 year ago

julian-poidevin commented 1 year ago

Type: Bug

  1. Set a logBuildCommand setting in the setting file (e.g: "make release")
  2. Run the "Run CodeChecker" command
  3. Observe the CodeChekout output window, the log command is not using the logBuildCommand setting (see --build make option) :
>>> Starting process 'CodeChecker parse'
> CodeChecker parse /workspaces/batcom-bootloader/build/codechecker/reports -e json --file /workspaces/batcom-bootloader/Makefile
>>> Process 'CodeChecker parse' exited with code 0
>>> Database found at path: /workspaces/batcom-bootloader/build/codechecker/compile_commands.json
>>> Starting process 'CodeChecker log'
> CodeChecker log --output /workspaces/batcom-bootloader/build/codechecker/compile_commands.json --build make

Extension version: 1.4.0 VS Code version: Code - Insiders 1.77.0-insider (95ee78fd9ada5361edb97a51122cb84e8b46c243, 2023-03-13T05:24:00.068Z) OS version: Linux x64 6.2.5-arch1-1 Modes: Sandboxed: Yes Remote OS version: Linux x64 6.2.5-arch1-1

System Info |Item|Value| |---|---| |CPUs|Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 x 2994)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|1, 2, 2| |Memory (System)|23.17GB (16.34GB free)| |Process Argv|--no-sandbox --unity-launch --crash-reporter-id 6ac47a50-23bf-4d23-a2a5-ea853d2bf51d| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|plasma| |XDG_CURRENT_DESKTOP|KDE| |XDG_SESSION_DESKTOP|KDE| |XDG_SESSION_TYPE|x11| |Item|Value| |---|---| |Remote|Dev Container: STM32 Dev Environment| |OS|Linux x64 6.2.5-arch1-1| |CPUs|Intel(R) Core(TM) i7-1065G7 CPU @ 1.30GHz (8 x 3094)| |Memory (System)|23.17GB (16.34GB free)| |VM|0%|
A/B Experiments ``` vsliv695:30137379 vsins829:30139715 vsliv368cf:30146710 vsreu685:30147344 python383cf:30185419 vspor879:30202332 vspor708:30202333 vspor363:30204092 vstes627:30244334 vslsvsres303:30308271 pythonvspyl392:30422396 pythontb:30258533 pythonptprofiler:30281269 vshan820:30294714 pythondataviewer:30285072 vscod805:30301674 bridge0708:30335490 bridge0723:30353136 cmake_vspar411:30581797 vsaa593:30376534 pythonvs932:30404738 cppdebug:30492333 vsclangdf:30492506 c4g48928:30535728 dsvsc012cf:30540253 pynewext54:30618038 pylantcb52:30590116 pyindex848:30611229 nodejswelcome1:30587009 pyind779:30611226 pythonsymbol12:30651887 2i9eh265:30646982 showlangstatbar:30659908 pythonb192cf:30661257 funwalk2cf:30682975 pythonms35:30671666 f08j5886:30680471 ```