Salome HOME
[tuleap26358] : non regression test
[modules/smesh.git] / doc / salome / examples / ssl_hdf5_symbols_conflicts.py
1 #!/usr/bin/env python
2
3 """
4 tuleap26358 : Non regression test pointing to an incompatibiliy between hdf5 symbols in CGNS and hdf5 symbols
5 in hdf5 library.
6 """
7
8 import salome
9 salome.standalone()
10 salome.salome_init()
11 import  SMESH, SALOMEDS
12 from salome.smesh import smeshBuilder
13
14 smesh = smeshBuilder.New()
15
16 inputMED="Mesh_tri.med"
17
18 ([Mesh_tri_1], status) = smesh.CreateMeshesFromMED(inputMED)
19 import SMESH
20 if status != SMESH.DRS_OK:
21     raise RuntimeError("Test failed")