X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=test%2FSMESH_ParallelCompute.py;h=eec5a7aad18db1a982fcbf61163d2ad4f00e9078;hp=fccec13004cd413103483135123ac6fd80086c21;hb=7fe1146f763ec80776fca02aac97bec8c3997b87;hpb=38ab7c3864bd8f93902ea77e9aa837e3ae3e9d37 diff --git a/test/SMESH_ParallelCompute.py b/test/SMESH_ParallelCompute.py index fccec1300..eec5a7aad 100644 --- a/test/SMESH_ParallelCompute.py +++ b/test/SMESH_ParallelCompute.py @@ -102,13 +102,17 @@ def run_test(nbox=2, boxsize=100): start = time.monotonic() is_done = seq_mesh.Compute() - assert is_done + if not is_done: + raise Exception("Error when computing Mesh") + stop = time.monotonic() time_seq = stop-start start = time.monotonic() is_done = par_mesh.Compute() - assert is_done + if not is_done: + raise Exception("Error when computing Mesh") + stop = time.monotonic() time_par = stop-start