diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-13 12:49:46 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-13 15:07:44 +0200 |
commit | a4cb8954b2d8f103b613aaa9860d9f25e8e2954d (patch) | |
tree | fb6038d9e7d76c464c8b466ce6ce3963156f87b5 /tests/sysfs_rc6_residency.c | |
parent | 907377da0e9c2d878f45201230b8d3900310cb0b (diff) |
tests: s/exit(EXIT_FAILURE)/igt_fail(1)/
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tests/sysfs_rc6_residency.c')
-rw-r--r-- | tests/sysfs_rc6_residency.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/sysfs_rc6_residency.c b/tests/sysfs_rc6_residency.c index 34b0b406..bb5d2110 100644 --- a/tests/sysfs_rc6_residency.c +++ b/tests/sysfs_rc6_residency.c @@ -111,13 +111,13 @@ int main(int argc, char *argv[]) if (diff > (SLEEP_DURATION + RC6_FUDGE)) { fprintf(stderr, "Diff was too high. That is unpossible\n"); - exit(EXIT_FAILURE); + igt_fail(1); } if (diff < (SLEEP_DURATION - RC6_FUDGE)) { fprintf(stderr, "GPU was not in RC6 long enough. Check that " "the GPU is as idle as possible (ie. no X, " "running and running no other tests)\n"); - exit(EXIT_FAILURE); + igt_fail(1); } exit(EXIT_SUCCESS); |