File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -93,18 +93,20 @@ jobs:
93
93
echo "Setting up environment for MC/DC Checker..."
94
94
export PATH=/usr/lib/llvm-19/bin:$HOME/.local/bin:$PATH
95
95
export LD_LIBRARY_PATH=/usr/lib/llvm-19/lib:$LD_LIBRARY_PATH
96
+
96
97
echo "Configuring Clang library path for MC/DC Checker..."
97
98
python3 -c "
98
99
import clang.cindex as cindex
99
- cindex.Config.set_library_path ('/usr/lib/llvm-19/lib')
100
- print('Clang library path configured:', cindex.Config.library_path)
100
+ cindex.Config.set_library_file ('/usr/lib/llvm-19/lib/libclang.so ')
101
+ print('Clang library file configured:', cindex.Config.library_path)
101
102
"
103
+
102
104
echo "Running mcdc-checker..."
103
105
mcdc-checker -a -j $GITHUB_WORKSPACE/doc/coverage/mcdc_report.json \
104
106
-I $GITHUB_WORKSPACE/include $(find $GITHUB_WORKSPACE/src -type f -name '*.c' | tr '\n' ' ') \
105
107
> $GITHUB_WORKSPACE/doc/coverage/mcdc_checker_output.log 2>&1 || true
106
-
107
-
108
+
109
+ echo "MC/DC Checker completed."
108
110
109
111
- name : Display MC/DC Checker Output
110
112
run : |
You can’t perform that action at this time.
0 commit comments