mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 02:00:34 +05:00
[tuleap26358] : non regression test
This commit is contained in:
parent
786657f54f
commit
63879abd44
@ -42,6 +42,7 @@ SALOME_INSTALL_SCRIPTS("${EXAMPLES_TESTS}" ${SALOME_INSTALL_DOC}/examples/SMESH)
|
|||||||
|
|
||||||
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test)
|
SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test)
|
||||||
INSTALL(FILES ${GOOD_TESTS} ${BAD_TESTS} ${SESSION_FREE_TESTS} DESTINATION ${TEST_INSTALL_DIRECTORY})
|
INSTALL(FILES ${GOOD_TESTS} ${BAD_TESTS} ${SESSION_FREE_TESTS} DESTINATION ${TEST_INSTALL_DIRECTORY})
|
||||||
|
INSTALL(FILES Mesh_tri.med DESTINATION ${TEST_INSTALL_DIRECTORY})
|
||||||
|
|
||||||
INSTALL(FILES CTestTestfileInstall.cmake
|
INSTALL(FILES CTestTestfileInstall.cmake
|
||||||
DESTINATION ${TEST_INSTALL_DIRECTORY}
|
DESTINATION ${TEST_INSTALL_DIRECTORY}
|
||||||
|
21
doc/salome/examples/ssl_hdf5_symbols_conflicts.py
Normal file
21
doc/salome/examples/ssl_hdf5_symbols_conflicts.py
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
"""
|
||||||
|
tuleap26358 : Non regression test pointing to an incompatibiliy between hdf5 symbols in CGNS and hdf5 symbols
|
||||||
|
in hdf5 library.
|
||||||
|
"""
|
||||||
|
|
||||||
|
import salome
|
||||||
|
salome.standalone()
|
||||||
|
salome.salome_init()
|
||||||
|
import SMESH, SALOMEDS
|
||||||
|
from salome.smesh import smeshBuilder
|
||||||
|
|
||||||
|
smesh = smeshBuilder.New()
|
||||||
|
|
||||||
|
inputMED="Mesh_tri.med"
|
||||||
|
|
||||||
|
([Mesh_tri_1], status) = smesh.CreateMeshesFromMED(inputMED)
|
||||||
|
import SMESH
|
||||||
|
if status != SMESH.DRS_OK:
|
||||||
|
raise RuntimeError("Test failed")
|
@ -199,6 +199,7 @@ set(SESSION_FREE_TESTS
|
|||||||
basic_shaper_smesh_without_session.py
|
basic_shaper_smesh_without_session.py
|
||||||
shaper_smesh_groups_without_session.py
|
shaper_smesh_groups_without_session.py
|
||||||
basic_smesh_output_with_mc_field.py
|
basic_smesh_output_with_mc_field.py
|
||||||
|
ssl_hdf5_symbols_conflicts.py
|
||||||
)
|
)
|
||||||
|
|
||||||
SET(EXAMPLES_TESTS ${BAD_TESTS} ${GOOD_TESTS} ${SESSION_FREE_TESTS} testme.py)
|
SET(EXAMPLES_TESTS ${BAD_TESTS} ${GOOD_TESTS} ${SESSION_FREE_TESTS} testme.py)
|
||||||
|
Loading…
Reference in New Issue
Block a user