Commit 77d0404
Fix over-eager file matching in skip files and
* Remove '*' from skip file discorvery to match documentation better
--file=a.c should not match a.cpp
* Add '*' to entries that trivially folders
* Revert "Add '*' to entries that trivially folders"
This reverts commit b1ac6f6.
* Add in regex to only match all files if the specified input is a directory
* Fix regex, add comment explaining what does it do
* More sophisticated removal of '\Z' in skip file regex
* Handle windows paths correctly in skipfiles
* Update platform specific separator
* Escape that separator every time
* Remove the version specific line
* Remove unnecesarry import
* Generalyze analyze command
* Add test for filenames that are prefixes for each other
* Add test for folder skip recognition
* Remove trailing whitespaces
* Fix linting errors
* Fix typos, filenames, and Makefiles
* Rewrite test to be more extensible
* Comment skip_directory test
* Fix lint errors
* Fix test
* change *.o to $(obgs)
Co-authored-by: Barnabás Domozi <142594183+barnabasdomozi@users.noreply.github.com>
* Remove unnecesary space
Co-authored-by: Barnabás Domozi <142594183+barnabasdomozi@users.noreply.github.com>
* Change skipme/*.o to $(OBJS)
Co-authored-by: Barnabás Domozi <142594183+barnabasdomozi@users.noreply.github.com>
* Update comment in analyzer/tests/functional/skip/test_skip.py
Co-authored-by: Barnabás Domozi <142594183+barnabasdomozi@users.noreply.github.com>
* Update comment in analyzer/tests/functional/skip/test_skip.py
Co-authored-by: Barnabás Domozi <142594183+barnabasdomozi@users.noreply.github.com>
* Remove unnecesary space
Co-authored-by: Barnabás Domozi <142594183+barnabasdomozi@users.noreply.github.com>
* Fix comments and make files
* Fragment comment to avoid too long line
* Update analyzer/tests/functional/skip/test_skip.py
Co-authored-by: Barnabás Domozi <142594183+barnabasdomozi@users.noreply.github.com>
* Update analyzer/tests/functional/skip/test_files/similar/Makefile
Co-authored-by: Barnabás Domozi <142594183+barnabasdomozi@users.noreply.github.com>
* Update analyzer/tests/functional/skip/test_skip.py
Co-authored-by: Barnabás Domozi <142594183+barnabasdomozi@users.noreply.github.com>
---------
Co-authored-by: Barnabás Domozi <142594183+barnabasdomozi@users.noreply.github.com>--file option (#4670)1 parent 15686e1 commit 77d0404
7 files changed
Lines changed: 167 additions & 34 deletions
File tree
- analyzer/tests/functional/skip
- test_files
- similar
- skip_folder
- skipme
- codechecker_common
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
72 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
73 | 74 | | |
74 | | - | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| |||
94 | 95 | | |
95 | 96 | | |
96 | 97 | | |
97 | | - | |
98 | | - | |
99 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| |||
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
116 | | - | |
| 117 | + | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
| |||
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
141 | | - | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
170 | 171 | | |
171 | 172 | | |
172 | 173 | | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
173 | 200 | | |
174 | 201 | | |
175 | 202 | | |
176 | 203 | | |
177 | 204 | | |
178 | | - | |
179 | | - | |
| 205 | + | |
| 206 | + | |
180 | 207 | | |
181 | 208 | | |
182 | 209 | | |
| |||
296 | 323 | | |
297 | 324 | | |
298 | 325 | | |
299 | | - | |
300 | | - | |
| 326 | + | |
| 327 | + | |
301 | 328 | | |
302 | 329 | | |
303 | 330 | | |
304 | 331 | | |
305 | 332 | | |
306 | 333 | | |
307 | | - | |
| 334 | + | |
308 | 335 | | |
309 | 336 | | |
310 | 337 | | |
| |||
342 | 369 | | |
343 | 370 | | |
344 | 371 | | |
345 | | - | |
| 372 | + | |
346 | 373 | | |
347 | 374 | | |
348 | 375 | | |
| |||
358 | 385 | | |
359 | 386 | | |
360 | 387 | | |
361 | | - | |
362 | | - | |
| 388 | + | |
| 389 | + | |
| 390 | + | |
| 391 | + | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
| 395 | + | |
| 396 | + | |
| 397 | + | |
| 398 | + | |
363 | 399 | | |
364 | 400 | | |
365 | 401 | | |
| |||
374 | 410 | | |
375 | 411 | | |
376 | 412 | | |
377 | | - | |
378 | | - | |
379 | | - | |
380 | | - | |
381 | | - | |
382 | | - | |
383 | | - | |
384 | | - | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
385 | 425 | | |
386 | 426 | | |
387 | 427 | | |
| |||
409 | 449 | | |
410 | 450 | | |
411 | 451 | | |
412 | | - | |
| 452 | + | |
413 | 453 | | |
414 | 454 | | |
415 | 455 | | |
| |||
432 | 472 | | |
433 | 473 | | |
434 | 474 | | |
435 | | - | |
| 475 | + | |
436 | 476 | | |
437 | 477 | | |
438 | 478 | | |
| |||
456 | 496 | | |
457 | 497 | | |
458 | 498 | | |
459 | | - | |
| 499 | + | |
460 | 500 | | |
461 | 501 | | |
462 | 502 | | |
| |||
473 | 513 | | |
474 | 514 | | |
475 | 515 | | |
476 | | - | |
| 516 | + | |
477 | 517 | | |
478 | 518 | | |
479 | 519 | | |
| |||
482 | 522 | | |
483 | 523 | | |
484 | 524 | | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
485 | 537 | | |
486 | 538 | | |
487 | 539 | | |
488 | 540 | | |
489 | | - | |
| 541 | + | |
490 | 542 | | |
491 | 543 | | |
492 | 544 | | |
| |||
496 | 548 | | |
497 | 549 | | |
498 | 550 | | |
499 | | - | |
| 551 | + | |
500 | 552 | | |
501 | 553 | | |
502 | 554 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
55 | 65 | | |
56 | | - | |
| 66 | + | |
57 | 67 | | |
58 | 68 | | |
59 | 69 | | |
| |||
0 commit comments