diff options
Diffstat (limited to 'tests/gem_tiled_partial_pwrite_pread.c')
-rw-r--r-- | tests/gem_tiled_partial_pwrite_pread.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/gem_tiled_partial_pwrite_pread.c b/tests/gem_tiled_partial_pwrite_pread.c index 196cb0fb..34215208 100644 --- a/tests/gem_tiled_partial_pwrite_pread.c +++ b/tests/gem_tiled_partial_pwrite_pread.c @@ -146,7 +146,7 @@ static void test_partial_reads(void) if (tmp[j] != val) { printf("mismatch at %i, got: %i, expected: %i\n", start + j, tmp[j], val); - exit(1); + igt_fail(1); } } @@ -180,21 +180,21 @@ static void test_partial_writes(void) if (compare_tmp[j] != val) { printf("amismatch at %i, got: %i, expected: %i\n", j, tmp[j], val); - exit(1); + igt_fail(1); } } for (; j < start + len; j++) { if (compare_tmp[j] != tmp[0]) { printf("bmismatch at %i, got: %i, expected: %i\n", j, tmp[j], i); - exit(1); + igt_fail(1); } } for (; j < BO_SIZE; j++) { if (compare_tmp[j] != val) { printf("cmismatch at %i, got: %i, expected: %i\n", j, tmp[j], val); - exit(1); + igt_fail(1); } } drm_intel_gem_bo_unmap_gtt(staging_bo); @@ -223,7 +223,7 @@ static void test_partial_read_writes(void) if (tmp[j] != val) { printf("mismatch in read at %i, got: %i, expected: %i\n", start + j, tmp[j], val); - exit(1); + igt_fail(1); } } @@ -248,21 +248,21 @@ static void test_partial_read_writes(void) if (compare_tmp[j] != val) { printf("mismatch at %i, got: %i, expected: %i\n", j, tmp[j], val); - exit(1); + igt_fail(1); } } for (; j < start + len; j++) { if (compare_tmp[j] != tmp[0]) { printf("mismatch at %i, got: %i, expected: %i\n", j, tmp[j], tmp[0]); - exit(1); + igt_fail(1); } } for (; j < BO_SIZE; j++) { if (compare_tmp[j] != val) { printf("mismatch at %i, got: %i, expected: %i\n", j, tmp[j], val); - exit(1); + igt_fail(1); } } drm_intel_gem_bo_unmap_gtt(staging_bo); |