Skip to content

Commit f45d8f6

Browse files
committed
Additional output to isolate filing test case - kernel-test-strncpy failing issue
1 parent a21872a commit f45d8f6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sycl/test-e2e/DeviceLib/string_test.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -124,14 +124,14 @@ bool kernel_test_strncpy(sycl::queue &deviceQueue) {
124124
std::cout << "dst: " << dst[0][19] << " src: " << src[19] << std::endl;
125125

126126
if (dst[0][19] != 'A') {
127-
std::cout << "kernel_test_strncpy: test 1 failed" << std::endl;
128-
return false;
129-
}
127+
std::cout << "kernel_test_strncpy: test 1 failed" << std::endl;
128+
return false;
129+
}
130130

131131
std::cout << std::endl << "kernel_test_strncpy: test 2" << std::endl;
132132
for (idx = 0; idx < 20; ++idx) {
133133
std::cout << "dst: " << dst[1][idx] << " src: " << src[idx] << std::endl;
134-
if (dst[1][idx] != src[idx]){
134+
if (dst[1][idx] != src[idx]) {
135135
std::cout << "kernel_test_strncpy: test 2 failed" << std::endl;
136136
return false;
137137
}

0 commit comments

Comments
 (0)