* [igt-dev] [PATCH i-g-t v4] Added dynamic Subtest
@ 2020-11-24 9:05 nidhi1.gupta
2020-11-24 9:12 ` [igt-dev] ✗ Fi.CI.BUILD: failure for Added dynamic Subtest (rev4) Patchwork
0 siblings, 1 reply; 2+ messages in thread
From: nidhi1.gupta @ 2020-11-24 9:05 UTC (permalink / raw)
To: igt-dev; +Cc: Nidhi Gupta, petri.latvala
From: Nidhi Gupta <nidhi1.gupta@intel.com>
In kms_atomic_transition subtest will test all the
pipes defined in IGT which is 6 weather the output
is available or not.Later it has to be analysed and
discard it as valid skip.To save this time updated
in test to first check the available outputs and
then execute the test.
Signed-off-by: Nidhi Gupta <nidhi1.gupta@intel.com>
---
tests/kms_atomic_transition.c | 31 +++++++++++++++++++++----------
1 file changed, 21 insertions(+), 10 deletions(-)
diff --git a/tests/kms_atomic_transition.c b/tests/kms_atomic_transition.c
index a71bbe10..8a6f935f 100644
--- a/tests/kms_atomic_transition.c
+++ b/tests/kms_atomic_transition.c
@@ -918,7 +918,7 @@ igt_main
igt_display_t display;
igt_output_t *output;
enum pipe pipe;
- int i;
+ int i, count = 0;
igt_fixture {
display.drm_fd = drm_open_driver_master(DRIVER_ANY);
@@ -1024,18 +1024,29 @@ igt_main
for_each_pipe_with_valid_output(&display, pipe, output)
run_transition_test(&display, pipe, output, TRANSITION_MODESET_DISABLE, false, false);
- for (i = 1; i <= IGT_MAX_PIPES; i++) {
- igt_subtest_f("%ix-modeset-transitions", i)
- run_modeset_transition(&display, i, false, false);
+ for_each_pipe_with_single_output(&display, pipe, output) {
+ count++;
+ }
+ for (i = 1; i <= count; i++) {
+ igt_subtest_with_dynamic("modeset-transition") {
+ igt_dynamic_f("%ix-modeset-transitions", i)
+ run_modeset_transition(&display, i, false, false);
+ }
- igt_subtest_f("%ix-modeset-transitions-nonblocking", i)
- run_modeset_transition(&display, i, true, false);
+ igt_subtest_with_dynamic("modeset-transitions-nonblocking") {
+ igt_dynamic_f("%ix-modeset-transitions-nonblocking", i)
+ run_modeset_transition(&display, i, true, false);
+ }
- igt_subtest_f("%ix-modeset-transitions-fencing", i)
- run_modeset_transition(&display, i, false, true);
+ igt_subtest_with_dynamic("modeset-transitions-fencing") {
+ igt_dynamic_f("%ix-modeset-transitions-fencing", i)
+ run_modeset_transition(&display, i, false, true);
+ }
- igt_subtest_f("%ix-modeset-transitions-nonblocking-fencing", i)
- run_modeset_transition(&display, i, true, true);
+ igt_subtest_with_dynamic("modeset-transitions-nonblocking-fencing") {
+ igt_dynamic_f("%ix-modeset-transitions-nonblocking-fencing", i)
+ run_modeset_transition(&display, i, true, true);
+ }
}
igt_fixture {
--
2.26.2
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [igt-dev] ✗ Fi.CI.BUILD: failure for Added dynamic Subtest (rev4)
2020-11-24 9:05 [igt-dev] [PATCH i-g-t v4] Added dynamic Subtest nidhi1.gupta
@ 2020-11-24 9:12 ` Patchwork
0 siblings, 0 replies; 2+ messages in thread
From: Patchwork @ 2020-11-24 9:12 UTC (permalink / raw)
To: nidhi1.gupta; +Cc: igt-dev
== Series Details ==
Series: Added dynamic Subtest (rev4)
URL : https://patchwork.freedesktop.org/series/83576/
State : failure
== Summary ==
IGT patchset build failed on latest successful build
5236e5d4be3ab5e2fedacc32152120b7fb77bf9f lib/rendercopy_gen9: Ensure to cover all destination area
278/301 testcase check: perf OK 0.07 s
279/301 testcase check: testdisplay OK 0.11 s
280/301 testcase check: kms_color OK 0.10 s
281/301 testcase check: kms_color_chamelium OK 0.11 s
282/301 testcase check: sw_sync OK 0.11 s
283/301 testcase check: amdgpu/amd_abm OK 0.11 s
284/301 testcase check: amdgpu/amd_basic OK 0.14 s
285/301 testcase check: amdgpu/amd_bypass OK 0.10 s
286/301 testcase check: amdgpu/amd_color OK 0.09 s
287/301 testcase check: amdgpu/amd_cs_nop OK 0.07 s
288/301 testcase check: amdgpu/amd_prime OK 0.06 s
289/301 runner OK 5.08 s
290/301 runner_json OK 0.07 s
291/301 assembler: test/mov OK 0.02 s
292/301 assembler: test/frc OK 0.08 s
293/301 assembler: test/regtype OK 0.07 s
294/301 assembler: test/rndd OK 0.04 s
295/301 assembler: test/rndu OK 0.06 s
296/301 assembler: test/rnde OK 0.07 s
297/301 assembler: test/rnde-intsrc OK 0.06 s
298/301 assembler: test/rndz OK 0.06 s
299/301 assembler: test/lzd OK 0.05 s
300/301 assembler: test/not OK 0.06 s
301/301 assembler: test/immediate OK 0.04 s
OK: 300
FAIL: 1
SKIP: 0
TIMEOUT: 0
The output from the failed tests:
46/301 testcase check: kms_atomic_transition FAIL 0.53 s (exit status 1)
--- command ---
/home/cidrm/igt-gpu-tools/tests/igt_command_line.sh kms_atomic_transition
--- stdout ---
tests/kms_atomic_transition:
Checking invalid option handling...
Checking valid option handling...
Checking subtest enumeration...
test does not exit with 0 or 79 with --list-subtests!
FAIL: tests/kms_atomic_transition
-------
Full log written to /home/cidrm/igt-gpu-tools/build/meson-logs/testlog.txt
FAILED: meson-test
/usr/bin/python3 -u /usr/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
_______________________________________________
igt-dev mailing list
igt-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/igt-dev
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-24 9:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-24 9:05 [igt-dev] [PATCH i-g-t v4] Added dynamic Subtest nidhi1.gupta
2020-11-24 9:12 ` [igt-dev] ✗ Fi.CI.BUILD: failure for Added dynamic Subtest (rev4) Patchwork
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.