mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2026-08-22 13:52:54 +00:00
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user