tests: use igt_exit() consistently with subtests

This is mostly important to get the SKIP reporting right, but I've
found a few stragglers that wanted to get converted over to the igt
result reporting completely.

Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
Daniel Vetter
2013-08-14 16:02:24 +02:00
parent ec283d6a52
commit a1ca8ef5b1
22 changed files with 31 additions and 44 deletions
+2 -3
View File
@@ -505,8 +505,7 @@ int main(int argc, char **argv)
#define xtest(name) \
igt_subtest(#name) \
if (test_##name()) \
igt_fail(2);
igt_assert(test_##name() == 0);
xtest(i915_nv_sharing);
xtest(nv_i915_sharing);
@@ -525,5 +524,5 @@ int main(int argc, char **argv)
close(intel_fd);
close(nouveau_fd);
return ret;
igt_exit();
}