[1/2] test/kms_psr_sink_crc - subtests psr_basic and psr_drrs need test cleanup

Submitted by Lofstedt, Marta on Jan. 5, 2018, 9:04 a.m.

Details

Message ID 20180105090414.25007-1-marta.lofstedt@intel.com
State New
Headers show
Series "Series without cover letter" ( rev: 1 ) in IGT (deprecated)

Not browsing as part of any series.

Commit Message

Lofstedt, Marta Jan. 5, 2018, 9:04 a.m.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=104260

Signed-off-by: Marta Lofstedt <marta.lofstedt@intel.com>
---
 tests/kms_psr_sink_crc.c | 2 ++
 1 file changed, 2 insertions(+)

Patch hide | download patch | download mbox

diff --git a/tests/kms_psr_sink_crc.c b/tests/kms_psr_sink_crc.c
index 83a69f0b..26cf434a 100644
--- a/tests/kms_psr_sink_crc.c
+++ b/tests/kms_psr_sink_crc.c
@@ -532,11 +532,13 @@  int main(int argc, char *argv[])
 	igt_subtest("psr_basic") {
 		setup_test_plane(&data);
 		igt_assert(wait_psr_entry(&data));
+		test_cleanup(&data);
 	}
 
 	igt_subtest("psr_drrs") {
 		setup_test_plane(&data);
 		igt_assert(drrs_disabled(&data));
+		test_cleanup(&data);
 	}
 
 	for (op = PAGE_FLIP; op <= RENDER; op++) {