Skip to content

Fix bad documentation validation logic

Mauro Carvalho Chehab igt-dev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4scripts/test_list.py: fix and simplify missing doc checkscripts/test_list.py+4 -301 reply
2/4intel/xe_sysfs_scheduler.c: remove nonpriviledged-user teststests/intel/xe_sysfs_scheduler.c+0 -41 reply
3/4intel/kms_big_fb.c: remove linear-addfb-size*-overflow docstests/intel/kms_big_fb.c+0 -161 reply
4/4intel/kms_frontbuffer_tracking.c: remove fbc-slowdraw testtests/intel/kms_frontbuffer_tracking.c+0 -71 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchKamil Konieczny
1/4R-b
2/4R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [igt-dev] [PATCH i-g-t 0/4] Fix bad documentation validation logic

From: Mauro Carvalho Chehab <[email protected]>

There's currently a bug at the logic which checks for IGT documentation:
it is not reporting all cases of undocumented tests.

Patch 1 on this series fix it, and uses a simpler logic to check for differences between documented and existing tests.

After the fix, there will be 6 tests out of sync:

$ ./scripts/igt_doc.py --config tests/intel/xe_*.json --check
Warning: Documented igt@xe_sysfs_scheduler@job_timeout_ms-nonprivileged-user doesn't exist on source files
Warning: Documented igt@xe_sysfs_scheduler@preempt_timeout_us-nonprivileged-user doesn't exist on source files
Warning: Documented igt@xe_sysfs_scheduler@timeslice_duration_us-nonprivileged-user doesn't exist on source files
$ ./scripts/igt_doc.py --config tests/intel/kms_*.json --check
Warning: Documented igt@kms_big_fb@linear-addfb-size-offset-overflow doesn't exist on source files
Warning: Documented igt@kms_big_fb@linear-addfb-size-overflow doesn't exist on source files
Warning: Documented igt@kms_frontbuffer_tracking@fbc-slowdraw doesn't exist on source files

The remaining patches on this series fix them.

Mauro Carvalho Chehab (4):
scripts/test_list.py: fix and simplify missing doc check intel/xe_sysfs_scheduler.c: remove nonpriviledged-user tests intel/kms_big_fb.c: remove linear-addfb-size*-overflow docs intel/kms_frontbuffer_tracking.c: remove fbc-slowdraw test

 scripts/test_list.py                   | 34 +++-----------------------
 tests/intel/kms_big_fb.c               | 16 ------------
 tests/intel/kms_frontbuffer_tracking.c |  7 ------
 tests/intel/xe_sysfs_scheduler.c       |  4 ---
 4 files changed, 4 insertions(+), 57 deletions(-)
Signature · 1 line
2.41.0