Skip to content

Commit 7ee0cda

Browse files
committed
mac ci debug
1 parent 1d72b98 commit 7ee0cda

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

libOTe_Tests/RegularDpf_Tests.cpp

+5-1
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ void RegularDpf_Puncture_Test(const oc::CLP& cmd)
245245
));
246246

247247

248+
bool failed = false;
248249
for (u64 i = 0; i < domain; ++i)
249250
{
250251
for (u64 k = 0; k < numPoints; ++k)
@@ -257,7 +258,7 @@ void RegularDpf_Puncture_Test(const oc::CLP& cmd)
257258
throw RTE_LOC;
258259

259260
if (t == 1 && act == ZeroBlock)
260-
throw RTE_LOC;
261+
failed = true;
261262
if (t)
262263
{
263264
std::cout << act <<" " << output[0][k][i]<<" ^ "<<output[1][k][i] << std::endl;
@@ -267,6 +268,9 @@ void RegularDpf_Puncture_Test(const oc::CLP& cmd)
267268
throw RTE_LOC;
268269
}
269270
}
271+
272+
if (failed)
273+
throw RTE_LOC;
270274
}
271275

272276
void RegularDpf_keyGen_Test(const oc::CLP& cmd)

0 commit comments

Comments
 (0)