Skip to contentSkip to conversation

tests/core_setmaster_vs_auth: use igt_simple_main

PATCH New Thomas Wood 1 participant 2 messages Dec 2, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 tests/core_setmaster_vs_auth: use igt_simple_main

This test has no subtests, so should use igt_simple_main.

---
 tests/core_setmaster_vs_auth.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tests/core_setmaster_vs_auth.c +1 -1
index efb27b1..44ec752 100644
@@ -45,7 +45,7 @@
 # include <pthread.h>
 #endif
 
-igt_main
+igt_simple_main
 {
 	int master1, master2, client;
 	drm_magic_t magic;
Signature · 6 lines
1.9.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx
#1 lore raw

PATCH 2/2 tests/core_setmaster_vs_auth: add test description macro

---
 tests/core_setmaster_vs_auth.c | 3 +++
 1 file changed, 3 insertions(+)
tests/core_setmaster_vs_auth.c +3 -0
index 44ec752..97add9c 100644
@@ -45,6 +45,9 @@
 # include <pthread.h>
 #endif
 
+IGT_TEST_DESCRIPTION("Check that drop/setMaster correctly transfer master "
+		     "state"):
+
 igt_simple_main
 {
 	int master1, master2, client;
Signature · 6 lines
1.9.1

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx