Commit 224307e
committed
selftest: use scripts/config for reliable kernel configuration
Root cause: vng --configitem is unreliable when .config already exists
from a prior build — options may not actually get applied, leading to
KCOV being compiled out despite CONFIG_KCOV=y being requested.
Fix: explicitly run scripts/config --enable/--disable for each option
then make olddefconfig before vng --build. This guarantees the .config
has the correct values regardless of prior state.
Also:
- Verify critical configs in .config after build (print WARNING)
- Print (no output, rc=N) when vng returns empty stdout/stderr
- Show return code in HW mode failure messages
Signed-off-by: Yunseong Kim <yunseong.kim@est.tech>1 parent d3069e5 commit 224307e
1 file changed
Lines changed: 27 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
146 | 156 | | |
147 | 157 | | |
148 | 158 | | |
| |||
152 | 162 | | |
153 | 163 | | |
154 | 164 | | |
155 | | - | |
156 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
157 | 177 | | |
158 | 178 | | |
159 | 179 | | |
| |||
212 | 232 | | |
213 | 233 | | |
214 | 234 | | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
215 | 238 | | |
216 | 239 | | |
217 | 240 | | |
| |||
404 | 427 | | |
405 | 428 | | |
406 | 429 | | |
407 | | - | |
| 430 | + | |
408 | 431 | | |
409 | 432 | | |
410 | 433 | | |
| |||
0 commit comments