From d7f87492bda474bda9b8bc3a722b2740664a0930 Mon Sep 17 00:00:00 2001 From: Pierre Moreau Date: Wed, 12 May 2021 12:39:45 +0200 Subject: [PATCH] testHarness: Print error string when clFinish fails (#1243) --- test_common/harness/testHarness.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_common/harness/testHarness.cpp b/test_common/harness/testHarness.cpp index 5d96c43f..1aec3d07 100644 --- a/test_common/harness/testHarness.cpp +++ b/test_common/harness/testHarness.cpp @@ -861,7 +861,7 @@ test_status callSingleTestFunction(test_definition test, int error = clFinish(queue); if (error) { - log_error("clFinish failed: %d", error); + log_error("clFinish failed: %s\n", IGetErrorString(error)); status = TEST_FAIL; } clReleaseCommandQueue(queue);