Igt-dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 0/4] Fix bad documentation validation logic
@ 2023-10-09 10:01 Mauro Carvalho Chehab
  2023-10-09 10:01 ` [igt-dev] [PATCH i-g-t 1/4] scripts/test_list.py: fix and simplify missing doc check Mauro Carvalho Chehab
                   ` (7 more replies)
  0 siblings, 8 replies; 15+ messages in thread
From: Mauro Carvalho Chehab @ 2023-10-09 10:01 UTC (permalink / raw)
  To: igt-dev

From: Mauro Carvalho Chehab <mchehab@kernel.org>

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(-)

-- 
2.41.0

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2023-10-10  9:33 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-09 10:01 [igt-dev] [PATCH i-g-t 0/4] Fix bad documentation validation logic Mauro Carvalho Chehab
2023-10-09 10:01 ` [igt-dev] [PATCH i-g-t 1/4] scripts/test_list.py: fix and simplify missing doc check Mauro Carvalho Chehab
2023-10-09 10:46   ` Kamil Konieczny
2023-10-09 10:01 ` [igt-dev] [PATCH i-g-t 2/4] intel/xe_sysfs_scheduler.c: remove nonpriviledged-user tests Mauro Carvalho Chehab
2023-10-09 10:23   ` Kamil Konieczny
2023-10-09 10:01 ` [igt-dev] [PATCH i-g-t 3/4] intel/kms_big_fb.c: remove linear-addfb-size*-overflow docs Mauro Carvalho Chehab
2023-10-09 10:27   ` Kamil Konieczny
2023-10-09 10:01 ` [igt-dev] [PATCH i-g-t 4/4] intel/kms_frontbuffer_tracking.c: remove fbc-slowdraw test Mauro Carvalho Chehab
2023-10-09 10:30   ` Kamil Konieczny
2023-10-09 10:51 ` [igt-dev] ✓ Fi.CI.BAT: success for Fix bad documentation validation logic Patchwork
2023-10-09 11:15 ` [igt-dev] ✓ CI.xeBAT: " Patchwork
2023-10-09 12:45 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2023-10-09 16:17   ` Kamil Konieczny
2023-10-10  9:32     ` Yedireswarapu, SaiX Nandan
2023-10-10  9:23 ` [igt-dev] ✓ Fi.CI.IGT: success " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox