* [igt-dev] [PATCH i-g-t] scripts/igt_doc.py: improve check tool to look at the right files
@ 2023-03-28 13:54 Mauro Carvalho Chehab
2023-03-28 17:51 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Mauro Carvalho Chehab @ 2023-03-28 13:54 UTC (permalink / raw)
To: igt-dev
From: Mauro Carvalho Chehab <mchehab@kernel.org>
We can't rely only at the prefix, as a test list could include files
from other places.
So, add a logic to look into the files listed at the configuration
file.
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
---
scripts/igt_doc.py | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/scripts/igt_doc.py b/scripts/igt_doc.py
index 92d925c451ed..f52d458bec60 100755
--- a/scripts/igt_doc.py
+++ b/scripts/igt_doc.py
@@ -757,11 +757,18 @@ class TestList:
"""Compare documented subtests with the IGT test list"""
+ test_prefixes = {}
+
+ for cfg_file in self.config["files"]:
+ prefix = "^igt@" + re.sub(r"(.*/)?(.*)\.[ch]",r"\2", cfg_file)
+ test_prefixes[prefix] = 1
+
doc_subtests = sorted(self.get_subtests()[""])
for i in range(0, len(doc_subtests)): # pylint: disable=C0200
doc_subtests[i] = re.sub(r'\<[^\>]+\>', r'\\d+', doc_subtests[i])
+ # Just to optimize the runner
test_prefix = os.path.commonprefix(doc_subtests)
# Get a list of tests from
@@ -775,7 +782,17 @@ class TestList:
print("Error:", sub_err)
sys.exit(1)
- run_subtests = sorted(result.stdout.splitlines())
+ run_subtests = []
+ for subtest in result.stdout.splitlines():
+ found = 0
+ for prefix in test_prefixes.keys():
+ if re.match(prefix, subtest):
+ found = 1
+ break
+ if found:
+ run_subtests.append(subtest)
+
+ run_subtests = sorted(run_subtests)
# Compare arrays
--
2.39.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [igt-dev] ✓ Fi.CI.BAT: success for scripts/igt_doc.py: improve check tool to look at the right files
2023-03-28 13:54 [igt-dev] [PATCH i-g-t] scripts/igt_doc.py: improve check tool to look at the right files Mauro Carvalho Chehab
@ 2023-03-28 17:51 ` Patchwork
2023-03-29 6:03 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-04-04 15:47 ` [igt-dev] [PATCH i-g-t] " Kamil Konieczny
2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2023-03-28 17:51 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 4300 bytes --]
== Series Details ==
Series: scripts/igt_doc.py: improve check tool to look at the right files
URL : https://patchwork.freedesktop.org/series/115728/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12928 -> IGTPW_8703
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/index.html
Participating hosts (36 -> 37)
------------------------------
Additional (1): bat-kbl-2
Known issues
------------
Here are the changes found in IGTPW_8703 that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@i915_selftest@live@gt_mocs:
- bat-adln-1: [PASS][1] -> [INCOMPLETE][2] ([i915#4983] / [i915#7981])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/bat-adln-1/igt@i915_selftest@live@gt_mocs.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/bat-adln-1/igt@i915_selftest@live@gt_mocs.html
* igt@i915_selftest@live@mman:
- bat-rpls-2: [PASS][3] -> [TIMEOUT][4] ([i915#6794])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/bat-rpls-2/igt@i915_selftest@live@mman.html
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/bat-rpls-2/igt@i915_selftest@live@mman.html
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- bat-rpls-2: NOTRUN -> [SKIP][5] ([i915#7828])
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/bat-rpls-2/igt@kms_chamelium_hpd@common-hpd-after-suspend.html
* igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-dp-1:
- bat-dg2-8: [PASS][6] -> [FAIL][7] ([i915#7932])
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-dp-1.html
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/bat-dg2-8/igt@kms_pipe_crc_basic@nonblocking-crc-frame-sequence@pipe-d-dp-1.html
* igt@kms_pipe_crc_basic@suspend-read-crc:
- bat-rpls-2: NOTRUN -> [SKIP][8] ([i915#1845])
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/bat-rpls-2/igt@kms_pipe_crc_basic@suspend-read-crc.html
#### Possible fixes ####
* igt@i915_selftest@live@execlists:
- fi-kbl-soraka: [INCOMPLETE][9] ([i915#7156] / [i915#7913]) -> [PASS][10]
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/fi-kbl-soraka/igt@i915_selftest@live@execlists.html
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/fi-kbl-soraka/igt@i915_selftest@live@execlists.html
* igt@i915_selftest@live@slpc:
- bat-rpls-1: [DMESG-FAIL][11] ([i915#6367] / [i915#7996]) -> [PASS][12]
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/bat-rpls-1/igt@i915_selftest@live@slpc.html
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/bat-rpls-1/igt@i915_selftest@live@slpc.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[i915#1845]: https://gitlab.freedesktop.org/drm/intel/issues/1845
[i915#4983]: https://gitlab.freedesktop.org/drm/intel/issues/4983
[i915#6367]: https://gitlab.freedesktop.org/drm/intel/issues/6367
[i915#6794]: https://gitlab.freedesktop.org/drm/intel/issues/6794
[i915#7156]: https://gitlab.freedesktop.org/drm/intel/issues/7156
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7913]: https://gitlab.freedesktop.org/drm/intel/issues/7913
[i915#7932]: https://gitlab.freedesktop.org/drm/intel/issues/7932
[i915#7981]: https://gitlab.freedesktop.org/drm/intel/issues/7981
[i915#7996]: https://gitlab.freedesktop.org/drm/intel/issues/7996
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7223 -> IGTPW_8703
CI-20190529: 20190529
CI_DRM_12928: 004966f3b8b39a5a4ad25def7d4b879f5f2d891b @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8703: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/index.html
IGT_7223: 2cbfa210fc95d126edf9a60ae6ab4e96cf4fca7f @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/index.html
[-- Attachment #2: Type: text/html, Size: 5000 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [igt-dev] ✓ Fi.CI.IGT: success for scripts/igt_doc.py: improve check tool to look at the right files
2023-03-28 13:54 [igt-dev] [PATCH i-g-t] scripts/igt_doc.py: improve check tool to look at the right files Mauro Carvalho Chehab
2023-03-28 17:51 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
@ 2023-03-29 6:03 ` Patchwork
2023-04-04 15:47 ` [igt-dev] [PATCH i-g-t] " Kamil Konieczny
2 siblings, 0 replies; 4+ messages in thread
From: Patchwork @ 2023-03-29 6:03 UTC (permalink / raw)
To: Mauro Carvalho Chehab; +Cc: igt-dev
[-- Attachment #1: Type: text/plain, Size: 15708 bytes --]
== Series Details ==
Series: scripts/igt_doc.py: improve check tool to look at the right files
URL : https://patchwork.freedesktop.org/series/115728/
State : success
== Summary ==
CI Bug Log - changes from CI_DRM_12928_full -> IGTPW_8703_full
====================================================
Summary
-------
**SUCCESS**
No regressions found.
External URL: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/index.html
Participating hosts (7 -> 7)
------------------------------
No changes in participating hosts
Known issues
------------
Here are the changes found in IGTPW_8703_full that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@gem_exec_fair@basic-pace-share@rcs0:
- shard-glk: [PASS][1] -> [FAIL][2] ([i915#2842])
[1]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/shard-glk4/igt@gem_exec_fair@basic-pace-share@rcs0.html
[2]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-glk8/igt@gem_exec_fair@basic-pace-share@rcs0.html
* igt@gem_pread@exhaustion:
- shard-apl: NOTRUN -> [WARN][3] ([i915#2658])
[3]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-apl7/igt@gem_pread@exhaustion.html
* igt@gen9_exec_parse@allowed-single:
- shard-glk: [PASS][4] -> [ABORT][5] ([i915#5566])
[4]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/shard-glk5/igt@gen9_exec_parse@allowed-single.html
[5]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-glk1/igt@gen9_exec_parse@allowed-single.html
* igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_rc_ccs_cc:
- shard-apl: NOTRUN -> [SKIP][6] ([fdo#109271] / [i915#3886]) +1 similar issue
[6]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-apl7/igt@kms_ccs@pipe-a-random-ccs-data-y_tiled_gen12_rc_ccs_cc.html
* igt@kms_chamelium_color@ctm-0-75:
- shard-apl: NOTRUN -> [SKIP][7] ([fdo#109271]) +29 similar issues
[7]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-apl6/igt@kms_chamelium_color@ctm-0-75.html
* igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions:
- shard-glk: [PASS][8] -> [FAIL][9] ([i915#2346]) +1 similar issue
[8]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/shard-glk8/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
[9]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-glk4/igt@kms_cursor_legacy@flip-vs-cursor-atomic-transitions.html
* igt@kms_flip@flip-vs-expired-vblank-interruptible@a-hdmi-a1:
- shard-glk: [PASS][10] -> [FAIL][11] ([i915#2122]) +1 similar issue
[10]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/shard-glk9/igt@kms_flip@flip-vs-expired-vblank-interruptible@a-hdmi-a1.html
[11]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-glk4/igt@kms_flip@flip-vs-expired-vblank-interruptible@a-hdmi-a1.html
* igt@kms_frontbuffer_tracking@fbc-modesetfrombusy:
- shard-glk: [PASS][12] -> [FAIL][13] ([i915#7810])
[12]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/shard-glk4/igt@kms_frontbuffer_tracking@fbc-modesetfrombusy.html
[13]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-glk5/igt@kms_frontbuffer_tracking@fbc-modesetfrombusy.html
* igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-big-fb:
- shard-apl: NOTRUN -> [SKIP][14] ([fdo#109271] / [i915#658])
[14]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-apl2/igt@kms_psr2_sf@primary-plane-update-sf-dmg-area-big-fb.html
#### Possible fixes ####
* igt@gem_ctx_exec@basic-nohangcheck:
- {shard-tglu}: [FAIL][15] ([i915#6268]) -> [PASS][16]
[15]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/shard-tglu-6/igt@gem_ctx_exec@basic-nohangcheck.html
[16]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-tglu-3/igt@gem_ctx_exec@basic-nohangcheck.html
* igt@gem_exec_fair@basic-deadline:
- shard-glk: [FAIL][17] ([i915#2846]) -> [PASS][18]
[17]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/shard-glk8/igt@gem_exec_fair@basic-deadline.html
[18]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-glk1/igt@gem_exec_fair@basic-deadline.html
* igt@gem_exec_fair@basic-pace@rcs0:
- shard-glk: [FAIL][19] ([i915#2842]) -> [PASS][20]
[19]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/shard-glk2/igt@gem_exec_fair@basic-pace@rcs0.html
[20]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-glk4/igt@gem_exec_fair@basic-pace@rcs0.html
* igt@gem_mmap_offset@clear@smem0:
- {shard-dg1}: [DMESG-WARN][21] ([i915#8304]) -> [PASS][22]
[21]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/shard-dg1-15/igt@gem_mmap_offset@clear@smem0.html
[22]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-dg1-16/igt@gem_mmap_offset@clear@smem0.html
* igt@gem_workarounds@suspend-resume:
- shard-apl: [ABORT][23] ([i915#180]) -> [PASS][24]
[23]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/shard-apl7/igt@gem_workarounds@suspend-resume.html
[24]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-apl2/igt@gem_workarounds@suspend-resume.html
* igt@gen9_exec_parse@allowed-single:
- shard-apl: [ABORT][25] ([i915#5566]) -> [PASS][26]
[25]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/shard-apl4/igt@gen9_exec_parse@allowed-single.html
[26]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-apl6/igt@gen9_exec_parse@allowed-single.html
* igt@i915_pm_dc@dc6-dpms:
- {shard-tglu}: [FAIL][27] ([i915#3989] / [i915#454]) -> [PASS][28]
[27]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/shard-tglu-7/igt@i915_pm_dc@dc6-dpms.html
[28]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-tglu-2/igt@i915_pm_dc@dc6-dpms.html
* igt@i915_selftest@live@gt_heartbeat:
- shard-apl: [DMESG-FAIL][29] ([i915#5334]) -> [PASS][30]
[29]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/shard-apl6/igt@i915_selftest@live@gt_heartbeat.html
[30]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-apl1/igt@i915_selftest@live@gt_heartbeat.html
* igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a1:
- shard-glk: [FAIL][31] ([i915#2122]) -> [PASS][32]
[31]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/shard-glk2/igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a1.html
[32]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-glk9/igt@kms_flip@flip-vs-expired-vblank@b-hdmi-a1.html
* igt@kms_vblank@pipe-c-wait-forked-busy-hang:
- shard-apl: [SKIP][33] ([fdo#109271]) -> [PASS][34]
[33]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/shard-apl3/igt@kms_vblank@pipe-c-wait-forked-busy-hang.html
[34]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-apl3/igt@kms_vblank@pipe-c-wait-forked-busy-hang.html
- shard-glk: [SKIP][35] ([fdo#109271]) -> [PASS][36]
[35]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/shard-glk6/igt@kms_vblank@pipe-c-wait-forked-busy-hang.html
[36]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-glk2/igt@kms_vblank@pipe-c-wait-forked-busy-hang.html
#### Warnings ####
* igt@kms_content_protection@legacy@pipe-a-dp-1:
- shard-apl: [TIMEOUT][37] ([i915#7173]) -> [FAIL][38] ([fdo#110321])
[37]: https://intel-gfx-ci.01.org/tree/drm-tip/CI_DRM_12928/shard-apl3/igt@kms_content_protection@legacy@pipe-a-dp-1.html
[38]: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/shard-apl1/igt@kms_content_protection@legacy@pipe-a-dp-1.html
{name}: This element is suppressed. This means it is ignored when computing
the status of the difference (SUCCESS, WARNING, or FAILURE).
[fdo#109271]: https://bugs.freedesktop.org/show_bug.cgi?id=109271
[fdo#109280]: https://bugs.freedesktop.org/show_bug.cgi?id=109280
[fdo#109285]: https://bugs.freedesktop.org/show_bug.cgi?id=109285
[fdo#109289]: https://bugs.freedesktop.org/show_bug.cgi?id=109289
[fdo#109307]: https://bugs.freedesktop.org/show_bug.cgi?id=109307
[fdo#109315]: https://bugs.freedesktop.org/show_bug.cgi?id=109315
[fdo#109506]: https://bugs.freedesktop.org/show_bug.cgi?id=109506
[fdo#110189]: https://bugs.freedesktop.org/show_bug.cgi?id=110189
[fdo#110321]: https://bugs.freedesktop.org/show_bug.cgi?id=110321
[fdo#111068]: https://bugs.freedesktop.org/show_bug.cgi?id=111068
[fdo#111614]: https://bugs.freedesktop.org/show_bug.cgi?id=111614
[fdo#111615]: https://bugs.freedesktop.org/show_bug.cgi?id=111615
[fdo#111825]: https://bugs.freedesktop.org/show_bug.cgi?id=111825
[fdo#111827]: https://bugs.freedesktop.org/show_bug.cgi?id=111827
[i915#1072]: https://gitlab.freedesktop.org/drm/intel/issues/1072
[i915#1397]: https://gitlab.freedesktop.org/drm/intel/issues/1397
[i915#1755]: https://gitlab.freedesktop.org/drm/intel/issues/1755
[i915#180]: https://gitlab.freedesktop.org/drm/intel/issues/180
[i915#1839]: https://gitlab.freedesktop.org/drm/intel/issues/1839
[i915#2122]: https://gitlab.freedesktop.org/drm/intel/issues/2122
[i915#2346]: https://gitlab.freedesktop.org/drm/intel/issues/2346
[i915#2434]: https://gitlab.freedesktop.org/drm/intel/issues/2434
[i915#2527]: https://gitlab.freedesktop.org/drm/intel/issues/2527
[i915#2575]: https://gitlab.freedesktop.org/drm/intel/issues/2575
[i915#2587]: https://gitlab.freedesktop.org/drm/intel/issues/2587
[i915#2658]: https://gitlab.freedesktop.org/drm/intel/issues/2658
[i915#2672]: https://gitlab.freedesktop.org/drm/intel/issues/2672
[i915#2681]: https://gitlab.freedesktop.org/drm/intel/issues/2681
[i915#2705]: https://gitlab.freedesktop.org/drm/intel/issues/2705
[i915#280]: https://gitlab.freedesktop.org/drm/intel/issues/280
[i915#2842]: https://gitlab.freedesktop.org/drm/intel/issues/2842
[i915#2846]: https://gitlab.freedesktop.org/drm/intel/issues/2846
[i915#3281]: https://gitlab.freedesktop.org/drm/intel/issues/3281
[i915#3282]: https://gitlab.freedesktop.org/drm/intel/issues/3282
[i915#3297]: https://gitlab.freedesktop.org/drm/intel/issues/3297
[i915#3299]: https://gitlab.freedesktop.org/drm/intel/issues/3299
[i915#3318]: https://gitlab.freedesktop.org/drm/intel/issues/3318
[i915#3361]: https://gitlab.freedesktop.org/drm/intel/issues/3361
[i915#3458]: https://gitlab.freedesktop.org/drm/intel/issues/3458
[i915#3469]: https://gitlab.freedesktop.org/drm/intel/issues/3469
[i915#3528]: https://gitlab.freedesktop.org/drm/intel/issues/3528
[i915#3539]: https://gitlab.freedesktop.org/drm/intel/issues/3539
[i915#3555]: https://gitlab.freedesktop.org/drm/intel/issues/3555
[i915#3591]: https://gitlab.freedesktop.org/drm/intel/issues/3591
[i915#3638]: https://gitlab.freedesktop.org/drm/intel/issues/3638
[i915#3689]: https://gitlab.freedesktop.org/drm/intel/issues/3689
[i915#3708]: https://gitlab.freedesktop.org/drm/intel/issues/3708
[i915#3886]: https://gitlab.freedesktop.org/drm/intel/issues/3886
[i915#3936]: https://gitlab.freedesktop.org/drm/intel/issues/3936
[i915#3952]: https://gitlab.freedesktop.org/drm/intel/issues/3952
[i915#3989]: https://gitlab.freedesktop.org/drm/intel/issues/3989
[i915#4036]: https://gitlab.freedesktop.org/drm/intel/issues/4036
[i915#404]: https://gitlab.freedesktop.org/drm/intel/issues/404
[i915#4077]: https://gitlab.freedesktop.org/drm/intel/issues/4077
[i915#4078]: https://gitlab.freedesktop.org/drm/intel/issues/4078
[i915#4079]: https://gitlab.freedesktop.org/drm/intel/issues/4079
[i915#4083]: https://gitlab.freedesktop.org/drm/intel/issues/4083
[i915#4103]: https://gitlab.freedesktop.org/drm/intel/issues/4103
[i915#4212]: https://gitlab.freedesktop.org/drm/intel/issues/4212
[i915#4215]: https://gitlab.freedesktop.org/drm/intel/issues/4215
[i915#4270]: https://gitlab.freedesktop.org/drm/intel/issues/4270
[i915#4349]: https://gitlab.freedesktop.org/drm/intel/issues/4349
[i915#4387]: https://gitlab.freedesktop.org/drm/intel/issues/4387
[i915#4538]: https://gitlab.freedesktop.org/drm/intel/issues/4538
[i915#454]: https://gitlab.freedesktop.org/drm/intel/issues/454
[i915#4565]: https://gitlab.freedesktop.org/drm/intel/issues/4565
[i915#4579]: https://gitlab.freedesktop.org/drm/intel/issues/4579
[i915#4613]: https://gitlab.freedesktop.org/drm/intel/issues/4613
[i915#4771]: https://gitlab.freedesktop.org/drm/intel/issues/4771
[i915#4812]: https://gitlab.freedesktop.org/drm/intel/issues/4812
[i915#4818]: https://gitlab.freedesktop.org/drm/intel/issues/4818
[i915#4833]: https://gitlab.freedesktop.org/drm/intel/issues/4833
[i915#4852]: https://gitlab.freedesktop.org/drm/intel/issues/4852
[i915#4859]: https://gitlab.freedesktop.org/drm/intel/issues/4859
[i915#4860]: https://gitlab.freedesktop.org/drm/intel/issues/4860
[i915#4880]: https://gitlab.freedesktop.org/drm/intel/issues/4880
[i915#5176]: https://gitlab.freedesktop.org/drm/intel/issues/5176
[i915#5235]: https://gitlab.freedesktop.org/drm/intel/issues/5235
[i915#5286]: https://gitlab.freedesktop.org/drm/intel/issues/5286
[i915#5289]: https://gitlab.freedesktop.org/drm/intel/issues/5289
[i915#5325]: https://gitlab.freedesktop.org/drm/intel/issues/5325
[i915#5334]: https://gitlab.freedesktop.org/drm/intel/issues/5334
[i915#5431]: https://gitlab.freedesktop.org/drm/intel/issues/5431
[i915#5439]: https://gitlab.freedesktop.org/drm/intel/issues/5439
[i915#5461]: https://gitlab.freedesktop.org/drm/intel/issues/5461
[i915#5563]: https://gitlab.freedesktop.org/drm/intel/issues/5563
[i915#5566]: https://gitlab.freedesktop.org/drm/intel/issues/5566
[i915#6016]: https://gitlab.freedesktop.org/drm/intel/issues/6016
[i915#6095]: https://gitlab.freedesktop.org/drm/intel/issues/6095
[i915#6245]: https://gitlab.freedesktop.org/drm/intel/issues/6245
[i915#6268]: https://gitlab.freedesktop.org/drm/intel/issues/6268
[i915#6301]: https://gitlab.freedesktop.org/drm/intel/issues/6301
[i915#6433]: https://gitlab.freedesktop.org/drm/intel/issues/6433
[i915#6524]: https://gitlab.freedesktop.org/drm/intel/issues/6524
[i915#658]: https://gitlab.freedesktop.org/drm/intel/issues/658
[i915#6953]: https://gitlab.freedesktop.org/drm/intel/issues/6953
[i915#7116]: https://gitlab.freedesktop.org/drm/intel/issues/7116
[i915#7173]: https://gitlab.freedesktop.org/drm/intel/issues/7173
[i915#7561]: https://gitlab.freedesktop.org/drm/intel/issues/7561
[i915#7697]: https://gitlab.freedesktop.org/drm/intel/issues/7697
[i915#7701]: https://gitlab.freedesktop.org/drm/intel/issues/7701
[i915#7711]: https://gitlab.freedesktop.org/drm/intel/issues/7711
[i915#7810]: https://gitlab.freedesktop.org/drm/intel/issues/7810
[i915#7828]: https://gitlab.freedesktop.org/drm/intel/issues/7828
[i915#7975]: https://gitlab.freedesktop.org/drm/intel/issues/7975
[i915#8304]: https://gitlab.freedesktop.org/drm/intel/issues/8304
[i915#8308]: https://gitlab.freedesktop.org/drm/intel/issues/8308
Build changes
-------------
* CI: CI-20190529 -> None
* IGT: IGT_7223 -> IGTPW_8703
* Piglit: piglit_4509 -> None
CI-20190529: 20190529
CI_DRM_12928: 004966f3b8b39a5a4ad25def7d4b879f5f2d891b @ git://anongit.freedesktop.org/gfx-ci/linux
IGTPW_8703: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/index.html
IGT_7223: 2cbfa210fc95d126edf9a60ae6ab4e96cf4fca7f @ https://gitlab.freedesktop.org/drm/igt-gpu-tools.git
piglit_4509: fdc5a4ca11124ab8413c7988896eec4c97336694 @ git://anongit.freedesktop.org/piglit
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/drm-tip/IGTPW_8703/index.html
[-- Attachment #2: Type: text/html, Size: 11255 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [igt-dev] [PATCH i-g-t] scripts/igt_doc.py: improve check tool to look at the right files
2023-03-28 13:54 [igt-dev] [PATCH i-g-t] scripts/igt_doc.py: improve check tool to look at the right files Mauro Carvalho Chehab
2023-03-28 17:51 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-03-29 6:03 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
@ 2023-04-04 15:47 ` Kamil Konieczny
2 siblings, 0 replies; 4+ messages in thread
From: Kamil Konieczny @ 2023-04-04 15:47 UTC (permalink / raw)
To: igt-dev
Hi Mauro,
On 2023-03-28 at 15:54:34 +0200, Mauro Carvalho Chehab wrote:
> From: Mauro Carvalho Chehab <mchehab@kernel.org>
>
> We can't rely only at the prefix, as a test list could include files
> from other places.
>
> So, add a logic to look into the files listed at the configuration
- ^^^
s/So, add/Added/
> file.
>
> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
> ---
> scripts/igt_doc.py | 19 ++++++++++++++++++-
> 1 file changed, 18 insertions(+), 1 deletion(-)
>
> diff --git a/scripts/igt_doc.py b/scripts/igt_doc.py
> index 92d925c451ed..f52d458bec60 100755
> --- a/scripts/igt_doc.py
> +++ b/scripts/igt_doc.py
> @@ -757,11 +757,18 @@ class TestList:
>
> """Compare documented subtests with the IGT test list"""
>
> + test_prefixes = {}
> +
> + for cfg_file in self.config["files"]:
> + prefix = "^igt@" + re.sub(r"(.*/)?(.*)\.[ch]",r"\2", cfg_file)
-------------------------------------------------------- ^
imho headers do not contain any tests ?
Regards,
Kamil
> + test_prefixes[prefix] = 1
> +
> doc_subtests = sorted(self.get_subtests()[""])
>
> for i in range(0, len(doc_subtests)): # pylint: disable=C0200
> doc_subtests[i] = re.sub(r'\<[^\>]+\>', r'\\d+', doc_subtests[i])
>
> + # Just to optimize the runner
> test_prefix = os.path.commonprefix(doc_subtests)
>
> # Get a list of tests from
> @@ -775,7 +782,17 @@ class TestList:
> print("Error:", sub_err)
> sys.exit(1)
>
> - run_subtests = sorted(result.stdout.splitlines())
> + run_subtests = []
> + for subtest in result.stdout.splitlines():
> + found = 0
> + for prefix in test_prefixes.keys():
> + if re.match(prefix, subtest):
> + found = 1
> + break
> + if found:
> + run_subtests.append(subtest)
> +
> + run_subtests = sorted(run_subtests)
>
> # Compare arrays
>
> --
> 2.39.2
>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-04-04 15:47 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-28 13:54 [igt-dev] [PATCH i-g-t] scripts/igt_doc.py: improve check tool to look at the right files Mauro Carvalho Chehab
2023-03-28 17:51 ` [igt-dev] ✓ Fi.CI.BAT: success for " Patchwork
2023-03-29 6:03 ` [igt-dev] ✓ Fi.CI.IGT: " Patchwork
2023-04-04 15:47 ` [igt-dev] [PATCH i-g-t] " Kamil Konieczny
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.