tests/drv_module_reload: Fix running single tests
PATCH 1/1 tests/drv_module_reload: Fix running single tests
We always need to make sure there's a working driver, hence need to move the -final test into the igt_fixture. This was broken in the conversion from the simple shell script (which didn't have any subtests) in
commit 2fea8d26e589a9d256eca9f3d561750ecb3fb681
Author: Marius Vlad <[email protected]> Date: Thu Dec 1 14:23:57 2016 +0200
tests/drv_module_reload: Convert sh script to C version.
Signed-off-by Daniel Vetter <[email protected]>
--- tests/drv_module_reload.c | 6 ++---- tests/intel-ci/fast-feedback.testlist | 1 - 2 files changed, 2 insertions(+), 5 deletions(-)
tests/drv_module_reload.c +2 -4
@@ -329,14 +329,12 @@ igt_main } } - igt_subtest("basic-reload-final") { + igt_fixture {if ((err =reload (NULL )))igt_fail (err);gem_sanitycheck ();gem_exec_store (); - } - -igt_fixture hda_dynamic_debug (false); + } }
tests/intel-ci/fast-feedback.testlist +0 -1
@@ -283,5 +283,4 @@ igt@vgem_basic@unload igt@drv_module_reload@basic-reload igt@drv_module_reload@basic-no-display igt@drv_module_reload@basic-reload-inject -igt@drv_module_reload@basic-reload-final igt@gvt_basic@invalid-placeholder-test
Signature · 6 lines
2.13.3 _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx
Quoted 5 lines · Daniel Vetter
We always need to make sure there's a working driver, hence need to move the -final test into the
igt_fixture. This was broken in the conversion from the simple shell script (which didn't have any subtests) in
Quoted 8 lines
commit
2fea8d26e589a9d256eca9f3d561750ecb3fb681Author: Marius Vlad <[email protected]> Date: Thu Dec 1 14:23:57 2016 +0200tests/drv_module_reload: Convert sh script to C version.
Signed-off-by Daniel Vetter <[email protected]>
Tested-by Arkadiusz Hiler <[email protected]>
Reviewed-by Arkadiusz Hiler <[email protected]>
Signature · 6 lines
Cheers, Arek _______________________________________________ Intel-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/intel-gfx