diff options
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); |