Skip to content

Commit 5f99e62

Browse files
committed
Fix test issue
1 parent a9eff15 commit 5f99e62

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

sycl/test-e2e/ESIMD/addc.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
//===----------------------------------------------------------------------===//
88
// RUN: %{build} -o %t.out
99
// RUN: %{run} %t.out
10-
// https://github.com/intel/llvm/issues/14868
11-
// UNSUPPORTED: windows
1210

1311
// The test verifies ESIMD API that adds 2 32-bit integer scalars/vectors with
1412
// carry returning the result as 2 parts: carry flag the input modified operand
@@ -129,7 +127,7 @@ bool test(sycl::queue Q) {
129127
}).wait();
130128
} catch (sycl::exception const &e) {
131129
std::cout << "SYCL exception caught: " << e.what() << '\n';
132-
return 1;
130+
return 0;
133131
}
134132

135133
using ResultT = std::conditional_t<

sycl/test-e2e/ESIMD/subb.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77
//===----------------------------------------------------------------------===//
88
// RUN: %{build} -o %t.out
99
// RUN: %{run} %t.out
10-
// https://github.com/intel/llvm/issues/14868
11-
// UNSUPPORTED: windows
1210

1311
// The test verifies ESIMD API that substracts 2 32-bit integer scalars/vectors
1412
// with borrow returning the result as 2 parts: borrow flag the input modified
@@ -126,11 +124,11 @@ bool test(sycl::queue Q) {
126124
}
127125

128126
} // end for BI
129-
} // end for AI
127+
} // end for AI
130128
}).wait();
131129
} catch (sycl::exception const &e) {
132130
std::cout << "SYCL exception caught: " << e.what() << '\n';
133-
return 1;
131+
return 0;
134132
}
135133

136134
using ResultT = std::conditional_t<

0 commit comments

Comments
 (0)