Skip to contentSkip to conversation

tests/kms_frontbuffer_tracking: modified subtest name

PATCH In review Nidhi Gupta 3 participants 3 messages Mar 11, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 tests/kms_frontbuffer_tracking: modified subtest name

Some platforms do not have support for mappable GTT, for those platforms subtests with draw method as mmap-gtt will be skipped, added mmap-gtt in the end of the subtests name which uses it as a draw method so that filtering of those subtests as expected skip will be easier while assessing results.

---
 tests/kms_frontbuffer_tracking.c | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
tests/kms_frontbuffer_tracking.c +6 -3
index 14f522d8..2e74bec6 100644
@@ -3411,10 +3411,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
 		    (t.feature & FEATURE_FBC) == 0)
 			continue;
 
-		igt_subtest_f("%s-%s-%s-fliptrack",
+		igt_subtest_f("%s-%s-%s-fliptrack-%s",
 			      feature_str(t.feature),
 			      pipes_str(t.pipes),
-			      fbs_str(t.fbs))
+			      fbs_str(t.fbs),
+			      igt_draw_get_method_name(t.method))
 			fliptrack_subtest(&t, FLIP_PAGEFLIP);
 	TEST_MODE_ITER_END
 
@@ -3479,7 +3480,9 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
 		    t.method != IGT_DRAW_MMAP_GTT)
 			continue;
 
-		igt_subtest_f("%s-farfromfence", feature_str(t.feature))
+		igt_subtest_f("%s-farfromfence-%s",
+			      feature_str(t.feature),
+			      igt_draw_get_method_name(t.method))
 			farfromfence_subtest(&t);
 	TEST_MODE_ITER_END
 
Signature · 6 lines
2.26.2

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#1 lore raw

LGTM

Reviewed-by:
Swati Sharma <[email protected]>

Quoted 40 lines · Nidhi Gupta

Some platforms do not have support for mappable GTT, for those platforms subtests with draw method as mmap-gtt will be skipped, added mmap-gtt in the end of the subtests name which uses it as a draw method so that filtering of those subtests as expected skip will be easier while assessing results.

---
  tests/kms_frontbuffer_tracking.c | 9 ++++++---
  1 file changed, 6 insertions(+), 3 deletions(-)
tests/kms_frontbuffer_tracking.c +6 -3
index 14f522d8..2e74bec6 100644
@@ -3411,10 +3411,11 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
  		    (t.feature & FEATURE_FBC) == 0)
  			continue;
 
-		igt_subtest_f("%s-%s-%s-fliptrack",
+		igt_subtest_f("%s-%s-%s-fliptrack-%s",
  			      feature_str(t.feature),
  			      pipes_str(t.pipes),
-			      fbs_str(t.fbs))
+			      fbs_str(t.fbs),
+			      igt_draw_get_method_name(t.method))
  			fliptrack_subtest(&t, FLIP_PAGEFLIP);
  	TEST_MODE_ITER_END
 
@@ -3479,7 +3480,9 @@ igt_main_args("", long_options, help_str, opt_handler, NULL)
  		    t.method != IGT_DRAW_MMAP_GTT)
  			continue;
 
-		igt_subtest_f("%s-farfromfence", feature_str(t.feature))
+		igt_subtest_f("%s-farfromfence-%s",
+			      feature_str(t.feature),
+			      igt_draw_get_method_name(t.method))
  			farfromfence_subtest(&t);
  	TEST_MODE_ITER_END
 
Signature · 5 lines
~Swati Sharma
_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev
#2 lore raw

[igt-dev] ✗ Fi.CI.BAT: failure for tests/kms_frontbuffer_tracking: modified subtest name

In reply to Nidhi Gupta
== Series Details ==

== Series Details ==

Series: tests/kms_frontbuffer_tracking: modified subtest name
URL : https://patchwork.freedesktop.org/series/87868/
State : failure

== Summary ==

Series 87868 revision 1 was fully merged or fully failed: no git log

_______________________________________________
igt-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/igt-dev