summaryrefslogtreecommitdiff
path: root/utests/builtin_tgamma.cpp
diff options
context:
space:
mode:
authorGuo Yejun <yejun.guo@intel.com>2016-08-01 09:45:37 +0800
committerYang Rong <rong.r.yang@intel.com>2016-08-03 18:20:22 +0800
commitaa077d9279cedc28704d02444e26fab0f77f3bbd (patch)
tree76a2bb0002158fa04c7ecd3a5d9e8f991c72752a /utests/builtin_tgamma.cpp
parentc454c8f4f3ae248093fb09672fd40e93c0dffc59 (diff)
remove "\n" in output message when test is failed
otherwise, "[FAILED]" and the test name is not in the same line. Signed-off-by: Guo Yejun <yejun.guo@intel.com> Reviewed-by: Yang Rong <rong.r.yang@intel.com>
Diffstat (limited to 'utests/builtin_tgamma.cpp')
-rw-r--r--utests/builtin_tgamma.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/utests/builtin_tgamma.cpp b/utests/builtin_tgamma.cpp
index 204f49ed..eb6bdd7b 100644
--- a/utests/builtin_tgamma.cpp
+++ b/utests/builtin_tgamma.cpp
@@ -46,7 +46,7 @@ void builtin_tgamma(void)
if (std::isinf(cpu)) {
OCL_ASSERT(std::isinf(dst[i]));
} else if (fabsf(cpu - dst[i]) >= cl_FLT_ULP(cpu) * ULPSIZE_FACTOR) {
- printf("%f %f %f\n", src[i], cpu, dst[i]);
+ printf("%f %f %f", src[i], cpu, dst[i]);
OCL_ASSERT(0);
}
}