Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Check result of Compute() in test and examples
[modules/smesh.git]
/
test
/
ex09_grid4build.py
diff --git
a/test/ex09_grid4build.py
b/test/ex09_grid4build.py
index 1754c13d6457aa4cfcda55e7e2dc08cc4a7e7e6b..f79919cbeede1125387df77518e54a011d74d4eb 100644
(file)
--- a/
test/ex09_grid4build.py
+++ b/
test/ex09_grid4build.py
@@
-140,7
+140,9
@@
hexa.Hexahedron()
# Mesh calculus
# -------------
# Mesh calculus
# -------------
-hexa.Compute()
+isDone = hexa.Compute()
+if not isDone:
+ raise Exception("Error when computing Mesh")
# Update object browser
# ---------------------
# Update object browser
# ---------------------