summaryrefslogtreecommitdiff
path: root/tests/pm_rc6_residency.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-10 10:18:32 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2013-12-10 10:18:32 +0100
commitdda85fb108469e3d3c8ce19751f928c70e9fba4c (patch)
treea711eaada22dc9d1713922482e3680bedb10300e /tests/pm_rc6_residency.c
parentce1a9f918ef2415562bf441c2b7d886c6eb865c4 (diff)
tests: roll out igt_simple_init/igt_simple_main
Also use igt_skip a bit more to simplify some of the tests. Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/pm_rc6_residency.c')
-rw-r--r--tests/pm_rc6_residency.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/pm_rc6_residency.c b/tests/pm_rc6_residency.c
index 3b873a08..3fd9d47e 100644
--- a/tests/pm_rc6_residency.c
+++ b/tests/pm_rc6_residency.c
@@ -54,7 +54,7 @@ static unsigned int readit(const char *path)
return ret;
}
-int main(int argc, char *argv[])
+igt_simple_main
{
const int device = drm_get_card();
char *path, *pathp, *pathpp;
@@ -116,6 +116,4 @@ int main(int argc, char *argv[])
"running and running no other tests)\n");
igt_fail(1);
}
-
- igt_success();
}